| Crates.io | drcv |
| lib.rs | drcv |
| version | 0.2.1 |
| created_at | 2025-09-07 03:51:23.997224+00 |
| updated_at | 2025-09-07 04:48:28.821403+00 |
| description | DRCV: Direct and Resumable Connection Vault |
| homepage | |
| repository | https://github.com/lqez/drcv |
| max_upload_size | |
| id | 1827821 |
| size | 149,174 |
A fast, secure resumable file upload server with Cloudflare Tunnel integration for easy external access.
{hash}.drcv.app# 1. Install and authenticate cloudflared (one-time setup)
# macOS: brew install cloudflared
# Linux: see https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/install-and-setup/installation/
cloudflared tunnel login
# 2. Run DRCV (auto-creates tunnel)
cargo run
# Custom settings
cargo run -- --upload-port 9000 --max-file-size 10GiB --upload-dir ./my-uploads
# With verbose logging
cargo run -- --verbose
# or
RUST_LOG=debug cargo run
# 3. DRCV will show:
# DRCV is ready
# • Share: https://{hash}.drcv.app
# • Admin: http://127.0.0.1:8081
# • Upload dir: ./uploads
Share the https://{hash}.drcv.app URL for external uploads.
Access: http://localhost:8080 (upload) | http://localhost:8081 (admin)
git clone https://github.com/lqez/drcv.git
cd drcv
cargo build --release
./target/release/drcv --help
Download from GitHub Releases
Usage: drcv [OPTIONS]
Options:
--max-file-size <SIZE> Maximum file size [default: 100GiB]
--chunk-size <SIZE> Upload chunk size [default: 4MiB]
--upload-port <PORT> Upload server port [default: 8080]
--admin-port <PORT> Admin server port [default: 8081]
--upload-dir <PATH> Upload directory [default: ./uploads]
--tunnel-domain <DOMAIN> Tunnel domain root [default: drcv.app]
--tunnel-provider <PROVIDER> Tunnel provider [default: cloudflare]
-v, --verbose Show verbose configuration info
-h, --help Print help
DRCV uses structured logging with configurable levels:
# Standard logging (INFO level)
./drcv
# Verbose mode (DEBUG level)
./drcv --verbose
# Custom log levels
RUST_LOG=error ./drcv # Errors only
RUST_LOG=debug ./drcv # Debug and above
RUST_LOG=trace ./drcv # All logs
cloudflared spawned automatically if availableSee CONTRIBUTING.md for development setup and API documentation.
MIT License - see LICENSE for details.