https://github.com/rokf/tinyserv
Really simple static HTTP server
https://github.com/rokf/tinyserv
http http-server server static-site
Last synced: 7 months 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 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-24T11:41:01.000Z (about 8 years ago)
- Last Synced: 2025-03-14T17:13:36.835Z (11 months ago)
- Topics: http, http-server, server, static-site
- Language: Lua
- Homepage:
- Size: 3.91 KB
- Stars: 3
- Watchers: 2
- 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`.