fast-http-server

Super fast, zero configuration command line HTTP Server
0.4.1 released

fast-http-server

Super fast, zero configuration command line HTTP Server written in Crystal programming language.

Usage

Zero configuration.

fast-http-server

By default fast-http-server listens port 3000. Go to localhost:3000.

To listen on a different port you can start fast-http-server with -p --port option.

fast-http-server -p 5050

Fast

Numbers speak louder than words.

| Server | Request Per Second | Avg. Response Time | | :------------ |:---------------:| -----:| | fast-http-server (Crystal) | 16433.61 | 8.90ms | | http-server (Node.js) | 2105.55 | 47.92ms | | SimpleHTTPServer (Python) | 785.14 | 1.91ms |

Installation

OS X

You can install fast-http-server via Brew.

brew tap sdogruyol/fast-http-server
brew install fast-http-server

Manual

fast-http-server requires Crystal 0.10.0. You can install it here

git clone https://github.com/sdogruyol/fast-http-server
crystal build --release src/fast-http-server.cr
mv fast-http-server /usr/local/bin/fast-http-server

Contributing

  1. Fork it ( https://github.com/sdogruyol/fast-http-server/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • sdogruyol Serdar Dogruyol - creator, maintainer
fast-http-server:
  github: sdogruyol/fast-http-server
  version: ~> 0.4.1
License MIT
Crystal none

Authors

Dependencies 0

Development Dependencies 0

Dependents 0

Last synced .
search fire star recently