> Mind you, Hetzner webhosting starts at 2 EUR! How crazy is that? Oh yeah? and netlify is totally free for an infinite amount of sites! how crazy is that? > We use a short Python script with exactly 45 lines of code. Including comments and blank lines. > > In summary, this is the simple toolchain for building our web: > > Developer updates index.src.html > Watchdog.py detects the file change and ... > ... renders Ji…
They don't want to use a framework so they wrote their own framework that is most likely shittier and more impossible to debug. Also, now they have to train all their new engineers on their own home-grown shitty/impossible-to-debug framework.
How to build a website without frameworks and tons of libraries
121–130 of 270 posts
Re: How to build a website without frameworks and tons of libraries
#122I 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 for the code
(the site itself is https://ploum.net)
Re: How to build a website without frameworks and tons of libraries
#123> Mind you, Hetzner webhosting starts at 2 EUR! How crazy is that? Oh yeah? and netlify is totally free for an infinite amount of sites! how crazy is that? > We use a short Python script with exactly 45 lines of code. Including comments and blank lines. > > In summary, this is the simple toolchain for building our web: > > Developer updates index.src.html > Watchdog.py detects the file change and ... > ... renders Ji…
The specific implementation is irrelevant, you could use any other piece of software to achieve it.
Re: How to build a website without frameworks and tons of libraries
#124Re: How to build a website without frameworks and tons of libraries
#125Earlier quoted context omitted.
I've been meaning to do this and move away from Smugmug. Would you be okay to share your portfolio and/or source?
Someone beat me to the punch and added the URL (thanks!). The site is what's left over after trying a few different options, most notably Ghost and later Zola. Most of the current layout mimics what can be created within Ghost's editor. I then migrated to Zola which shares the bulk of the layout. Currently most of my images are coming from Zola's "/processed_images" directory. You can view the Zola codebase here[1] i…
Re: How to build a website without frameworks and tons of libraries
#126Re: How to build a website without frameworks and tons of libraries
#127Earlier quoted context omitted.
On my Chrome/Android I have the default font size larger. And sometimes HN loads with my preference - and others it loads tiny. No rhyme/reason.
On iOS Safari, sometimes the same element type on the same page will be different sizes (e.g. the navigation buttons on xkcd).
Re: How to build a website without frameworks and tons of libraries
#128Sounds 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 li…
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.
Re: How to build a website without frameworks and tons of libraries
#129> Mind you, Hetzner webhosting starts at 2 EUR! How crazy is that? Oh yeah? and netlify is totally free for an infinite amount of sites! how crazy is that? > We use a short Python script with exactly 45 lines of code. Including comments and blank lines. > > In summary, this is the simple toolchain for building our web: > > Developer updates index.src.html > Watchdog.py detects the file change and ... > ... renders Ji…
Re: How to build a website without frameworks and tons of libraries
#130Sounds 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 li…
It feels nostalgic scrolling down and back through our technological history.