Skip to content
GUIJam
Please leave a star!11 stars
v0.1.0-rc.7Drives Claude Code, Codex and OpenCode

Draw on your running app.
Get live UI variants.

GUIJam is a free, open-source visual UI editor for your dev server. Circle any element, describe the change, and keep the variant you like as a real source edit, made by the AI coding CLI you already use.

npx guijam@latest init
Get started

Free and open source · MIT licensed · Vite, Next.js, Nuxt, Astro, SvelteKit and more

Try it

Circle it. Pick a variant. Keep it.

Here it is on this site’s own repo. Run npx guijam@latest init, start the dev server, sketch on the page, and keep the variant your AI coding CLI writes. The change lands in your source, ready to commit.

Now try it yourself

This is the GUIJam toolbar on a sample page. Pick Draw and circle the button, or pick Select and fine-tune it. In your app, the variants come from your own AI coding CLI.

Simulated in your browser

localhost:5173
Brew & Co.Cart (0)

Slow-roasted, made for mornings.

Order ahead and pick up in five minutes at any branch.

Pick Draw and circle the Order now button, or pick Select and click it.

src/components/OrderButton.tsxUnchanged
  14 <button className="rounded-md bg-amber-900 px-5 py-2.5 text-sm font-semibold text-amber-50">

How it works

From a circle on the page to a line in your source.

GUIJam connects the page in your browser to your source files and the AI coding CLI you already use. Only the local gjd daemon ever writes, and only when you say so.

  1. Step 1

    Point at it

    Select any element in your running app, or circle it with Draw and say what you want.

  2. Step 2

    Preview three takes

    Your AI tool returns three variants, live in the page and served from memory. Your files don’t change.

  3. Step 3

    Keep the one you like

    Use it, and it lands as a minimal edit in the component that renders it. Undo restores your files exactly.

  1. GUIJam widget

    Browser, in a shadow root

    Toolbar, drawing, panels. Talks only to your dev server.

    HMR channel
  2. guijam() plugin

    Your dev server

    Source locations, in-memory previews, hot-update results.

    WebSocket + token
  3. gjd daemon

    Rust, localhost only

    Reads source, routes requests, validates and journals every write.

    stdio
  4. Your AI CLI

    Headless, no write tools

    Claude Code, Codex, OpenCode and more. Answers with structured edits.

Read about the architecture

Features

A design tool’s feel, with your real code underneath.

Every change is a minimal edit in the component you already have, not an override and not a generated project to merge.

Frameworks

Works in the stack you already have.

One command wires GUIJam into your framework’s config. Fine-tune writes Tailwind classes, Vuetify props or inline styles, whichever your project uses.

AI tools

Bring the AI coding CLI you already pay for.

GUIJam has no model and no API key of its own. It drives your CLI headlessly with your existing login, and switching takes one command.

npx guijam provider use codex

Security and privacy

Your machine. Your login. Your call.

GUIJam never reads your AI tool’s credentials and sends no telemetry. Nothing is written until you click Use or Apply.

Read the security model
  • Development only. Production builds are byte-for-byte the same with or without GUIJam.

  • The gjd daemon listens on localhost only, behind a per-session token.

  • Your CLI runs headlessly with no tools that can change files.

  • Every write is journaled, conflicts with your work are refused, and undo is exact.

FAQ

Questions, answered.

How do I edit my app’s UI visually with Claude Code or Codex?

Run npx guijam@latest init in your project and start your dev server. Circle an element on the page, describe the change, and GUIJam asks your AI coding CLI for three live variants. Keep one and it lands as a small edit in your source.

Do I need an API key?

No. GUIJam drives the AI coding CLI you’re already logged into, such as Claude Code, Codex or OpenCode. With OpenCode you can add your own key to reach models such as DeepSeek or GLM.

Does GUIJam ship to production?

No. It runs only under your dev server, and production builds are byte-for-byte the same with or without it.

Does my code leave my machine?

GUIJam itself sends nothing anywhere. Your AI tool sends the relevant code to its model provider, exactly as it does when you use it in your terminal.

Do I need Tailwind?

No. Draw and Ask AI work with any CSS. Fine-tune writes Tailwind classes when you use Tailwind, Vuetify props on Vuetify components, and inline styles everywhere else.

Will it overwrite my own changes?

No. GUIJam checks each file before writing. If you edited it since the preview was made, the change is refused, and undo works the same way.

More questions

Start jamming on your own app.

One command. It detects your framework, wires the config and connects your AI tool.

npx guijam@latest init
Read the quick start