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
- Host: GitHub
- URL: https://github.com/samicpp/static-serve
- Owner: samicpp
- License: gpl-3.0
- Created: 2025-07-10T07:07:33.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-10T13:43:28.000Z (12 months ago)
- Last Synced: 2025-07-10T16:54:48.485Z (12 months ago)
- Language: Rust
- Size: 6.18 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/`