🍻 Join the community: Discord
Got a torrent file? Convert it to a magnet link: https://nutbread.github.io/t2m/
Note
open .env and fill in the required values.
- Golang
- Git
- Real-Debrid API Key
git clone https://github.com/sachinsenal0x64/freebird
cd freebird
mv env-example .env
go mod tidy
go run .
GET
/v1/magnet
Parameter Type Description uri
string magnet = magnet:?xt
xh
xh GET https://freebird.401658.xyz/v1/magnet?uri=magnet:?xt
{
"chunks": 32,
"crc": 1,
"download": "abc",
"filename": "abc",
"id": "abc",
"mimeType": "video/x-matroska",
"streamable": 1
}
Freebird returns the following status codes in its API:
Status Code Description 200 OK
422 UNPROCESSABLE CONTENT
404 NOT FOUND
500 INTERNAL SERVER ERROR