Commit Graph

329 Commits

Author SHA1 Message Date
Matt Joiner 61a303cbf7
Default to announcing as leecher
(cherry picked from commit 16da3c0c46)
2022-12-25 19:57:16 +11:00
Matt Joiner e235776204
Add --port flag to announce
(cherry picked from commit e554aa19a6)
2022-12-25 19:56:55 +11:00
Matt Joiner bf5a22f345
Add announce --event flag 2022-12-05 12:50:55 +11:00
Matt Joiner 3e0f34934d
gorond ./... 2022-11-15 23:31:27 +11:00
pk de4c16bbe9
Retrive file via HTTP URL in `metainfo.go` (#778) 2022-09-26 10:01:51 +10:00
Matt Joiner 648acc0120
Merge branch 'webrtc-conn-leak' 2022-08-31 11:09:47 +10:00
Matt Joiner 35834100cc
cmd/torrent: Restore the announce and bencode subcommands 2022-07-13 11:34:02 +10:00
Matt Joiner 5d263855d9
cmd/torrent: Time and log TracerProvider.Shutdown 2022-07-12 16:15:50 +10:00
Matt Joiner 660d4dfba6
cmd/torrent: Use tracing SDK 2022-07-12 16:15:49 +10:00
Matt Joiner 43b2d3ee21
cmd/torrent serve: Support multiple file paths 2022-07-12 16:12:02 +10:00
Matt Joiner 240b42fd56
cmd/torrent create: Add piece length and private options 2022-07-12 16:12:02 +10:00
Matt Joiner fe4c930bf5
Restore torrent metainfo pprint 2022-07-12 16:12:02 +10:00
Matt Joiner 0bf75b8fa8
Move cmd/torrent-create into torrent create 2022-07-12 16:12:01 +10:00
Matt Joiner 2c5f9c41df
Update bargle use 2022-07-12 16:00:52 +10:00
Matt Joiner 5c2f1ed307
Track latest bargle 2022-07-12 16:00:51 +10:00
Matt Joiner ae2e4bf7e7
Use metainfo.ChoosePieceLength from more locations 2022-07-03 21:47:16 +10:00
Marco Vidonis 8f711b633f
optimise torrent piece length (#758) 2022-06-23 22:44:06 +10:00
Matt Joiner b232729e0c
Fix typo 2022-06-22 14:19:26 +10:00
Matt Joiner 585e062804
torrent serve: Add some reasonable tracker defaults 2022-06-15 14:23:18 +10:00
Matt Joiner 3c54eadf28
torrent serve: Print magnet link 2022-06-14 18:23:00 +10:00
Matt Joiner 9f9b02e3dd
cmd/torrent: Respect default client max unverified bytes 2022-05-12 10:37:36 +10:00
Matt Joiner 660d73eb9c
cmd/torrent: Improve context error handling 2022-05-09 12:51:02 +10:00
Matt Joiner d5d940e643
cmd/torrent download: Fix waiting for pieces when some are already complete 2022-05-09 12:05:12 +10:00
Matt Joiner 1f6b23d995
cmd/torrent: Export Prometheus metrics 2022-04-28 09:45:49 +10:00
Matt Joiner cba434999a
cmd/torrent: Fix panic with IPv6 public IP 2022-04-11 14:00:06 +10:00
Matt Joiner 57b8af7d51
cmd/torrent: Add download --save-metainfos and fix up signal notification 2022-03-17 15:08:06 +11:00
Matt Joiner ff3b74ad88
Prefer UTF-8 fields when present 2022-03-17 15:07:10 +11:00
Matt Joiner 529eb4b387
Add cmd/torrent-create -u 2022-03-11 12:11:01 +11:00
Matt Joiner 0062680e8e
Add cmd/torrent-create -i 2022-03-11 10:47:02 +11:00
Matt Joiner 9ac5ce70de
cmd/torrent: Add TODO about missing subcommand 2022-03-09 20:57:54 +11:00
Matt Joiner 859d31facb
cmd/torrent: Add --port-forward 2022-03-09 20:56:48 +11:00
Matt Joiner a450bbe6b2 cmd/torrent announce: Use NumWant -1
tracker.opentrackr.org will actually send no peers back unless you ask for them.
2022-03-02 10:51:19 +11:00
Matt Joiner 0e4546b738 Add scrape subcommand to cmd/torrent 2022-02-20 16:16:57 +11:00
Matt Joiner a324fbfee3 Make use of the lazylog branch of anacrolix/log
This avoids significant allocations and overhead.
2022-01-31 17:22:36 +11:00
Matt Joiner 9f2e2e39fa cmd/torrent: Add --linear-discard 2021-12-23 14:00:01 +11:00
Matt Joiner 7772d50f74 cmd/torrent: Lower burst when there's a download rate limit 2021-12-23 14:00:01 +11:00
Matt Joiner 357896fb65 gofumpt 2021-11-19 16:19:32 +11:00
Matt Joiner 8a7ddab785 Switch to github.com/anacrolix/fuse 2021-11-16 18:20:02 +11:00
Matt Joiner 801fa59d5a cmd/torrentfs: Add missing envpprof.Stop 2021-11-12 10:37:21 +11:00
Matt Joiner c6ee03f449 gofumpt 2021-11-08 14:47:01 +11:00
Matt Joiner eaeb38b18c cmd/torrent: Add serve subcommand 2021-11-04 20:02:55 +11:00
Matt Joiner bc5cce8dca Move download subcmd code into separate file 2021-11-04 11:36:34 +11:00
Matt Joiner 002de0ebe3 cmd/torrent: Add bencode {json,spew} commands 2021-11-03 13:49:06 +11:00
Matt Joiner 3d49a29288 Support minimum peer extensions 2021-10-25 20:52:44 +11:00
Matt Joiner faf385c163 cmd/torrent: Use updated args module 2021-10-20 16:41:33 +11:00
Matt Joiner 7c349d31e2 Make useful data stat more readable 2021-10-19 14:08:56 +11:00
Matt Joiner 89e7e00c31 Print average download rate 2021-10-19 14:08:56 +11:00
Matt Joiner 4d496bf756 cmd/torrent: Ensure envpprof.Stop runs before exit 2021-10-07 17:00:39 +11:00
Matt Joiner f47a12bd32 Return errors from Client.Close 2021-10-07 13:31:08 +11:00
Matt Joiner ebd523e39c cmd/torrent: Don't make --stats default to --debug's value 2021-09-21 13:06:06 +10:00