Skip to content

A Blogging Engine and Platform written in Swift.

License

Notifications You must be signed in to change notification settings

iankoex/SteamPress

Repository files navigation

SteamPress

SteamPress

Language Build Status MIT License

SteamPress is an opensource blogging engine and platform written in swift.

Features

  • Code syntax highlighting
  • WYSIWYG Markdown editor
  • Tagging selection
  • Content Security Policy and other security headers
  • Embeddable tweets
  • Facebook/Twitter share buttons
  • Blog post editor auto saving
  • Open Graph/Twitter Card support
  • Blog Post comments, powered by Disqus
  • Custom 404 error page

Usage

You can find a docker image at iankoex/steampress. You can also clone the repo and run it on your machine.

Required env variables

  • SP_WEBSITE_URL - The url of your domain, e.g SP_WEBSITE_URL="https://example.com"
  • DATABASE_CLIENT- The database client of your choice. Postgres is recommended. Available options: psql, mysql and sqlite.
  • DATABASE_URL - The database url of your client. sqlite does not require url.

Optional env variable

  • SP_BLOG_PATH - The subpath you want your blog to resolve. e.g for SP_BLOG_PATH="blog" your blog will be available at https://example.com/blog

The admin page for your blog will be availble at https://example.com/steampress if no SP_BLOG_PATH was set or https://example.com/blog/steampress if was set.