HabitSync logo

HabitSync

Website

Self-hosted habit tracker with social features and SSO

334 stars 7 forks last commit first released BSD-3-Clause

Actively maintained

Last commit 20 Aug 2026.

HabitSync screenshot

HabitSync is a self-hostable habit-tracking platform that combines individual goal tracking with social features like shared habits, challenges, and leaderboards. It provides a PWA front end, a Java/Spring Boot backend API, and an Android mobile client.

Key Features

  • Clean, mobile-first Progressive Web App (PWA) UI and installable Android app
  • Flexible habit and goal configuration (daily/weekly/monthly/custom, negative habits, weekday selection)
  • Social features: shared habits, monthly community challenges, leaderboards, and achievements
  • Authentication via OIDC/OAuth2 (multiple issuers supported) and basic auth as alternative
  • Notification system with Apprise integration for many delivery channels and custom schedules/triggers
  • API-first architecture with Swagger docs and token/basic-auth access; import support for Loop Habit Tracker
  • Easy Docker and Docker Compose deployment; supports H2 (file) and PostgreSQL databases

Use Cases

  • Personal habit tracking with cross-device sync using the PWA or Android app
  • Small social groups or friends running shared challenges and comparing progress
  • Home automation integrations and external tooling via the REST API (for dashboards, notifications, or HA integration)

Limitations and Considerations

  • The built-in API is marked as incomplete and may change; rely on it cautiously for long-term integrations
  • Mobile app is under active development and may require matching server/client versions
  • H2 is the default DB (file-based); production setups should prefer PostgreSQL for reliability and backups
  • Notifications require an external Apprise API or compatible service for delivery

HabitSync is suitable for users who want a privacy-respecting, self-hosted habit tracker with social features and flexible authentication. It is production-ready with containerized deployment and an emphasis on API integration.

Categories:

Tags:

Tech Stack:

Share:

Similar to HabitSync

SparkyFitness

Self-hosted fitness tracker with AI nutrition chat and web + mobile apps

5.7k
335
Last commit

Open-source self-hosted fitness tracker for nutrition, exercise, water, and body metrics; includes AI nutrition chat, Docker deployment, web PWA and Android app.

Actively maintained
Alternative to:
Cronometer logo
Cronometer
+9
Atomic CRM logo

Atomic CRM

Full-featured CRM built with React and Supabase

1.2k
774
Last commit

Open-source CRM for contacts, deals, tasks, notes, and activity tracking, built with React and Supabase and designed to be customized by developers.

MITActively maintained
Alternative to:
Salesforce Sales Cloud logo
Salesforce Sales Cloud
+18
Ghostfolio logo

Ghostfolio

Open-source wealth management and portfolio tracking dashboard

9.2k
1.3k
Last commit

Self-hostable personal finance dashboard to track net worth, transactions, and portfolio performance across cash, stocks, ETFs, and cryptocurrencies.

AGPL-3.0Actively maintained
Alternative to:
Monarch Money logo
Monarch Money
+11
YourSpotify logo

YourSpotify

Self-hosted Spotify listening history and statistics dashboard

4.6k
203
Last commit

YourSpotify is a self-hosted app that tracks Spotify listening history and provides a web dashboard to explore your personal streaming statistics over time.

GPL-3.0Actively maintained
Alternative to:
Stats for Spotify logo
Stats for Spotify
+1
RecipeSage logo

RecipeSage

Collaborative recipe keeper with meal planning and shopping lists

946
99
Last commit

A self-hostable collaborative recipe manager with web import, meal planning, and shared shopping lists in a mobile-friendly PWA.

Actively maintained
Alternative to:
Paprika Recipe Manager logo
Paprika Recipe Manager
+8
Fasten Health logo

Fasten Health

Self-hosted personal and family health record aggregator

2.8k
177
Last commit

Open-source on‑prem app that connects to healthcare providers and aggregates FHIR medical records into a private personal/family dashboard.

GPL-3.0Slowing down