peerstohttp
peerstohttp copied to clipboard
Feature request: expose default added trackers or allow disabling them
Looks like there is a hardcoded list of trackers that are always added to torrents here.
Some thoughts:
- It would be great to be able to customize them, so you can worry only adding torrent hashes and they'll get eventually discovered always. I always add some reliable trackers and even for some period of time, one which I ran locally, too.
- If not customizable, the "local trackers if available" might be tunned for some more commonplace, such as
udp://localhost:6969,udp://localhost:2710or the likes. - (Not sure, needs more reading of spec) It might present privacy/disclosure problems for private torrents which AFAIK, should not be announced anywhere.
Also, not sure about how would work customization, since everything is done in command line and passing the list might be cumbersome, but would work anyway, I guess. Depending on the requirements, it might be "low hanging fruit".
We can customize trackers list pulling it from the file. I have already made this at similar project and it can be ported easily: https://github.com/WinPooh32/content/blob/main/cmd/service/main.go#L40