What do you want to do?
3 use cases
-
Preview a static site on localhost
Serve a static site folder on a localhost URL with one command and stop it with Ctrl+C.
- Pixelcrabs
- Software and DevOps
- Intermediate
View prompt
In the pixelcrabs repository root, run `node packages/local-runtime/bin/static-preview.mjs <absolute-path-to-site>`. Expected output: a localhost URL printed in the terminal. Verify first that the target folder contains index.html before starting the server.
-
Run the pinned OpenCode engine on a project
Install the locked OpenCode dependencies with Bun and start its dev command against a chosen project folder.
- Pixelcrabs
- Software and DevOps
- Advanced
View prompt
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.
-
Run public runtime tests before changing the runtime
Run the dependency-free public runtime test suite to confirm a clean baseline before editing the local runtime.
- Pixelcrabs
- Software and DevOps
- Intermediate
View prompt
In the pixelcrabs repository root, run the five public runtime test files with `node --test` as listed in the README. Expected output: a pass or fail summary for each test file. Verify that no test requires installed packages before reporting a baseline.
How to use Pixelcrabs
- Check you have what it needs: 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.
- Open johnzhaors-bit/pixelcrabs on GitHub and read the README and license.
- Download or clone the Pixelcrabs repository and open a terminal in its root folder.
- Confirm Node.js 24 or later is installed.
- Run
node packages/local-runtime/bin/static-preview.mjs /absolute/path/to/your/site - Open the localhost URL printed in the terminal.
These steps come from our top use case, Preview a static site on localhost, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freePixelcrabs alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forBuilt for developers who want to study, run, or modify a local AI-assisted web development workflow on their own machine.
- Why it is hot
- LanguageTypeScript
- Sourcegithub.com/johnzhaors-bit/pixelcrabs · Back to Hot repos
Requirements
- 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
Maintain Pixelcrabs? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/johnzhaors-bit-pixelcrabs/?ref=badge)
Questions about Pixelcrabs
What is Pixelcrabs?
PixelCrabs is an open-source, local-first visual AI development workspace built on OpenCode, with a Web-first local runtime for previewing and iterating on real project source. It is an open-source project on GitHub: https://github.com/johnzhaors-bit/pixelcrabs.
Who is Pixelcrabs for?
Built for developers who want to study, run, or modify a local AI-assisted web development workflow on their own machine.
What can I do with Pixelcrabs?
3 use cases so far, for example: Preview a static site on localhost; Run the pinned OpenCode engine on a project; Run public runtime tests before changing the runtime. Each has steps and a copy-paste agent prompt.
What do I need to run Pixelcrabs?
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.
What are alternatives to Pixelcrabs?
Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
Is Pixelcrabs safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.