An open API service indexing awesome lists of open source software.

https://github.com/samicpp/static-serve

simple static content webserver
https://github.com/samicpp/static-serve

Last synced: 11 months ago
JSON representation

simple static content webserver

Awesome Lists containing this project

README

          

# static-serve
static content webserver

## Features
- async runtime: allows for high demand whilst not needing large amount of recources
- all mime types: you can use almost all file extensions and expect the server to use the appropriate mime type
- directory handling: the server will look for a file starting with `index.*` or `[PARENT_DIRECTORY]*` effectively allowing any file type to be used as "index"

## Usage
`./static-runtime port directory`
example: `./static-runtime localhost:4096 ./static/`