Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wtrsltnk/ssf
Serve Static Files, a small app that will serve static files from the current working directory.
https://github.com/wtrsltnk/ssf
cpp http http-server system-io system-net
Last synced: about 12 hours ago
JSON representation
Serve Static Files, a small app that will serve static files from the current working directory.
- Host: GitHub
- URL: https://github.com/wtrsltnk/ssf
- Owner: wtrsltnk
- Created: 2018-06-22T22:31:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-16T21:06:05.000Z (about 1 year ago)
- Last Synced: 2023-11-16T22:53:44.134Z (about 1 year ago)
- Topics: cpp, http, http-server, system-io, system-net
- Language: C++
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serve Static Files (ssf)
When ssf.exe is run without arguments, it will serve static files from the current working directory on the port 8888. Open http://localhost:8888/ to visit the served files.
```
usage:
ssf.exe [] optionswhere arguments are:
which path to serve static files from? Default is current working directory.where options are:
-p, --port on what should I be listing? Default is 8888
-?, -h, --help display usage information
```## TODO
- ~~Make sure the correct ``Content-Type`` header is rerturned~~
- ~~Make sure binary files are supported~~
- ~~Add directory browsing~~![Screenshot](screenshot.png)