Hi everyone,
I wanted to share a small tool I've been working on called NServe.
Repo: https://github.com/heckarmon/nserve
We all use python -m http.server to quickly serve files, but I often found myself needing two things it doesn't provide out of the box: concurrency and file uploads.
NServe is my attempt at a "batteries-included" alternative written in pure Nim. It compiles to a single executable with zero runtime dependencies and uses asynchttpserver + asyncnet to handle connections non-blocking.
It was a fun exercise in using Nim's async stack for a practical CLI tool. I'd love to hear any feedback on the code or suggestions for improvements!
Contributions are welcome!
Cheers!