93 lines
2.5 KiB
Markdown
93 lines
2.5 KiB
Markdown
---
|
|
title: HabitSync
|
|
created: 2026-06-08
|
|
updated: 2026-06-08
|
|
type: app
|
|
tags: [catalogue, habit-tracking, sync, multi-platform, app-marathon3-batch-a]
|
|
confidence: medium
|
|
contested: false
|
|
sources: [https://selfh.st/apps/?tag=Habit+Tracking]
|
|
---
|
|
|
|
# ✅ HabitSync
|
|
|
|
> Synchronisation d'habitudes entre plusieurs plateformes et devices.
|
|
|
|
## 📋 Informations Génériques
|
|
|
|
| Champ | Valeur |
|
|
| :--- | :--- |
|
|
| **Site web** | [github.com/habitsync](https://github.com/habitsync) |
|
|
| **GitHub** | [habitsync/habitsync](https://github.com/habitsync/habitsync) |
|
|
| **License** | MIT |
|
|
| **Langage** | TypeScript |
|
|
| **Étoiles GitHub** | < 0.3k ⭐ |
|
|
| **Catégorie** | [[cat-habit-tracking|Habit Tracking]] |
|
|
|
|
## 📝 Description
|
|
|
|
**HabitSync** est un service de **synchronisation** d'habitudes : API centrale qui permet à plusieurs apps clientes (web, mobile, desktop) de partager le même état d'habitudes. Conçu pour les utilisateurs multi-appareils.
|
|
|
|
**Différence vs [[app-beaver-habit-tracker]]** : HabitSync est une couche de sync/API, pas un UI riche. Idéal comme backend unifié.
|
|
|
|
**Pour qui** : développeurs qui veulent un backend habits syncable, ou utilisateurs multi-appareils.
|
|
|
|
## 🚀 Installation
|
|
|
|
### Docker Compose
|
|
|
|
```yaml
|
|
version: '3.8'
|
|
services:
|
|
habitsync:
|
|
image: ghcr.io/habitsync/habitsync:latest
|
|
container_name: habitsync
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8082:3000"
|
|
volumes:
|
|
- ./data:/app/data
|
|
environment:
|
|
- DATABASE_URL=postgres://habitsync:***@db:5432/habitsync
|
|
depends_on:
|
|
- db
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.http.routers.habitsync.rule: "Host(`sync.example.com`)"
|
|
traefik.http.routers.habitsync.tls.certresolver: letsencrypt
|
|
db:
|
|
image: postgres:16
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_DB: habitsync
|
|
POSTGRES_USER: habitsync
|
|
POSTGRES_PASSWORD: secret
|
|
volumes:
|
|
- ./pgdata:/var/lib/postgresql/data
|
|
```
|
|
|
|
## 🔄 Alternatives
|
|
|
|
### Open Source
|
|
- [[app-beaver-habit-tracker]] — UI standalone
|
|
- [[app-habittrove]] — Calendar view
|
|
- [[app-habitica]] — Gamifié
|
|
- **Loop Habit Tracker** — Android, exportable
|
|
|
|
### Propriétaires
|
|
- **Streaks** — iOS
|
|
- **Way of Life**
|
|
|
|
## 🔐 Sécurité
|
|
- **API tokens** : Bearer/JWT
|
|
- **HTTPS** obligatoire
|
|
- **OAuth2** : supporte les clients tiers
|
|
|
|
## 📚 Ressources
|
|
- [GitHub HabitSync](https://github.com/habitsync)
|
|
|
|
## Pages Liées
|
|
- [[cat-habit-tracking]] — Catégorie Habit Tracking
|
|
- [[app-beaver-habit-tracker]] — UI standalone
|
|
- [[recettes-docker-compose]] — Templates Docker
|