2 ms·
If you like writing Python code, I recommend https://github.com/sunainapai/makesite https://github.com/sunainapai/makesite (makesite.py). As the README says, it
by susam 7y ago
If you like writing Python code, I recommend https://github.com/sunainapai/makesite https://github.com/sunainapai/makesite (makesite.py). As the README says, it is a simple, lightweight, and magic-free static blog generator. The entire static blog generator code is in a single file named makesite.py.
Add your content to the `content` directory. Then run `python3 makesite.py` to generate the static blog. It writes the generated blog to the `_site` directory. Finally copy this directory to wherever you want to serve your blog from, e.g., GitHub repo with GitHub pages enabled, virtual private server, cloud storage, etc.
It works pretty well out of the box and it is highly customizable too because doing so involves just modifying the existing Python code or writing your own Python code.
Disclaimer: This project has been written by my wife. I use it myself to render my static blog at https://susam.in/ https://susam.in/.
- thekyle 7y ago> This project has been written by my wife. Aww... That's so sweet.
- majewsky 7y agoFYI: That's a disclosure, not a disclaimer. A disclaimer would be something like "This project has been written by my wife, so I don't take any responsibility for its quality", which is clearly not your intention.
- susam 7y agoThanks for correcting me. Indeed, I meant it as a disclosure, not a disclaimer. I was aware of the difference between the two words but I made a thinking error while writing my comment.
- scoobyyabbadoo 7y agoI have a soft spot for python modules that fit in a single file like this, like bottle.py as well. Gives you so much freedom to just drop a file in a folder and call it a day, instead of having to worry about what can sometimes be complex dependency management.
- deleted 7y ago[deleted]