Live data from Hacker News

Creating a simple blog system with a 500-line bash script (2011)

mmb.pcb.ub.es

1–10 of 31 posts

Re: Creating a simple blog system with a 500-line bash script (2011)

#3
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!

Re: Creating a simple blog system with a 500-line bash script (2011)

#5

It's cool to see static web sites becoming popular. As for comments (dynamic) you could integrate with discuss, or as I do wrote my own simple comments app for google app engine. Details here: http://www.pixelbeat.org/docs/web/feed.html

Shouldn't the link be http://www.pixelbeat.org/docs/web/comments/

Re: Creating a simple blog system with a 500-line bash script (2011)

#6
I'm SO going to use this! If only because of the ridiculous simplicity of it all. Maybe I won't replace my main blog, but I can see this in use for something simple I've had in mind for a while.

And why did we stop using plain HTML files for simple blogs (that are self-hosted)? Do I really need a "CMS" and/or framework to spew some formatted content if I'm not even gonna have comments? I've seen blogs that use some custom Ruby app or PHP and they're just a combination of an archive index and posts.

Re: Creating a simple blog system with a 500-line bash script (2011)

#7
The grand-daddy of bash based static site generators: http://nanoblogger.sourceforge.net

Example use: http://www.cs.uni.edu/~wallingf/blog/ (9 years)

Incidentally, the creator of nb announced that he is postponing the development of nb indefinitely last month.

OP: Do you think you might want to take up that development?

Re: Creating a simple blog system with a 500-line bash script (2011)

#8
post #7

The grand-daddy of bash based static site generators: http://nanoblogger.sourceforge.net Example use: http://www.cs.uni.edu/~wallingf/blog/ (9 years) Incidentally, the creator of nb announced that he is postponing the development of nb indefinitely last month. OP: Do you think you might want to take up that development?

I checked nb before writing bashblog, but it's not as simple as it seems. I actually spent some hours trying to modify it to suit it to my needs, without any luck

Re: Creating a simple blog system with a 500-line bash script (2011)

#9
I like this. I used to have an emacs org-mode set up to edit/publish blog post (sadly just to discover that I haven't much to say in a blog). My set up allowed me to publish "data" content (mostly images) that can be linked into a post. How do you handle this with bashblog?

Re: Creating a simple blog system with a 500-line bash script (2011)

#10
post #9

I like this. I used to have an emacs org-mode set up to edit/publish blog post (sadly just to discover that I haven't much to say in a blog). My set up allowed me to publish "data" content (mostly images) that can be linked into a post. How do you handle this with bashblog?

It doesn't handle it. You just upload the image to a public folder in your server, then link it from your html content. All pages are edited with vim and treated as plain HTML, there is no post processing --except for adding dates, headers, etc
Post reply on HN