| Crates.io | s3tui |
| lib.rs | s3tui |
| version | 0.4.1 |
| created_at | 2024-05-20 17:45:07.055066+00 |
| updated_at | 2026-01-24 13:09:39.898924+00 |
| description | Simple TUI application for multiple s3 account operations |
| homepage | https://github.com/softberries/s3tui |
| repository | https://github.com/softberries/s3tui |
| max_upload_size | |
| id | 1246023 |
| size | 4,146,717 |
_____ __ _
____|__ // /___ __(_)
/ ___//_ / __/ / / / /
(__ )__/ / /_/ /_/ / /
/____/____/\__/\__,_/_/
s3tui is a powerful terminal-based application that enables seamless file transfers between your local machine and
multiple AWS S3 accounts. Crafted with the ratatui Rust TUI framework, s3tui
provides a robust user interface for managing uploads and downloads simultaneously in both directions, enhancing your
productivity with S3 services.

/ key. Search is case-insensitive and filters both panels.Tab,↔ - move between local and s3 panels - select account currently in use.Esc - move back to the file manager window.↕ / j / k - move up/down on the lists.t - select/deselect files to transfer.c - create bucket.⌫ / Del - delete item.l - Display currently selected files for transfer.r - Execute the selected transfers.F1 - Sort by name (press again to toggle ascending/descending).F2 - Sort by size (press again to toggle ascending/descending).F3 - Sort by type (press again to toggle ascending/descending).F5 - Refresh current view./ - Search/filter files by name (Esc to clear filter).q - Quit the application.? - Access the help page with all available commands.color_eyre panic hook for clear and colorized error reporting.--version command.Configure Environment Variables:
export S3TUI_CONFIG=`pwd`/.config
export S3TUI_DATA=`pwd`/.data
export S3TUI_LOGLEVEL=info
Alternatively, use the default paths set according to the XDG Base Directory Specification.
You can check your configuration by running s3tui --version which will show you the paths currently in use.
Add your s3 credentials
creds directory (inside your .data directory specified with S3TUI_DATA env variable)access_key=YOUR_ACCESS_KEY
secret_key=YOUR_SECRET_KEY
default_region=eu-west-1
Make sure there is a new line at the end and there are no leading spaces on the lines.
s3tui supports S3-compatible storage providers. Example credential file:
access_key=minioadmin
secret_key=minioadmin
default_region=us-east-1
endpoint_url=http://127.0.0.1:9000
force_path_style=true
| Provider | endpoint_url | force_path_style |
|---|---|---|
| MinIO | http://localhost:9000 |
true |
| RustFS | http://localhost:9000 |
true |
| Backblaze B2 | https://s3.us-west-000.backblazeb2.com |
false |
| Wasabi | https://s3.wasabisys.com |
false |
| Cloudflare R2 | https://<account_id>.r2.cloudflarestorage.com |
true |
| DigitalOcean Spaces | https://<region>.digitaloceanspaces.com |
false |
The force_path_style parameter controls URL formatting:
false (default): Virtual-hosted style (bucket.endpoint/key)true: Path style (endpoint/bucket/key)Installation from crates.io:
cargo installed. cargo install s3tui
Building locally:
cargo installed. git clone <repository-url>
cd s3tui
cargo build --release
Running s3tui:
./target/release/s3tui
Application logs are efficiently managed and stored in the directory specified by S3TUI_DATA, keeping you informed of
all operations and aiding in troubleshooting.
Once s3tui is running, press ? to open the help page, which displays all the commands and their functions, allowing
you to start transferring files immediately.
Enhance your productivity with s3tui, the command-line interface that bridges the gap between local file management
and cloud storage with ease and efficiency. Whether you're managing large datasets or performing routine
backups, s3tui makes S3 file transfer tasks intuitive and manageable directly from your terminal.
# Debug build
cargo build
# Release build
cargo build --release
# Run directly
cargo run
# Run unit tests
cargo test
# Run property-based tests
cargo test --test property_tests
# Run all tests including integration tests (requires Docker)
cargo test -- --include-ignored
# Run only integration tests (requires Docker)
cargo test --test s3_compat_tests -- --ignored
# Run a specific test
cargo test test_name
# Run benchmarks
cargo bench
Integration tests use testcontainers to spin up MinIO containers automatically. Make sure Docker is running before executing integration tests.
Benchmarks use criterion for performance measurement.
# Run linter
cargo clippy
# Format code
cargo fmt
# Check formatting without changes
cargo fmt -- --check
Contributions are welcome! Here's how you can help:
maincargo clippy) and fix any warningscargo fmt)Found a bug or have a feature request? Please open an issue with:
This project is licensed under the MIT License - see the LICENSE file for details.