https://github.com/webrror/sere
This Rust package provides a simple file transfer utility using the iroh and iroh_blobs libraries. You can use this tool to send and receive files using a peer-to-peer network setup.
https://github.com/webrror/sere
blobs iroh iroh-blobs rust
Last synced: 3 months ago
JSON representation
This Rust package provides a simple file transfer utility using the iroh and iroh_blobs libraries. You can use this tool to send and receive files using a peer-to-peer network setup.
- Host: GitHub
- URL: https://github.com/webrror/sere
- Owner: webrror
- Created: 2025-02-12T20:50:56.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-02-12T21:27:52.000Z (9 months ago)
- Last Synced: 2025-05-16T09:07:37.025Z (6 months ago)
- Topics: blobs, iroh, iroh-blobs, rust
- Language: Rust
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# File Transfer with Iroh Blobs
This Rust package provides a simple file transfer utility using the [`iroh`](https://github.com/n0-computer/iroh) and [`iroh_blobs`](https://github.com/n0-computer/iroh-blobs) libraries. You can use this tool to send and receive files using a peer-to-peer network setup.
> [!CAUTION]
> This currently uses memory for the transfer, so it is not suitable for large files.
## Features
- Send files to a peer and generate a ticket for others to fetch the file.
- Receive files by providing a valid ticket.
## Requirements
- Rust (latest stable version)
- Tokio async runtime
## Installation
1. Clone the repository and navigate to the project directory:
```bash
git clone https://github.com/webrror/sere.git
cd sere
```
## Usage
The package provides two commands:
- `send`: Send a file.
- `receive`: Receive a file.
### Sending a File
To send a file, use the following command:
```bash
cargo run send [FILE_PATH]
```
### Receiving a File
To receive a file, use the following command:
```bash
cargo run receive [TICKET] [FILE_PATH]
```
## References
- [iroh](https://github.com/n0-computer/iroh)
- [iroh-blobs](https://github.com/n0-computer/iroh-blobs)
- [Unlimited, free file transfer, no account required [Youtube]](https://youtu.be/jl4cAkRTMT8?si=dtEXhC2fiqr7Rbsn)
- [sendme](https://www.iroh.computer/sendme)
- [Simple peer-to-peer file transfer tool](https://www.iroh.computer/docs/quickstart)