magnet-to-torrent/README.md

32 lines
605 B
Markdown
Raw Permalink Normal View History

2025-04-25 12:17:07 -04:00
# magnet-to-torrent
2025-05-04 14:04:18 -04:00
A tiny CLI tool to fetch torrent metadata from a magnet link and save it as a `.torrent` file.
## Install
```bash
# Clone and build
git clone https://codeberg.org/firebadnofire/magnet-to-torrent.git
cd magnet-to-torrent
make build
# or:
go build -o magnet-to-torrent main.go
```
## Usage
```bash
magnet-to-torrent [options] <magnet_link>
```
### Options
* `-o <file>` Output filename (default: `<torrent name>.torrent`)
* `-timeout <dur>` Metadata timeout (default: `5m`)
* `-upload` Enable seeding after fetch (off by default)
## License
2025-05-04 14:05:07 -04:00
AGPLv3 © FireBADnoFire
2025-05-04 14:04:18 -04:00