Our great sponsors
-
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.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
The interesting bit is that the project is using a unikernel instead of Docker, I hope this becomes a trend.
https://github.com/radiosilence/nano-web?tab=readme-ov-file#...
Caddy [1] is a single binary. It is not minimal, but the size difference is barely noticeable.
serve also comes to mind. If you have node installed, `npx serve .` does exactly that.
There are a few go projects that fit your description, none of them very popular, probably because they end up being a 20-line wrapper around http frameworks just like this one.
[1] https://caddyserver.com/
I wrote a similar tool long time ago.
https://github.com/varbhat/serv
* Serve the SPA (fallback to index.html): ```serv -spa```
* Serve the directory and all it's contents: : ```serv -dir=/path/to/my/dir```
Yeah, I ended up writing a whole thing for it as part of my static website CDK construct.
Here's the request edge lambda:
https://github.com/radiosilence/cdk-static-web/blob/master/s...
Here's the response edge lambda:
https://github.com/radiosilence/cdk-static-web/blob/master/s...
It's been a while since I've updated that project though.