opencode/packages/console/app
David Hill 46d606bf97 feat(console): add the docs code blocks for the parked docs intro
The docs code blocks and file-type icons (packages/ui exposes the icon-name mapping). They belong to the docs
intro page, which is parked until services/www serves /docs; dev's docs proxy keeps serving /docs.
2026-11-05 17:37:52 -06:00
..
.opencode/agent docs: fix typos (#5753) 2025-12-18 09:56:37 -06:00
public feat(console): add the new brand, press, font and changelog pages 2026-11-05 17:37:51 -06:00
script feat(console): add the docs code blocks for the parked docs intro 2026-11-05 17:37:52 -06:00
src feat(console): add the docs code blocks for the parked docs intro 2026-11-05 17:37:52 -06:00
test feat(console): add the new brand, press, font and changelog pages 2026-11-05 17:37:51 -06:00
.gitignore feat(console): add the new site shell, i18n, text files and SEO plumbing 2026-11-05 17:37:51 -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 feat(console): add the new site shell, i18n, text files and SEO plumbing 2026-11-05 17:37:51 -06: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 feat(console): add the new site shell, i18n, text files and SEO plumbing 2026-11-05 17:37:51 -06: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