Skip to content
itsDNNSPublic

About

Self-hosted family organizer for calm household planning. Shared calendar, tasks, shopping, contacts, birthdays, and reminders in one home base.

Topics

Resources

Contributing

Security policy

Stars

37 stars

Watchers

0 watching

Forks

Repository files navigation

Tribu

Tribu

A calm home base for busy households.
Calendar, tasks, shopping, contacts, birthdays, routines, meals, rewards, and the everyday details that keep family life moving.

Product page  •   Quick Start  •   Documentation Wiki  •   Phone Sync  •   Wall Display  •   Roadmap

Latest release  GHCR frontend image  GHCR backend image  Docker Compose  Installable PWA  MIT License

Self-hosted  •  Demo mode  •  Shared Home Display  •  CalDAV/CardDAV  •  Home Assistant  •  24 languages  •  MIT licensed


Tribu Shared Home Display on a kitchen tablet

The shared family display: next up, everyone's day on one timeline, and rotating cards for meals, school, stars and the week.

Why Tribu?

Family life usually ends up split across calendars, chats, notes, shopping apps, and memory. Tribu brings the daily moving parts into one self-hosted home base your family can actually use.

  • Plan the week without bouncing between apps.
  • Make tasks, routines, meals, school, gifts, and responsibilities visible.
  • Keep shopping lists, contacts, birthdays, rewards, and reminders close to the calendar.
  • Put a read-only family dashboard on a kitchen tablet or hallway display.
  • Sync calendars and contacts to phones with CalDAV and CardDAV, with optional bidirectional VTODO task sync.
  • Connect automations through Home Assistant, webhooks, and scoped API tokens.

Best fit for

Households that want less scattered planning

Use Tribu when your family needs one shared place for appointments, chores, groceries, birthdays, school details, dinner plans, gifts, and the small reminders that otherwise live in someone's head.

Self-hosters who want a useful product, not just a stack

Tribu runs with Docker Compose, published GHCR images, PostgreSQL, Valkey, and clear operations docs. You keep the setup on hardware you control, but the product still focuses on the people using it every day.

Product tour

The README keeps one current visual proof asset: the Shared Home Display above. The broader workflow details live in the Wiki so setup and feature guides stay focused and current.

Workflow Where to read more
Shared Home Display Pair a read-only kitchen tablet or wall screen
Calendar, tasks, shopping, meals, recipes, school, gifts, rewards, contacts, and notifications Documentation Wiki
Phone sync CalDAV and CardDAV setup
Home Assistant and webhooks Home Assistant guide

What Tribu covers today

Household job Shipped in Tribu
See the day Dashboard, activity, birthdays, reminders, quick actions
Plan the week Calendar, recurring events, school timetables, meal plans
Share responsibility Tasks, assignees, priorities, due dates, recurrence, templates
Shop and cook Shopping lists, recipes, meal plans, ingredient handoff
Remember people and dates Contacts, birthdays, gifts, profile details
Motivate routines Stars from tasks and praise, personal wishes and family goals everyone saves for, praise without stars
Find things fast Global search across household data
Put it on a shared screen Pairable Shared Home Display with read-only display tokens
Keep phones connected CalDAV/CardDAV sync for calendars and contacts, plus opt-in VTODO task sync
Take it everywhere Installable web app for phones, tablets, and foldables like iPhone Duo, Galaxy Z Fold, and Pixel Fold; folding or unfolding keeps your place
Automate the household Home Assistant package, webhooks, scoped API tokens, MCP endpoint for local AI assistants
Run it yourself Docker Compose, GHCR images, backup docs, reverse proxy docs, MIT license
Use it in your language 24 UI languages

Phone Sync

Tribu supports bidirectional calendar and contact sync over CalDAV and CardDAV. Task sync is an explicit opt-in: Settings -> Phone sync creates a separate token with literal tasks:read,tasks:write scopes and exposes one VTODO-only task-<family_id> collection per family. Existing wildcard, calendar, and contact tokens do not discover task collections; advanced read-only clients can use a tasks:read token created under API Tokens.

On iOS and iPadOS, add tasks as a separate CalDAV account and enable it in Reminders. On Android, enable the task collection in DAVx5 and use Tasks.org or OpenTasks. DAV can edit title, notes, due date or date-time, priority, and completion. Family, assignee, rewards, creator, identifiers, and recurrence remain Tribu-managed. Safe client-only VTODO properties and alarms round-trip; date-only deadlines remain dates. Recurrence is represented as separate Tribu-created occurrences. RRULE is neither accepted nor emitted.

Works with:

  • iPhone and iPad through the built-in Calendar and Contacts apps
  • Android through DAV-compatible clients such as DAVx5
  • DAV servers and clients documented in the Self-Hosting guide

After setup, open Settings -> Phone sync in Tribu to copy the shared DAV server URL and optionally enable the dedicated task account.

Shared Home Display

Tribu can turn a kitchen tablet, hallway screen, or wall display into a shared family dashboard without signing in as a real person.

A display is a device, not a fake family member. Admins pair a dedicated display device, the tablet receives a revocable read-only token, and /display shows selected household information without loading the normal app shell, profile flows, notifications center, settings, user IDs, emails, or calendar source URLs.

See the Shared Home Display setup guide.

AI assistants (MCP)

Tribu has a built-in Model Context Protocol endpoint for AI assistants. It is meant first of all for local AI: a model running on your own hardware, for example with Ollama, llama.cpp or LM Studio, that reads and updates household data through the same API the app uses. Calendars, tasks, shopping lists and family details then never leave your network.

  1. In Tribu, open Settings -> API Tokens and create a token for the assistant. Pick only the permissions it needs, for example Tasks and Shopping. The token's permissions decide what the assistant may do; Full access also lets it delete data and change admin settings.
  2. Add the endpoint to an MCP client that supports Streamable HTTP and an Authorization header. With the default Compose stack the endpoint is https://<your-tribu>/api/mcp. If a reverse proxy sends requests straight to the backend, use the backend's /mcp path instead. If the client runs in Docker on the same host, use an address that container can reach, not localhost.
  3. Use a model that supports tool calling. Smaller local models work best with narrow tokens and focused requests ("today's tasks", "add milk to the shopping list"); long answers are cut and the assistant is told to filter.

Open WebUI (v0.6.31 or newer): as an admin, open Settings -> Integrations, add a connection under External Tool Servers, choose the type MCP (Streamable HTTP), enter the endpoint URL, pick Bearer authentication and paste the token into Key.

LM Studio (0.3.17 or newer): add the server to mcp.json:

{
  "mcpServers": {
    "tribu": {
      "url": "https://tribu.example.com/api/mcp",
      "headers": { "Authorization": "Bearer tribu_pat_your_token" }
    }
  }
}

Cloud assistants work too, but then household data is sent to the provider of that assistant. Use them only if that is fine for your family, and with a narrow token. Claude Code, for example:

claude mcp add --transport http tribu https://tribu.example.com/api/mcp \
  --header "Authorization: Bearer tribu_pat_your_token"

The assistant gets four tools: whoami, list_operations, describe_operation, and call_operation. Every call goes through the regular API with your token, so family membership, adult and admin roles, token permissions, and rate limits apply unchanged. The endpoint accepts only API tokens, never browser sessions. Sign-in and sessions, passwords, two-step sign-in, API token management, SSO settings, setup and restore, backup downloads, display device pairing, account deletion, and removing family members (which can delete their account) are not available over MCP. Revoke the token under Settings -> API Tokens to cut off access. To turn the endpoint off for everyone, set MCP_ENABLED=false.

Start in the way that fits you

  • Feel the product first: open Tribu and click Try demo on the login page for realistic sample data.
  • Deploy in your stack: use the Docker Compose quick start below or paste the stack into Portainer, Dockge, or Dockhand.
  • Set up phone sync: add the CalDAV and CardDAV URLs to iOS, iPadOS, Android, or a DAV-compatible client.
  • Pair a shared display: create a display under Admin -> Displays and open the pairing link on the tablet.
  • Connect Home Assistant: use the Home Assistant guide for sensors, quick capture, webhooks, and dashboard examples.
  • Connect a local AI assistant: create a scoped API token and add the MCP endpoint to Open WebUI, LM Studio or another MCP client.

Quick Start

Run Tribu with Docker Compose on a server, NAS, mini PC, or homelab box.

Option A: stack UI

Use this when you prefer Portainer, Dockge, Dockhand, or another stack editor.

name: tribu

services:
  postgres:
    image: postgres:16-alpine
    container_name: tribu-postgres
    restart: unless-stopped
    environment:
      POSTGRES_DB: tribu
      POSTGRES_USER: tribu
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
    volumes:
      - tribu_pg_data:/var/lib/postgresql/data

  valkey:
    image: valkey/valkey:8-alpine
    container_name: tribu-valkey
    restart: unless-stopped

  backend:
    image: ghcr.io/itsdnns/tribu-backend:latest
    container_name: tribu-backend
    restart: unless-stopped
    environment:
      DATABASE_URL: postgresql://tribu:${POSTGRES_PASSWORD}@postgres:5432/tribu
      REDIS_URL: redis://valkey:6379/0
      JWT_SECRET: ${JWT_SECRET}
      SECURE_COOKIES: ${SECURE_COOKIES:-auto}
      JWT_EXPIRE_HOURS: ${JWT_EXPIRE_HOURS:-24}
      REFRESH_TOKEN_EXPIRE_DAYS: ${REFRESH_TOKEN_EXPIRE_DAYS:-30}
      TZ: ${TZ:-}
    depends_on: [postgres, valkey]
    ports: ["8000:8000"]
    volumes:
      - tribu_backups:/backups

  frontend:
    image: ghcr.io/itsdnns/tribu-frontend:latest
    container_name: tribu-frontend
    restart: unless-stopped
    depends_on: [backend]
    ports: ["3000:3000"]

volumes:
  tribu_pg_data:
  tribu_backups:

Set the required secrets before deploying. The public Compose stack exposes only the frontend by default; the backend stays reachable to the frontend on the internal Docker network.

Set TZ when you want family calendar times, task due dates, reminder windows, and quiet hours to use a local household timezone instead of UTC. Audit and technical session timestamps remain UTC.

Variable Description
JWT_SECRET Random 64-character hex string for JWT signing. Keep it stable in the persisted .env so routine updates do not end active sessions.
POSTGRES_PASSWORD Random 32-character hex string for the database.
TZ Optional IANA timezone for family calendar/task times and reminder windows, for example Europe/Berlin. If unset or invalid, Tribu falls back to UTC. Audit timestamps remain UTC.
CORS_ALLOWED_ORIGINS Optional comma-separated exact browser origins for deployments that call the backend directly. The default allows localhost development origins only.
CORS_ALLOW_LAN_ORIGINS Optional true to allow 192.168.x.x browser origins when you deliberately expose the backend on a LAN.
TRUSTED_PROXY_CIDRS Optional comma-separated proxy CIDRs whose X-Forwarded-For header gives the client address, for login/register rate limits and the failed sign-in log line. Leave unset unless a trusted reverse proxy sits in front of the backend.
SUBSCRIPTIONS_ALLOW_PRIVATE_NETWORKS Optional true to let ICS calendar subscriptions fetch private/LAN feed URLs such as a self-hosted calendar server. Leave false unless you trust the feed targets.
ICS_FEED_MAX_BYTES Optional size limit for one calendar feed download, in bytes. Default 1048576 (1 MiB).
ICS_MAX_EVENTS Optional limit on events per calendar feed sync or ICS import. Default 500.
WEBHOOK_ALLOWED_HOSTS Optional comma-separated hosts on your network that webhooks may reach, for example homeassistant.lan,192.168.1.50. List each host exactly as it appears in the webhook URL. Other private or local addresses stay blocked.
MCP_ENABLED Optional false to turn off the MCP endpoint for AI assistants. On by default.

Generate the values and write them into .env:

python3 - <<'PY'
from pathlib import Path
import secrets

env = Path(".env")
text = env.read_text()
text = text.replace("JWT_SECRET=", f"JWT_SECRET={secrets.token_hex(32)}", 1)
text = text.replace("POSTGRES_PASSWORD=", f"POSTGRES_PASSWORD={secrets.token_hex(16)}", 1)
env.write_text(text)
PY

Deploy the stack, open localhost:3000, and register. The first user becomes the family admin.

Option B: CLI

mkdir tribu && cd tribu
curl -LO https://raw.githubusercontent.com/itsDNNS/tribu/main/docker/docker-compose.yml
curl -LO https://raw.githubusercontent.com/itsDNNS/tribu/main/docker/.env.example
cp .env.example .env
# Fill in JWT_SECRET and POSTGRES_PASSWORD
docker compose up -d

For HTTPS, secure cookies, backups, updates, rollback, phone sync, and troubleshooting, use the Self-Hosting guide.

Tech stack

  • Frontend: Next.js 16, React 19, Lucide Icons, CSS custom properties
  • Backend: FastAPI, SQLAlchemy, Python 3.13+
  • Database: PostgreSQL 16
  • Cache: Valkey 8
  • Deployment: Docker Compose, multi-arch GHCR images for amd64 and arm64

Project signals

  • Versioned releases and release notes
  • Published frontend and backend container images
  • MIT license
  • Security policy and responsible disclosure path
  • Public roadmap, changelog, and Discussions
  • Wiki guides for self-hosting, backup and restore, Home Assistant, phone sync, shared display, SSO, and architecture

Documentation

Use the GitHub Wiki as the primary documentation entry point for setup, self-hosting, operations, integrations, troubleshooting, roadmap, and release-oriented guides.

Need Start here
Product overview Product page and this README
Full docs Documentation Wiki
Install and operate Self-Hosting
Back up and restore Backup & Restore
Shared display Shared Home Display
Home Assistant Home Assistant
Contribute Contributing
Security reports Security Policy
Releases Releases

Support

If Tribu helps your family stay organized, consider supporting development.

If you are a self-hoster or contributor, starring the repo, opening issues, improving docs, joining Discussions, or contributing code all help make the project stronger too.

License

Tribu is released under the MIT License. See LICENSE for the full text.


Built with care by the itsDNNS family.

About

Self-hosted family organizer for calm household planning. Shared calendar, tasks, shopping, contacts, birthdays, and reminders in one home base.

Topics

Resources

Contributing

Security policy

Stars

37 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages