Commit graph

102 commits

Author SHA1 Message Date
Igor Katson
d0757d41c5 Print stats for each managed torrent now 2021-10-10 11:52:21 +01:00
Igor Katson
218aa4d9ee Safety note 2021-10-10 11:43:44 +01:00
Igor Katson
9b73a8ff2f Add "overwrite=true" option to torrent add API 2021-10-10 11:39:25 +01:00
Igor Katson
b1df9af3f6 Cargo check / fmt fixes 2021-10-10 11:00:04 +01:00
Igor Katson
99208800f4 Initial check to use block_in_place 2021-10-10 10:58:09 +01:00
Igor Katson
2ac76683e6 Now actually downloads 2 files at a time 2021-10-10 10:46:09 +01:00
Igor Katson
64900e1fd4 Add API to add a torrent 2021-10-10 09:57:21 +01:00
Igor Katson
6e9e79a02e Move stats printing to main 2021-10-09 16:49:55 +01:00
Igor Katson
1667efdaa7 Start refactoring code to support running in background and adding multiple torrents 2021-10-09 15:03:42 +01:00
Igor Katson
18b99c91a1 Update default peer TCP connect timeout to 10s 2021-10-08 23:54:26 +01:00
Igor Katson
f2c509359f Print download speed 2021-10-02 09:58:57 +01:00
Igor Katson
bca55891c1 Wrap reading files into block_in_place 2021-09-29 19:10:32 +01:00
Igor Katson
19a606e465 Add LICENSE and README 2021-09-29 15:25:47 +01:00
Igor Katson
b301b159da Fix a bug 2021-07-31 13:13:04 +01:00
Igor Katson
175d5c7a97 API refactor 2021-07-19 09:04:25 +01:00
Igor Katson
bd0df49591 Nothing, small cleanups 2021-07-16 13:58:10 +01:00
Igor Katson
ca11caf902 nothing 2021-07-14 18:09:12 +01:00
Igor Katson
3a9a858438 Peer stream is more efficient 2021-07-14 15:29:59 +01:00
Igor Katson
65d2e5b87f Nothing 2021-07-14 13:42:42 +01:00
Igor Katson
98dff76c40 DHT stats in HTTP API 2021-07-14 13:40:56 +01:00
Igor Katson
f00f522767 Optimize peers a bit 2021-07-14 13:16:01 +01:00
Igor Katson
7e4ed79863 Nothing 2021-07-13 16:59:31 +01:00
Igor Katson
ace11186ef Refactor DHT a bit 2021-07-13 16:10:36 +01:00
Igor Katson
9e3e3a27ff Nothing much 2021-07-13 14:59:44 +01:00
Igor Katson
1cd6caee76 Fix bugs 2021-07-13 13:16:59 +01:00
Igor Katson
951f610cfd Nothing 2021-07-13 09:18:45 +01:00
Igor Katson
6eef3b9b66 A small refactor 2021-07-12 21:59:08 +01:00
Igor Katson
2eabebb5c3 Replaced DHT with custom one! Lets see if it works 2021-07-12 19:55:23 +01:00
Igor Katson
5c41796485 Saving 2021-07-12 19:42:48 +01:00
Igor Katson
e7c310a1df JSON torrent detail api 2021-07-08 23:49:25 +01:00
Igor Katson
3beac77e5d JSON HTTP API 2021-07-08 23:03:58 +01:00
Igor Katson
c401b79bd3 Make HTTP API track multiple torrents 2021-07-08 00:09:00 +01:00
Igor Katson
4f07b0f785 Remove some trait bounds 2021-07-04 18:01:58 +01:00
Igor Katson
44c760bcc2 Nothing 2021-07-04 14:38:44 +01:00
Igor Katson
b4f6d8b93d Nothing 2021-07-04 12:17:06 +01:00
Igor Katson
60c0c73005 Nothing 2021-07-04 12:11:02 +01:00
Igor Katson
64b1e47c77 Add a semaphore around peers 2021-07-04 11:36:16 +01:00
Igor Katson
9472d66bf9 Update visiibilty 2021-07-04 11:05:20 +01:00
Igor Katson
ad867e8e3c Move everything to workspaces 2021-07-03 19:10:59 +01:00
Igor Katson
487ff50bd7 Clippy 2021-07-03 15:52:39 +01:00
Igor Katson
2061fe56bb The sucker now works with dht too! Albeit hacky JS one, but still! 2021-07-03 15:22:17 +01:00
Igor Katson
b4ade5eb13 Nothing 2021-07-03 12:52:47 +01:00
Igor Katson
0e80ad3254 Deentangled classes a bit 2021-07-03 12:44:21 +01:00
Igor Katson
85e33741b7 Deentangled classes a bit 2021-07-03 12:40:59 +01:00
Igor Katson
9038630622 Trying to make torrent manager not depend on the whole metainfo 2021-07-03 09:13:09 +01:00
Igor Katson
897517521e Peer info reader done 2021-07-03 00:22:46 +01:00
Igor Katson
46e87a9b80 Split stuff into more files 2021-07-02 22:32:55 +01:00
Igor Katson
48dcf2d1bd I can now download torrent metainfo from peers!! 2021-07-02 17:58:53 +01:00
Igor Katson
302e95649d Screwing around with extended messages 2021-07-02 13:00:46 +01:00
Igor Katson
d722f0edcb Remove all linter warnings 2021-07-02 10:21:19 +01:00