WordBash

The WordPress clone written in GNU Bash

header image

About

Posted on Dec 11, 2013 11:00AM

Welcome to WordBash

WordBash is a WordPress clone written in Bash. As you may already have read, everything you see here is generated and output by Bash. No AWK. No SED. No TR. It is all Bash, all the way. The only program used to help is date.

I make the following claims about the WordBash code:

WordBash was written to show that it is possible to write shell code that does more than is thought possible without external programs.

WordBash currently does not have some WordPress features such as RSS/XML links, Gravatar integration, Trackbacks, a Media library, Plugins and a few others. But this is WordBash version 0.1, and I am working with the assumption that any feature can be implemented in WordBash if I take the time to implement it.

What you have here is a Demo version of WordBash. Excluded from the download is the administration code that would allow adding/editing of posts, managing comments, managing tags and categories, and a few other things.

This Demo version of WordBash uses the file system as a database. This is not an inefficient way of doing things (on the contrary), it just presents some additional manual intervention in that some files and directories must have the other users write bit to be set.

The WordBash code is written to be expanded. WordBash is insignificant is size but it shows how overly complicated most code is—as is WordBash as it can be made simpler as hinted in readme.txt.

0m0.022s 0m0.025s 0m0.000s 0m0.003s