Lately, I've been partial to next.js, tailwind, and firebase. Curious what others are using; I'm in the mood to learn something new!
Ask HN: What is your preferred light weight stack for personal projects?
1–10 of 29 posts
Re: Ask HN: What is your preferred light weight stack for personal projects?
#2Native downloadable executable desktop GUI application: Node.JS, GraderJS
CLI app: ??? Don't know yet, GraderJS can work but it's focused around GUI
Mobile app: ??? Don't know yet
Embedded: ??? Don't know yet
Graphics: Processing (but surely there are much better options nowadays)
AI: ??? Don't know yet
Re: Ask HN: What is your preferred light weight stack for personal projects?
#3i also interested in systems based on websockets and webgl but that's another project
Re: Ask HN: What is your preferred light weight stack for personal projects?
#4I’ve talked about it more here: https://notes.alinpanaitiu.com/How%20I%20write%20this%20blog...
But the gist is that you have a Caddyfile like:
http://localhost, notes.alinpanaitiu.com {
root * /static/notes/
file_server
templates {
mime text/html text/plain text/xml
}
encode zstd gzip
try_files {path} /index.html?path={path}
}
…and any .md inside /static/notes will be rendered to HTML, plus any .html/.xml will support Go template syntax.This comes with the benefit of automatic HTTPS, asset compression and a one binary server.
Deploying is as simple as copying the folder with the Caddyfile and assets to my public server and running “caddy run”
Re: Ask HN: What is your preferred light weight stack for personal projects?
#5``` And tags of course, with vanilla JS. Super quick and reliable. No layers.
Re: Ask HN: What is your preferred light weight stack for personal projects?
#6I am using old school php like this: ``` And tags of course, with vanilla JS. Super quick and reliable. No layers.
(:
Re: Ask HN: What is your preferred light weight stack for personal projects?
#7After building SPAs in next.js and blogs in Hugo, I finally settled on the simplest stack: Caddy+Markdown/HTML templates I’ve talked about it more here: https://notes.alinpanaitiu.com/How%20I%20write%20this%20blog... But the gist is that you have a Caddyfile like: http://localhost, notes.alinpanaitiu.com { root * /static/notes/ file_server templates { mime text/html text/plain text/xml } encode zstd gzip try_files {p…
Re: Ask HN: What is your preferred light weight stack for personal projects?
#8After building SPAs in next.js and blogs in Hugo, I finally settled on the simplest stack: Caddy+Markdown/HTML templates I’ve talked about it more here: https://notes.alinpanaitiu.com/How%20I%20write%20this%20blog... But the gist is that you have a Caddyfile like: http://localhost, notes.alinpanaitiu.com { root * /static/notes/ file_server templates { mime text/html text/plain text/xml } encode zstd gzip try_files {p…
This is the kind of content I come to HN for. I love that you found a solution that works best for you. Hopefully many other iPhone owning, train commuters with thoughts worth sharing pick this up. :)
Re: Ask HN: What is your preferred light weight stack for personal projects?
#9I am using old school php like this: ``` And tags of course, with vanilla JS. Super quick and reliable. No layers.