Skip to content

JmPotato/rsomhaP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rsomhaP

'r{}'.format(''.join(sorted('Pomash'))[::-1]) == 'rsomhaP'

rsomhaP is a simple ready-to-use blog engine written in Rust.

Demo Deployment Status

What is rsomhaP?

Pomash is a blog engine written in Python, which was almost my first usable project created back in 2014. Although it hosted my blog well for the past decade, since its code is somewhat messy and full of "young programmer" mistakes, I decided to rewrite it in Rust to make it more maintainable and as a commemorative project to its former self. Then here it is: rsomhaP.

rsomhaP is still a simple ready-to-use blog engine inheriting a lot from its predecessor:

  • Markdown friendly.
  • Monolithic web application without frontend and backend separation.
  • Concise and readable HTML/CSS styles.

But also introduces some new features:

  • More secure admin authentication.
  • Use any MySQL-compatible database to store your blog data.
  • Easy to deploy with a single command or a simple Dockerfile.

Deployment

Edit your config.toml to your liking, then run:

cargo run --release

Or build a Docker image and run it:

docker build -t rsomhap .
docker run -p 5299:5299 rsomhap

Access the admin page at "http://{your-deployment-url}/admin" to manage your blog. The initial password is the same as the username configured in config.toml, which you should change after the first login as soon as possible..

Technically, you can deploy rsomhaP with modern SaaS infrastructures entirely free from scratch. For example:

License

MIT