From c9c125d08972b9ba856baa7e3cae8f289dfc8942 Mon Sep 17 00:00:00 2001 From: wipedlifepotato <60944239+wipedlifepotato@users.noreply.github.com> Date: Mon, 24 Aug 2026 23:24:45 +0300 Subject: [PATCH 1/3] peers + files --- torrent_client.html | 520 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 520 insertions(+) create mode 100644 torrent_client.html diff --git a/torrent_client.html b/torrent_client.html new file mode 100644 index 00000000..07c18991 --- /dev/null +++ b/torrent_client.html @@ -0,0 +1,520 @@ + + +
+
+
+
+ + + + +

TORRENT_DAEMON_INTERFACE

+
+
CONNECTING...
+
+ +
+ [+] DROP_TORRENT_PAYLOAD_OR_BROWSE_FILE + +
+ +
+ + + + + + + + + + + + + + + + + +
IDNameStatusProgressDownload RateUpload RateActions
NO_ACTIVE_TRANSFERS_DETECTED
+
+
+
+ + +
+ +
+ + From 1c627a9eb107bba41c2c26200078f3946372b885 Mon Sep 17 00:00:00 2001 From: wipedlifepotato <60944239+wipedlifepotato@users.noreply.github.com> Date: Mon, 24 Aug 2026 23:27:32 +0300 Subject: [PATCH 2/3] to contrib --- contrib/webconsole/torrent_client.html | 322 ++++++++++++--- torrent_client.html | 520 ------------------------- 2 files changed, 276 insertions(+), 566 deletions(-) delete mode 100644 torrent_client.html diff --git a/contrib/webconsole/torrent_client.html b/contrib/webconsole/torrent_client.html index 94e0e097..07c18991 100644 --- a/contrib/webconsole/torrent_client.html +++ b/contrib/webconsole/torrent_client.html @@ -1,49 +1,83 @@
-

TORRENT_DAEMON_INTERFACE

+
+ + + + +

TORRENT_DAEMON_INTERFACE

+
CONNECTING...
- Drop torrent payload here or browse file + [+] DROP_TORRENT_PAYLOAD_OR_BROWSE_FILE
@@ -172,7 +297,7 @@ - No active transfers + NO_ACTIVE_TRANSFERS_DETECTED @@ -180,7 +305,54 @@
+ +
+ +
+ diff --git a/torrent_client.html b/torrent_client.html deleted file mode 100644 index 07c18991..00000000 --- a/torrent_client.html +++ /dev/null @@ -1,520 +0,0 @@ - - -
-
-
-
- - - - -

TORRENT_DAEMON_INTERFACE

-
-
CONNECTING...
-
- -
- [+] DROP_TORRENT_PAYLOAD_OR_BROWSE_FILE - -
- -
- - - - - - - - - - - - - - - - - -
IDNameStatusProgressDownload RateUpload RateActions
NO_ACTIVE_TRANSFERS_DETECTED
-
-
-
- - -
- -
- - From eb32c69649eaa0ee13dcc3981a46fac9e105b406 Mon Sep 17 00:00:00 2001 From: wipedlifepotato <60944239+wipedlifepotato@users.noreply.github.com> Date: Mon, 24 Aug 2026 23:29:03 +0300 Subject: [PATCH 3/3] torrent-rpc.js get files --- contrib/webconsole/torrent-rpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/webconsole/torrent-rpc.js b/contrib/webconsole/torrent-rpc.js index 23bb109d..c6424089 100644 --- a/contrib/webconsole/torrent-rpc.js +++ b/contrib/webconsole/torrent-rpc.js @@ -56,7 +56,7 @@ class TorrentClient { method: "POST", body: JSON.stringify({ 'method': 'torrent-get', - 'arguments': { "fields": ["id", "name", "status", "rateDownload", "rateUpload", "totalSize", "percentDone"] } + 'arguments': { "fields": ["id", "name", "status", "rateDownload", "rateUpload", "totalSize", "percentDone", "files", "peers"] } }), headers: { 'Content-Type': 'application/json' } });