Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rokf/tinyserv
Really simple static HTTP server
https://github.com/rokf/tinyserv
http http-server server static-site
Last synced: about 1 month ago
JSON representation
Really simple static HTTP server
- Host: GitHub
- URL: https://github.com/rokf/tinyserv
- Owner: rokf
- Created: 2017-09-14T10:03:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-24T11:41:01.000Z (almost 7 years ago)
- Last Synced: 2024-08-07T18:39:59.225Z (5 months ago)
- Topics: http, http-server, server, static-site
- Language: Lua
- Homepage:
- Size: 3.91 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A static HTTP server for web development.
I've made it because I found myself using `python -m SimpleHTTPServer` quite often.
### Installation
`sudo luarocks install tinyserv-dev-1.rockspec`
### Usage
It is a command line application. Run it inside the folder you'd like to serve.
It acceipts only one argument (the port), which is optional and defaults to 8000.The empty route defaults to `index.html`.