Development
Run bukmark from a checkout with hot reload.
Development commands
Section titled “Development commands”-
Start Postgres:
docker compose up -d db -
Start the API on :3000:
cd apps/server && pnpm dev -
Start the web app (Vite proxies
/apito the API):cd apps/web && pnpm dev -
Open the web app, enter a password (12+ characters) twice and click Create password.
Tests and type check:
pnpm test # full suitepnpm typecheckTo reset the password, run
pnpm --filter @bukmark/server auth:reset-owner (add --revoke-tokens to
delete access tokens too).
After pnpm --filter @bukmark/web build, restart the server to serve the new
bundles.
Monorepo layout
Section titled “Monorepo layout”| Path | What it is |
|---|---|
apps/server |
Fastify + Drizzle (API backend) |
apps/web |
React 19 + Vite (web UI) |
apps/extension |
MV3, vanilla TypeScript (browser extension) |
apps/mcp |
MCP server (for any MCP-compatible client) |
apps/cli |
CLI tool for batch triage |
packages/shared |
Shared types and utilities |
Preview images
Section titled “Preview images”Saving a link fetches its og:image on the server. The fetcher blocks private,
loopback, link-local (including 169.254.169.254) and CGNAT addresses,
re-checks every redirect, and caps time and body size.
Made by XO Vision, a Jovian division