internal/

directory
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2026 License: MIT

Directories

Path Synopsis
Package api implements snagbox's HTTP API: issue ingestion (ingest-token auth) and the per-agent fan-out queue with acks (agent-token auth).
Package api implements snagbox's HTTP API: issue ingestion (ingest-token auth) and the per-agent fan-out queue with acks (agent-token auth).
Package auth provides Postgres-backed adapters for the msgr-authkit bot-first login-link flow, an admin Telegram-ID allowlist, session-cookie middleware, and a CSRF token helper for the web admin UI.
Package auth provides Postgres-backed adapters for the msgr-authkit bot-first login-link flow, an admin Telegram-ID allowlist, session-cookie middleware, and a CSRF token helper for the web admin UI.
Package blob stores and retrieves issue attachments in an S3-compatible object store (MinIO locally, any S3 provider in production).
Package blob stores and retrieves issue attachments in an S3-compatible object store (MinIO locally, any S3 provider in production).
Package bot runs snagbox's Telegram intake bot: allowlisted users send text and photos, which become inbox issues that can be tagged to a project via inline buttons.
Package bot runs snagbox's Telegram intake bot: allowlisted users send text and photos, which become inbox issues that can be tagged to a project via inline buttons.
Package config loads snagbox configuration from environment variables.
Package config loads snagbox configuration from environment variables.
Package digest sends a once-a-day summary of the snagbox inbox to admins, so unsorted issues don't sit unnoticed between agent runs.
Package digest sends a once-a-day summary of the snagbox inbox to admins, so unsorted issues don't sit unnoticed between agent runs.
Package store owns the Postgres connection pool and schema migrations.
Package store owns the Postgres connection pool and schema migrations.
Package token generates and hashes opaque bearer tokens.
Package token generates and hashes opaque bearer tokens.
Package web implements snagbox's server-rendered admin dashboard: managing projects, agents (queue consumers) and their per-project permissions, ingest tokens, and the Telegram user allowlist, plus an issue browser and the bot-first login-link redemption endpoint.
Package web implements snagbox's server-rendered admin dashboard: managing projects, agents (queue consumers) and their per-project permissions, ingest tokens, and the Telegram user allowlist, plus an issue browser and the bot-first login-link redemption endpoint.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL