241 karma · joined August 13, 2024
I’m opting out of any corporate targeted code for personal use, anything not designed for user experience gets scrapped when I’m the user and I have Software on Demand as a Service.
My big contention with this project is that if I wanted to use node (or npm; or vite) in any capacity, I would have chosen node for that. I don’t want to use those tools in this context because it serves me worse than a well thought out solution.
The thought out solution is to isolate your frontend into its own directory. You can embed and serve that as part of your Go server. That frontend could have been done with react, vite, jsx, whatever typescript nonsense you want; without the Go parts necessarily needing npm or node in the build process.
I literally have toy projects illustrating the idea (this one is a toy I had AI make with some of my own patterns months ago): https://github.com/SamInTheShell/social/tree/main/frontend
Projects like grafana do stuff like this already. It’s a known good pattern.
Edit: If you keep checking back, I'll have a video showing off that application. It's a bit beefy to just get up and running.
Also, I had Claude Opus read through some of the mailing list threads and it made this script to check a few things: https://gist.github.com/SamInTheShell/c3609743d742f002f1e8c7...
It seems my stubborn resistance to using yay saved my bacon here.
Good luck everybody else.
Edit: Also does this mean OpenAI can bring back the Sky voice?
The only way to really have a GenAI free codebase today is simply by not accepting any external contributions.