Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Repository Layout

Use this map as a quick orientation when extending Postgram.

Key directories and their responsibilities.

src/
auth/ API key and auth middleware
cli/ user/admin CLI logic
db/ Pool and migration helpers
migrate-talon/ Talon import tooling
services/ Business domain services
transport/ REST and MCP adapters
types/ Shared type definitions
util/ Errors, audit, and logging
packages/
browser-extension-chrome/ Chromium web clipper
browser-extension-firefox/ Firefox web clipper
tests/
contract/ REST/MCP contract tests
integration/ Integration flows
unit/ Unit tests
  • The layout is stable and intentionally service-oriented.
  • Add new features under src/services and expose through src/transport.