Pasu
Pasu is a simple HTTP Server for serving (and uploading) Files.
Requirements
- Ruby >= 1.9.3
Installation
$ gem install pasu
Usage
$ pasu
Options
| Option | Description | Default |
|---|---|---|
| -v, --version | Print version. | |
| -d, --directory DIRECTORY | Set the base directory for listing files. | pwd |
| --no-recursion | Don't recursively list directories. | false |
| --no-dotfiles | Don't list dotfiles. | false |
| -u, --upload | Allow uploading of files. | false |
| --basic-auth USER:PW | Only allowing requests with valid user/pw combination provided. | None |
| -b, --bind HOST | Bind the server to the given host. | 0.0.0.0 |
| -p, --port PORT | Bind the server to the given port. | 8080 |
| -s, --server RACK_HANDLER | Use your own rack handler. | Puma |
| -h, --help | Show help message. |
Contributing
- Fork it (https://github.com/tbuehlmann/pasu/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 new Pull Request

