toss-plus 0.1.0

Upload to streamshare (to-ss > toss) from the terminal
# toss-plus

Upload files and directories to [streamshare](https://streamshare.wireway.ch) from the terminal.
Enhanced fork of [to-streamshare](https://crates.io/crates/to-streamshare).

### Install

```bash
cargo install toss-plus
```

### Upload

Single files are uploaded directly. Directories are automatically packed into a tar archive. Compression flags work on both.

```bash
toss file.txt               # upload file directly
toss my-folder/             # uploads as my-folder.tar
toss file.txt --zip         # file.txt.zip, default level 6
toss file.txt --zip 9       # zip, max compression (1–9)
toss my-folder/ --zip       # my-folder.zip
toss file.txt --zstd        # file.txt.zst, default level 3
toss file.txt --zstd 22     # zstd, max compression (0–22)
toss my-folder/ --zstd      # my-folder.tar.zst
toss file.txt --7z          # file.txt.7z, default level 5
toss file.txt --7z 9        # 7z/LZMA2, max compression (1–9)
toss my-folder/ --7z        # my-folder.7z
toss file.txt --chunk-size 8388608  # custom chunk size (1MB–10MB, default 4MB)
```

### Download

```bash
toss --download "file_identifier"
toss --download "file_identifier" --path ~/Downloads
toss --download "file_identifier" --replace  # overwrite if file already exists
```

### Delete

```bash
toss --delete "file_identifier"                      # uses saved token if uploaded from this system
toss --delete "file_identifier/deletion_token"       # explicit token
```

### History

Uploads from this system are saved locally and their deletion tokens stored for use with `--delete`.

```bash
toss --list   # show all files uploaded from this system
```