Get the latest tech news
My website is one binary (2022)
my website is one binary my website is one binary 2022-04-06 ---------------------------- a.k.a. this one weird trick that inspires me to program creatively i have struggled for years to figure out a website framework that feels good to me.
i tried all of the classics, including but limited to: - ghost - hugo - jekyll - sr.ht + tarball - manual html editing i have very high and unusual standards, and none of the above felt correct to me. for those who aren't in the know, hugo is a "static website generator" - aka, it is a program that takes templates & markdown as input and compiles HTML that you may deploy wherever you'd like. i have been using linux & programming for a long time, and golang is by far my favorite language to develop in, for a few reasons: - it is easily maintainable by a single person - it emphasizes few dependencies - it is a relatively simple language - there is a backwards compatability guarantee - it produces statically compiled binaries trivially - compilation speed is fast (less than 10s most of the time) - most of the standard library is very well developed (but not overdeveloped) and so i gave birth to my personal website project for j3s.sh.
Or read this on Hacker News