66 lines
3.0 KiB
Markdown
66 lines
3.0 KiB
Markdown
# Made with [Nextjs 16](https://nextjs.org/) and [Material-UI 9](https://material-ui.com/)
|
|
|
|
<p align="center">
|
|
<a href="https://liberapay.com/OKI/donate/">
|
|
<img src="https://img.shields.io/liberapay/receives/OKI.svg?logo=liberapay">
|
|
<img src="https://img.shields.io/liberapay/patrons/OKI.svg?logo=liberapay">
|
|
<img src="https://img.shields.io/liberapay/goal/OKI.svg?logo=liberapay">
|
|
</a>
|
|
</p>
|
|
|
|
## Prérequis
|
|
- Node >= 20
|
|
- [API](https://labola.o-k-i.net/ORGANISATION-KA-INTERNATIONALE/api.pawol.nu)
|
|
|
|
## Variables d'environement
|
|
- Copier le contenu du fichier `.env.sample` dans un nouveau fichier `.env`
|
|
```
|
|
cp .env.sample .env
|
|
```
|
|
|
|
## Installation des dépendances & lancement du serveur
|
|
|
|
```
|
|
yarn && yarn dev
|
|
```
|
|
|
|
## Commentaires fédérés (Mastodon / bokante.o-k-i.net)
|
|
|
|
Les commentaires sous une parole peuvent provenir d'un compte pawol.nu ou du Fediverse
|
|
(réponses reçues sur le statut miroir publié sur bokante.o-k-i.net par le backend). Un
|
|
bouton permet de répondre directement depuis son propre compte Mastodon, quelle que soit
|
|
son instance, via `authorize_interaction` — aucun compte pawol.nu requis.
|
|
|
|
**Variables d'environnement :**
|
|
|
|
| Variable | Description |
|
|
|---|---|
|
|
| `NEXT_PUBLIC_BOKANTE_URL` | Instance Mastodon de l'organisation (défaut : `https://bokante.o-k-i.net`) |
|
|
| `NEXT_PUBLIC_BOKANTE_ACCOUNT` | Compte bot dont les statuts servent de miroir (défaut : `pawol_nu`) |
|
|
|
|
Voir le RFC dédié pour le détail de la conception
|
|
(`RFC-commentaires-activitypub-2026-07-04.md`, à la racine du dossier `PAWOL.NU`) et le
|
|
`README.md` de `api.pawol.nu` pour la configuration côté backend.
|
|
|
|
## License
|
|
|
|
Copyright (C) 2020 - 2026 Cédric Famibelle-Pronzola & ORGANISATION KA INTERNATIONALE (OKI)
|
|
|
|
|
|
### FR
|
|
|
|
Ce programme est un logiciel libre : vous pouvez le redistribuer et/ou le modifier selon les termes de la licence publique générale GNU Affero publiée par la Free Software Foundation, soit la version 3 de la licence, soit (à votre choix) toute version ultérieure.
|
|
|
|
Ce programme est distribué dans l'espoir qu'il sera utile, mais SANS AUCUNE GARANTIE ; sans même la garantie implicite de COMMERCIALISATION ou d'ADAPTATION À UN USAGE PARTICULIER. Voir la licence publique générale GNU Affero pour plus de détails.
|
|
|
|
Vous devriez avoir reçu une copie de la licence publique générale GNU Affero avec ce programme. Si ce n'est pas le cas, consultez https://www.gnu.org/licenses/.
|
|
|
|
|
|
### EN
|
|
|
|
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.
|