Web UI
Postgram ships with a web UI focused on graph-first exploration, search, and quick entity editing.
What this page covers
Section titled “What this page covers”What the UI provides, how to run it, and how it connects to your Postgram API.
Core workflow
Section titled “Core workflow”- The UI runs as its own container and proxies
/api/*to Postgram:
- Browser →
postgram-ui:3000 postgram-ui /api/*→postgram:3100/api/*
- Use local login flow:
- Enter an API key once.
- The key is stored in browser local storage and sent as
Authorization: Bearer.
- Use the canvas to:
- search and jump to entities
- filter by entity type and relation type
- adjust depth and queue status
- open entity details and linked neighbors
- Modify entities from the right panel:
- edit metadata and tags
- add memory notes linked to selected entity
- create links with relation types
- delete when needed
- Create a focused view:
- start a query, set filters, and expand neighborhoods with depth 1–3.
- If you are embedding the UI in another host network, point its API proxy to your Postgram host and ensure container networking is consistent.
- The UI is implemented as a React/Vite SPA and can be added via a dedicated
ui/service in Compose.