Skip to content

A simple HTTP server written in Rust that works like a file storage

Notifications You must be signed in to change notification settings

saiintbrisson/marquito

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

marquito e luizito

This project was conceived during TerraMagna's onboarding program.

marquito is a simple HTTP server written in Rust that works like a file storage (we do not support HTTPS nor do we plan to do so).

luizito is a CLI client tool that sends and consumes files to/from marquito.

Installation and Usage

Clone the repository and install marquito and luizito to ~/.cargo/bin:

git clone https://github.com/saiintbrisson/marquito
cd marquito
cargo install --path ./marquito
cargo install --path ./luizito

Running the server is as easy as running marquito on the terminal:

marquito
INFO marquito::server: server is running addr=127.0.0.1:23400

MARQUITO_ADDRESS changes the server address (defaults to 127.0.0.1:23400)
MARQUITO_DIRECTORY changes the storage directory (defaults to ./files/)

Now, with luizito installed, you can send and get files, here are some examples:

luizito send a.txt b.toml          # stores local files a.txt and b.toml
luizito get a.txt b.toml           # fetches stored files and displays them
luizito get --save a.txt b.toml    # fetches stored files and saves them to disk

About

A simple HTTP server written in Rust that works like a file storage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages