tin-0.0.2 is not a library.
Visit the last successful build:
tin-0.3.0
Tin
A tiny one-off static file server that can be used as an alternative to Python's SimpleHTTPServer
or http.server
.
Install
Pre-built binaries haven't been made available yet but if you have Rust, you can do cargo install --git git://github.com/veeableful/tin
.
Usage
You can quickly serve your static site by going to the site's directory and type:
tin
You can also change the port of the server by specifying the -p
or --port
option, like so:
tin -p 8080
If for some reason you want to specify the site directory, you can do:
tin -d www/html
License
This project is GPLv2-licensed.