Convert any storage device into your own local cloud
Vela is a Rust CLI tool that lets you scan, mount, select, and serve any external storage device over your local network. Turn your USBs, SSDs, or other storage devices into a personal local cloud quickly.
Clone the repository:
git clone https://github.com/<your-username>/vela.git
cd velaBuild the project:
cargo build --releaseRun the project:
cargo run -- <command>List all storage devices connected to your system:
cargo run -- scanOutput example:
/dev/sda1 EXTSSD 1234-ABCD
/dev/sdb1 USBDRIVE 5678-EFGH
Mount a device at /mnt/<mount_name> (creates the folder if missing):
cargo run -- mount <device> [mount_name]device: Path to the storage device (e.g.,/dev/sda1)mount_name: Optional; folder name under/mnt. If omitted, the device name is used.
Example:
cargo run -- mount /dev/sda1 extMounted at /mnt/ext.
Unmount a previously mounted device:
cargo run -- unmount <mountpoint>Example:
cargo run -- unmount /mnt/extSelect a mounted path to serve over the network:
cargo run -- select <mount_path>Example:
cargo run -- select /mnt/extThis saves the selection for the serve command.
Start an HTTP server serving the selected storage path on the local network:
cargo run -- serveDefault server URL:
http://localhost:9000