Making a Torrent file
I use the package transmission-create
, available with transmission-cli
.
I don’t use mktorrent
because transmission-create
automatically choose the best conf for size piece.
Because I create a lot of torrent, I did a script available here.
You just have to:
- Clone the repo
- Open a console, here where you clone the repo, and execute
chmod +x PublicTorrent.sh && chmod +x PrivateTorrent.sh
- Modify
configTorrent.cfg
setdirectory
is where to put the .torrent in your computer- You must to set the two public tracker (
public_tracker_un
,public_tracker_deux
andpublic_tracker_trois
).
Here good tracker you can use:http://nyaa.tracker.wf:7777/announce
(you must to registrer your torrent)http://anidex.moe:6969/announce
(you must to registrer your torrent)udp://tracker.moeking.me:6969/announce
- and others that you can find here
- You must to set the private tracker (
private_tracker
).
Private tracker means disallow DHT and PeerExchange - Run
$ ./PublicTracker 'myfile'
or$ ./PublicTracker 'myfolder'
- Upload your torrent somewhere and add it to your bittorrent software to seed your file (your file must be completed download on your site/you must have the file to seed it)
- And it’s done :-)
The bittorrent software I use
My favorites are transmission-bt
(or simply transmission
) and qbittorrent
.
The best conf for size piece
If you have to config it, here the best conf to choose your piece size; transmission is only compatible with max-size pieces of 2MiB, while qbitorrent can create up to 32MiB (but 16MiB is the max I recommend)
Total size of files | Piece size to choose | Equivalent for mktorrent args |
---|---|---|
up to 50MiB | 32KiB | -l 15 |
50MiB to 150MiB | 64KiB | -l 16 |
150MiB to 350MiB | 128KiB | -l 17 |
350MiB to 512MiB | 256KiB | -l 18 |
512MiB to 1.0GiB | 512KiB | -l 19 |
1.0GiB to 2.0GiB | 1024KiB | -l 20 |
2.0GiB and up | 2048KiB | -l 21 |
Updated on August 29, 2020.