cc web
Start the CC Companion App — a local Next.js web dashboard that reads directly from ~/.cc-cli/cc_cli.db.
Usage
cc web
cc web --port 4000
cc web --no-browserFlags
-p, --port PORT
Port to run the app on (default: 3000)
--no-browser
Start without opening the browser automatically
Pages
Home (/)
Active environments at a glance + GitHub code reviews (needs review / your open PRs)
Projects (/projects)
All projects and environments sorted by last used, with search
Environment (/env/[id])
Full detail for a single environment — links, modules, LOC, live active badge
Timesheet (/timesheet)
Bar chart and pie chart of time per project; 7d/14d/30d/90d range selector
History (/history)
Switch timeline grouped by day with durations; delete individual entries
Versions (/versions)
All configured Odoo versions with branch, port, path, and last-fetched time
Health (/health)
Data quality checks across projects and environments
Settings (/settings)
GitHub PAT + username for code reviews; Odoo SH session cookie for SH sync
Environment detail page
Click any environment name in a project card to open /env/[id], which shows:
Version, branch (colored pill), database (colored pill)
Quick-open button for
localhost:PORT/webLinks to GitHub (goes directly to the branch), Odoo SH, and Odoo ticket (extracted from branch name)
Module list with Lines of Code — scanned automatically on page load by walking the
project_pathfilesystemLive active badge — polls every 5 seconds, updates without a page refresh
Health checks
The /health page runs the same checks as cc doctor:
Versions missing a branch (single-repo mode only)
Projects with no environments
Environments missing a branch, version, database, or GitHub URL
Projects without an SH URL
Stale environments (unused 90+ days)
Duplicate environment names
The Health sidebar link shows a badge with the total issue count. Run cc doctor to fix issues interactively from the terminal.
Settings — GitHub integration
Add a GitHub classic PAT (with repo scope) and your GitHub username to enable the Code Reviews section on the home dashboard. Fine-grained PATs require org owner approval for private repos — classic PATs work without it.
Settings — Odoo SH sync
Paste your Odoo SH session cookie (session_id) from browser DevTools. Click Sync Now to scrape odoo.sh/project, match projects to CC via GitHub URL, and write sh_url back to each project automatically.
Requirements
Node.js must be installed. The companion app lives in the web/ directory of the CC repo.
Related
cc doctor— interactive CLI health checker with auto-fixcc sh— open an Odoo SH project in the browser (requiressh_urlto be set)
Last updated
Was this helpful?
