1.0.2 • Published 6 months ago

servic v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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

NameTypeDefault
--portint3333
1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago