sswws

Version, currently 0.1.02 versions

github.com/faustinoaq/sswws

Super Simple Windows Web Server

47 stars
0 dependents
License: MIT

Nothing has been indexed for 0.1.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.

Installation

# Add this to your shard.yml
dependencies:
  sswws:
    github: faustinoaq/sswws
    version: ~> 0.1.0

Then run:

shards install

shard.yml

No shard.yml has been indexed for 0.1.0. You can read it on the repository.

Dependencies

Unknown: the shard.yml for this version has not been read yet.

README

This README is the one indexed from the repository at its latest ref, not from the tag for this version.

# sswws

A single click single file web server for Windows

![image](https://user-images.githubusercontent.com/3067335/216237527-4d1d1d8b-d3ab-4fdc-9676-71dd43a4ecf8.png)


- **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](https://crystal-lang.org/install/on_windows/) to get the language dev kit

1. Build executables `shards build`
2. Run specs `crystal spec`
3. Run executable `shards run` or just click the `sswws.exe` file inside your bin directory.

## Contributing

1. Fork it (<https://github.com/faustinoaq/sswws/fork>)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

## Contributors

- [@faustinoaq](https://github.com/faustinoaq) - creator and maintainer