Privacy-respecting community observability and triage for Swarm Foundation. Tracks contributor engagement across X, GitHub, Reddit, LinkedIn, Discord, and YouTube with a simulation-first design.
pnpm install
pnpm devThen open http://localhost:3000 (or http://localhost:3001 if the script prints that port 3000 was busy).
Avoid port conflicts without killing PIDs:
pnpm dev:auto — uses 3000 if free, otherwise 3001.
Stale UI after pulling changes:
pnpm dev:clean:auto — deletes .next, then starts dev with auto port.
Watchpack EMFILE (too many open files):
pnpm dev / pnpm dev:clean:auto run Turbopack (next dev --turbo) by default so Watchpack isn’t used. To force classic webpack dev: CDP_WEBPACK_DEV=1 pnpm dev:webpack (uses WATCHPACK_POLLING + optional CDP_DEV_POLL=1 webpack poll in next.config.js). If anything still fails: ulimit -n 10240 then retry.
That means an old Next bundle is still running or CSS didn’t load. Current home should be dark with title “Community Data Platform” only (no “Pick your path” block).
- Stop every dev/prod server on port 3000 (and 3001 if you use it).
- From repo root:
pnpm --filter @swarm-cdp/web dev:clean
Or manually: deleteapps/web/.next, thenpnpm dev. - Hard refresh the browser (cache disable or Cmd+Shift+R).
- For production:
pnpm --filter @swarm-cdp/web buildthenpnpm --filter @swarm-cdp/web start(neverstartwithout a freshbuildafter pulling changes).
- Home — Dashboard with event counts and links to Inbox, Recognition, Ecosystem Intel.
- Inbox — Conversations from all channels with status, priority, assignment.
- Recognition — Praise and contributor signals (PRs, helpful replies).
- Ecosystem Intel — Mentions, announcements, and ecosystem signals.
Data is from the simulator (fixtures for all six channels). No API keys or database required to run.
- Monorepo: pnpm workspaces, Turbo
- Apps: Next.js 14 (App Router) for the dashboard
- Packages:
@swarm-cdp/core(event schema, privacy tiers, identity linking),@swarm-cdp/simulator-data(fixtures)
apps/web— Next.js dashboard (inbox, recognition, ecosystem-intel)packages/core— Canonical event types, privacy, identity-linkingpackages/simulator-data— Fixture events and conversations for all channels
- Data minimization by default (metadata-first; raw content off unless needed).
- Admin-assisted identity linking only — no automated cross-platform fusion.
- Behavior-based recognition — no ideological or influence scoring.