Credentials. Model providers are configured with your own API keys, so keep those keys out of the repository and out of any commit made while working in the project.
Who it is forA developer who wants the coding agent engine that PixelCrabs is built on, pointed at their own project directory.
The problemGetting the agent engine running from source requires the correct Bun version and a locked dependency install.
The outcomeThe OpenCode engine starts against the target project directory, with dependencies installed from the preserved lockfile.
What you need first
- A computer with Node.js 24 or later installed
- Bun 1.3.14 installed, for the pinned OpenCode engine
- A local copy of the johnzhaors-bit/pixelcrabs repository
- A static site folder containing index.html, or a project directory to point OpenCode at
Steps
- Install Bun 1.3.14.
- Run
cd upstream/opencodefrom the repository root. - Run
bun install --frozen-lockfile - Run
bun dev --helpto see the available options. - Run
bun dev /absolute/path/to/your/project
Prompt for your agent
In the pixelcrabs repository, change into upstream/opencode, run `bun install --frozen-lockfile`, then run `bun dev <absolute-path-to-project>`. Expected output: the OpenCode dev process starts against that project. Verify with `bun dev --help` that the command runs before pointing it at a project.
Caveat. The README notes that some tests download packages and need a native compiler toolchain, and that online model providers receive the context needed for their requests.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for johnzhaors-bit/pixelcrabs and "Run the pinned OpenCode engine on a project"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer