ser

Version, currently 1.0.01 version
  • 1.0.0latestAug 17, 2021

github.com/gofenix/ser

a simple http server as replacement of python -m http.server

2 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  ser:
    github: gofenix/ser
    version: ~> 1.0.0

Then run:

shards install

shard.yml

Crystal
1.1.1
License
MIT
Author
zhuzhenfeng.code
Target
  • ser from src/ser.cr

Dependencies

This version declares no dependencies.

README

ser

a simple http server as replacement of python -m http.server

Installation

Usage

$ ser -h
ser is a simple http server.

    -v, --version                    Show version
    -h, --help                       Show help
    -p PORT, --port=PORT             On port
    -a ADDR, --address=ADDR          On ip address

examples:
ser
ser .
    serve . directory using port 8080
ser -p 8088
    serve . directory using port 8088
ser ..
    serve .. directory using port 8080
ser -p 8088 ..
    serve .. directory using port 8088
ser -a 0.0.0.0 -p 9999
    serve . directory using address 0.0.0.0:9999

Contributing

  1. Fork it (https://github.com/your-github-user/ser/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