8000 GitHub - GamingGuy003/fileserver_rs: A small and simple file server for serving directories
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

GamingGuy003/fileserver_rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fileserver-rs

This project aims to be a simple to use, lightweight web/fileserver with the very few dependencies.

Usage

You can either run the server using cargo, or by first building it and then running the binary. For simplicity, we will assume the usage of the binary fileserver-rs.

Setting port

# Sets the port to 8080. If no value is specified, 8080 will be assumed The long version is --port
fileserver-rs -p 8080

Setting interface

# Sets the bound interface to 0.0.0.0. If no value is specified, 127.0.0.1 will be used. The long version is --addr
fileserver-rs -a 0.0.0.0

Setting root folder

# Sets the root folder to /home/user/test. If no value is specified, '.' will be used. The long version is --root
fileserver-rs -r /home/user/test

Help

# This will output a short description of all commands. The long version is --help
fileserver-rs -h

About

A small and simple file server for serving directories

Resources

Stars

Watchers

Forks

Packages

No packages published
0