1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piped_ynh.git synced 2024-09-03 20:05:54 +02:00

Merge pull request #60 from YunoHost-Apps/testing

v2024.04.01
This commit is contained in:
Mateusz 2024-04-02 10:55:29 +02:00 committed by GitHub
commit 79c5a6850a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 137 additions and 34 deletions

5
ALL_README.md Normal file
View file

@ -0,0 +1,5 @@
# All available README files by language
- [Read the README in English](README.md)
- [Irakurri README euskaraz](README_eu.md)
- [Lire le README en français](README_fr.md)

View file

@ -1,5 +1,5 @@
<!--
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.
-->
@ -9,10 +9,10 @@ It shall NOT be edited by hand.
[![Install Piped with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=piped)
*[Lire ce readme en français.](./README_fr.md)*
*[Read this README in other languages.](./ALL_README.md)*
> *This package allows you to install Piped 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 Piped 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
@ -55,7 +55,8 @@ By using Piped, you can freely watch and listen to content without the fear of p
- [x] Uses [NewPipeExtractor](https://github.com/TeamNewPipe/NewPipeExtractor) to extract information
- [x] Public [JSON API](https://docs.piped.video/docs/api-documentation/)
- [x] Federated protocol on Matrix to let instances collaborate with each other
**Shipped version:** 2024.03.18~ynh1
**Shipped version:** 2024.04.01~ynh1
**Demo:** <https://piped.video/>
@ -78,9 +79,9 @@ By using Piped, you can freely watch and listen to content without the fear of p
## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/piped_ynh/tree/testing).
Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/piped_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/piped_ynh/tree/testing --debug

92
README_eu.md Normal file
View file

@ -0,0 +1,92 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# Piped YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/piped.svg)](https://dash.yunohost.org/appci/app/piped) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/piped.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/piped.maintain.svg)
[![Instalatu Piped YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=piped)
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
> *Pakete honek Piped YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
## Aurreikuspena
# The Problem
YouTube has an extremely invasive privacy policy which relies on using user data in unethical ways. You give them a lot of data - ranging from ideas, music taste, content, political opinions, and much more than you think.
By using Piped, you can freely watch and listen to content without the fear of prying eyes watching everything you are doing.
## Features:
**User Features**
- [x] No Ads
- [x] No Tracking
- [x] Lightweight on server and client
- [x] Infinite Scrolling
- [x] Light/Dark themes
- [x] Login
- [x] Feeds
- [x] Playlists
- [x] Integration with [SponsorBlock](https://github.com/ajayyy/SponsorBlock)
- [x] Integration with [LBRY](https://lbry.com/) for streaming
- [x] Integration with [Return YouTube Dislike](https://returnyoutubedislike.com/) via [RYD-Proxy](https://github.com/TeamPiped/RYD-Proxy)
- [x] 4K support
- [x] No connections to Google's servers
- [x] Playing just audio
- [x] PWA support
- [x] Locally saved Preferences
- [x] [Available in many languages](src/locales), thanks to [our translators](https://hosted.weblate.org/projects/piped/frontend/)
- [x] Embedded video support
- [x] No age restriction
- [x] Bypasses Geo restrictions if possible through a federated network
**Technical Features**
- [x] Multi-region load-balancing
- [x] Performant by design, designed to handle 1000s of users concurrently
- [x] Does not use official YouTube APIs
- [x] Uses [NewPipeExtractor](https://github.com/TeamNewPipe/NewPipeExtractor) to extract information
- [x] Public [JSON API](https://docs.piped.video/docs/api-documentation/)
- [x] Federated protocol on Matrix to let instances collaborate with each other
**Paketatutako bertsioa:** 2024.04.01~ynh1
**Demoa:** <https://piped.video/>
## Pantaila-argazkiak
![Piped(r)en pantaila-argazkia](./doc/screenshots/channel.png)
![Piped(r)en pantaila-argazkia](./doc/screenshots/player.png)
## :red_circle: Ezaugarri zalantzagarriak
- **Libreak ez diren sareko zerbitzuak**: Librea ez den sare-zerbitzu bat sustatzen du edo horren mende dago erabat.
## Dokumentazioa eta baliabideak
- Aplikazioaren webgune ofiziala: <https://docs.piped.video/>
- Administratzaileen dokumentazio ofiziala: <https://docs.piped.video/docs/>
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/TeamPiped/Piped>
- YunoHost Denda: <https://apps.yunohost.org/app/piped>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/piped_ynh/issues>
## Garatzaileentzako informazioa
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/piped_ynh/tree/testing).
`testing` abarra probatzeko, ondorengoa egin:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/piped_ynh/tree/testing --debug
edo
sudo yunohost app upgrade piped -u https://github.com/YunoHost-Apps/piped_ynh/tree/testing --debug
```
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>

View file

@ -1,6 +1,6 @@
<!--
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.
-->
# Piped pour YunoHost
@ -9,10 +9,10 @@ It shall NOT be edited by hand.
[![Installer Piped avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=piped)
*[Read this readme in english.](./README.md)*
*[Lire le README dans d'autres langues.](./ALL_README.md)*
> *Ce package vous permet dinstaller Piped 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 Piped 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
@ -55,9 +55,10 @@ By using Piped, you can freely watch and listen to content without the fear of p
- [x] Uses [NewPipeExtractor](https://github.com/TeamNewPipe/NewPipeExtractor) to extract information
- [x] Public [JSON API](https://docs.piped.video/docs/api-documentation/)
- [x] Federated protocol on Matrix to let instances collaborate with each other
**Version incluse :** 2024.03.18~ynh1
**Démo :** <https://piped.video/>
**Version incluse:** 2024.04.01~ynh1
**Démo:** <https://piped.video/>
## Captures décran
@ -66,21 +67,21 @@ By using Piped, you can freely watch and listen to content without the fear of p
## :red_circle: Anti-fonctionnalités
- **Services réseau non libres** : Promeut ou utilise des services réseau non libres.
- **Services réseau non libres**: Promeut ou utilise des services réseau non libres.
## Documentations et ressources
- Site officiel de lapp : <https://docs.piped.video/>
- Documentation officielle de ladmin : <https://docs.piped.video/docs/>
- Dépôt de code officiel de lapp : <https://github.com/TeamPiped/Piped>
- YunoHost Store : <https://apps.yunohost.org/app/piped>
- Signaler un bug : <https://github.com/YunoHost-Apps/piped_ynh/issues>
- Site officiel de lapp: <https://docs.piped.video/>
- Documentation officielle de ladmin: <https://docs.piped.video/docs/>
- Dépôt de code officiel de lapp: <https://github.com/TeamPiped/Piped>
- YunoHost Store: <https://apps.yunohost.org/app/piped>
- Signaler un bug: <https://github.com/YunoHost-Apps/piped_ynh/issues>
## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/piped_ynh/tree/testing).
Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/piped_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/piped_ynh/tree/testing --debug
@ -88,4 +89,4 @@ ou
sudo yunohost app upgrade piped -u https://github.com/YunoHost-Apps/piped_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>

View file

@ -7,7 +7,7 @@ name = "Piped"
description.en = "An open-source alternative frontend for YouTube which is efficient by design."
version = "2024.03.18~ynh1"
version = "2024.04.01~ynh1"
maintainers = [ "orhtej2" ]
@ -41,19 +41,19 @@ ram.runtime = "50M"
[resources.sources]
[resources.sources.main]
url = "https://github.com/TeamPiped/Piped/archive/2733d1985694ead4a4626f8ab9252326a4696156.tar.gz"
sha256 = "e0f39318857ade3d0eb027d98c6746783b03a5d524bb55d1c2629a6ac733ec7d"
url = "https://github.com/TeamPiped/Piped/archive/8ee2a1c20737ce9db84186e00849b405d6c097af.tar.gz"
sha256 = "15b91ecd337facbdbc0f04a5f1f98943213744be1870d438332c2cc1672497e5"
autoupdate.strategy = "latest_github_commit"
[resources.sources.api]
url = "https://github.com/TeamPiped/Piped-Backend/archive/2b98ce4646cee3b7280cab65bcbccbb962b6998f.tar.gz"
sha256 = "f44b76d51ae6225629e570dcfc437d6528db87377ad118bea40c26339ae6b1a3"
url = "https://github.com/TeamPiped/Piped-Backend/archive/7e55b5aeee4e6dda5ef0bcd26bc876982e80b67e.tar.gz"
sha256 = "d9907e0a30bd9d42153b4dc55da3956029beb467154782402e3ec730ddb8b11d"
autoupdate.strategy = "latest_github_commit"
autoupdate.upstream = "https://github.com/TeamPiped/Piped-Backend/"
[resources.sources.proxy]
url = "https://github.com/TeamPiped/piped-proxy/archive/35de41cd870057eb02e3a58560bd1882c2359c22.tar.gz"
sha256 = "6b54befcfc7fe5d710532635c5b696c340ac2728a25a5e8467c28ef9c23c81db"
url = "https://github.com/TeamPiped/piped-proxy/archive/a872d9f7b68936004d854a53241695edddb0fdfc.tar.gz"
sha256 = "f7e5c9624229d47f9786f0bc4a9d110302d2f2c9f6dae3945b7cb5304b2f7540"
autoupdate.strategy = "latest_github_commit"
autoupdate.upstream = "https://github.com/TeamPiped/piped-proxy/"

View file

@ -42,8 +42,10 @@ chown -R $app:www-data "$install_dir"
ynh_script_progression --message="Building UI..." --weight=5
pushd $install_dir/build
corepack enable
corepack prepare pnpm@latest --activate
env $ynh_node_load_PATH corepack enable
env $ynh_node_load_PATH corepack prepare pnpm@latest --activate
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack enable
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack prepare pnpm@latest --activate
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build
ynh_exec_warn_less ynh_exec_as $app ./localizefonts.sh

View file

@ -59,8 +59,10 @@ then
ynh_script_progression --message="Building UI..." --weight=5
pushd $install_dir/build
corepack enable
corepack prepare pnpm@latest --activate
env $ynh_node_load_PATH corepack enable
env $ynh_node_load_PATH corepack prepare pnpm@latest --activate
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack enable
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack prepare pnpm@latest --activate
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build
ynh_exec_warn_less ynh_exec_as $app ./localizefonts.sh