Skip to main content

surgite

Standup summaries from your git history — in the browser, in the terminal, or as a shareable link.

CI PyPI Python versions License: MIT

The web app gives your team a shared dashboard: per-user repos, per-user prompt settings, AI-written summaries, and shareable links to specific summary views. The CLI does the same for a local repo, no server needed. First-party auth, no third-party tracking.

Lean principles: ~15 Python source files, one binary, no SPA framework, no slowapi, no Celery, no Redis. Reads like a script.

Quickstart

Two paths. Pick one.

The web app — three commands, full team dashboard:

git clone https://github.com/nicoleman0/surgite.git
cd surgite
cp .env.example .env       # set BOOTSTRAP_OWNER_EMAIL=you@example.com
docker compose up -d

On first start the app mints an admin invite and logs the token; redeem it with uv run surgite --redeem-invite <token> --email you@example.com and you're in. Full guide: docs/self-host.md.

One-off summary from a local repo — no database, no server:

pip install surgite         # or: uv tool install surgite
surgite /path/to/your/repo --since 7.days.ago

The PyPI wheel ships the surgite package — the CLI and the API code. The web frontend and the alembic migrations are not in the wheel; the full self-hosted stack installs from the repo or the Docker image (see docs/self-host.md).

Add --summarize to get AI-written prose (set ANTHROPIC_API_KEY first).

Screenshots

surgite dashboard

The dashboard, with terminal-aesthetic chrome, a sample repo's commit log, and a streamed AI summary panel. See docs/self-host.md for the deployment walkthrough.

What you get

  • Web dashboard — per-user repos, prompt settings, summary history, share links, admin user management (/admin/users). Email + password login with __Host- session cookies.
  • CLIsurgite /path/to/repo for a local one-off, surgite --registered <name> to pull from a running API, surgite --login to authenticate, surgite --summarize for AI-written prose.
  • Per-user provider keys — each user brings their own Anthropic / Groq / DeepSeek key. Fernet-encrypted at rest, never returned by the API.
  • Shareable summary linksPOST /summaries mints a /s/{slug} URL that re-runs a saved query in a read-only view. Owner-scoped in multi-user mode.

Why?

  • Multi-user — email + password login, per-user repos and summaries, per-user provider keys. (The 0.5.0 headline.)
  • Self-hostable — your data, your auth, your machine. No SaaS account, no vendor lock-in. Runs on a homelab box, a small VM, a Raspberry Pi, or a Kubernetes cluster — same code path.
  • No telemetry — first-party auth, no analytics, no phone-home.
  • Lean — FastAPI + Postgres + SvelteKit, the whole thing reads top-to-bottom.

Documentation

Development

uv sync --group dev                 # install deps (incl. dev tools)
docker compose up -d db             # Postgres for local dev
uv run alembic upgrade head         # run migrations
uv run uvicorn surgite.api:app --reload
cd frontend && npm install && npm run dev
uv run pytest                       # tests
uv run ruff check . && uv run ruff format --check .   # lint + format

See AGENTS.md for the canonical dev quickstart and the architecture overview.

Contributing

Contributions are welcome. The project is deliberately minimalist — see the principles in AGENTS.md. Start with CONTRIBUTING.md for dev setup and the PR workflow; please also read CODE_OF_CONDUCT.md. For anything security-sensitive, see SECURITY.md.

The canonical repository is on GitHub: https://github.com/nicoleman0/surgite.

License

MIT © 2026 Nick Coleman

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

surgite-1.0.2.tar.gz (56.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

surgite-1.0.2-py3-none-any.whl (64.1 kB view details)

Uploaded Python 3

File details

Details for the file surgite-1.0.2.tar.gz.

File metadata

  • Download URL: surgite-1.0.2.tar.gz
  • Upload date:
  • Size: 56.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for surgite-1.0.2.tar.gz
Algorithm Hash digest
SHA256 96142cc44daa938ca138cde527a89aa882e799deba05bcc09f1f59f7a55fd506
MD5 0522b7215695611bcac1e4bd9daa1a63
BLAKE2b-256 787c4fee0bdb3f11bd650fae966d7979bbbfd2250d8ccbb1dca61c9697654e13

See more details on using hashes here.

Provenance

The following attestation bundles were made for surgite-1.0.2.tar.gz:

Publisher: publish.yml on nicoleman0/surgite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file surgite-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: surgite-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 64.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for surgite-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7e090a8bd7d9e5c420ee633c5ac5a590e32905d7b67a976387df66b4d6215275
MD5 1576882566ac6040b1b2ea89c872d628
BLAKE2b-256 008b21b8f0b76efce2bc3a5aebb4134703f0054fd7e3165f79e1a7c59aae69e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for surgite-1.0.2-py3-none-any.whl:

Publisher: publish.yml on nicoleman0/surgite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page