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 — opencode/packages/stats at dev · ogrman/opencode

Expand file tree

/

stats

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

stats

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
app
app
 
 
core
core
 
 
server
server
 
 
AGENTS.md
AGENTS.md
 
 
README.md
README.md
 
 

README.md

Outline

OpenCode Stats

Stats is a separate site from the console. Runtime, database, and domain services live in core; the SolidStart website lives in app; deployable Lambda entrypoints live in function.

Packages

  • app: SolidStart frontend/site.
  • core: Effect services, app config, Drizzle schema/migrations, and stats domains.
  • function: Lambda handlers that call into core services.

Commands

  • bun run dev:stats from the repo root starts the SolidStart app.
  • bun run --cwd packages/stats/app typecheck typechecks the site.
  • bun run --cwd packages/stats/core typecheck typechecks the Effect/database package.
  • bun run --cwd packages/stats/function typecheck typechecks Lambda entrypoints.

Public page caching

Stats HTML, JSON, and Markdown use a one-minute browser cache and a five-minute shared cache. Expired responses must revalidate instead of serving stale snapshots. The console /data proxy inherits this policy from the stats app.

Cloudflare must respect these origin headers. The live Stats pages: respect short origin cache TTL cache rule applies to /data and /data/* on opencode.ai and stats.opencode.ai: browser TTL respects origin, edge TTL uses cache-control headers and bypasses cache when absent, and serving stale content while updating is disabled. This dashboard-managed rule overrides the zone's four-hour browser-cache minimum; preserve it when changing Cloudflare configuration. Purge both stats URL prefixes after changing the policy to clear existing cached responses.

You are visitor 01402792 — 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.