Skip to content

feat: add web dashboard at portless.localhost#212

Open
theishandubey wants to merge 2 commits intovercel-labs:mainfrom
theishandubey:feat/web-dashboard
Open

feat: add web dashboard at portless.localhost#212
theishandubey wants to merge 2 commits intovercel-labs:mainfrom
theishandubey:feat/web-dashboard

Conversation

@theishandubey
Copy link
Copy Markdown

Closes #211

This PR adds a web dashboard accessible at portless.localhost for viewing active proxy routes.

Changes

  • packages/portless/src/proxy.ts: Added dashboard routing for portless.localhost
  • packages/portless/src/pages.ts: Added renderDashboardPage() function with dashboard UI
  • packages/portless/src/proxy.test.ts: Added 4 tests for dashboard functionality

Features

  • Shows all active routes with hostname, port, and action buttons
  • Displays proxy status (HTTP/HTTPS, port, TLD, route count)
  • Copy URL button with visual feedback
  • Empty state with quick-start command
  • Dark/light mode support matching existing UI

Testing

  • Type check passes
  • Build succeeds
  • All 380 tests pass (376 existing + 4 new)
  • Manual testing completed

Add a web dashboard accessible at portless.localhost for viewing active
proxy routes, proxy status, and quick actions.

Features:
- Show all active routes with hostname, port, and action buttons
- Display proxy status (HTTP/HTTPS, port, TLD, route count)
- Copy URL button with visual feedback
- Empty state with quick-start command when no apps running
- Dark/light mode support matching existing portless UI

Closes vercel-labs#211
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 7, 2026

@theishandubey is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

…oard

Replace hardcoded v0.10.0 with the build-time __VERSION__ variable
in the dashboard HTML template. Add vitest.config.ts to define
__VERSION__ during tests.

Fixes version display becoming stale after version bumps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] Add web dashboard at portless.localhost for viewing active routes

1 participant