GoBlogger – A micro blogging platform written in Go

I spend few weeks learning Go, the idea was to have a small  side project written in Go by the end of a week or so. I decided to write a small micro blogging platform from scratch – The GoBlogger!

Project structure

I used the good old bootstrap and jquery for building a responsive UI.


Contains an array of json document representing the following:

  • title: Title of the blog post
  • content: The content to be rendered for this blog post – referencing the markdown file in the posts directory.
  • tags: tags for the post.
  • author: Author of the post.
  • publishdate: The date of publishing.
    "title": "Hello from GoBlog!",
    "content" :"posts/",
    "tags":["go-blog", "go-blogging"],
    "publishdate":"June 04, 2017"


The idea of posts are pretty simple, you write the contents in markdown (thanks to blackfriday) and add an entry to the config.json file and GoBlogger will render it, It is also possible to have multiple tags referencing the same post, for instance in the above example, I could access the hello-goblog post using go-blog and go-blogging in the URL.

The end results

Landing page:

Post page:

You can also access the PoC through this link.


I pushed the basic code along with few example blog posts to my github repo:

Go more ideas or want to contribute? Feel free to drop me a message or open a PR in the git repo.

Leave a Reply

Your email address will not be published. Required fields are marked *