1.0.2 • Published 6 months ago
servic v1.0.2
Servic: serve static files to the world
Serve static files, to the whole world with a small, fast web server in go
npx servic [path]
yes, it is on npm
Why?
Lately I have found myself needing to deploy some apps in react (using vite) and storybook on railway, and between the method for starting static files I have always chosen the npm package http-server which has never given me any problems. But I realised that you could make http-server faster by rewriting it in go!
How?
Servic uses the go fiber package, which allows it to handle many requests per second but without sacrificing performance
Roadmap
- Support for as many files as possible
- Making the server faster and faster
Options
Name | Type | Default |
---|---|---|
--port | int | 3333 |