A fast Terminal User Interface (TUI) for exploring Vercel deployments from any linked project directory. Built with Bun, React 19, and OpenTUI, it delivers a mouse-friendly yet fully keyboard-driven workflow.
- From a directory that already contains
.vercel/project.json, runbunx lazyvercel. - The first launch opens the setup flow. Paste a Vercel token created at vercel.com/account/tokens.
- Tokens are saved to
~/.config/lazyvercel/config.jsonand reused until revoked. - Once authenticated, the dashboard automatically loads the project deployments for the team id inside
.vercel/project.json.
bunx lazyvercel # run inside a linked repo
lazyvercel # if installed globally- Branch-aware deployments browser with instant filtering
- Detailed deployment drawer including build metadata and live logs
- Project and theme switchers surfaced through a command palette
- 23 bundled color themes, plus a custom theme in the config file (see Themes)
- Keyboard shortcuts throughout; mouse hover and scroll support for discoverability
- Bun
>= 1.3.0(used for development, bundling, and runtime) - A Vercel project that has been linked locally (
vercel link) so that.vercel/project.jsonexists - A personal Vercel access token with read access to the target project/organization
Run lazily via bunx without installing anything globally:
bunx lazyvercelOr install it once and reuse:
bun install -g lazyvercel
lazyvercelTo work from source, install dependencies and start the app against a directory that already has .vercel/project.json:
git clone https://github.com/nivalis-studio/lazyvercel.git
cd lazyvercel
bun install
bun run dev -- /path/to/linked/projectbun run dev watches src/index.tsx. The path after -- is the positional [cwd] from CLI options. If this repository is itself linked, bun run dev with no path is enough.
- Generate a token in the Vercel dashboard (scope: read access to deployments/projects).
- Paste it into the in-app form; validation happens before anything is written to disk.
- The config file stores three things:
bearerToken, the selectedtheme, andcustomTheme(see Themes). - To rotate credentials, delete
~/.config/lazyvercel/config.jsonor relaunch and paste a new token.
The CLI detects the current project from .vercel/project.json in the working directory. When multiple projects exist within the same team, Ctrl+P opens the command palette and Ctrl+G opens the project switcher. Theme switching lives in the command palette.
lazyvercel [cwd]
| Option | Description |
|---|---|
[cwd] |
Directory to run in. Defaults to the current directory. |
--cwd <dir> |
Run as if launched in <dir>. Wins over [cwd] when both are set. |
--debug [namespaces] |
Enable debug logs. Sets DEBUG; the default namespace is lazyvercel*. |
-v, --version |
Display the version number and exit. |
-h, --help |
Display help and exit. |
lazyvercel
lazyvercel .
lazyvercel --cwd ../my-vercel-project
lazyvercel --debug
lazyvercel --debug lazyvercel:deployments,lazyvercel:stream--debug with no namespaces sets DEBUG=lazyvercel*, which turns on every lazyvercel logger (lazyvercel:deployments, lazyvercel:projects, lazyvercel:stream). Pass a pattern to narrow it. Those loggers call console.error. OpenTUI captures console into the in-app console (Ctrl+K toggles it, Ctrl+J focuses it), so the lines do not go to the terminal's stderr. Ctrl+E opens the last error panel, which is separate from that console.
This list matches the in-app help (?).
Global
?– Toggle this helpCtrl+P– Open command paletteCtrl+G– Switch projectCtrl+E– Show last errorCtrl+R– Refresh projectsCtrl+J– Focus consoleCtrl+K– Toggle consoleShift+Q / Ctrl+C– Quit
Dashboard
← / →orh / l– Switch pane focusr– Refresh deployments (works from either pane, while no modal is open)
Branch & deployments lists
↑ / ↓orj / k– Move selectionENTER / SPACE– Select branch / open deploymentTAB / Shift+TAB– Cycle branch filtero– Open branch dashboard / deployment URLq / ESC / BACKSPACE– Quit
Deployment details / logs
o– Open deployment in browserq / ESC / BACKSPACE– Back to list
Mouse hover focuses panes and rows; scrolling works in every list.
Twenty-three presets ship with the app. Switch them from the command palette (Ctrl+P). The id stored in ~/.config/lazyvercel/config.json is one of:
aura, ayu, catppuccin, cobalt2, dracula, everforest, github, gruvbox, kanagawa, material, matrix, monokai, nightowl, nord, oneDark, opencode, palenight, rosepine, solarized, synthwave84, tokyonight, vesper, zenburn
For a custom theme, set "theme": "custom" and put the palette in customTheme. The object has the same shape as the files in src/theme/ (copy one of those as a starting point). defs maps names to colors. theme must include every key below. Each value is a #hex color, a name from defs, or { "dark": "...", "light": "..." } (the app reads the dark entry).
primary, secondary, accent, error, warning, success, info, text, textMuted, background, backgroundPanel, backgroundElement, border, borderActive, borderSubtle, diffAdded, diffRemoved, diffContext, diffHunkHeader, diffHighlightAdded, diffHighlightRemoved, diffAddedBg, diffRemovedBg, diffContextBg, diffLineNumber, diffAddedLineNumberBg, diffRemovedLineNumberBg, markdownText, markdownHeading, markdownLink, markdownLinkText, markdownCode, markdownBlockQuote, markdownEmph, markdownStrong, markdownHorizontalRule, markdownListItem, markdownListEnumeration, markdownImage, markdownImageText, markdownCodeBlock, syntaxComment, syntaxKeyword, syntaxFunction, syntaxVariable, syntaxString, syntaxNumber, syntaxType, syntaxOperator, syntaxPunctuation
bun install # install dependencies
bun run dev # start OpenTUI renderer with live reload
bun run build # build distributable to dist/index.js
bun run lint # biome check
bun run lint:fix # biome check and write fixes
bun run test # run the test suite
bun run ts # type-check with tsc --noEmit
bun run check # ts, lint, test, and build (same as CI)
bun run smoke # boot source, dist, and the packed binThe repo uses Lefthook for git hooks (bun run prepare) and Biome for formatting/linting. The bundled binary lives at dist/index.js and is the file shipped to npm.
Releases are tag-driven: pushing a vX.Y.Z tag that matches the package.json version runs .github/workflows/publish.yml, which runs bun run check, bun run smoke, and publishes the package. See CONTRIBUTING.md for the maintainer checklist.
- Missing
.vercel/project.json– Runvercel linkin your project directory so the CLI knows which project/org to query. - Invalid token errors – Delete
~/.config/lazyvercel/config.jsonand relaunch; the setup flow will prompt for a new token. - Blank screen on launch – Ensure your terminal supports truecolor and that Bun is updated to the version in
package.json. - Logs never load – Confirm the project allows access to deployment events and that the token’s scope includes deployments.
- Debugging a failure – Rerun with
--debug(or--debug lazyvercel:deployments). Output goes throughconsole.errorinto the in-app console (Ctrl+K), not the terminal's stderr.Ctrl+Eopens the last error caught in the UI.
Bug reports and pull requests are welcome! See CONTRIBUTING.md for the recommended workflow, coding standards, and release checklist.
The following ideas are on our radar for future releases. Contributions or feedback on any of them are welcome:
- Richer filtering – quick filters (building/failed/succeeded), search by commit/author/message, saved filters
- Multi-project workflows – support
--project/--teamflags and remember the last selected project per repo - Onboarding polish – open token page from Setup and show clearer messages for token scope/team mismatches
- Resilience – retries/backoff for 429/5xx, and short TTL caching for projects/deployments to speed startup
- Deployment actions – redeploy, cancel builds, or promote previews directly from the TUI when scopes allow
- Environment insights – surface env vars, targets, and config diffs per deployment for easier debugging
- Audit timeline – show rollbacks, config changes, and deployment history grouped by branch/environment
- Collaboration hooks – generate shareable status snippets or push updates to Slack/Discord
MIT