Jamessdevops /micracode
Open Source Alternative to Lovable, v0, Bolt, Replit, Emergent. 🌟 Star if you like it!
★ 301⑂ 78👁 5⑃ 2● 2▤ 8
+0
日增长
301
stars
78
forks
5
watchers
2
prs
2
issues
8
releases
README
Micracode
Open-Source AI Web App Builder
Describe an app in natural language and Micracode streams code into an in-browser workspace.
Iterate by chat or edit the code directly in a Monaco editor — everything runs on your laptop.
Your local AI coding workspace — no database, no auth, and cloud sharing only when you ask.
---
Quick Install
Micracode ships as a desktop app. Download the latest macOS build from the
Releases page, open it,
and you're ready to go — no Node.js, no Python, no separate backend to run. The
core backend runs in-process inside the app.
1. Add an API key
On first launch, open Settings and paste a key for whichever LLM provider
you want to use — OpenAI, Google (Gemini), or Anthropic. The model picker shows
whichever providers have a key set. Keys are stored locally in a config file on
your machine; nothing is sent to a Micracode server.
2. Build something
- Type a description on the home screen → Micracode generates a working project
- Chat to iterate, edit code in the Monaco editor, and preview your app live
- Projects are saved as plain folders at ~/opener-apps/
---
Getting started & staying tuned with us.
Star us, and you will receive all release notifications from GitHub without any delay!
---
Features
| !Image 1 | !Image 2 |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
- Temporary Preview Links — Explicitly build and share a public static preview through temp.md, then update the same URL or revoke it from the workspace.
---
Tech Stack
Core backend (@micracode/core)
- TypeScript — runs in-process inside the Electron main (no spawned child)
- pi coding agent SDK — LLM orchestration and tool use
- Hono — the /v1 HTTP + SSE app the renderer talks to
- Event-sourced — an append-only log backs /v1/events and the live stream
Desktop shell
- Electron 33 — packages the web UI + core into a native app
- electron-builder + electron-updater — builds and auto-updates releases
Frontend (apps/web)
- Next.js 15 — React framework with App Router
- React 19 — Latest React with concurrent features
- Tailwind CSS — Utility-first CSS framework
- Radix UI + shadcn/ui — Accessible component primitives
- Monaco Editor — VS Code's editor in the browser
- Zustand — Lightweight state management
- ai-sdk — Vercel AI SDK for chat streaming
Tooling
- Bun — JS workspace manager and runtime
- TypeScript — End-to-end type safety, with shared types in packages/shared
---
Development Setup
For contributors and people building from source. If you just want to use Micracode, download it from Releases.
Prerequisites
- Node.js v22.18.0 (pinned via .nvmrc)
- Bun ≥ 1.1.0
- An OpenAI, Google Gemini, or Anthropic API key
Environment Setup
Copy the example env file and add your key(s):
bash
cp .env.example .env
$EDITOR .env
Minimum config (any one prov