lib | ||
test | ||
.gitignore | ||
bob | ||
Makefile | ||
README.md |
bob
Bob is a small static generator, for those who wants to maintain a personal website or blog, all from the command line.
Installation
It only is designed in bash script, and should work perfectly fine on any Unix like machine.
git clone https://git.simonpetit.top
cd bob
sudo make install
Usage
To write a post, create a markdown file in the drafts
folder whose name will
also be its title, and convert it to an html file, type the following command
from the root :
bob publish
The publishing command will rep-ublish all the drafts, that is why anytime you want a post removed, delete in from the drafts folder and re-publish your blog.
See the help for additional command, such as modification of the main configuration of the blog.
bob help
TODO
- Make a proper header/footer for the posts (e.g. adding links to social networks such as tweeter, github, dev.to ...).
- Complete the CSS files.
- Add a comment/like section ?
- Adding a git component, and a server configuration to allow synchronisation. Maybe the drafts folder on the personal computer triggers changes on the git repo of the server which re-publishes the blog automatically.
- Add a way to do all the construction of the blog on the personal computer but to send the html files to a distant server.
- Consider adding configuration files for some/all posts (if they need special javascript included e.g. MathJax, AJAX, sockets ...).
- Add a preview function for TRUE drafts being written
- Take into account the headers possibilities of multimarkdown, which could replace the self header writing process and include other features such as Mathjax