cyberdrop-client
Rust API client for Cyberdrop, with async support and typed models. Works with both cyberdrop.me and bunkr.cr.
Features
- Async client built on
reqwest(rustls TLS, no native OpenSSL requirement). - Token-based authentication helpers (
login,with_auth_token,verify_token). - Typed models for common endpoints (albums, files, uploads).
- Upload support via multipart, including chunked uploads for large files.
- Configurable base URL, user-agent, and request timeout via
CyberdropClientBuilder.
Installation
[]
= "0.4.4"
Quick Start
Cyberdrop Example
use CyberdropClient;
use Path;
async
Bunkr Example
let client = builder
.base_url?
.auth_token
.timeout
.build?;
Running the CLI Examples
Examples live in examples/ and can take args or environment variables.
Environment variables used by most examples:
CYBERDROP_USERNAMECYBERDROP_PASSWORD
Run:
Documentation
For detailed API documentation, visit docs.rs/cyberdrop-client.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Support
If this crate saves you time or helps your work, support is appreciated:
License
This project is licensed under the MIT License; see the license file for details.