serve
serve
A simple file server
- Compression
- Customizable port
- Exclude files
- Optional listing of directories
- CORS
Installation
TODO: Write installation instructions here
Usage
Just run the executable with the directory with the cirectory to host
serve ~/path/to/files/
add -x
for compression
add -c
for CORS support
add -d
to NOT list directories
add -p <someport>
to host the files on a specific port
add -e <filetypes>
to exclude those files
Default port: 8080
A directory does not need to be specified, it will default to the current directory
E.g.: serve -x -c -p 1234 -e png,jpg,gif
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/data-niklas/serve/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Niklas Loeser - creator and maintainer
Repository
serve
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- over 2 years ago
- April 23, 2020
License
MIT License
Links
Synced at
Mon, 18 Nov 2024 00:35:00 GMT
Languages