Vibecode Gleek

track this build4 phases, 12 steps, beginner friendly
YES · one-shottable
price variesbuild time one sittingcategory 📐 diagramsreplaced by 0 people

Gleek's solo core is compact: build a browser-based keyboard diagramming editor with drag, resize, connect, keyboard shortcuts, autosave, and SVG or PNG export. A competent builder can reach a useful personal version in one sitting, while the paid product mainly wins on interaction polish, collaboration.

the project pack5 files · written for this build, step by step
README.md
# Gleek · indie build

A text-to-diagram editor whose hard problems are staying useful while the source is half-typed, keeping a hand-placed box where you put it after the text changes, and producing an export that still looks right in a program you did not write.

Estimated effort: **one sitting**. Work `BUILD_PLAN.md` top to bottom · every phase ends in a check that has to pass before the next one starts.

## Stack

| Part | Choice | Why |
| --- | --- | --- |
| Runtime | React with TypeScript and Vite, everything in the browser and no server at all | a diagram tool that needs a backend is a diagram tool you cannot use on a train |
| Source of truth | The diagram is the text; the canvas is a view of it | undo, autosave and export all become easy once there is only one thing to save |
| Storage | IndexedDB holding a versioned document record, with autosave on a debounce | browser storage fails in more ways than people expect and the format needs a version from day one |
| Layout | A deterministic layered layout recomputed only when the graph structure changes | a layout that reruns on every keystroke makes the diagram unreadable while you type |
| Export | SVG with the font embedded, and PNG rendered from that same SVG at a chosen scale | an SVG rendered as an image cannot fetch anything, so the font has to be inside it |

## Before you start

Have every one of these ready. The plan assumes them from step one.

- [ ] **Node.js 22 or newer** · free
  - Why: Builds and serves the application. Nothing runs server-side once it is built.
  - Get it: nodejs.org, or your version manager.
  - Verify: node --version prints v22 or higher
- [ ] **One typeface with a licence that permits embedding** · free
  - Why: The export embeds it in the file, which is a distribution of the font, and not every licence allows that.
  - Get it: Pick an open licensed family and read its terms before embedding.
  - Verify: The licence text permits embedding and a copy sits in the repository
- [ ] **A second SVG viewer that is not your browser** · free
  - Why: Browsers are forgiving about fonts in ways other renderers are not, and the export bug in this category only shows up elsewhere.
  - Get it: A vector editor, a document previewer, anything that renders SVG independently.
  - Verify: An exported diagram opens in it with correct text
- [ ] **The grammar, written down before the parser** · free
  - Why: Every later decision about layout, overrides and export follows from what the source text is allowed to say.
  - Get it: Write the statements you want to type, then design the grammar that accepts exactly those.
  - Verify: Every statement in the documentation parses and is covered by a test

## Quick start

Follow Phase 1 in `BUILD_PLAN.md`; it creates the project.

Then copy `.env.example` to `.env` and fill in the values it documents.

## Honest limits

This build deliberately does not replace:

- Multiplayer cursors and comments.
- High-fidelity import of other tools' formats.
- A large template library.
- Freeform shapes with the canvas as the source of truth.
- multiplayer cursors and comments
- large template libraries
- high-fidelity import and export
- presentation and enterprise controls

If one of those is essential to you, that is the reason to keep paying for Gleek, and the README should say so rather than pretend.

$ choose a build depth, inspect the files, then open the complete pack in your agent

why people still pay

Gleek: The shapes are easy; customers pay for low-friction editing, reliable exports, collaboration, and a canvas that never fights them.

what you lose

xmultiplayer cursors and comments

xlarge template libraries

xhigh-fidelity import and export

xpresentation and enterprise controls

share on X ↗"I just replaced Gleek with one prompt"
the escape hatch

Don't feel like building it? These folks already made it free.

Mermaid Live EditorType Mermaid, see the diagram immediately, and export it; narrower than Gleek, but finished, free, and pleasantly uncomplicated.6.7kaug 2026open source↗PlantUML ServerA usable browser editor for architecture, sequence, process, and data-model diagrams written as text; the syntax is less forgiving than Gleek's.2.2kjun 2026open source↗

no votes, no pay-to-list · just what's real

the numbers

Gleek pricing

planmonthlyannual (per mo)what you get
free$0$05 files; 40 objects/file; PNG export only; local-browser storage; no AI
premium monthly$8.02—Unlimited diagrams and objects; premium export/collaboration features
premium per activity$12.68—Unlimited premium access only in months when the account is used
premium yearly—$5.62Unlimited diagrams and objects; premium export/collaboration features
teams$8.02/user—Minimum 2 users; team collaboration and centralized billing

free tier5 files; 40 objects/file; PNG only; local-browser storage; no AI

billingmonthly + per-active-month + annual; Teams monthly with 2-seat minimum

hidden costsThe per-activity plan charges €10.99 upfront for each month in which it is used, then freezes unused time. Teams has a 2-user minimum. Students and teachers can request a 50% discount.

verified 2026-08-12 · source ↗

questions
Vibecode Gleek

Yes. A competent AI coding agent (Claude Code, Codex, Cursor) can build a usable personal Gleek replacement in one session with the prompt on this page. It runs on your own machine or server with no subscription.

How much does Gleek cost?

Gleek's pricing is usage-based or varies by plan · The official pricing URL is recorded, but a stable current amount was not safely recoverable in this pass. Do not publish a number until rechecked..

What do I lose by replacing Gleek?

Honestly: multiplayer cursors and comments; large template libraries; high-fidelity import and export; presentation and enterprise controls. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to Gleek?

Yes: Mermaid Live Editor (Type Mermaid, see the diagram immediately, and export it; narrower than Gleek, but finished, free, and pleasantly uncomplicated.) PlantUML Server (A usable browser editor for architecture, sequence, process, and data-model diagrams written as text; the syntax is less forgiving than Gleek's.) The prompt is for when you want it exactly your way.