{"id":51855788,"url":"https://github.com/anejckl/fathom","last_synced_at":"2026-07-24T00:30:41.511Z","repository":{"id":372186983,"uuid":"1305706403","full_name":"anejckl/fathom","owner":"anejckl","description":"Persistent Docker log aggregator for homelabs. Zero config, NL search, live stream. One container.","archived":false,"fork":false,"pushed_at":"2026-07-19T13:48:15.000Z","size":1824,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-19T15:11:38.591Z","etag":null,"topics":["docker","fastapi","homelab","logging","self-hosted","sqlite"],"latest_commit_sha":null,"homepage":"https://github.com/anejckl/fathom","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anejckl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-19T12:51:54.000Z","updated_at":"2026-07-19T13:46:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/anejckl/fathom","commit_stats":null,"previous_names":["anejckl/fathom"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/anejckl/fathom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anejckl%2Ffathom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anejckl%2Ffathom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anejckl%2Ffathom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anejckl%2Ffathom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anejckl","download_url":"https://codeload.github.com/anejckl/fathom/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anejckl%2Ffathom/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35822076,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-23T02:00:06.683Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","fastapi","homelab","logging","self-hosted","sqlite"],"created_at":"2026-07-24T00:30:40.789Z","updated_at":"2026-07-24T00:30:41.489Z","avatar_url":"https://github.com/anejckl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fathom\n\n**Fathom what's happening in your stack.**\n\n[![Tests](https://github.com/anejckl/fathom/actions/workflows/test.yml/badge.svg)](https://github.com/anejckl/fathom/actions/workflows/test.yml)\n[![ghcr.io](https://img.shields.io/badge/ghcr.io-anejckl%2Ffathom-blue?logo=docker\u0026logoColor=white)](https://github.com/anejckl/fathom/pkgs/container/fathom)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n\nFathom is a persistent Docker log aggregator built for homelabs. It fills the gap between Dozzle (real-time only, no history) and Loki (full stack, heavy). One container. Zero config. Search logs from last night in plain English.\n\n![Fathom demo](docs/demo.gif)\n\n---\n\n## Features\n\n- **Zero config** — auto-discovers every container via Docker socket, no labels or env vars required\n- **Persistent** — logs survive container restarts and are searchable days later\n- **Live stream** — new lines appear instantly via SSE, no polling\n- **NL search** — built-in parser handles time/level/container queries; Ollama optional for free-form English\n- **FTS5 + stemming** — `fail` finds `failed`, `failure`, `failing`; prefix matching included\n- **Noise filters** — suppress health check spam at ingest time, before it hits the DB\n- **Webhook alerts** — get notified on ntfy, Discord, or Slack when errors spike\n- **Compose grouping** — sidebar groups containers by Docker Compose project\n- **Log context** — click any line to see the 20 lines around it\n- **Retention** — configurable auto-cleanup of old logs (default: 30 days)\n- **Lightweight** — single container, ~50MB RAM, SQLite storage\n\n---\n\n## Quick start\n\n```yaml\nservices:\n  fathom:\n    image: ghcr.io/anejckl/fathom:latest\n    container_name: fathom\n    restart: unless-stopped\n    ports:\n      - \"8000:8000\"\n    environment:\n      - FATHOM_USER=admin\n      - FATHOM_PASSWORD=changeme\n      - FATHOM_SECRET=change-this-to-a-random-string\n      - RETENTION_DAYS=30\n      - TZ=Europe/London\n    volumes:\n      - /var/run/docker.sock:/var/run/docker.sock:ro\n      - fathom-data:/data\n\nvolumes:\n  fathom-data:\n```\n\nOpen `http://localhost:8000` and sign in. Leave `FATHOM_PASSWORD` unset to disable auth (local dev).\n\n---\n\n## NL search examples\n\nFathom's built-in parser handles common queries instantly — no Ollama required:\n\n| Query | What it does |\n|-------|-------------|\n| `errors today` | All error-level logs since midnight |\n| `sonarr warnings` | Warnings from docker-sonarr-1 only |\n| `critical last night` | Errors from yesterday 20:00 – today 06:00 |\n| `radarr last hour` | All radarr logs in the last 60 minutes |\n| `last 5 minutes` | Everything in the last 5 minutes |\n| `45 minutes ago` | Logs since 45 minutes ago |\n| `connection refused` | FTS5 keyword search with stemming |\n\nContainer shortnames are resolved automatically — type `sonarr` and Fathom maps it to `docker-sonarr-1`.\n\nLevel aliases: `critical`, `crit`, `fatal` → error · `warn` → warning\n\nWith `OLLAMA_URL` set, more complex free-form queries fall through to your local LLM.\n\n---\n\n## Configuration\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `FATHOM_USER` | `admin` | Login username |\n| `FATHOM_PASSWORD` | — | Login password. Leave unset to disable auth |\n| `FATHOM_SECRET` | auto | Secret key for signing session cookies. Auto-generated and persisted in the DB if not set — sessions survive restarts. Set explicitly to share sessions across multiple instances or to rotate cookies on demand. |\n| `RETENTION_DAYS` | `30` | Delete logs older than N days |\n| `RATE_LIMIT` | `20` | Max lines per container per minute stored |\n| `OLLAMA_URL` | — | Ollama base URL, e.g. `http://ollama:11434` |\n| `OLLAMA_MODEL` | `llama3.2:latest` | Model to use for NL search |\n| `LOG_LEVEL` | `info` | App log level |\n| `TZ` | `UTC` | Timezone for timestamps |\n\n---\n\n## Noise filters\n\nFathom ships with default filters that suppress health check noise before it hits the database:\n\n```\nGET /health · GET /ping · GET /healthz · GET /ready · healthcheck · health_check · kube-probe\n```\n\nAdd your own from the **Mute** panel in the UI — per-container or global, substring or regex.\n\n---\n\n## Webhook alerts\n\nConfigure alerts from the **Flares** panel. Supported targets: ntfy, Discord, Slack.\n\nEach rule: container + error pattern + threshold (N errors in M minutes) + webhook URL. The alerter checks every 60 seconds and fires when the threshold is crossed.\n\n---\n\n## vs Dozzle / Loki\n\n| | Fathom | Dozzle | Loki |\n|---|---|---|---|\n| Persistent logs | ✓ | — | ✓ |\n| Zero config | ✓ | ✓ | — |\n| NL search | ✓ | — | — |\n| Authentication | ✓ | ✓ | ✓ |\n| Single container | ✓ | ✓ | — |\n| RAM usage | ~50MB | ~20MB | ~500MB+ |\n| Setup | copy-paste compose | copy-paste compose | 4+ services |\n\n---\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanejckl%2Ffathom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanejckl%2Ffathom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanejckl%2Ffathom/lists"}