#file-server #create #attempt #gossa #simple-http-server

app rossa

Attempt to create a SimpleHTTPServer in Rust. Also inspired by gossa.

2 releases

0.1.1 May 26, 2020
0.1.0 May 26, 2020

#1253 in HTTP server

MIT license

29KB
245 lines

GHA Build Status MIT licensed crates.io Released API docs

rossa

Attempt to create file server like SimpleHTTPServer in Rust. Also inspired by gossa.

Installation

cargo install rossa

Usage

rossa

To use with custom host and port

rossa -a <host>:<port>

Example

rossa -a 127.0.0.1:3333

In Action

Gif

Inspired By

Technologies Used

Technology Purpose
warp Web Framework
tokio Async fs
tera Templating
clap CLI Interface
rand To generate random files prefix
rust-embed To embed assets and templates into single binary

Dependencies

~21–33MB
~522K SLoC