Making a custom blogging website from scratch is a big task and how much ever you try to avoid it you may need some server side support to make it easier for yourself
I tried going down this lane for a weekend and crreated a custom blog from scratch using react and some related libraries and tools. I got a lot far
But then realsised it is much easier to write my blog and thoughts here and post them here as this is easier and also supports html. I would rather convert enable email based posting here and write a python script to automatically post the blogs here. I hope I can use github in some way to post and modify the contents as and when needed. This can be helpful as I can use a deployment script to deploy to the blog or even write in markdown which will be automatically converted to html when I deploy.
Although HTML gives the advantage of styling the contents then but it is stll rather a pain to use it in a blog., specially when I want to include code snippets. I hope there is a JS library to solve this. I just add a class to the div and the contents are auto-indented and highlighted for the code I need. I'll post another blog containing some small code snippets to figure that out. On second thoughts all my code goes to github, so I can use github gists to embed the code snippets here. A long process but would maintain highlighting and indentation. I still like the former option.
Comments
Post a Comment