This repository contains ready‑to‑run client examples in various programming languages, demonstrating how to interact with a RustFS server.
RustFS is a high‑performance storage server written in Rust. It exposes an S3-compatible API and HTTP APIs for file operations.
We provide examples for the following languages. Click on the respective links for detailed instructions and environment setup:
-
Start a RustFS server locally (default endpoint:
http://localhost:9000) -
Clone this repository
git clone https://github.com/rustfs/examples.git cd examples -
Explore the examples: Navigate into the directory of your preferred language to find specific usage instructions, dependencies, and run commands.
For instance, to view the Java examples:
cd java cat README.md
Depending on the specific language and project, the examples generally demonstrate:
- Connecting to a RustFS server using S3-compatible clients or direct HTTP APIs.
- Authenticating with the server.
- Performing core file operations: Uploading, Downloading, Deleting, and Listing.
- A running RustFS server v1.0+ (or a compatible mock server)
- Language‑specific runtimes (e.g., Java 21+, Go 1.24+, Python 3.12+, PHP 8.4+, Rust Stable)
Contributions are welcome! Feel free to add examples in other languages or improve the existing ones. Simply submit a pull request or open an issue.
Apache 2.0 License