From 11db775e8444e5fff95dfdff817617e5778c39ba Mon Sep 17 00:00:00 2001 From: YouROK <8YouROK8@mail.ru> Date: Wed, 10 Mar 2021 09:10:45 +0300 Subject: [PATCH 1/8] update --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index fdf9514..9a26078 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,12 @@ ## TorrServer TorrServer, stream torrent to http +### Installation +Just download from releases and exec file +https://github.com/YouROK/TorrServer/releases +After open browser link http://127.0.0.1:8090 + + # ### Server args: #### Usage From aec1eb1c6273f8001a16e388a1446e39fba19ece Mon Sep 17 00:00:00 2001 From: YouROK <8YouROK8@mail.ru> Date: Thu, 11 Mar 2021 12:12:40 +0300 Subject: [PATCH 2/8] update --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a26078..b5e55f1 100644 --- a/README.md +++ b/README.md @@ -131,8 +131,22 @@ if hash is not empty, return viewed file of torrent ##### Json struct see in https://github.com/YouROK/TorrServer/blob/d36d0c28f805ceab39adb4aac2869cd7a272085b/server/settings/viewed.go -### + +# +### Authorization + +The user data file should be located near to the settings.\ +File name: *accs.db*\ +File format:\ + +{\ + "User1": "Pass1",\ + "User2": "Pass2"\ +} + + +# ### Donate: [PayPal](https://www.paypal.me/yourok) From 39754328a88140be108ea2dd41a12026796f494c Mon Sep 17 00:00:00 2001 From: YouROK <8YouROK8@mail.ru> Date: Thu, 11 Mar 2021 12:13:50 +0300 Subject: [PATCH 3/8] update --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b5e55f1..6a0a569 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ https://github.com/YouROK/TorrServer/blob/d36d0c28f805ceab39adb4aac2869cd7a27208 The user data file should be located near to the settings.\ File name: *accs.db*\ -File format:\ +File format: {\ "User1": "Pass1",\ @@ -155,8 +155,8 @@ YooMoney card: 5599 0050 6424 4747 SberBank card: 4276 4000 6707 2919 -### +# ### Thanks to everyone who tested and helped ###### **Anacrolix Matt Joiner** [github.com/anacrolix](https://github.com/anacrolix/) From c0160f2823324b81fc1cd3eac08afa87bcf0df3d Mon Sep 17 00:00:00 2001 From: YouROK <8YouROK8@mail.ru> Date: Thu, 11 Mar 2021 12:15:38 +0300 Subject: [PATCH 4/8] update --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 6a0a569..03ef465 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,8 @@ TorrServer [--port PORT] [--path PATH] [--logpath LOGPATH] [--rdb] [--httpauth] * --ui, -u run page torrserver in browser * --version display version and exit -### - +# ### Http Api of TorrServer: #### GET From c8a0da13d0e80ab092e060446843491d908db01c Mon Sep 17 00:00:00 2001 From: YouROK <8YouROK8@mail.ru> Date: Thu, 11 Mar 2021 12:17:31 +0300 Subject: [PATCH 5/8] update --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 03ef465..d13e0ea 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,8 @@ https://github.com/YouROK/TorrServer/blob/d36d0c28f805ceab39adb4aac2869cd7a27208 ### Authorization The user data file should be located near to the settings.\ +Basic auth, read more in wiki +https://en.wikipedia.org/wiki/Basic_access_authentication File name: *accs.db*\ File format: From e1dd08a134e1902520c8103e0a7d1e37e3c44e07 Mon Sep 17 00:00:00 2001 From: YouROK <8YouROK8@mail.ru> Date: Thu, 11 Mar 2021 12:21:04 +0300 Subject: [PATCH 6/8] update --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d13e0ea..78b5ce2 100644 --- a/README.md +++ b/README.md @@ -136,8 +136,9 @@ https://github.com/YouROK/TorrServer/blob/d36d0c28f805ceab39adb4aac2869cd7a27208 ### Authorization The user data file should be located near to the settings.\ -Basic auth, read more in wiki +Basic auth, read more in wiki \ https://en.wikipedia.org/wiki/Basic_access_authentication + File name: *accs.db*\ File format: From 44ef546343cd7b89a0acefab9659e23b54906812 Mon Sep 17 00:00:00 2001 From: YouROK <8YouROK8@mail.ru> Date: Thu, 11 Mar 2021 15:23:25 +0300 Subject: [PATCH 7/8] update --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 78b5ce2..b2788c3 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,11 @@ TorrServer, stream torrent to http ### Installation -Just download from releases and exec file -https://github.com/YouROK/TorrServer/releases -After open browser link http://127.0.0.1:8090 +Just download server from releases and exec file\ +https://github.com/YouROK/TorrServer/releases \ +After open browser link http://127.0.0.1:8090 \ +On linux systems you need to set the environment variable before run \ +***export GODEBUG=madvdontneed=1*** # From 4444272325446160864abec1b97edcc1765714ff Mon Sep 17 00:00:00 2001 From: YouROK <8YouROK8@mail.ru> Date: Thu, 11 Mar 2021 15:25:37 +0300 Subject: [PATCH 8/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b2788c3..1521299 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ TorrServer [--port PORT] [--path PATH] [--logpath LOGPATH] [--rdb] [--httpauth] ###### /torrents ##### Send json: {\ - "action": "add/get/rem/list/drop",\ + "action": "add/get/set/rem/list/drop",\ "link": "hash/magnet/link to torrent",\ "hash": "hash of torrent",\ "title": "title of torrent",\