sswws
A single click single file web server for Windows
- Does this already exist? probably yes
- Was I able to use my google-fu to find it? no, all I found was
python -m http.sever
. I don't want to install Python in every Windows machine.
I want a single click web server for Windows that I can trust and execute in a single file not depending in external bloated tools.
Installation
It is portable! :sparkles:
Usage
Download the exe from the release page and single click sswws.exe
then open http://127.0.0.1:8080/
Also you have some options:
C:\> .\sswws.exe -h
Usage: sswws [arguments]
-v, --version Server version
-p PORT, --port=PORT Specifies the port to run on (default 8080)
-i IP, --ip=IP Specifies the ip to run on (default 127.0.0.1)
-d DIR, --dir=DIR Specifies the directory to run on (default same dir where is executed)
-h, --help Show this help
Development
Follow these instructions to get the language dev kit
- Build executables
shards build
- Run specs
crystal spec
- Run executable
shards run
or just click thesswws.exe
file inside your bin directory.
Contributing
- Fork it (https://github.com/faustinoaq/sswws/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
- @faustinoaq - creator and maintainer