
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
This is super, simple ruby gem to serve files over http, useful as a basic file server to quickly share files on your local network or something over the web. Just install the gem and go!
Here's the spec for ferver:
Using ferver could not be simpler - just install the ferver gem.
$ gem install ferver
You can run ferver from any directory, just pass in the directory you want to serve files from as a command line argument or leave blank to use the current directory.
$ ferver
For example, to serve files from /Users/rob/Projects/ferver/ directory pass the path in as below using the --directory
option.
$ ferver -d /Users/rob/Projects/ferver/
By default, dotfiles will be hidden. Use the --all
option to serve all files.
$ ferver -a
Note that zero size files will always be hidden.
If required, you can configure the bind address or port number used by the webserver. By default this is 0.0.0.0
and port 4567
which means the server is accessible from outside your machine (if firewall permits). For example if you used the configuration below then it would only be accessible from local machine and on port 9999
.
$ ferver -p 9999 -b 127.0.0.1
For a list of arguments just use the --help
switch.
$ ferver -h
The ferver gem uses Sinatra and runs on default port configuration so just point your browser to http://localhost:4567
to list the files.
If you are unable to connect then please check any firewall settings or the configured bind address or port number!
List available files in your browser.
http://localhost:4567/files
Requesting content-type json
, for example passing the header Accept: application/json
will return the list of files as json.
curl -i -H "Accept: application/json" http://localhost:4567/files
Files are available via their zero based index in the list, e.g. http://localhost:4567/files/:id
For example to download file appearing third in the list displayed earlier, request http://localhost:4567/files/2
Please use the GitHub pull-request mechanism to submit contributions.
After cloning the repo, you can run the web application without having to publish and then install the gem package by calling the executable as per normal.
This project is available for use under the MIT software license. See LICENSE
FAQs
Unknown package
We found that ferver demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.