Wil-Ro / Blog

PoC of a parser for a blog website I want to make.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blog

A rebuild of my website with a C++ backend. Currently using md4c for parsing and lighttpd for web backend.

I've mostly been using this as a chance to explore my thoughts on low-level-ish, low power code. Because of this I've been trying to use the simplest fastest libraries I can find and create a very bare-bones implementation that just does the minimum it needs to.

As a finished product this code uses md4c to parse markdown and combines it with a template and on the side generates a navbar of all the existing pages according to their filesystem and puts that in each template too. Pages can take some small settings and properties on their first line in the form of single chars (e.g. P to set to private while a page is still being worked on).

I'm really proud of this, its not clean but I feel like its a project I set myself a spec for and stuck really well to.

Find the site at www.rosia.me and a blog post about its creation here

TODO

  • new idea, add a setting to specify title of the page (title being the text in the tab of a browser)
  • add the ability to cite in the markdown (md4c can take alterations like this)
  • add a "latest change" section to the front page

About

PoC of a parser for a blog website I want to make.


Languages

Language:C 83.9%Language:HTML 10.9%Language:C++ 4.0%Language:CSS 0.8%Language:CMake 0.4%