Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Create a Static Website Generator
3 points by chrisding 11 months ago | hide | past | favorite | 5 comments
I use Markdown (md) to document a lot of things in my daily life, and I want to create a blog. However, I prefer not to use platforms like Hugo, GitHub Pages, or WordPress. Instead, I plan to use Python to convert my Markdown files into HTML and deploy the generated site on Cloudflare Pages.

While this approach might be time-consuming, I enjoy the process of creating something on my own and improving it step by step.

Now that the blog is running smoothly, I just need to refine a few details. After that, I'll publish the code on GitHub.



I did the same :-) and also in Python (and there is a Perl version, too). The code is available at GitHub as [tumblelog](https://github.com/john-bokma/tumblelog). The site is generate from a single Markdown file with extra directives is called [Plurrrr](https://plurrrr.com/).


I’ve browsed Plurrrr and tumblelogs. You've been writing tumblelogs for many years, and while there are plenty of static site generators available in the market, creating one myself feels much more exciting.

This is something I’ve created—it’s still far from perfect, but I’ll keep improving it step by step. https://github.com/chris1ding1/markdown-website-generator


I published to [PyPI - md star](https://pypi.org/project/md-star/).

[GitHub - md star](https://github.com/chris1ding1/md-star)


But what about the UI?


I referred to this template (https://tailwindui.com/templates/spotlight), which is built with React and Next.js. However, I didn't want to load too many third-party frameworks, so I recreated the template using just HTML and JavaScript.

Here’s the current result: https://chrisding.xyz/.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: