opencode/packages/console/app
David Hill 229476779a chore(console): add the media CDN plumbing, the server-bundle guard and the site docs
Heavy media (about 148 MB) is not committed. src/lib/media.ts holds the one CDN base URL and the media
file types, script/upload-media.ts uploads the files (not run), media-manifest.txt lists them and MEDIA.md is
the plan; .gitignore keeps them out of git. script/check-server-bundle.ts fails the build when three.js reaches
the Worker's server bundle (wired into the build in the next commit). Also
the site's AGENTS.md, DESIGN.md and README.md, and the translator agent.
2026-11-05 15:33:13 -06:00
..
.opencode/agent docs: fix typos (#5753) 2025-12-18 09:56:37 -06:00
public chore(console): list the Console's public sitemap in robots.txt (#61052) 2026-11-01 10:24:02 -06:00
script chore(console): add the media CDN plumbing, the server-bundle guard and the site docs 2026-11-05 15:33:13 -06:00
src chore(console): add the media CDN plumbing, the server-bundle guard and the site docs 2026-11-05 15:33:13 -06:00
test chore(console): add the media CDN plumbing, the server-bundle guard and the site docs 2026-11-05 15:33:13 -06:00
.gitignore chore(console): add the media CDN plumbing, the server-bundle guard and the site docs 2026-11-05 15:33:13 -06:00
AGENTS.md chore(console): add the media CDN plumbing, the server-bundle guard and the site docs 2026-11-05 15:33:13 -06:00
DESIGN.md chore(console): add the media CDN plumbing, the server-bundle guard and the site docs 2026-11-05 15:33:13 -06:00
media-manifest.txt chore(console): add the media CDN plumbing, the server-bundle guard and the site docs 2026-11-05 15:33:13 -06:00
MEDIA.md chore(console): add the media CDN plumbing, the server-bundle guard and the site docs 2026-11-05 15:33:13 -06:00
package.json release: v2.2.5 (#60744) 2026-10-30 19:18:59 -04:00
README.md chore(console): add the media CDN plumbing, the server-bundle guard and the site docs 2026-11-05 15:33:13 -06:00
sst-env.d.ts zen: update sst version 2026-02-18 13:54:23 -05:00
tsconfig.json Add native LLM core foundation (#24712) 2026-05-08 16:56:20 -04:00
vite.config.ts chore(console): move console and stats to released solid-start (#60077) 2026-10-29 15:37:22 -05:00

SolidStart

Everything you need to build a Solid project, powered by solid-start;

Creating a project

# create a new project in the current directory
npm init solid@latest

# create a new project in my-app
npm init solid@latest my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

GitHub API

The site reads the repo's stars, contributors and releases from the GitHub API on the server (src/lib/github-api.ts). Without a token GitHub allows 60 calls an hour per IP, which a dev machine can use up; then the pages show the last good data or the config fallbacks. Start the dev server with your GitHub CLI token for 5,000 calls an hour:

GITHUB_TOKEN=$(gh auth token) bun run dev

Never commit a token. In dev the last good GitHub data is also kept in $TMPDIR/opencode-site-github/, so a restart while rate limited still has it.

Building

Solid apps are built with presets, which optimise your project for deployment to different environments.

By default, npm run build will generate a Node app that you can run with npm start. To use a different preset, add it to the devDependencies in package.json and specify in your app.config.js.

This project was created with the Solid CLI