1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/simple-torrent_ynh.git synced 2024-09-03 20:26:18 +02:00
This commit is contained in:
eric_G 2024-06-19 10:08:26 +00:00 committed by GitHub
commit c4e1b0f236
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 339 additions and 182 deletions

8
ALL_README.md Normal file
View 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)

View file

@ -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.
-->
# Simple Torrent for YunoHost
# Cloud Torrent for YunoHost
[![Integration level](https://dash.yunohost.org/integration/simple-torrent.svg)](https://dash.yunohost.org/appci/app/simple-torrent) ![Working status](https://ci-apps.yunohost.org/ci/badges/simple-torrent.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/simple-torrent.maintain.svg)
[![Integration level](https://dash.yunohost.org/integration/cloud-torrent.svg)](https://dash.yunohost.org/appci/app/cloud-torrent) ![Working status](https://ci-apps.yunohost.org/ci/badges/cloud-torrent.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/cloud-torrent.maintain.svg)
[![Install Simple Torrent with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=simple-torrent)
[![Install Cloud Torrent with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](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.
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
> *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.*
## 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
@ -31,33 +31,29 @@ SimpleTorrent is a a self-hosted remote torrent client, written in Go (golang).
- Magnet RSS subscribing supported
**Shipped version:** 1.3.9~ynh8
**Shipped version:** 0.9.1~ynh1
## Screenshots
![Screenshot of Simple Torrent](./doc/screenshots/screenshot.png)
## :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.
![Screenshot of Cloud Torrent](./doc/screenshots/screenshot.png)
## Documentation and resources
* Official admin documentation: <https://github.com/boypt/simple-torrent/wiki>
* Upstream app code repository: <https://github.com/boypt/simple-torrent>
* YunoHost Store: <https://apps.yunohost.org/app/simple-torrent>
* Report a bug: <https://github.com/YunoHost-Apps/simple-torrent_ynh/issues>
- Official admin documentation: <https://github.com/jpillora/cloud-torrent/wiki/>
- Upstream app code repository: <https://github.com/jpillora/cloud-torrent>
- YunoHost Store: <https://apps.yunohost.org/app/cloud-torrent>
- Report a bug: <https://github.com/YunoHost-Apps/cloud-torrent_ynh/issues>
## 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
sudo yunohost app install https://github.com/YunoHost-Apps/simple-torrent_ynh/tree/testing --debug
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing --debug
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>

59
README_es.md Normal file
View 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
[![Nivel de integración](https://dash.yunohost.org/integration/cloud-torrent.svg)](https://dash.yunohost.org/appci/app/cloud-torrent) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/cloud-torrent.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/cloud-torrent.maintain.svg)
[![Instalar Cloud Torrent con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](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
![Captura de Cloud Torrent](./doc/screenshots/screenshot.png)
## 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
View 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
[![Integrazio maila](https://dash.yunohost.org/integration/cloud-torrent.svg)](https://dash.yunohost.org/appci/app/cloud-torrent) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/cloud-torrent.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/cloud-torrent.maintain.svg)
[![Instalatu Cloud Torrent YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](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
![Cloud Torrent(r)en pantaila-argazkia](./doc/screenshots/screenshot.png)
## 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>

View file

@ -1,22 +1,22 @@
<!--
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.
Nota bene: ce README est automatiquement généré par <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
Il NE doit PAS être modifié à la main.
-->
# Simple Torrent pour YunoHost
# Cloud Torrent pour YunoHost
[![Niveau dintégration](https://dash.yunohost.org/integration/simple-torrent.svg)](https://dash.yunohost.org/appci/app/simple-torrent) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/simple-torrent.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/simple-torrent.maintain.svg)
[![Niveau dintégration](https://dash.yunohost.org/integration/cloud-torrent.svg)](https://dash.yunohost.org/appci/app/cloud-torrent) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/cloud-torrent.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/cloud-torrent.maintain.svg)
[![Installer Simple Torrent avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=simple-torrent)
[![Installer Cloud Torrent avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](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 dinstaller Simple Torrent rapidement et simplement sur un serveur YunoHost.
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*
> *Ce package vous permet dinstaller Cloud Torrent rapidement et simplement sur un serveur YunoHost.*
> *Si vous navez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment linstaller et en profiter.*
## Vue densemble
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
@ -31,33 +31,29 @@ SimpleTorrent is a a self-hosted remote torrent client, written in Go (golang).
- Magnet RSS subscribing supported
**Version incluse :** 1.3.9~ynh8
**Version incluse:** 0.9.1~ynh1
## Captures décran
![Capture décran de Simple Torrent](./doc/screenshots/screenshot.png)
## :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.
![Capture décran de Cloud Torrent](./doc/screenshots/screenshot.png)
## Documentations et ressources
* Documentation officielle de ladmin : <https://github.com/boypt/simple-torrent/wiki>
* Dépôt de code officiel de lapp : <https://github.com/boypt/simple-torrent>
* YunoHost Store: <https://apps.yunohost.org/app/simple-torrent>
* Signaler un bug : <https://github.com/YunoHost-Apps/simple-torrent_ynh/issues>
- Documentation officielle de ladmin: <https://github.com/jpillora/cloud-torrent/wiki/>
- Dépôt de code officiel de lapp: <https://github.com/jpillora/cloud-torrent>
- YunoHost Store: <https://apps.yunohost.org/app/cloud-torrent>
- Signaler un bug: <https://github.com/YunoHost-Apps/cloud-torrent_ynh/issues>
## 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
sudo yunohost app install https://github.com/YunoHost-Apps/simple-torrent_ynh/tree/testing --debug
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/cloud-torrent_ynh/tree/testing --debug
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 dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>
**Plus dinfos sur le packaging dapplications:** <https://yunohost.org/packaging_apps>

59
README_gl.md Normal file
View 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
[![Nivel de integración](https://dash.yunohost.org/integration/cloud-torrent.svg)](https://dash.yunohost.org/appci/app/cloud-torrent) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/cloud-torrent.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/cloud-torrent.maintain.svg)
[![Instalar Cloud Torrent con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](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
![Captura de pantalla de Cloud Torrent](./doc/screenshots/screenshot.png)
## 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
View file

@ -0,0 +1,59 @@
<!--
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
请勿手动编辑。
-->
# YunoHost 上的 Cloud Torrent
[![集成程度](https://dash.yunohost.org/integration/cloud-torrent.svg)](https://dash.yunohost.org/appci/app/cloud-torrent) ![工作状态](https://ci-apps.yunohost.org/ci/badges/cloud-torrent.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/cloud-torrent.maintain.svg)
[![使用 YunoHost 安装 Cloud Torrent](https://install-app.yunohost.org/install-with-yunohost.svg)](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
## 截图
![Cloud Torrent 的截图](./doc/screenshots/screenshot.png)
## 文档与资源
- 官方管理文档: <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>

View file

@ -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
View 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
}

View file

@ -1,5 +1,5 @@
[Unit]
Description=Simple Torrent web server
Description=cloud-torrent
After=network.target
[Service]
@ -8,7 +8,7 @@ User=__APP__
Group=__APP__
Environment=PORT=__PORT__
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
RestartSec=3

View file

@ -2,8 +2,4 @@
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).
## Limitations
- This app cannot be installed on a 32-bit ARM machine.
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).

View file

@ -2,8 +2,4 @@
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).
## Limitations
- Cette application ne peut pas être installée sur une machine ARM 32 bits.
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).

View file

@ -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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 122 KiB

View file

@ -1,22 +1,22 @@
packaging_format = 2
id = "simple-torrent"
name = "Simple Torrent"
id = "cloud-torrent"
name = "Cloud Torrent"
description.en = "Self-hosted remote torrent client"
description.fr = "Client torrent distant auto-hébergé"
version = "1.3.9~ynh8"
version = "0.9.1~ynh1"
maintainers = ["eric_G"]
[upstream]
license = "AGPL-3.0-only"
admindoc = "https://github.com/boypt/simple-torrent/wiki"
code = "https://github.com/boypt/simple-torrent"
admindoc = "https://github.com/jpillora/cloud-torrent/wiki/"
code = "https://github.com/jpillora/cloud-torrent"
[integration]
yunohost = ">= 11.1.15"
architectures = ["amd64","i386", "arm64"]
yunohost = ">= 11.2"
architectures = ["amd64","armhf", "arm64"]
multi_instance = true
ldap = false
sso = false
@ -30,7 +30,7 @@ ram.runtime = "50M"
[install.path]
type = "path"
default = "/simple-torrent"
default = "/cloud-torrent"
[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."
@ -38,16 +38,22 @@ ram.runtime = "50M"
type = "group"
default = "visitors"
[install.admin]
type = "user"
[install.password]
type = "password"
[resources]
[resources.sources]
[resources.sources.main]
amd64.url = "https://github.com/boypt/simple-torrent/releases/download/1.3.9/cloud-torrent_linux_amd64_static.gz"
amd64.sha256 = "d2f535e4cd0449b357a563cfce79c1f6afcac9b7b3af94e758defc44faa52ebf"
arm64.url = "https://github.com/boypt/simple-torrent/releases/download/1.3.9/cloud-torrent_linux_arm64_static.gz"
arm64.sha256 = "6f48f8b59bc8d834c6ede1d27ecc1a598b8a0be1dab00622caa6fd047e51eed6"
i386.url = "https://github.com/boypt/simple-torrent/releases/download/1.3.9/cloud-torrent_linux_386_static.gz"
i386.sha256 = "583898eb907c21dbbcb6f33934eae3dc1d6ec2620fdc7689c70a3479049af52b"
amd64.url = "https://github.com/jpillora/cloud-torrent/releases/download/v0.9.1/cloud-torrent_0.9.1_linux_amd64.gz"
amd64.sha256 = "21b7ce6eb9be944f7497811aea368a098c1976d61c5ed854a0003e455be13ca1"
arm64.url = "https://github.com/jpillora/cloud-torrent/releases/download/v0.9.1/cloud-torrent_0.9.1_linux_arm64.gz"
arm64.sha256 = "a4877e546d1d8844a745c6fbb0490aa43f06815833e23af4d9f37e1ecc198637"
i386.url = "https://github.com/jpillora/cloud-torrent/releases/download/v0.9.1/cloud-torrent_0.9.1_linux_armv7.gz"
i386.sha256 = "1038f55c5c6a4b0414e291c647f1b7f4c859f8c0de61a323abd7e087b9095bdc"
extract = false
in_subdir = false

View file

@ -32,10 +32,6 @@ ynh_backup --src_path="$data_dir" --is_big
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# BACKUP SYSTEMD
#=================================================
ynh_backup --src_path="/etc/systemd/system/$app.service"
#=================================================

View file

@ -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_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"
chown $app:$app "$install_dir/config.yml"
chmod 400 "$install_dir/config.json"
chown $app:$app "$install_dir/config.json"
#=================================================
# START SYSTEMD SERVICE

View file

@ -12,7 +12,6 @@ source /usr/share/yunohost/helpers
#=================================================
# REMOVE SYSTEMD SERVICE
#=================================================
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`)

View file

@ -9,12 +9,6 @@
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# CHECK VERSION
#=================================================
upgrade_type=$(ynh_check_app_version_changed)
#=================================================
# STANDARD UPGRADE STEPS
#=================================================
@ -27,19 +21,15 @@ ynh_systemd_action --service_name=$app --action=stop --log_path=systemd
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
ynh_script_progression --message="Upgrading source files..." --weight=5
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..." --weight=5
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir=$install_dir --keep="config.json"
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir=$install_dir --keep="config.yml"
pushd "$install_dir"
gzip --decompress main --to-stdout > main_dezipped
mv main_dezipped $app
popd
fi
pushd "$install_dir"
gzip --decompress main --to-stdout > main_dezipped
mv main_dezipped $app
popd
chmod -R o-rwx "$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_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