Live data from Hacker News

How to build a website without frameworks and tons of libraries

kodingkitty.com

111–120 of 270 posts

Re: How to build a website without frameworks and tons of libraries

#111

I recently built AI Search with 0 frameworks and dependencies (please don't hate because of the word AI) For comparison, similar sites are a lot heavier (not criticizing anyone here) phind.com = 1.09MB you.com = 1.3MB aisearch.vip = 0.035MB I still find the ~1MB of other sites to be ok, but 35kB is the smallest I've ever made a full SPA and that's simply because every single letter in the code is specifically made fo…

FYI I went on your site and it took 5 full seconds to load.

Re: How to build a website without frameworks and tons of libraries

#112

> 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.

Re: How to build a website without frameworks and tons of libraries

#113
post #111

I recently built AI Search with 0 frameworks and dependencies (please don't hate because of the word AI) For comparison, similar sites are a lot heavier (not criticizing anyone here) phind.com = 1.09MB you.com = 1.3MB aisearch.vip = 0.035MB I still find the ~1MB of other sites to be ok, but 35kB is the smallest I've ever made a full SPA and that's simply because every single letter in the code is specifically made fo…

FYI I went on your site and it took 5 full seconds to load.

Thanks for letting me know. Oh yeah, I can see in the logs that someone was summarizing a 100-page PDF. It slowed things down for a few seconds. All should be well now (I need to tweak the PDF function to prevent this, it seems to cause issues)

Re: How to build a website without frameworks and tons of libraries

#114

> 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…

Jinja is a templating framework. You can use it with ansible for example, to replace config values or secrets in a configuration file for different servers, etc

Re: How to build a website without frameworks and tons of libraries

#116

> 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…

99% of developers are out her building with php, .net or Java and its fine

In 2005 maybe

Re: How to build a website without frameworks and tons of libraries

#117
post #103

Alright, I’m gonna be that guy. Right now, sveltekit + skeleton has absolutely blown my mind at how fast you can make a usable prototype. It’s honestly insane. You don’t even need to know svelte, really. As long as you can understand the file based routing thing, the rest is just html unless you really need more. Especially with the tailwind stuff built right in and a mostly vanilla looking theme. I’ve tried probably…

I agree. Yes, it’s a “framework” but it easily outputs static sites that work fine without JS enabled, you don’t need to know any Svelte to use it (but it’s there if you want it), Tailwind works out of the box, and deploying it to eg Netlify is dead simple (much easier than FTP).

If you ask me, it’s the best static site builder right now, and a lot simpler than what’s described in this article.

Re: How to build a website without frameworks and tons of libraries

#118

> 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…

Jinja is a templating framework. You can use it with ansible for example, to replace config values or secrets in a configuration file for different servers, etc

after some research i now know that, but there was no clear link or description of what the heck was going on

Re: How to build a website without frameworks and tons of libraries

#119
post #103

Alright, I’m gonna be that guy. Right now, sveltekit + skeleton has absolutely blown my mind at how fast you can make a usable prototype. It’s honestly insane. You don’t even need to know svelte, really. As long as you can understand the file based routing thing, the rest is just html unless you really need more. Especially with the tailwind stuff built right in and a mostly vanilla looking theme. I’ve tried probably…

This is a great recommendation. I'm interested in hearing more of your experiences trying different web frameworks. Did you try Flutter as well?
Post reply on HN