opencode-vibe

(β˜… 177)

πŸ„β€β™‚οΈ Next.js 16 web UI for OpenCode - real-time chat with streaming, SSE sync, and React Server Components

File Explorer

  • .gitignore
  • AGENTS.md
  • biome.json
  • bun.lock
  • bunfig.toml
  • CLAUDE.md
  • CORE_LAYER_GAPS_AUDIT.md
  • index.ts
  • package.json
  • REACT_LAYER_AUDIT.md
  • README.md
  • SECURITY_SUPPLY_CHAIN.md
  • SELECTOR_STABILITY_AUDIT.md
  • tsconfig.json
  • turbo.json
  • vitest.config.ts
  • vitest.setup.ts

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

πŸ”

bun build

View Details β–Ό

Bundle JavaScript and TypeScript files with Bun's fast native bundler.

bun build {{path/to/entry.ts}} --outfile {{path/to/output.js}}

Bundle an entry point to a single output file:

bun build {{path/to/entry1.ts path/to/entry2.ts ...}} --outdir {{path/to/dist}}

Bundle multiple entry points to an output directory:

bun build {{path/to/entry.ts}} --outfile {{path/to/output.js}} --sourcemap

Bundle with source maps for debugging:

πŸ”

bun install

View Details β–Ό

Install JavaScript dependencies for a project from `package.json`.

bun {{[i|install]}}

Install all dependencies listed in `package.json`:

bun {{[i|install]}} {{package_name}}@{{version}}

Install a single package (this is an alias for `bun add`):

bun {{[i|install]}} {{[-g|--global]}} {{package_name}}

Install a package globally:

πŸ”

bun run

View Details β–Ό

Execute a JavaScript/TypeScript file, or a script from `package.json`.

bun run {{script_name}}

Run a script defined in `package.json`:

bun run {{path/to/file.ts}}

Run a JavaScript or TypeScript file directly:

bun run --watch {{path/to/file.ts}}

Run a file in "watch" mode (restarts automatically when the file changes):

πŸ”

bun test

View Details β–Ό

Run tests using Bun's built-in test runner.
It is a fast, Jest-compatible test runner that looks for `*.test.ts` (and similar) files.

bun test

Run all test files found in the project:

bun test {{path/to/file.test.ts}}

Run a specific test file or directory:

bun test --watch

Run tests in "watch" mode (re-runs automatically on file changes):

πŸ”

bun

View Details β–Ό

JavaScript runtime and toolkit.
Includes a bundler, a test runner, and a package manager.

bun init

Create a new Bun project in the current directory:

bun run {{path/to/file|script_name}}

Run a JavaScript file or a `package.json` script:

bun test

Run unit tests:

πŸ”

lsof

View Details β–Ό

List open files and the corresponding processes.
Note: Root privileges are required to list files opened by others.

lsof {{path/to/file}}

Find the processes that have a given file open:

lsof -i :{{port}}

Find the process that opened a local internet port:

lsof -t {{path/to/file}}

Only output the process ID (PID):

πŸ”

opencode

View Details β–Ό

An AI coding agent.
Some subcommands such as `auth`, `models`, `web`, etc. have their own usage documentation.

opencode

Start the interactive TUI:

opencode {{[-c|--continue]}}

Continue the most recent session:

opencode run "{{message}}"

Run opencode in non-interactive mode by passing a prompt directly:

// repository documentation