runbot-next
v0.1.2
Published
Fast local console for public Odoo Runbot pages.
Readme
runbot-next
Fast local console for public Odoo Runbot pages.
Runbot Next gives you a focused UI for branches, batches, builds, logs, and test failures without asking the browser to scrape Runbot directly. The local server fetches Runbot HTML, parses it, and serves the app plus API from one port.

Run
npx runbot-nextor:
bunx runbot-nextThe server starts on http://127.0.0.1:3000. If the port is busy, it tries the next available port, up to 100 ports.
Use PORT to choose the starting port:
PORT=5173 npx runbot-nextFeatures
- Browse Runbot projects, branches, and batches.
- Open build slots, commits, logs, and run links quickly.
- Parse visible test failures from Runbot logs.
- Record proxied Runbot traffic while debugging.
- Runs locally through
npxorbunx.
Develop
bun install
bun run devThe development command starts Vite on http://127.0.0.1:5173 and automatically starts the local API on the first available port from 3000. Use VITE_PORT, PORT, or ORPC_PORT to override those ports.
For production-package checks:
bun run build
bun run build:server
npm pack --dry-runCLI
The reusable tool definitions live in src/runbot/tools.ts.
bun run src/cli.ts projects
bun run src/cli.ts batches /runbot/rd-1 --search master
bun run src/cli.ts batch 2526059 --json
bun run src/cli.ts build 110606813
bun run src/cli.ts tests --batch 2413720 --slot "Enterprise Tests" --unparsedNote
Runbot public pages are server-rendered HTML. This app intentionally uses a local server because Runbot does not expose permissive browser CORS headers for direct client-side scraping.
