From 46bbf743ca8522c9313fb635d09223e8a213ecad Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Thu, 6 Aug 2026 17:30:21 -0400 Subject: [PATCH] docs: ajout section Raspberry Pi / ARM64 + install V sur Debian aarch64 --- README.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ed281c7..63e090c 100644 --- a/README.md +++ b/README.md @@ -60,10 +60,39 @@ Le `docker-compose.yml` inclus monte : - Variables d'environnement `NTFY_TOKEN` et `NTFY_HMAC_SECRET` - Healthcheck intégré (`/health`) +### Raspberry Pi / ARM64 + +```bash +# Option A : Binaire pré-compilé (CI) — pas besoin de V +# Télécharge l'artifact "ntfy-bridge-linux-arm64" depuis Gitea Actions : +# https://git.dracodev.net/bruno/ntfy-bridge/actions +# ou via API : +curl -s -o ntfy-bridge "https://git.dracodev.net/api/v1/repos/bruno/ntfy-bridge/actions/artifacts/latest/zip?name=binaires" +unzip binaires.zip ntfy-bridge-linux-arm64 +mv ntfy-bridge-linux-arm64 ntfy-bridge +chmod +x ntfy-bridge + +# Option B : Compiler soi-même (nécessite V) +# Installer V sur Debian 12 / Raspberry Pi OS (aarch64) : +git clone --depth 1 https://github.com/vlang/v ~/v +cd ~/v && make +sudo ln -sf ~/v/v /usr/local/bin/v + +# Compiler ntfy-bridge +git clone https://git.dracodev.net/bruno/ntfy-bridge.git +cd ntfy-bridge +v -prod -o ntfy-bridge . + +# Lancer +cp ntfy-bridge.example.yaml ntfy-bridge.yaml +vim ntfy-bridge.yaml +./ntfy-bridge --config ntfy-bridge.yaml +``` + ### Compilation manuelle ```bash -# Installer V (si pas déjà fait) +# Installer V sur Linux x86_64 (Debian/Ubuntu) curl -s https://github.com/vlang/v/releases/latest/download/v_linux.zip -o /tmp/v.zip unzip /tmp/v.zip -d /tmp && sudo /tmp/v/v symlink