GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - fro-bot/dashboard

BranchesTags
Open more actions menu

Latest commit

 

History

707 Commits
707 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/skills/impeccable
.agents/skills/impeccable
 
 
.github
.github
 
 
.impeccable
.impeccable
 
 
.opencode
.opencode
 
 
assets
assets
 
 
docs
docs
 
 
public
public
 
 
scripts
scripts
 
 
src
src
 
 
test
test
 
 
web
web
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
DESIGN.md
DESIGN.md
 
 
Dockerfile
Dockerfile
 
 
PRODUCT.md
PRODUCT.md
 
 
README.md
README.md
 
 
bun.lock
bun.lock
 
 
bunfig.toml
bunfig.toml
 
 
eslint.config.ts
eslint.config.ts
 
 
opencode.json
opencode.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
vitest.config.ts
vitest.config.ts
 
 

Repository files navigation

dashboard Banner

@fro-bot/dashboard

Command center for Fro Bot operations.

Build Status OpenSSF Scorecard Node

Overview · Quick Start · Usage · Configuration · Development


Overview

Read-only by default, with one scoped wiki-write capability. The Fro Bot monitoring dashboard surfaces live cross-repo status (open PRs + CI state, failing checks, open issues, security alerts) for Fro Bot's collaborator repos and Agent App installations, plus an authenticated single-operator control surface. Installs as a PWA.

Stack

  • Server — Hono + @hono/node-server on Node 24 native TypeScript (strip-only, no backend build step). Serves the API, GitHub OAuth, and the built client.
  • Client — Vite + React 19 + Tailwind CSS v4, shipped as an installable PWA (vite-plugin-pwa + Workbox).
  • Bun for package management and scripts, Vitest.

Quick Start

bun install            # install deps
bun run build:web      # build the client bundle into web/dist
bun run dev            # start the server with --watch

Remove any existing node_modules before the first bun install.

bun run dev serves the prebuilt client from web/dist, so run bun run build:web first (or after client changes). The test suite rebuilds the client automatically via pretest.

Usage

Endpoints

  • GET / — operator PWA shell (requires a valid operator session).
  • GET /api/healthz — public health check; returns { ok, lastFetch, rateLimit }.
  • GET /api/monitoring — minimized monitoring snapshot for the client (authenticated).
  • GET /api/status — full internal snapshot (authenticated).
  • GET /auth/login · GET /auth/callback · POST /auth/logout — GitHub OAuth session flow.
  • /manifest.webmanifest, /sw.js — PWA manifest and service worker.

Push notifications

The operator PWA supports opt-in Web Push for approval, question and run-failed events. Notifications carry fixed text and a deep link to the run, and tapping one opens that run. They have no inline Approve/Deny actions: the payload omits the tool and command, so a decision from the notification would be blind, and Safari/iOS ignores action buttons (see fro-bot/agent#1917). Subscriptions and dispatch live in the Gateway; the privacy policy is served at /privacy.

Configuration

Access is single-operator: GitHub OAuth authenticates the request and an exact, case-sensitive login allowlist gates every non-public route. Sessions are HttpOnly, Secure, SameSite=Lax signed cookies; logout is CSRF-protected.

The dashboard mints each GitHub App installation token with an explicit read-only permissions subset (pull_requests/checks/issues/contents/metadata:read, with security_events/vulnerability_alerts:read optional). DASHBOARD_GITHUB_APP_* may never mint write-scoped tokens.

The dashboard holds GitHub write authority scoped to the single operator (DASHBOARD_OPERATOR_ID): outside the dev fixture harness, a write runs only for a gateway session whose operatorId equals it. That authority comes through a separate Fro Bot App credential (DASHBOARD_FRO_BOT_APP_ID / DASHBOARD_FRO_BOT_APP_KEY(_FILE)) — the same App release.yaml uses via APPLICATION_ID, distinct from the read-only Agent App behind DASHBOARD_GITHUB_APP_*. It mints installation tokens on demand with contents: write for fro-bot/.github only. Commits go to the data branch and are limited to wiki pages, knowledge/log.md, knowledge/index.md and knowledge/corrections.yaml, after the shared @fro.bot/wiki-write-core gates pass; the only other write is one promote-data repository dispatch. Any additional write target, scope or credential requires explicit owner approval and a new threat model. Repository CI/release automation is separately credentialed and outside this web/runtime boundary.

The cost this accepts: a compromised dashboard login yields valid in-scope wiki edits, and a compromised server exposes the Fro Bot App private key. That App's installation is broad, so the mint-time permissions subset is what keeps a minted token narrow, and the data branch and path allowlist are enforced in application code, not by the token. The wiki read routes serve only content that is already public on fro-bot/.github, a public repository whose data branch anyone can read, so they need a dashboard session but no operator identity match. Existing application POST endpoints are not GitHub write authority. See docs/runbooks/wiki-editor.md.

Redaction is enforced from metadata/repos.yaml on the fro-bot/.github data branch: denylisted repos are excluded before any per-repo query, and the app fails closed if that read fails. The App private key and cookie key are never committed (*.pem/*.key are gitignored in-repo).

Development

bun run check-types # type check server + client
bun run lint        # lint
bun run test        # build client, then run tests (not a bare `bun test`)

Dockerfile builds the client in a builder stage and runs node src/server.ts against a production-only dependency install.


Part of the Fro Bot ecosystem

About

No description, website, or topics provided.

Resources

Readme

Security policy

Security policy
Activity

Stars

1 star

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.