Standalone graph viewer frontend/runtime for AutoMem.
This repository is the source of truth for the visualizer service. The automem API keeps /viewer compatibility routes that redirect/bootstrap into this app.
- Node.js 20+
- npm 10+
npm ci
npm run devBuild and run production static server:
npm run build
npm run startDefault runtime URL: http://localhost:3000
Copy .env.example and set values as needed:
VITE_ENABLE_HAND_CONTROLS=false(default; opt-in experimental)VITE_API_TARGET=...for local dev proxy target (optional)VITE_BASE_PATH=/when building for non-root subpath hosting (optional)
- Railway: uses
railway.tomlandDockerfile - Runtime server:
server.mjsservesdist/with immutable cache headers on/assets/*
- CI workflow (
.github/workflows/ci.yml):npm cinpm run lintnpm run build- runtime smoke check (
/and/assets/*cache headers)
- Release Please workflow (
.github/workflows/release-please.yml):- manages version bumps/changelog/releases from conventional commits
Use conventional commits for clean release notes:
feat:-> minor bumpfix:-> patch bumpfeat!:/BREAKING CHANGE:-> major bump