https://github.com/henrybarreto/parachute
Parachute is a simple and fast way to share files.
https://github.com/henrybarreto/parachute
airdrop anonymous client download file hacktoberfest rust server share upload
Last synced: over 1 year ago
JSON representation
Parachute is a simple and fast way to share files.
- Host: GitHub
- URL: https://github.com/henrybarreto/parachute
- Owner: henrybarreto
- License: mit
- Created: 2022-08-04T15:56:43.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-07T21:47:13.000Z (about 3 years ago)
- Last Synced: 2025-02-24T05:55:57.514Z (over 1 year ago)
- Topics: airdrop, anonymous, client, download, file, hacktoberfest, rust, server, share, upload
- Language: Rust
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Parachute
Parachute is a simple and fast way to delivery files to friends.
## How to use
> NOTICE: The CLI interface isn't implemented yet. Currently, you can run the `server` and the `client` as standalone binaries.
### Server
Starting a Parachute server.
```
parachute server
```
### Client
#### Upload
Sends a photo to the server.
```
parachute client upload photo.jpeg
```
Sends a photo to the server with a password.
```
parachute client upload -p Example123 photo.jpeg
```
Sends a photo to the server with a limit number of downloads or lifetime.
```
parachute client upload -t 1 photo.jpeg
```
Sends a photo to the server with an address allowed.
```
parachute client upload -a 127.0.0.1 photo.jpeg
```
#### Download
Gets a file from the server.
```
parachute client download 00000000-0000-0000-0000-000000000000
```
Gets a file from the server when it has a password.
```
parachute client download -p Example123 00000000-0000-0000-0000-000000000000
```
Gets a file from the server only when it matches to a hash.
```
parachute client download -h 1a79a4d60de6718e8e5b326e338ae533 00000000-0000-0000-0000-000000000000
```
## Protocol
Parachute is a relative simple client-server protocol what runs over the TCP protocol.
It sends a file with some flags, case signed by user, to the server. The server saves it into a volatile database to
be downloaded when required. It checks the flags, executing needed validation, logic and callbacks when that download
is requested.