My current web stack.
webdev selfhostingAbout 4 years ago, when I felt I learned something about web dev, after participating in a hackathon (edukaton.pl) and creating wybornie.org I created my first personal website, now offline, but partially saved here https://web.archive.org/web/20200516120220/https://fraunos.pl/
At that time I was hyped on frontend, and the framework of my choice was Vue (NuxtJS nuxtjs.org), as I was always interested in new technologies which tried to fix issues in already existing solutions, like Angular 1 and class based React.
Since then I fell in love in simplicity, lightweightness, performance, power/data efficiency. I tried to use NextJS, because that's what big companies use (where I also happen to work, so I'd have to learn it anyway), but when I saw how heavy the scripts it uses are, and that switching to Preact didn't help much I started looking for something else.
I wanted to generate a static website from templates, but without browser JS hydration, virtual DOM and all that stuff. And I found eleventy. I am surprised how powerful this tool is, I still have to learn it. But it looks perfect for my needs and like something I would like to contribute to.
Currently the website is hosted on a Raspberry Pi 4B 2GB at my parents home (for the record - when I bought it in 2020 it cost 179 zł! Now it's 299 and almost permanently out of stock botland.com.pl/moduly-i-zestawy-raspberry-pi-4b/14646-raspberry-pi-4-model-b-wifi-dualband-bluetooth-2gb-ram-15ghz-765756931175.html)
I am still thinking about more automated solutions (yunohost, dokku) as for now I'm managing most of the services manually, but I'm pretty satisfied with what I have now and I like learning the basics.
So to sum things up, currently I'm using:
- rolling release Manjaro Linux manjaro.org since I like to be up to date
- nginx mainline https://nginx.org/ for hosting statics and managing proxies
- certbot for cerificates
- eleventy static site generator https://www.11ty.dev (github.com/11ty/eleventy-base-blog specifically)
- pm2 pm2.io to manage node services autostart
- wireguard for VPN wireguard.com for connection with other devices that do not have public/static addresses
- Next: Live stream