Popularity
5.7
Growing
Activity
0.0
Stable
21
3
1

Programming language: Crystal
Tags: Web Servers    
Latest version: v0.1.1

serve alternatives and similar shards

Based on the "Web Servers" category

Do you think we are missing an alternative of serve or a related project?

Add another 'Web Servers' Shard

README

Serve

Linux Build Shards version

Command line static HTTP server

[Screenshot][screenshot-image]

Installation

Download from github:

$ serve_version="0.1.1"
$ serve_arch="x86_64"
$ curl -Lo /usr/local/bin/serve.gz "https://github.com/SuperPaintman/serve/releases/download/v${serve_version}/serve-${serve_version}_linux_${serve_arch}.gz"
$ gunzip /usr/local/bin/serve.gz
$ chmod +x /usr/local/bin/serve

From sources:

$ cd ~/Projects
$ git clone https://github.com/SuperPaintman/serve
$ cd ./serve
$ make
$ sudo make install
$ # or
$ sudo make reinstall

Usage

$ serve -h

Test

$ crystal spec
# or
$ make test

Shell tab auto-completion

To enable tab auto-completion for Serve, add one of the following lines to your ~/.zshrc file.

# Zsh, ~/.zshrc
if [[ -z $commands[serve] ]]; then
    echo 'serve is not installed, you should install it first'
else
    eval "$(serve --completion=zsh)"
fi

Contributing

  1. Fork it (https://github.com/SuperPaintman/serve/fork)
  2. Create your feature branch (git checkout -b feature/<feature_name>)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin feature/<feature_name>)
  5. Create a new Pull Request

Contributors


API

Docs


Changelog

[Changelog][changelog-url]


License

[MIT][license-url]


*Note that all licence references and agreements mentioned in the serve README section above are relevant to that project's source code only.