A local CLI server that bridges your markdown repos, Claude Code sessions, and the Infa cloud.
Infa CLI (infa) is a local Node.js tool that runs alongside your repositories. It serves your .md and .mdx files to the Infa web UI, manages Claude Code sessions, keeps local files in sync with cloud Papers, and serves Infa Capture — the in-page element selector — into your preview, all from a single command.
Copy link
What it does
Local MDX preview
Claude session manager
File sync
Copy link
How it fits in your workflow
Your repos (.md / .mdx)
│
infa preview ← local server on :7100
│
infa.ai / b/{boardId} ← web UI reads files + controls sessions
│
Supabase ← run records, queued run triggers, realtime
│
Claude Code ← spawned as a child process per repo
When a board is connected and you are authenticated, the CLI also subscribes to Supabase Realtime. Any run queued from the Infa web UI is automatically picked up and executed locally.
Copy link
Quick start
# 1. Install
npm install -g infa
# 2. Authenticate
infa auth
# 3. Link a board
infa board
# 4. Start the server (run from your docs/repo folder)
infa preview
The browser opens to infa.ai/b/{boardId} automatically.
Infa CLI
Infa CLI (
infa) is a local Node.js tool that runs alongside your repositories. It serves your.mdand.mdxfiles to the Infa web UI, manages Claude Code sessions, keeps local files in sync with cloud Papers, and serves Infa Capture — the in-page element selector — into your preview, all from a single command.Local MDX preview
Claude session manager
File sync
When a board is connected and you are authenticated, the CLI also subscribes to Supabase Realtime. Any run queued from the Infa web UI is automatically picked up and executed locally.
The browser opens to
infa.ai/b/{boardId}automatically.Infa Capture
Installation
Authentication
Connect a Board
Run Modes
File Sync
CLI Reference