Project

pasu

0.0
No commit activity in last 3 years
No release in over 3 years
Pasu is a simple HTTP Server for serving (and uploading) Files.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
= 0.9.12.6
~> 10.1

Runtime

~> 3.1
~> 2.7
~> 2.0
~> 2.0
 Project Readme

Pasu

Gem Version Dependency Status

Pasu is a command line interface for serving (and uploading) local files via HTTP.

Requirements

Ruby '~> 2.0'

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
-h, --help Show help message.

Contributing

  1. Fork it (https://github.com/tbuehlmann/pasu/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 new Pull Request