|
2 | 2 |
|
3 | 3 | **简体中文**: [README.zh-CN.md](./README.zh-CN.md) |
4 | 4 |
|
5 | | -> An open-source desktop app for designing with AI. Bring your own model, keep everything local. |
| 5 | +> Your prompts. Your model. Your laptop. The open-source alternative to Anthropic Claude Design. |
6 | 6 |
|
7 | | -[Website](https://opencoworkai.github.io/open-codesign/) · [Quickstart](#quickstart) · [Contributing](./CONTRIBUTING.md) · [Security](./SECURITY.md) · [Code of Conduct](./CODE_OF_CONDUCT.md) |
| 7 | +[Website](https://opencoworkai.github.io/open-codesign/) · [Quickstart](#quickstart) · [Docs](https://opencoworkai.github.io/open-codesign/quickstart) · [Contributing](./CONTRIBUTING.md) · [Security](./SECURITY.md) |
| 8 | + |
| 9 | +<p align="center"> |
| 10 | + <img src="https://placehold.co/1200x600/E8E5DE/0E0E10?text=open-codesign+demo" alt="Open CoDesign — prompt to prototype (demo coming soon)" width="900" /> |
| 11 | + <!-- Hero placeholder via placehold.co — real screenshot coming before launch --> |
| 12 | +</p> |
| 13 | + |
| 14 | +<p align="center"> |
| 15 | + <a href="https://github.com/OpenCoworkAI/open-codesign/releases"><img alt="GitHub release" src="https://img.shields.io/github/v/release/OpenCoworkAI/open-codesign?label=release&color=c96442" /></a> |
| 16 | + <a href="LICENSE"><img alt="License" src="https://img.shields.io/badge/license-Apache--2.0-blue" /></a> |
| 17 | + <a href="https://github.com/OpenCoworkAI/open-codesign/actions"><img alt="CI" src="https://img.shields.io/github/actions/workflow/status/OpenCoworkAI/open-codesign/ci.yml?label=CI" /></a> |
| 18 | +</p> |
8 | 19 |
|
9 | 20 | --- |
10 | 21 |
|
11 | | -**Status**: Pre-alpha. We're building in public. Not usable yet. |
| 22 | +## What is Open CoDesign? |
| 23 | + |
| 24 | +Open CoDesign turns a natural-language prompt into a polished HTML prototype, slide deck, or marketing asset — entirely on your laptop, with whichever AI model you already pay for. Think of it as Claude Design, minus the subscription lock-in, minus the cloud account, minus the single-model ceiling. |
| 25 | + |
| 26 | +--- |
12 | 27 |
|
13 | | -Open CoDesign turns natural-language prompts into HTML prototypes, slide decks, and marketing assets — all running on your laptop, with whichever AI model you bring. It's the open-source counterpart to Anthropic Claude Design, built around three convictions: |
| 28 | +## Quick demo (60 s) |
| 29 | + |
| 30 | +_Demo video coming soon._ |
| 31 | + |
| 32 | + |
| 33 | +<!-- Replace with real demo GIF before launch --> |
| 34 | + |
| 35 | +--- |
14 | 36 |
|
15 | | -1. **Your designs are yours.** Prompts, generated artifacts, and codebase scans live on disk. No mandatory cloud, no telemetry by default. |
16 | | -2. **Your model, your bill.** Bring your own API key (Anthropic / OpenAI / Google / OpenAI-compatible relays). We don't proxy, we don't charge per token. |
17 | | -3. **Your craft, amplified.** Generated work isn't a black box — every artifact ships with the parameters worth tweaking, the version history worth diffing, the design system worth reusing. |
| 37 | +## Why Open CoDesign? |
| 38 | + |
| 39 | +| | **Open CoDesign** | Claude Design | v0 by Vercel | Lovable | |
| 40 | +|---|:---:|:---:|:---:|:---:| |
| 41 | +| Open source | ✅ Apache-2.0 | ❌ Closed | ❌ Closed | ❌ Closed | |
| 42 | +| Desktop native | ✅ Electron | ❌ Web only | ❌ Web only | ❌ Web only | |
| 43 | +| Bring your own key | ✅ Any provider | ❌ Anthropic only | ❌ Vercel only | ⚠️ Limited | |
| 44 | +| Local / offline | ✅ Fully local | ❌ Cloud | ❌ Cloud | ❌ Cloud | |
| 45 | +| Models | ✅ 20+ (Claude, GPT, Gemini, Ollama…) | Claude only | GPT-4o | Multi-LLM | |
| 46 | +| Version history | ✅ Local SQLite snapshots | ❌ | ❌ | ❌ | |
| 47 | +| Data privacy | ✅ 100% on-device | ❌ Cloud-processed | ❌ Cloud | ❌ Cloud | |
| 48 | +| Price | ✅ Free, token cost only | 💳 Subscription | 💳 Subscription | 💳 Subscription | |
| 49 | + |
| 50 | +--- |
18 | 51 |
|
19 | 52 | ## Quickstart |
20 | 53 |
|
21 | | -Download the latest installer from the [GitHub Releases](https://github.com/OpenCoworkAI/open-codesign/releases) page. |
| 54 | +### 1. Download |
22 | 55 |
|
23 | | -| Platform | File | Notes | |
24 | | -|---|---|---| |
25 | | -| macOS (Apple Silicon) | `open-codesign-*-arm64.dmg` | See Gatekeeper note below | |
26 | | -| macOS (Intel) | `open-codesign-*-x64.dmg` | See Gatekeeper note below | |
27 | | -| Windows | `open-codesign-*-Setup.exe` | See SmartScreen note below | |
28 | | -| Linux | `open-codesign-*.AppImage` | See AppImage note below | |
| 56 | +Get the latest installer from [GitHub Releases](https://github.com/OpenCoworkAI/open-codesign/releases): |
29 | 57 |
|
30 | | -**macOS — Gatekeeper warning (v0.1 is unsigned)** |
| 58 | +| Platform | File | |
| 59 | +|---|---| |
| 60 | +| macOS (Apple Silicon) | `open-codesign-*-arm64.dmg` | |
| 61 | +| macOS (Intel) | `open-codesign-*-x64.dmg` | |
| 62 | +| Windows | `open-codesign-*-Setup.exe` | |
| 63 | +| Linux | `open-codesign-*.AppImage` | |
31 | 64 |
|
32 | | -Because v0.1 installers are not notarized, macOS will block the double-click open. To run anyway: |
| 65 | +> **v0.1 note:** installers are unsigned. macOS: right-click → Open. Windows: More info → Run anyway. |
| 66 | +> Want a verified build? Compile from source — see [CONTRIBUTING.md](./CONTRIBUTING.md). |
33 | 67 |
|
34 | | -1. Right-click (or Control-click) the `.dmg` and choose **Open**. |
35 | | -2. In the dialog that appears, click **Open** again. |
| 68 | +### 2. Add your API key |
36 | 69 |
|
37 | | -You only need to do this once per install. |
| 70 | +First launch opens the Settings page. Paste any provider key: |
38 | 71 |
|
39 | | -**Windows — SmartScreen warning (v0.1 is unsigned)** |
| 72 | +- Anthropic (`sk-ant-…`) |
| 73 | +- OpenAI (`sk-…`) |
| 74 | +- Google Gemini |
| 75 | +- Any OpenAI-compatible relay (OpenRouter, SiliconFlow, local Ollama) |
40 | 76 |
|
41 | | -Windows may show "Windows protected your PC". To proceed: |
| 77 | +Credentials stay in `~/.config/open-codesign/config.toml`, encrypted via Electron `safeStorage`. Nothing leaves your machine. |
42 | 78 |
|
43 | | -1. Click **More info**. |
44 | | -2. Click **Run anyway**. |
| 79 | +### 3. Type your first prompt |
45 | 80 |
|
46 | | -**Linux — AppImage** |
| 81 | +Pick one of the eight built-in demos or describe your own. A sandboxed prototype appears in seconds. |
47 | 82 |
|
48 | | -```bash |
49 | | -chmod +x open-codesign-*.AppImage |
50 | | -./open-codesign-*.AppImage |
51 | | -``` |
| 83 | +--- |
| 84 | + |
| 85 | +## Built-in Anthropic-style design intelligence |
52 | 86 |
|
53 | | -> **Security note:** v0.1 binaries carry no code-signing certificate. Users who prefer a verified build can compile from source — see [CONTRIBUTING.md](./CONTRIBUTING.md). Code signing (Apple Developer ID + Windows Authenticode) is planned for Stage 2. |
| 87 | +Generic AI tools produce generic output. Open CoDesign ships with a built-in **anti-AI-slop design Skill** — a curated instruction set that steers the model toward considered typography, purposeful whitespace, and meaningful color, not `#3B82F6` blue buttons on every artifact. |
54 | 88 |
|
55 | | -## Why Open CoDesign |
| 89 | +The first version of this Skill is already in every generation. Before the model writes a line of CSS, it reasons through layout intent, design system coherence, and contrast — the same editorial discipline behind Claude Design's best outputs, available on any model you bring. |
56 | 90 |
|
57 | | -- **Multi-model, BYOK**: Anthropic, OpenAI, Gemini, DeepSeek, or any OpenAI-compatible relay (OpenRouter, SiliconFlow, DuckCoding, local Ollama). Switch the active provider in Settings. |
58 | | -- **Local-first**: SQLite for design history, encrypted TOML for credentials. Never a cloud dependency. |
59 | | -- **Lean**: Install size budget ≤ 80 MB. No bundled Chromium runtimes, no telemetry. |
60 | | -- **Apache-2.0**: Real OSS. Fork it, ship it, sell it. Keep the NOTICE. |
| 91 | +Add a `SKILL.md` to any project to teach the model your own taste. |
| 92 | + |
| 93 | +--- |
61 | 94 |
|
62 | 95 | ## What's working today |
63 | 96 |
|
64 | | -- Multi-provider onboarding — Anthropic, OpenAI, and any OpenAI-compatible relay, configured in Settings. |
65 | | -- Prompt → HTML prototype, rendered in a sandboxed iframe. |
66 | | -- AI-generated sliders: the model emits the design parameters worth tuning (color, spacing, font), you drag to refine. |
67 | | -- Inline comments: click any element in the preview, leave a note, the model rewrites only that region. |
68 | | -- HTML export, with inlined CSS. |
69 | | -- Generation cancellation. |
70 | | -- Settings tabs with per-provider API key management. |
71 | | -- GitHub Release pipeline (unsigned v0.1 installers: macOS DMG, Windows EXE, Linux AppImage). |
| 97 | +- Multi-provider onboarding — Anthropic, OpenAI, and any OpenAI-compatible relay |
| 98 | +- Prompt → HTML prototype, rendered in a sandboxed iframe |
| 99 | +- AI-generated sliders: model emits the parameters worth tweaking (color, spacing, font); drag to refine |
| 100 | +- Inline comments: click any element in the preview, leave a note, model rewrites only that region |
| 101 | +- HTML export with inlined CSS |
| 102 | +- Generation cancellation |
| 103 | +- Settings with per-provider API key management |
| 104 | +- GitHub Release pipeline (macOS DMG, Windows EXE, Linux AppImage) |
72 | 105 |
|
73 | | -## What's coming next |
| 106 | +--- |
74 | 107 |
|
75 | | -- **Cost transparency**: token estimate before you generate, weekly spend in the toolbar, budget warnings. |
76 | | -- **Version snapshots + diff**: every iteration saved. Compare two versions side by side, roll back, fork. |
77 | | -- **Codebase → design system**: point at a local repo — we extract Tailwind tokens, CSS vars, and W3C design tokens. Every subsequent generation respects them. |
78 | | -- **Three-style exploration**: generate three variations in parallel and pick the one that fits. |
79 | | -- **Skills system**: ships with a built-in anti-AI-slop design Skill; add your own `SKILL.md` to teach the model your taste. |
80 | | -- **PPTX and PDF export**: 8–12 slides as editable PPTX; PDF via local Playwright — no Canva detour. |
| 108 | +## Roadmap |
| 109 | + |
| 110 | +| Feature | Status | |
| 111 | +|---|---| |
| 112 | +| Multi-provider onboarding + Settings | ✅ Shipped | |
| 113 | +| Prompt → HTML prototype (sandboxed iframe) | ✅ Shipped | |
| 114 | +| AI-generated tunable sliders | ✅ Shipped | |
| 115 | +| Inline comment → AI patch | ✅ Shipped | |
| 116 | +| HTML export (inlined CSS) | ✅ Shipped | |
| 117 | +| Cost transparency (token estimate + weekly spend) | 🔜 Coming | |
| 118 | +| Version snapshots + side-by-side diff | 🔜 Coming | |
| 119 | +| Codebase → design system (token extraction) | 🔜 Coming | |
| 120 | +| Three-style parallel exploration | 🔜 Coming | |
| 121 | +| PPTX export | 🔜 Coming | |
| 122 | +| PDF export | 🔜 Coming | |
| 123 | +| Code-signing (Apple ID + Authenticode) | 🔜 Stage 2 | |
| 124 | +| Figma layer export | 🔜 Post-1.0 | |
81 | 125 |
|
82 | | -## Why "CoDesign" |
| 126 | +--- |
83 | 127 |
|
84 | | -> CoDesign = collaborative design. The model proposes, you direct. We don't believe in single-shot magic — we believe in tight loops with the model where you stay in the driver's seat. |
| 128 | +## Star history |
85 | 129 |
|
86 | | -## Built on |
| 130 | +[](https://star-history.com/#OpenCoworkAI/open-codesign&Date) |
87 | 131 |
|
88 | | -- Electron + React 19 + Vite 6 + Tailwind v4 |
89 | | -- pi-ai (multi-provider model abstraction) |
90 | | -- better-sqlite3, electron-builder |
| 132 | +--- |
91 | 133 |
|
92 | | -## Contributing |
| 134 | +## Cite this project |
| 135 | + |
| 136 | +If you reference Open CoDesign in a paper, article, or product comparison, please use: |
| 137 | + |
| 138 | +``` |
| 139 | +OpenCoworkAI (2026). open-codesign: Open-source desktop AI design tool. |
| 140 | +GitHub. https://github.com/OpenCoworkAI/open-codesign |
| 141 | +Apache-2.0 License. |
| 142 | +``` |
| 143 | + |
| 144 | +Or the machine-readable `CITATION.cff` at the repo root. |
| 145 | + |
| 146 | +--- |
93 | 147 |
|
94 | | -Read [CONTRIBUTING.md](./CONTRIBUTING.md). The short version: open an issue before writing code, sign your commits with DCO, run `pnpm lint && pnpm typecheck && pnpm test` before opening a PR. |
| 148 | +## Built on |
95 | 149 |
|
96 | | -## CI |
| 150 | +- Electron + React 19 + Vite 6 + Tailwind v4 |
| 151 | +- `@mariozechner/pi-ai` (multi-provider model abstraction) |
| 152 | +- `better-sqlite3`, `electron-builder` |
97 | 153 |
|
98 | | -PR / main pushes run lint + typecheck + test on ubuntu-latest (1-2 min feedback). |
99 | | -Cross-platform builds happen on tag releases (`v*.*.*`) via `release.yml` (mac/win/linux). |
| 154 | +## Contributing |
100 | 155 |
|
101 | | -Local pre-push hook (auto-installed via `pnpm install`) runs typecheck + lint in seconds |
102 | | -to fail fast before pushing. |
| 156 | +Read [CONTRIBUTING.md](./CONTRIBUTING.md). Open an issue before writing code, sign commits with DCO, run `pnpm lint && pnpm typecheck && pnpm test` before a PR. |
103 | 157 |
|
104 | 158 | ## License |
105 | 159 |
|
106 | | -Apache-2.0 |
| 160 | +Apache-2.0 — fork it, ship it, sell it. Keep the [NOTICE](./NOTICE). |
0 commit comments