3 ms·
Sounds already too complex for me. I wrote my post as Gemtext (the Gemini markdown) and wrote a python script that convert it to HTML and generate an index pag
by ploum 3y ago
Sounds already too complex for me.
I wrote my post as Gemtext (the Gemini markdown) and wrote a python script that convert it to HTML and generate an index page.
Also, I put the CSS in each page because I’ve 42 lines of CSS and I did the math to show that having 42 more lines in each file would never cost more than having a second http request.
Honestly, it was a lot simpler than expected, without using any python library or any template. The hardest part was generating the email to send to the list. I spent month analysing different frameworks, different static site generators. I spent week trying to find a good CSS.
According to the git history, it took me 2 weeks of hacking to get it done including importing 18 years of Wordpress history. And without having to learn anything because it was straight python. And the best of all is that I can easily change/correct if I’ve a bug. It’s my code.
We, computer scientists, forgot completely that we could simply code adhoc solutions instead of trying to reuse everything. We take more time to learn and adapt than to do.
https://git.sr.ht/~lioploum/ploum.net https://git.sr.ht/~lioploum/ploum.net for the code
(the site itself is https://ploum.net https://ploum.net)
- idlewords 3y agoEmail? Python script? Git?? Okay, Rube Goldberg. I serve my site from a 6502 processor I carved out of balsa wood back in 2003 and epoxied to an ethernet cable. When I want to make changes, I heat the EPROM with a hair dryer until the right bits flip. No templating, no code, no bloat.
- ad404b8a372f2b9 3y agoGotta say, that's a great blog. I opened it only to check the design and ended up reading 4 articles back to back. It feels nostalgic scrolling down and back through our technological history.