1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/chatgpt-web_ynh.git synced 2024-09-03 18:16:21 +02:00

Merge remote-tracking branch 'origin/testing' into pr/84

This commit is contained in:
Éric Gaspar 2024-04-09 19:57:19 +02:00
commit 8d398adeb9
7 changed files with 171 additions and 35 deletions

6
ALL_README.md Normal file
View file

@ -0,0 +1,6 @@
# 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)
- [Le o README en galego](README_gl.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. It shall NOT be edited by hand.
--> -->
@ -9,10 +9,10 @@ It shall NOT be edited by hand.
[![Install chatGPT-web with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=chatgpt-web) [![Install chatGPT-web with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=chatgpt-web)
*[Lire ce readme en français.](./README_fr.md)* *[Read this README in other languages.](./ALL_README.md)*
> *This package allows you to install chatGPT-web quickly and simply on a YunoHost server. > *This package allows you to install chatGPT-web 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
@ -31,9 +31,9 @@ ChatGPT-web is a simple one-page web interface to the OpenAI ChatGPT API. To use
- Code: ChatGPT-web recognizes and highlights code blocks and allows you to copy them with one click. - Code: ChatGPT-web recognizes and highlights code blocks and allows you to copy them with one click.
**Shipped version:** 2024.01.29~ynh1 **Shipped version:** 2024.04.08~ynh1
**Demo:** https://niek.github.io/chatgpt-web/ **Demo:** <https://niek.github.io/chatgpt-web/>
## Screenshots ## Screenshots
@ -45,16 +45,16 @@ ChatGPT-web is a simple one-page web interface to the OpenAI ChatGPT API. To use
## Documentation and resources ## Documentation and resources
* Official app website: <https://niek.github.io/chatgpt-web/> - Official app website: <https://niek.github.io/chatgpt-web/>
* Upstream app code repository: <https://github.com/Niek/chatgpt-web> - Upstream app code repository: <https://github.com/Niek/chatgpt-web>
* YunoHost Store: <https://apps.yunohost.org/app/chatgpt-web> - YunoHost Store: <https://apps.yunohost.org/app/chatgpt-web>
* Report a bug: <https://github.com/YunoHost-Apps/chatgpt-web_ynh/issues> - Report a bug: <https://github.com/YunoHost-Apps/chatgpt-web_ynh/issues>
## Developer info ## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/chatgpt-web_ynh/tree/testing). Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/chatgpt-web_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/chatgpt-web_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/chatgpt-web_ynh/tree/testing --debug

65
README_eu.md Normal file
View file

@ -0,0 +1,65 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# chatGPT-web YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/chatgpt-web.svg)](https://dash.yunohost.org/appci/app/chatgpt-web) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/chatgpt-web.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/chatgpt-web.maintain.svg)
[![Instalatu chatGPT-web YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=chatgpt-web)
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
> *Pakete honek chatGPT-web YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
## Aurreikuspena
ChatGPT-web is a simple one-page web interface to the OpenAI ChatGPT API. To use it, you need to register for an OpenAI API key first. All messages are stored in your browser's local storage, so everything is private. You can also close the browser tab and come back later to continue the conversation.
### Features
- Private: All chats and messages are stored in your browser's local storage, so everything is private.
- Customizable: You can customize the prompt, the temperature, and other model settings. Multiple models (including GTP-4) are supported.
- Cheaper: ChatGPT-web uses the commercial OpenAI API, so it's much cheaper than a ChatGPT Plus subscription.
- Fast: ChatGPT-web is a single-page web app, so it's fast and responsive.
- Mobile-friendly: ChatGPT-web is mobile-friendly, so you can use it on your phone.
- Voice input: ChatGPT-web supports voice input, so you can talk to ChatGPT. It will also talk back to you.
- Pre-selected prompts: ChatGPT-web comes with a list of pre-selected prompts, so you can get started quickly.
- Export: ChatGPT-web can export chats as a Markdown file, so you can share them with others.
- Code: ChatGPT-web recognizes and highlights code blocks and allows you to copy them with one click.
**Paketatutako bertsioa:** 2024.04.08~ynh1
**Demoa:** <https://niek.github.io/chatgpt-web/>
## Pantaila-argazkiak
![chatGPT-web(r)en pantaila-argazkia](./doc/screenshots/screenshot.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://niek.github.io/chatgpt-web/>
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/Niek/chatgpt-web>
- YunoHost Denda: <https://apps.yunohost.org/app/chatgpt-web>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/chatgpt-web_ynh/issues>
## Garatzaileentzako informazioa
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/chatgpt-web_ynh/tree/testing).
`testing` abarra probatzeko, ondorengoa egin:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/chatgpt-web_ynh/tree/testing --debug
edo
sudo yunohost app upgrade chatgpt-web -u https://github.com/YunoHost-Apps/chatgpt-web_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 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.
--> -->
# chatGPT-web pour YunoHost # chatGPT-web pour YunoHost
@ -9,39 +9,39 @@ It shall NOT be edited by hand.
[![Installer chatGPT-web avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=chatgpt-web) [![Installer chatGPT-web avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=chatgpt-web)
*[Read this readme in english.](./README.md)* *[Lire le README dans d'autres langues.](./ALL_README.md)*
> *Ce package vous permet dinstaller chatGPT-web rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet dinstaller chatGPT-web 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.* > *Si vous navez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment linstaller et en profiter.*
## Vue densemble ## Vue densemble
ChatGPT-web est une simple interface Web d'une page pour l'API OpenAI ChatGPT. Pour l'utiliser, vous devez d'abord vous inscrire à une clé API OpenAI. Tous les messages sont stockés dans le stockage local de votre navigateur, donc tout est privé. Vous pouvez également fermer l'onglet du navigateur et revenir plus tard pour poursuivre la conversation. ChatGPT-web est une simple interface Web d'une page pour l'API OpenAI ChatGPT. Pour l'utiliser, vous devez d'abord vous inscrire à une clé API OpenAI. Tous les messages sont stockés dans le stockage local de votre navigateur, donc tout est privé. Vous pouvez également fermer l'onglet du navigateur et revenir plus tard pour poursuivre la conversation.
**Version incluse :** 2024.01.29~ynh1 **Version incluse:** 2024.04.08~ynh1
**Démo :** https://niek.github.io/chatgpt-web/ **Démo:** <https://niek.github.io/chatgpt-web/>
## Captures décran ## Captures décran
![Capture décran de chatGPT-web](./doc/screenshots/screenshot.png) ![Capture décran de chatGPT-web](./doc/screenshots/screenshot.png)
## :red_circle: Fonctions indésirables ## :red_circle: Anti-fonctionnalités
- **Non-free Network Services**: Promotes or depends entirely on a non-free network service. - **Services réseau non libres **: Promeut ou utilise des services réseau non libres.
## Documentations et ressources ## Documentations et ressources
* Site officiel de lapp : <https://niek.github.io/chatgpt-web/> - Site officiel de lapp: <https://niek.github.io/chatgpt-web/>
* Dépôt de code officiel de lapp : <https://github.com/Niek/chatgpt-web> - Dépôt de code officiel de lapp: <https://github.com/Niek/chatgpt-web>
* YunoHost Store: <https://apps.yunohost.org/app/chatgpt-web> - YunoHost Store: <https://apps.yunohost.org/app/chatgpt-web>
* Signaler un bug : <https://github.com/YunoHost-Apps/chatgpt-web_ynh/issues> - Signaler un bug: <https://github.com/YunoHost-Apps/chatgpt-web_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/chatgpt-web_ynh/tree/testing). Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/chatgpt-web_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/chatgpt-web_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/chatgpt-web_ynh/tree/testing --debug
@ -49,4 +49,4 @@ ou
sudo yunohost app upgrade chatgpt-web -u https://github.com/YunoHost-Apps/chatgpt-web_ynh/tree/testing --debug sudo yunohost app upgrade chatgpt-web -u https://github.com/YunoHost-Apps/chatgpt-web_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>

65
README_gl.md Normal file
View file

@ -0,0 +1,65 @@
<!--
NOTA: Este README foi creado automáticamente por <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
NON debe editarse manualmente.
-->
# chatGPT-web para YunoHost
[![Nivel de integración](https://dash.yunohost.org/integration/chatgpt-web.svg)](https://dash.yunohost.org/appci/app/chatgpt-web) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/chatgpt-web.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/chatgpt-web.maintain.svg)
[![Instalar chatGPT-web con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=chatgpt-web)
*[Le este README en outros idiomas.](./ALL_README.md)*
> *Este paquete permíteche instalar chatGPT-web 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
ChatGPT-web is a simple one-page web interface to the OpenAI ChatGPT API. To use it, you need to register for an OpenAI API key first. All messages are stored in your browser's local storage, so everything is private. You can also close the browser tab and come back later to continue the conversation.
### Features
- Private: All chats and messages are stored in your browser's local storage, so everything is private.
- Customizable: You can customize the prompt, the temperature, and other model settings. Multiple models (including GTP-4) are supported.
- Cheaper: ChatGPT-web uses the commercial OpenAI API, so it's much cheaper than a ChatGPT Plus subscription.
- Fast: ChatGPT-web is a single-page web app, so it's fast and responsive.
- Mobile-friendly: ChatGPT-web is mobile-friendly, so you can use it on your phone.
- Voice input: ChatGPT-web supports voice input, so you can talk to ChatGPT. It will also talk back to you.
- Pre-selected prompts: ChatGPT-web comes with a list of pre-selected prompts, so you can get started quickly.
- Export: ChatGPT-web can export chats as a Markdown file, so you can share them with others.
- Code: ChatGPT-web recognizes and highlights code blocks and allows you to copy them with one click.
**Versión proporcionada:** 2024.04.08~ynh1
**Demo:** <https://niek.github.io/chatgpt-web/>
## Capturas de pantalla
![Captura de pantalla de chatGPT-web](./doc/screenshots/screenshot.png)
## :red_circle: Caraterísticas cuestionables
- **Non-free Network Services**: Promotes or depends entirely on a non-free network service.
## Documentación e recursos
- Web oficial da app: <https://niek.github.io/chatgpt-web/>
- Repositorio de orixe do código: <https://github.com/Niek/chatgpt-web>
- Tenda YunoHost: <https://apps.yunohost.org/app/chatgpt-web>
- Informar dun problema: <https://github.com/YunoHost-Apps/chatgpt-web_ynh/issues>
## Info de desenvolvemento
Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/chatgpt-web_ynh/tree/testing).
Para probar a rama `testing`, procede deste xeito:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/chatgpt-web_ynh/tree/testing --debug
ou
sudo yunohost app upgrade chatgpt-web -u https://github.com/YunoHost-Apps/chatgpt-web_ynh/tree/testing --debug
```
**Máis info sobre o empaquetado da app:** <https://yunohost.org/packaging_apps>

View file

@ -5,9 +5,9 @@ name = "chatGPT-web"
description.en = "ChatGPT web interface using the OpenAI API" description.en = "ChatGPT web interface using the OpenAI API"
description.fr = "Interface Web ChatGPT utilisant l'API OpenAI" description.fr = "Interface Web ChatGPT utilisant l'API OpenAI"
version = "2024.01.29~ynh1" version = "2024.04.08~ynh1"
maintainers = ["eric_G"] maintainers = []
[upstream] [upstream]
license = "GPL-3.0" license = "GPL-3.0"
@ -41,8 +41,8 @@ ram.runtime = "50M"
[resources.sources] [resources.sources]
[resources.sources.main] [resources.sources.main]
url = "https://github.com/Niek/chatgpt-web/archive/b3595d25f4287c69cac45e36616d40e64ccb2824.tar.gz" url = "https://github.com/Niek/chatgpt-web/archive/c52cceeb0f9476312c56ed930cc7222dc42a88a1.tar.gz"
sha256 = "de84326aabaef3bf9309d290d19006c2b41e026ecec9690b56c5a18d8fe2b090" sha256 = "1141b17b4bf98eb0cbe3849f8dde4b7c069a3d8926d45547685429b27163e36b"
autoupdate.upstream = "https://github.com/Niek/chatgpt-web" autoupdate.upstream = "https://github.com/Niek/chatgpt-web"
autoupdate.strategy = "latest_github_commit" autoupdate.strategy = "latest_github_commit"

View file

@ -22,7 +22,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=1 ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --keep = ".env" ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep = ".env"
fi fi
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"