Our great sponsors
-
go-live
🗂️ go-live is an ultra-light server utility that serves files, HTML or anything else, over HTTP.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
That's a really good point, the idea with go-live is that it can serve for years if left alone, is this the line that you mean? https://github.com/antsankov/go-live/blob/master/lib/server.go#L25
The project is here: https://github.com/biorisk/httpfolder. Unfortunately, I had to use a small 3rd party package for basic auth (https://github.com/abbot/go-http-auth). I also embed html and js files for the upload form, which required another tool for embedding. Hopefully, the embedded file proposal (https://github.com/golang/go/issues/41191) will remove that dependency in the near future.
Related posts
- 1.0 release of go-live: An ultra light (4mb compiled) Go site and file server
- Password-less Login in Go from Scratch
- Golang WebRTC. How to use Pion 🌐Remote Controller
- Build a Serverless GenAI solution with Lambda, DynamoDB, LangChain and Amazon Bedrock
- From Django or Flask to Sponge: How to Easily Develop High-Performance Web Services with Golang