mirror of
https://github.com/YunoHost-Apps/simple-torrent_ynh.git
synced 2024-09-03 20:26:18 +02:00
Merge d8b625d159
into ecbef2f23d
This commit is contained in:
commit
c4e1b0f236
19 changed files with 339 additions and 182 deletions
8
ALL_README.md
Normal file
8
ALL_README.md
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# All available README files by language
|
||||||
|
|
||||||
|
- [Read the README in English](README.md)
|
||||||
|
- [Lea el README en español](README_es.md)
|
||||||
|
- [Irakurri README euskaraz](README_eu.md)
|
||||||
|
- [Lire le README en français](README_fr.md)
|
||||||
|
- [Le o README en galego](README_gl.md)
|
||||||
|
- [阅读中文(简体)的 README](README_zh_Hans.md)
|
42
README.md
42
README.md
|
@ -1,22 +1,22 @@
|
||||||
<!--
|
<!--
|
||||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
N.B.: This README was automatically generated by <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||||
It shall NOT be edited by hand.
|
It shall NOT be edited by hand.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# Simple Torrent for YunoHost
|
# Cloud Torrent for YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/simple-torrent)  
|
[](https://dash.yunohost.org/appci/app/cloud-torrent)  
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=simple-torrent)
|
[](https://install-app.yunohost.org/?app=cloud-torrent)
|
||||||
|
|
||||||
*[Lire ce readme en français.](./README_fr.md)*
|
*[Read this README in other languages.](./ALL_README.md)*
|
||||||
|
|
||||||
> *This package allows you to install Simple Torrent quickly and simply on a YunoHost server.
|
> *This package allows you to install Cloud Torrent quickly and simply on a YunoHost server.*
|
||||||
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
> *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.*
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
SimpleTorrent is a a self-hosted remote torrent client, written in Go (golang). Started torrents remotely, download sets of files on the local disk of the server, which are then retrievable or streamable via HTTP.
|
Cloud-Torrent is a a self-hosted remote torrent client, written in Go (golang). Started torrents remotely, download sets of files on the local disk of the server, which are then retrievable or streamable via HTTP.
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
|
@ -31,33 +31,29 @@ SimpleTorrent is a a self-hosted remote torrent client, written in Go (golang).
|
||||||
- Magnet RSS subscribing supported
|
- Magnet RSS subscribing supported
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 1.3.9~ynh8
|
**Shipped version:** 0.9.1~ynh1
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## :red_circle: Antifeatures
|
|
||||||
|
|
||||||
- **Upstream not maintained**: This software is not maintained anymore. Expect it to break down over time, be exposed to unfixed security breaches, etc.
|
|
||||||
|
|
||||||
## Documentation and resources
|
## Documentation and resources
|
||||||
|
|
||||||
* Official admin documentation: <https://github.com/boypt/simple-torrent/wiki>
|
- Official admin documentation: <https://github.com/jpillora/cloud-torrent/wiki/>
|
||||||
* Upstream app code repository: <https://github.com/boypt/simple-torrent>
|
- Upstream app code repository: <https://github.com/jpillora/cloud-torrent>
|
||||||
* YunoHost Store: <https://apps.yunohost.org/app/simple-torrent>
|
- YunoHost Store: <https://apps.yunohost.org/app/cloud-torrent>
|
||||||
* Report a bug: <https://github.com/YunoHost-Apps/simple-torrent_ynh/issues>
|
- Report a bug: <https://github.com/YunoHost-Apps/cloud-torrent_ynh/issues>
|
||||||
|
|
||||||
## Developer info
|
## Developer info
|
||||||
|
|
||||||
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/simple-torrent_ynh/tree/testing).
|
Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing).
|
||||||
|
|
||||||
To try the testing branch, please proceed like that.
|
To try the `testing` branch, please proceed like that:
|
||||||
|
|
||||||
``` bash
|
```bash
|
||||||
sudo yunohost app install https://github.com/YunoHost-Apps/simple-torrent_ynh/tree/testing --debug
|
sudo yunohost app install https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing --debug
|
||||||
or
|
or
|
||||||
sudo yunohost app upgrade simple-torrent -u https://github.com/YunoHost-Apps/simple-torrent_ynh/tree/testing --debug
|
sudo yunohost app upgrade cloud-torrent -u https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
||||||
|
|
59
README_es.md
Normal file
59
README_es.md
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
<!--
|
||||||
|
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||||
|
No se debe editar a mano.
|
||||||
|
-->
|
||||||
|
|
||||||
|
# Cloud Torrent para Yunohost
|
||||||
|
|
||||||
|
[](https://dash.yunohost.org/appci/app/cloud-torrent)  
|
||||||
|
|
||||||
|
[](https://install-app.yunohost.org/?app=cloud-torrent)
|
||||||
|
|
||||||
|
*[Leer este README en otros idiomas.](./ALL_README.md)*
|
||||||
|
|
||||||
|
> *Este paquete le permite instalarCloud Torrent rapidamente y simplement en un servidor YunoHost.*
|
||||||
|
> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.*
|
||||||
|
|
||||||
|
## Descripción general
|
||||||
|
|
||||||
|
Cloud-Torrent is a a self-hosted remote torrent client, written in Go (golang). Started torrents remotely, download sets of files on the local disk of the server, which are then retrievable or streamable via HTTP.
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- Individual file download control (1.1.3+)
|
||||||
|
- Run external program on tasks completion
|
||||||
|
- Stops task when seeding ratio reached
|
||||||
|
- Download/Upload speed limiter
|
||||||
|
- Detailed transfer stats in web UI.
|
||||||
|
- Torrent Watcher
|
||||||
|
- Extra trackers from external source
|
||||||
|
- Protocol Handler to magnet
|
||||||
|
- Magnet RSS subscribing supported
|
||||||
|
|
||||||
|
|
||||||
|
**Versión actual:** 0.9.1~ynh1
|
||||||
|
|
||||||
|
## Capturas
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Documentaciones y recursos
|
||||||
|
|
||||||
|
- Documentación administrador oficial: <https://github.com/jpillora/cloud-torrent/wiki/>
|
||||||
|
- Repositorio del código fuente oficial de la aplicación : <https://github.com/jpillora/cloud-torrent>
|
||||||
|
- Catálogo YunoHost: <https://apps.yunohost.org/app/cloud-torrent>
|
||||||
|
- Reportar un error: <https://github.com/YunoHost-Apps/cloud-torrent_ynh/issues>
|
||||||
|
|
||||||
|
## Información para desarrolladores
|
||||||
|
|
||||||
|
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing
|
||||||
|
|
||||||
|
Para probar la rama `testing`, sigue asÍ:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo yunohost app install https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing --debug
|
||||||
|
o
|
||||||
|
sudo yunohost app upgrade cloud-torrent -u https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing --debug
|
||||||
|
```
|
||||||
|
|
||||||
|
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>
|
59
README_eu.md
Normal file
59
README_eu.md
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
<!--
|
||||||
|
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
|
||||||
|
EZ editatu eskuz.
|
||||||
|
-->
|
||||||
|
|
||||||
|
# Cloud Torrent YunoHost-erako
|
||||||
|
|
||||||
|
[](https://dash.yunohost.org/appci/app/cloud-torrent)  
|
||||||
|
|
||||||
|
[](https://install-app.yunohost.org/?app=cloud-torrent)
|
||||||
|
|
||||||
|
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
|
||||||
|
|
||||||
|
> *Pakete honek Cloud Torrent YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
|
||||||
|
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
|
||||||
|
|
||||||
|
## Aurreikuspena
|
||||||
|
|
||||||
|
Cloud-Torrent is a a self-hosted remote torrent client, written in Go (golang). Started torrents remotely, download sets of files on the local disk of the server, which are then retrievable or streamable via HTTP.
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- Individual file download control (1.1.3+)
|
||||||
|
- Run external program on tasks completion
|
||||||
|
- Stops task when seeding ratio reached
|
||||||
|
- Download/Upload speed limiter
|
||||||
|
- Detailed transfer stats in web UI.
|
||||||
|
- Torrent Watcher
|
||||||
|
- Extra trackers from external source
|
||||||
|
- Protocol Handler to magnet
|
||||||
|
- Magnet RSS subscribing supported
|
||||||
|
|
||||||
|
|
||||||
|
**Paketatutako bertsioa:** 0.9.1~ynh1
|
||||||
|
|
||||||
|
## Pantaila-argazkiak
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Dokumentazioa eta baliabideak
|
||||||
|
|
||||||
|
- Administratzaileen dokumentazio ofiziala: <https://github.com/jpillora/cloud-torrent/wiki/>
|
||||||
|
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/jpillora/cloud-torrent>
|
||||||
|
- YunoHost Denda: <https://apps.yunohost.org/app/cloud-torrent>
|
||||||
|
- Eman errore baten berri: <https://github.com/YunoHost-Apps/cloud-torrent_ynh/issues>
|
||||||
|
|
||||||
|
## Garatzaileentzako informazioa
|
||||||
|
|
||||||
|
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing).
|
||||||
|
|
||||||
|
`testing` abarra probatzeko, ondorengoa egin:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo yunohost app install https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing --debug
|
||||||
|
edo
|
||||||
|
sudo yunohost app upgrade cloud-torrent -u https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing --debug
|
||||||
|
```
|
||||||
|
|
||||||
|
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>
|
46
README_fr.md
46
README_fr.md
|
@ -1,22 +1,22 @@
|
||||||
<!--
|
<!--
|
||||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
Nota bene : ce README est automatiquement généré par <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||||
It shall NOT be edited by hand.
|
Il NE doit PAS être modifié à la main.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
# Simple Torrent pour YunoHost
|
# Cloud Torrent pour YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/simple-torrent)  
|
[](https://dash.yunohost.org/appci/app/cloud-torrent)  
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=simple-torrent)
|
[](https://install-app.yunohost.org/?app=cloud-torrent)
|
||||||
|
|
||||||
*[Read this readme in english.](./README.md)*
|
*[Lire le README dans d'autres langues.](./ALL_README.md)*
|
||||||
|
|
||||||
> *Ce package vous permet d’installer Simple Torrent rapidement et simplement sur un serveur YunoHost.
|
> *Ce package vous permet d’installer Cloud Torrent rapidement et simplement sur un serveur YunoHost.*
|
||||||
Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.*
|
> *Si vous n’avez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment l’installer et en profiter.*
|
||||||
|
|
||||||
## Vue d’ensemble
|
## Vue d’ensemble
|
||||||
|
|
||||||
SimpleTorrent is a a self-hosted remote torrent client, written in Go (golang). Started torrents remotely, download sets of files on the local disk of the server, which are then retrievable or streamable via HTTP.
|
Cloud-Torrent is a a self-hosted remote torrent client, written in Go (golang). Started torrents remotely, download sets of files on the local disk of the server, which are then retrievable or streamable via HTTP.
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
|
@ -31,33 +31,29 @@ SimpleTorrent is a a self-hosted remote torrent client, written in Go (golang).
|
||||||
- Magnet RSS subscribing supported
|
- Magnet RSS subscribing supported
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 1.3.9~ynh8
|
**Version incluse :** 0.9.1~ynh1
|
||||||
|
|
||||||
## Captures d’écran
|
## Captures d’écran
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## :red_circle: Fonctions indésirables
|
|
||||||
|
|
||||||
- **Upstream not maintained**: This software is not maintained anymore. Expect it to break down over time, be exposed to unfixed security breaches, etc.
|
|
||||||
|
|
||||||
## Documentations et ressources
|
## Documentations et ressources
|
||||||
|
|
||||||
* Documentation officielle de l’admin : <https://github.com/boypt/simple-torrent/wiki>
|
- Documentation officielle de l’admin : <https://github.com/jpillora/cloud-torrent/wiki/>
|
||||||
* Dépôt de code officiel de l’app : <https://github.com/boypt/simple-torrent>
|
- Dépôt de code officiel de l’app : <https://github.com/jpillora/cloud-torrent>
|
||||||
* YunoHost Store: <https://apps.yunohost.org/app/simple-torrent>
|
- YunoHost Store : <https://apps.yunohost.org/app/cloud-torrent>
|
||||||
* Signaler un bug : <https://github.com/YunoHost-Apps/simple-torrent_ynh/issues>
|
- Signaler un bug : <https://github.com/YunoHost-Apps/cloud-torrent_ynh/issues>
|
||||||
|
|
||||||
## Informations pour les développeurs
|
## Informations pour les développeurs
|
||||||
|
|
||||||
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/simple-torrent_ynh/tree/testing).
|
Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing).
|
||||||
|
|
||||||
Pour essayer la branche testing, procédez comme suit.
|
Pour essayer la branche `testing`, procédez comme suit :
|
||||||
|
|
||||||
``` bash
|
```bash
|
||||||
sudo yunohost app install https://github.com/YunoHost-Apps/simple-torrent_ynh/tree/testing --debug
|
sudo yunohost app install https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing --debug
|
||||||
ou
|
ou
|
||||||
sudo yunohost app upgrade simple-torrent -u https://github.com/YunoHost-Apps/simple-torrent_ynh/tree/testing --debug
|
sudo yunohost app upgrade cloud-torrent -u https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
**Plus d’infos sur le packaging d’applications :** <https://yunohost.org/packaging_apps>
|
**Plus d’infos sur le packaging d’applications :** <https://yunohost.org/packaging_apps>
|
||||||
|
|
59
README_gl.md
Normal file
59
README_gl.md
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
<!--
|
||||||
|
NOTA: Este README foi creado automáticamente por <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||||
|
NON debe editarse manualmente.
|
||||||
|
-->
|
||||||
|
|
||||||
|
# Cloud Torrent para YunoHost
|
||||||
|
|
||||||
|
[](https://dash.yunohost.org/appci/app/cloud-torrent)  
|
||||||
|
|
||||||
|
[](https://install-app.yunohost.org/?app=cloud-torrent)
|
||||||
|
|
||||||
|
*[Le este README en outros idiomas.](./ALL_README.md)*
|
||||||
|
|
||||||
|
> *Este paquete permíteche instalar Cloud Torrent de xeito rápido e doado nun servidor YunoHost.*
|
||||||
|
> *Se non usas YunoHost, le a [documentación](https://yunohost.org/install) para saber como instalalo.*
|
||||||
|
|
||||||
|
## Vista xeral
|
||||||
|
|
||||||
|
Cloud-Torrent is a a self-hosted remote torrent client, written in Go (golang). Started torrents remotely, download sets of files on the local disk of the server, which are then retrievable or streamable via HTTP.
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- Individual file download control (1.1.3+)
|
||||||
|
- Run external program on tasks completion
|
||||||
|
- Stops task when seeding ratio reached
|
||||||
|
- Download/Upload speed limiter
|
||||||
|
- Detailed transfer stats in web UI.
|
||||||
|
- Torrent Watcher
|
||||||
|
- Extra trackers from external source
|
||||||
|
- Protocol Handler to magnet
|
||||||
|
- Magnet RSS subscribing supported
|
||||||
|
|
||||||
|
|
||||||
|
**Versión proporcionada:** 0.9.1~ynh1
|
||||||
|
|
||||||
|
## Capturas de pantalla
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Documentación e recursos
|
||||||
|
|
||||||
|
- Documentación oficial para admin: <https://github.com/jpillora/cloud-torrent/wiki/>
|
||||||
|
- Repositorio de orixe do código: <https://github.com/jpillora/cloud-torrent>
|
||||||
|
- Tenda YunoHost: <https://apps.yunohost.org/app/cloud-torrent>
|
||||||
|
- Informar dun problema: <https://github.com/YunoHost-Apps/cloud-torrent_ynh/issues>
|
||||||
|
|
||||||
|
## Info de desenvolvemento
|
||||||
|
|
||||||
|
Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing).
|
||||||
|
|
||||||
|
Para probar a rama `testing`, procede deste xeito:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo yunohost app install https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing --debug
|
||||||
|
ou
|
||||||
|
sudo yunohost app upgrade cloud-torrent -u https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing --debug
|
||||||
|
```
|
||||||
|
|
||||||
|
**Máis info sobre o empaquetado da app:** <https://yunohost.org/packaging_apps>
|
59
README_zh_Hans.md
Normal file
59
README_zh_Hans.md
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
<!--
|
||||||
|
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
|
||||||
|
请勿手动编辑。
|
||||||
|
-->
|
||||||
|
|
||||||
|
# YunoHost 上的 Cloud Torrent
|
||||||
|
|
||||||
|
[](https://dash.yunohost.org/appci/app/cloud-torrent)  
|
||||||
|
|
||||||
|
[](https://install-app.yunohost.org/?app=cloud-torrent)
|
||||||
|
|
||||||
|
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
|
||||||
|
|
||||||
|
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Cloud Torrent。*
|
||||||
|
> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。*
|
||||||
|
|
||||||
|
## 概况
|
||||||
|
|
||||||
|
Cloud-Torrent is a a self-hosted remote torrent client, written in Go (golang). Started torrents remotely, download sets of files on the local disk of the server, which are then retrievable or streamable via HTTP.
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- Individual file download control (1.1.3+)
|
||||||
|
- Run external program on tasks completion
|
||||||
|
- Stops task when seeding ratio reached
|
||||||
|
- Download/Upload speed limiter
|
||||||
|
- Detailed transfer stats in web UI.
|
||||||
|
- Torrent Watcher
|
||||||
|
- Extra trackers from external source
|
||||||
|
- Protocol Handler to magnet
|
||||||
|
- Magnet RSS subscribing supported
|
||||||
|
|
||||||
|
|
||||||
|
**分发版本:** 0.9.1~ynh1
|
||||||
|
|
||||||
|
## 截图
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 文档与资源
|
||||||
|
|
||||||
|
- 官方管理文档: <https://github.com/jpillora/cloud-torrent/wiki/>
|
||||||
|
- 上游应用代码库: <https://github.com/jpillora/cloud-torrent>
|
||||||
|
- YunoHost 商店: <https://apps.yunohost.org/app/cloud-torrent>
|
||||||
|
- 报告 bug: <https://github.com/YunoHost-Apps/cloud-torrent_ynh/issues>
|
||||||
|
|
||||||
|
## 开发者信息
|
||||||
|
|
||||||
|
请向 [`testing` 分支](https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing) 发送拉取请求。
|
||||||
|
|
||||||
|
如要尝试 `testing` 分支,请这样操作:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo yunohost app install https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing --debug
|
||||||
|
或
|
||||||
|
sudo yunohost app upgrade cloud-torrent -u https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing --debug
|
||||||
|
```
|
||||||
|
|
||||||
|
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>
|
|
@ -1,81 +0,0 @@
|
||||||
AutoStart: true
|
|
||||||
# AutoStart Whether start torrent task on added Magnet/Torrent.
|
|
||||||
|
|
||||||
AllowRuntimeConfigure: true
|
|
||||||
# AllowRuntimeConfigure is the switch whether to offer the WEB UI configuration to users.
|
|
||||||
|
|
||||||
EngineDebug: false
|
|
||||||
# EngineDebug Print debug log from anacrolix/torrent engine (lots of them)
|
|
||||||
|
|
||||||
MuteEngineLog: true
|
|
||||||
# MuteEngineLog anacrolix/torrent engine prints chunks exchanging logs, normal user can just mute them.
|
|
||||||
|
|
||||||
ObfsPreferred: true
|
|
||||||
# ObfsPreferred Whether torrent header obfuscation is preferred.
|
|
||||||
|
|
||||||
ObfsRequirePreferred: false
|
|
||||||
# ObfsRequirePreferred Whether the value of ObfsPreferred is a strict requirement. This hides torrent traffic from being censored.
|
|
||||||
|
|
||||||
DisableTrackers: false
|
|
||||||
# DisableTrackers Don't announce to trackers. This only leaves DHT to discover peers.
|
|
||||||
|
|
||||||
DisableIPv6: false
|
|
||||||
# DisableIPv6 Don't connect to IPv6 peers.
|
|
||||||
|
|
||||||
DisableUTP: false
|
|
||||||
# Disable UTP in the torrent protocol.
|
|
||||||
# In recent versions, the UTP process cause quite high CPU usage. Set to true can ease the situation.
|
|
||||||
|
|
||||||
NoDefaultPortForwarding: true
|
|
||||||
# Don't broadcast the UPNP request for gateway port forwarding, which is unnecessary in machines that has public IP (of which this program is mean for?)
|
|
||||||
|
|
||||||
DownloadDirectory: /home/yunohost.app/__APP__/downloads
|
|
||||||
# DisableEncryption A switch disables [BitTorrent protocol encryption](https://en.wikipedia.org/wiki/BitTorrent_protocol_encryption)
|
|
||||||
|
|
||||||
WatchDirectory: /home/yunohost.app/__APP__/torrents
|
|
||||||
# DownloadDirectory The directory where downloaded file saves.
|
|
||||||
|
|
||||||
EnableUpload: true
|
|
||||||
# EnableUpload Whether send chunks to peers
|
|
||||||
|
|
||||||
EnableSeeding: true
|
|
||||||
# EnableSeeding Whether upload even after there's nothing further for us. By default uploading is not altruistic, we'll only upload to encourage the peer to reciprocate.
|
|
||||||
|
|
||||||
IncomingPort: __PORT_PEER__
|
|
||||||
# IncomingPort The port SimpleTorrent listens to.
|
|
||||||
|
|
||||||
DoneCmd: ""
|
|
||||||
# DoneCmd is An external program to call on task finished. See [DoneCmd Usage](https://github.com/boypt/simple-torrent/wiki/DoneCmdUsage).
|
|
||||||
|
|
||||||
SeedRatio: 1.5
|
|
||||||
# SeedRatio The ratio of task Upload/Download data when reached, the task will be stop.
|
|
||||||
|
|
||||||
SeedTime: "0s"
|
|
||||||
# SeedTime is the time to seed after a task is done downloading, during which if `SeedRatio` is reached, the tasks will stop and deleted; after the duration, the tasks will also stop and removed. But if the waiting queue is empty, will not remove.
|
|
||||||
|
|
||||||
UploadRate: High
|
|
||||||
DownloadRate: Unlimited
|
|
||||||
# UploadRate/DownloadRate The global speed limiter,
|
|
||||||
# a fixed level amoung Low(~50k/s), Medium(~500k/s) and High(~1500k/s) is accepted , Unlimited / 0
|
|
||||||
# or empty result in unlimited rate, or a customed value eg: 850k/720kb/2.85MB.
|
|
||||||
|
|
||||||
TrackerListURL: https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_best.txt
|
|
||||||
# TrackerListURL A https URL to a trackers list, this option is design to retrive public trackers from https://github.com/ngosang/trackerslist.
|
|
||||||
|
|
||||||
AlwaysAddTrackers: true
|
|
||||||
# Always add tracers from TrackerListURL wheather the torrent/magnet link has it's own trackers already
|
|
||||||
|
|
||||||
MaxConcurrentTask: 0
|
|
||||||
# MaxConcurrentTask the the maximum tasks concurrently running. Too many task consumes CPU a lot, use this option to limit and queue up download task.
|
|
||||||
|
|
||||||
ProxyURL: ""
|
|
||||||
# ProxyURL Socks5 Proxy to torrent engine. Authentication should be included in the url if needed.
|
|
||||||
# Eg. socks5://demo:demo@192.168.99.100:1080
|
|
||||||
|
|
||||||
# ScraperURL: "https://raw.githubusercontent.com/boypt/simple-torrent/master/scraper-config.json"
|
|
||||||
# The magnet search engine configuration file. Don't set this option (leave it commented) if not intended to.
|
|
||||||
|
|
||||||
RSSUrl: |-
|
|
||||||
http://domian./rss.xml
|
|
||||||
http://some-other-site/rss.xml
|
|
||||||
# The RSS superscription list.
|
|
19
conf/config.json
Normal file
19
conf/config.json
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"NAME": "Torrent Cloud",
|
||||||
|
"HOST": "127.0.0.1",
|
||||||
|
"PORT": "__PORT__",
|
||||||
|
"AUTH_USER":"__ADMIN__",
|
||||||
|
"AUTH_PASSWORD":"__PASSWORD__",
|
||||||
|
"SEARCH_PROVIDERS_URL":"",
|
||||||
|
"AWS_BUCKET": null,
|
||||||
|
"AWS_REGION": null,
|
||||||
|
"AWS_ACCESS_KEY": null,
|
||||||
|
"AWS_SECRET_KEY": null,
|
||||||
|
"MEGA_EMAIL": null,
|
||||||
|
"MEGA_PASS": null,
|
||||||
|
"SSH_HOST": null,
|
||||||
|
"SSH_USERNAME": null,
|
||||||
|
"SSH_PASSWORD": null,
|
||||||
|
"SSH_PORT": null,
|
||||||
|
"SSH_ROOT": null
|
||||||
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Simple Torrent web server
|
Description=cloud-torrent
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -8,7 +8,7 @@ User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
Environment=PORT=__PORT__
|
Environment=PORT=__PORT__
|
||||||
WorkingDirectory=__INSTALL_DIR__
|
WorkingDirectory=__INSTALL_DIR__
|
||||||
ExecStart=__INSTALL_DIR__/__APP__ -c __INSTALL_DIR__/config.yml --host 127.0.0.1
|
ExecStart=__INSTALL_DIR__/__APP__ --config-path __INSTALL_DIR__/config.json --port __PORT__ --host 127.0.0.1
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=3
|
RestartSec=3
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,4 @@
|
||||||
|
|
||||||
Most of the items can be edited in Web-UI on the fly in the config board.
|
Most of the items can be edited in Web-UI on the fly in the config board.
|
||||||
|
|
||||||
You can also configure Simple Torrent by editing this file `/var/www/simple-torrent/config.yml` using the [documentation](https://github.com/boypt/simple-torrent/wiki/Config-File).
|
You can also configure Simple Torrent by editing this file `__INSTALL_DIR__/config.yml` using the [documentation](https://github.com/boypt/simple-torrent/wiki/Config-File).
|
||||||
|
|
||||||
## Limitations
|
|
||||||
|
|
||||||
- This app cannot be installed on a 32-bit ARM machine.
|
|
||||||
|
|
|
@ -2,8 +2,4 @@
|
||||||
|
|
||||||
La plupart des éléments peuvent être modifiés à la volée dans Web-UI dans la page de configuration.
|
La plupart des éléments peuvent être modifiés à la volée dans Web-UI dans la page de configuration.
|
||||||
|
|
||||||
Vous pouvez configurer Simple Torrent en modifiant le fichier `/var/www/simple-torrent/config.yml` en vous aidant de la [documentation](https://github.com/boypt/simple-torrent/wiki/Config-File).
|
Vous pouvez configurer Simple Torrent en modifiant le fichier `__DATA_DIR__/config.yml` en vous aidant de la [documentation](https://github.com/boypt/simple-torrent/wiki/Config-File).
|
||||||
|
|
||||||
## Limitations
|
|
||||||
|
|
||||||
- Cette application ne peut pas être installée sur une machine ARM 32 bits.
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
SimpleTorrent is a a self-hosted remote torrent client, written in Go (golang). Started torrents remotely, download sets of files on the local disk of the server, which are then retrievable or streamable via HTTP.
|
Cloud-Torrent is a a self-hosted remote torrent client, written in Go (golang). Started torrents remotely, download sets of files on the local disk of the server, which are then retrievable or streamable via HTTP.
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 122 KiB |
|
@ -1,22 +1,22 @@
|
||||||
packaging_format = 2
|
packaging_format = 2
|
||||||
|
|
||||||
id = "simple-torrent"
|
id = "cloud-torrent"
|
||||||
name = "Simple Torrent"
|
name = "Cloud Torrent"
|
||||||
description.en = "Self-hosted remote torrent client"
|
description.en = "Self-hosted remote torrent client"
|
||||||
description.fr = "Client torrent distant auto-hébergé"
|
description.fr = "Client torrent distant auto-hébergé"
|
||||||
|
|
||||||
version = "1.3.9~ynh8"
|
version = "0.9.1~ynh1"
|
||||||
|
|
||||||
maintainers = ["eric_G"]
|
maintainers = ["eric_G"]
|
||||||
|
|
||||||
[upstream]
|
[upstream]
|
||||||
license = "AGPL-3.0-only"
|
license = "AGPL-3.0-only"
|
||||||
admindoc = "https://github.com/boypt/simple-torrent/wiki"
|
admindoc = "https://github.com/jpillora/cloud-torrent/wiki/"
|
||||||
code = "https://github.com/boypt/simple-torrent"
|
code = "https://github.com/jpillora/cloud-torrent"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.1.15"
|
yunohost = ">= 11.2"
|
||||||
architectures = ["amd64","i386", "arm64"]
|
architectures = ["amd64","armhf", "arm64"]
|
||||||
multi_instance = true
|
multi_instance = true
|
||||||
ldap = false
|
ldap = false
|
||||||
sso = false
|
sso = false
|
||||||
|
@ -30,7 +30,7 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[install.path]
|
[install.path]
|
||||||
type = "path"
|
type = "path"
|
||||||
default = "/simple-torrent"
|
default = "/cloud-torrent"
|
||||||
|
|
||||||
[install.init_main_permission]
|
[install.init_main_permission]
|
||||||
help.en = "If enabled, Simple Torrent will be accessible by people who do not have an account. This can be changed later via the webadmin."
|
help.en = "If enabled, Simple Torrent will be accessible by people who do not have an account. This can be changed later via the webadmin."
|
||||||
|
@ -38,16 +38,22 @@ ram.runtime = "50M"
|
||||||
type = "group"
|
type = "group"
|
||||||
default = "visitors"
|
default = "visitors"
|
||||||
|
|
||||||
|
[install.admin]
|
||||||
|
type = "user"
|
||||||
|
|
||||||
|
[install.password]
|
||||||
|
type = "password"
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
|
|
||||||
[resources.sources]
|
[resources.sources]
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
amd64.url = "https://github.com/boypt/simple-torrent/releases/download/1.3.9/cloud-torrent_linux_amd64_static.gz"
|
amd64.url = "https://github.com/jpillora/cloud-torrent/releases/download/v0.9.1/cloud-torrent_0.9.1_linux_amd64.gz"
|
||||||
amd64.sha256 = "d2f535e4cd0449b357a563cfce79c1f6afcac9b7b3af94e758defc44faa52ebf"
|
amd64.sha256 = "21b7ce6eb9be944f7497811aea368a098c1976d61c5ed854a0003e455be13ca1"
|
||||||
arm64.url = "https://github.com/boypt/simple-torrent/releases/download/1.3.9/cloud-torrent_linux_arm64_static.gz"
|
arm64.url = "https://github.com/jpillora/cloud-torrent/releases/download/v0.9.1/cloud-torrent_0.9.1_linux_arm64.gz"
|
||||||
arm64.sha256 = "6f48f8b59bc8d834c6ede1d27ecc1a598b8a0be1dab00622caa6fd047e51eed6"
|
arm64.sha256 = "a4877e546d1d8844a745c6fbb0490aa43f06815833e23af4d9f37e1ecc198637"
|
||||||
i386.url = "https://github.com/boypt/simple-torrent/releases/download/1.3.9/cloud-torrent_linux_386_static.gz"
|
i386.url = "https://github.com/jpillora/cloud-torrent/releases/download/v0.9.1/cloud-torrent_0.9.1_linux_armv7.gz"
|
||||||
i386.sha256 = "583898eb907c21dbbcb6f33934eae3dc1d6ec2620fdc7689c70a3479049af52b"
|
i386.sha256 = "1038f55c5c6a4b0414e291c647f1b7f4c859f8c0de61a323abd7e087b9095bdc"
|
||||||
extract = false
|
extract = false
|
||||||
in_subdir = false
|
in_subdir = false
|
||||||
|
|
||||||
|
|
|
@ -32,10 +32,6 @@ ynh_backup --src_path="$data_dir" --is_big
|
||||||
|
|
||||||
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# BACKUP SYSTEMD
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
ynh_backup --src_path="/etc/systemd/system/$app.service"
|
ynh_backup --src_path="/etc/systemd/system/$app.service"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -43,10 +43,10 @@ yunohost service add $app --description="Self-hosted remote torrent client" --ne
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Modifying a config file..." --weight=1
|
ynh_script_progression --message="Modifying a config file..." --weight=1
|
||||||
|
|
||||||
ynh_add_config --template="../conf/config.default.yml" --destination="$install_dir/config.yml"
|
ynh_add_config --template="config.json" --destination="$install_dir/config.json"
|
||||||
|
|
||||||
chmod 400 "$install_dir/config.yml"
|
chmod 400 "$install_dir/config.json"
|
||||||
chown $app:$app "$install_dir/config.yml"
|
chown $app:$app "$install_dir/config.json"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
|
|
@ -12,7 +12,6 @@ source /usr/share/yunohost/helpers
|
||||||
#=================================================
|
#=================================================
|
||||||
# REMOVE SYSTEMD SERVICE
|
# REMOVE SYSTEMD SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_script_progression --message="Removing system configurations related to $app..." --weight=5
|
ynh_script_progression --message="Removing system configurations related to $app..." --weight=5
|
||||||
|
|
||||||
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
|
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
|
||||||
|
|
|
@ -9,12 +9,6 @@
|
||||||
source _common.sh
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# CHECK VERSION
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
upgrade_type=$(ynh_check_app_version_changed)
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD UPGRADE STEPS
|
# STANDARD UPGRADE STEPS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -27,19 +21,15 @@ ynh_systemd_action --service_name=$app --action=stop --log_path=systemd
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
ynh_script_progression --message="Upgrading source files..." --weight=5
|
||||||
|
|
||||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
then
|
ynh_setup_source --dest_dir=$install_dir --keep="config.json"
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
pushd "$install_dir"
|
||||||
ynh_setup_source --dest_dir=$install_dir --keep="config.yml"
|
gzip --decompress main --to-stdout > main_dezipped
|
||||||
|
mv main_dezipped $app
|
||||||
pushd "$install_dir"
|
popd
|
||||||
gzip --decompress main --to-stdout > main_dezipped
|
|
||||||
mv main_dezipped $app
|
|
||||||
popd
|
|
||||||
fi
|
|
||||||
|
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
|
@ -62,7 +52,7 @@ yunohost service add $app --description="Self-hosted remote torrent client" --ne
|
||||||
#=================================================
|
#=================================================
|
||||||
# ynh_script_progression --message="Modifying a config file..." --weight=1
|
# ynh_script_progression --message="Modifying a config file..." --weight=1
|
||||||
|
|
||||||
# ynh_add_config --template="../conf/config.default.yml" --destination="$install_dir/config.yml"
|
# ynh_add_config --template="config.json" --destination="$install_dir/config.json"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
|
Loading…
Add table
Reference in a new issue