As of February 16 2024, Py-Blog is deprecated! Py-Blog will no longer receive updates (even security updates).
What can you do? You could try my other blog template (Node.JS)! Or you could maintain this yourself. Thank you!
What is Py-Blog?
Py-Blog is a simple project I made that lets people create blogs! You will need experience in MongoDB though, since this only ships the rendering and front-end.
You can use post_creator.py
to format posts, but make sure to configure it from source first. If you want, you can check the comments and docstrings in post_creator.py
for info on how posts are stored (only if you wish to make your own posting client).
Can I contribute?
Of Course! Feel free to clone the repo and make pull requests. I don't use GitHub too much so the request might take a while to actually review.
If you wish, you can fork this and make it better!
Can I use this for free?
Yep. That's why I made it lmao.
How Do I Set my Blog Up?
- Open MongoDB
- Create an account (if you don't have one)
- Create a cluster
- Create a login for the db access
- Open config.json (or make it if it doesn't exist)
- Put your DB connection string in
mongodb_url
Make sure you make a gitignore for the config since it reveals your DB connection string (which can be exploited by others)!