Hacker News new | ask | show | jobs
by carlesfe 4849 days ago
Author here. Feel free to drop any comments, this was a "weekend project" as I couldn't find anything as simple as that.

By the way, I recently uploaded the code to github: https://github.com/carlesfe/bashblog and some people are using it to publish their blogs via dropbox and site44, cool!

3 comments

I know this probably isn't meant for me since I don't seem to know what I'm doing. But how do you run this? An answer in a bit more detail than your github link would be useful. I have it on my server in a public folder and now I don't know what to do.
Open a shell on your public server, run ./bb.sh post, and that's it. You can now access your blog from your public URL.
Is the motivation something like "we can't install some kind of PHP and a database for you"?
Not actually, the motivation is "my server is quite slow so I don't want to run dynamic content on it" :)
1. Thanks!

2. I referenced this in a sub-comment: what are the options of parsing Markdown using a bash-only blogging utility?

It is theoretically easy, one would only have to add a parse_markdown() function which converts MD to HTML, there are many parsers out there.

For me, after many years of making web pages, HTML is easier than Markdown.