--- title: Liwan created: 2026-06-07 updated: 2026-06-07 type: app tags: [catalogue, web-analytics, typescript, svelte] confidence: medium contested: false sources: [https://selfh.st/apps/?tag=web-analytics] --- # Liwan 🌐 > Analytics web moderne en TypeScript (SvelteKit) avec un focus sur la simplicitĂ©, l'auto-hĂ©bergement facile et le respect de la vie privĂ©e des visiteurs. | MĂ©tadonnĂ©e | Valeur | | :--- | :--- | | **Site web** | https://liwan.dev | | **GitHub** | https://github.com/liwancumik/liwan | | **License** | AGPL-3.0 | | **Langage** | TypeScript (SvelteKit) | | **Étoiles** | 12 | | **DerniĂšre MAJ** | 2024 | | **CatĂ©gorie** | [[cat-web-analytics]] | ## Description Liwan est un outil d'analytics web « privacy-first » construit sur SvelteKit, le meta-framework Svelte moderne. Il vise la mĂȘme cible que Plausible ou Umami : un script de tracking lĂ©ger, un dashboard clair, et zĂ©ro cookie. L'UI est en single-page, rapide Ă  charger, et propose les KPIs classiques : visiteurs uniques, pages vues, durĂ©e de session, sources de trafic, appareils, pays. Le systĂšme d'Ă©vĂ©nements custom permet de tracker des actions prĂ©cises (clics, soumissions de formulaire). Le dĂ©ploiement est simple : un binaire Node + SQLite, parfait pour un home lab ou un petit VPS. L'AGPL peut rebuter pour un usage commercial, mais en self-host personnel c'est sans impact. ## Installation ### Option 1 : Docker Compose (recommandĂ©) ```yaml version: '3.8' services: liwan: image: ghcr.io/liwancumik/liwan:latest container_name: liwan ports: - "8091:3000" environment: - LIWAN_SECRET=*** - DATABASE_URL=file:./data/liwan.db volumes: - ./data:/app/data restart: unless-stopped ``` ### Option 2 : Installation manuelle ```bash git clone https://github.com/liwancumik/liwan.git cd liwan npm install npm run build node build/index.js ``` ## Configuration - `LIWAN_SECRET` : clĂ© pour signer les sessions. - Configurer les sites depuis l'UI. - Ajouter le script JS sur chaque site Ă  tracker. ## Alternatives ### Open Source - [[app-plausible]] — rĂ©fĂ©rence - [[app-umami]] — Ă©quivalent Node populaire - [[app-matomo]] — PHP complet - [[app-medama]] — Go - [[app-ackee]] — Node minimal ### PropriĂ©taires - Google Analytics - Fathom Analytics - Simple Analytics ## SĂ©curitĂ© - HTTPS obligatoire. - `LIWAN_SECRET` fort. - Sauvegardes SQLite. - Mises Ă  jour Node/SvelteKit pour les CVE. ## Ressources - [DĂ©pĂŽt GitHub](https://github.com/liwancumik/liwan) - [selfh.st listing](https://selfh.st/apps/?tag=web-analytics) ## Pages LiĂ©es - [[cat-web-analytics]] - [[recettes-docker-compose]] - [[securisation-home-lab]]