opencode/packages/app
opencode 34ebe814dd release: v1.1.65 2026-02-13 05:51:04 +00:00
..
e2e feat(app): option to turn off sound effects 2026-02-12 15:03:05 -06:00
public wip: highlights 2026-01-26 15:36:56 -06:00
script chore: fix e2e tests 2026-02-10 07:38:13 -06:00
src fix(app): reconnect event stream on disconnect 2026-02-12 20:20:24 -06:00
.gitignore test(app): initial e2e test setup 2026-01-19 09:03:52 -06:00
AGENTS.md fix(app): fix numbered list rendering in web markdown (#9723) 2026-01-20 20:28:01 -06:00
README.md test(app): fix e2e 2026-01-20 14:02:09 -06:00
bunfig.toml chore: fix test 2026-02-10 07:06:20 -06:00
happydom.ts chore: rename packages/desktop -> packages/app 2025-12-22 19:39:00 -06:00
index.html fix(web): favicon rename again 2026-01-21 14:36:21 -06:00
package.json release: v1.1.65 2026-02-13 05:51:04 +00:00
playwright.config.ts chore: refactoring and tests (#12629) 2026-02-08 05:02:19 -06:00
sst-env.d.ts chore: rename packages/desktop -> packages/app 2025-12-22 19:39:00 -06:00
tsconfig.json chore: show version on error page 2025-12-24 20:25:36 -06:00
vite.config.ts chore(desktop): disable sourcemap 2025-12-30 04:57:36 -06:00
vite.js chore: cleanup 2025-12-28 06:41:59 -06:00

README.md

Usage

Dependencies for these templates are managed with pnpm using pnpm up -Lri.

This is the reason you see a pnpm-lock.yaml. That said, any package manager will work. This file can safely be removed once you clone a template.

$ npm install # or pnpm install or yarn install

Learn more on the Solid Website and come chat with us on our Discord

Available Scripts

In the project directory, you can run:

npm run dev or npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.

npm run build

Builds the app for production to the dist folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

E2E Testing

Playwright starts the Vite dev server automatically via webServer, and UI tests need an opencode backend (defaults to localhost:4096). Use the local runner to create a temp sandbox, seed data, and run the tests.

bunx playwright install
bun run test:e2e:local
bun run test:e2e:local -- --grep "settings"

Environment options:

  • PLAYWRIGHT_SERVER_HOST / PLAYWRIGHT_SERVER_PORT (backend address, default: localhost:4096)
  • PLAYWRIGHT_PORT (Vite dev server port, default: 3000)
  • PLAYWRIGHT_BASE_URL (override base URL, default: http://localhost:<PLAYWRIGHT_PORT>)

Deployment

You can deploy the dist folder to any static host provider (netlify, surge, now, etc.)