This Website

To be clear, I'm covering both websites, this one (notes.orangc.net) and my main webpage (orangc.net).

orangc.net

Currently it's on version four (version three is at https://orangc.net/v3). This time around I rewrote it using FlyonUI, a TailwindCSS library, instead of directly using Tailwind. Version 3 wasn't bad looking at all on desktop, but it was cramped on mobile. I had also been wanting to add some new features, so in v4:

You might notice a package.json in the source code. That's for getting Tailwind, FlyonUI, and the icon libraries (from iconify, mostly Tabler) to build during development. The site is still a static site in HTML.

notes.orangc.net

This is version two of this webpage. Version one was built with Hugo, and a messily edited Hugo theme, Archie. Everything was very much a mess because of the way I screwed around with things, so I decided to do something simple this time.

Instead of using a framework like Hugo, I'd write a small Python script. I thought this would be difficult, but it turned out to be an overwhelming success, primarily because I didn't have to write a markdown parser myself — I used the mistune library.

The script is exactly 100 lines and runs..., well, take a look:

❯ time python3 main.py

real	0m0.308s
user	0m0.254s
sys	    0m0.037s

Which is fairly impressive, in my opinion. I'll break it down:

Conclusion

I rewrote both websites in the span of a day, which felt good.