Vibecode Photopea Premium

track this build4 phases, 12 steps, beginner friendly
YES · one-shottable
price $5/moyou'd save $60/yrbuild time one sittingcategory 🎨 designreplaced by 0 people

Photopea Premium's solo core is compact: build a focused local browser image editor editor with import, a small set of transformations, undo, and standards-based export. A competent builder can reach a useful personal version in one sitting, while the paid product mainly wins on editor polish, assets, algorithms.

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

An image editor in the browser where every hard problem is a resource problem: a layered document larger than the tab's memory, a filter that must not block the interface, and an undo history that cannot hold twenty full-resolution copies.

Estimated effort: **multi-day**. 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 |
| --- | --- | --- |
| Compositing | Tiled rendering at the current viewport and zoom | compositing a whole large document per frame is not affordable |
| Memory | Tiles evicted under pressure and recomputed from layer data | the tab has a hard limit and exceeding it kills the document |
| Processing | Filters in workers, never on the interface thread | a blocking filter freezes the tab and looks like a crash |
| History | Operation-based undo, not full snapshots | twenty snapshots of a large document is many gigabytes |
| Format | A layered format parser with explicit unsupported-feature reporting | silently flattening a feature you do not support corrupts someone's file |

## Before you start

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

- [ ] **Node.js 22 or newer** · free
  - Why: Builds the application and runs the test suite.
  - Get it: nodejs.org, or nvm install 22.
  - Verify: node --version prints v22 or higher
- [ ] **The layered format specification and real files** · free
  - Why: Parsing is where work gets silently destroyed, and the specification is large enough that knowing what you do not support is most of doing this responsibly.
  - Get it: Read the format documentation and collect real files including adjustment layers, effects and clipping masks.
  - Verify: Six real layered files open and their unsupported features are listed
- [ ] **A document larger than a tab's memory** · free
  - Why: Tiling, eviction and the memory ceiling are only meaningful against a document that genuinely does not fit, which is where naive implementations are killed by the browser.
  - Get it: A high resolution layered document of a few hundred megapixels, or generate one.
  - Verify: Compositing it whole exceeds the memory ceiling
- [ ] **Worker and offscreen rendering support** · free
  - Why: Filters and compositing cannot run on the interface thread, and what is available differs between browsers enough to affect the design.
  - Get it: Check worker and offscreen canvas support in the browsers you intend to support before designing the pipeline.
  - Verify: A filter runs in a worker with the interface responsive
- [ ] **Your memory ceiling and what happens at it** · free
  - Why: The browser will kill the tab without warning, so the ceiling and the behaviour on approaching it are decisions rather than emergent properties.
  - Get it: Decide the ceiling, and decide whether approaching it degrades quality, refuses an operation or prompts to save.
  - Verify: A written note states the ceiling and the behaviour on approach

## 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:

- Desktop editor feature parity.
- Professional colour management.
- Raw photographic processing.
- Collaborative editing.
- pixel-perfect professional tooling
- large template and asset libraries
- color-management edge cases
- cloud collaboration and mobile apps
- high-fidelity color, format, and export handling

If one of those is essential to you, that is the reason to keep paying for Photopea Premium, 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

Photopea Premium: Creative users pay for speed, output fidelity, nondestructive editing, and years of edge-case work hidden behind direct manipulation.

what you lose

xpixel-perfect professional tooling

xlarge template and asset libraries

xcolor-management edge cases

xcloud collaboration and mobile apps

xhigh-fidelity color, format, and export handling

share on X ↗"I just replaced Photopea Premium ($5/mo) with one prompt"
the escape hatch

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

AffinityA free professional desktop suite for raster, vector, and layout work with PSD handling; no browser tab, no subscription.$0free↗Photopea FreeThe same editor, the same PSD machinery, and real exports; Premium mainly removes ads and adds convenience rather than unlocking the core.$0free↗

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

questions
Vibecode Photopea Premium

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

How much does Photopea Premium cost?

Photopea Premium costs about $5/month (Premium, checked 2026-07-31), which is $60 per year. That's what you save by replacing it with one prompt.

What do I lose by replacing Photopea Premium?

Honestly: pixel-perfect professional tooling; large template and asset libraries; color-management edge cases; cloud collaboration and mobile apps; high-fidelity color, format, and export handling. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to Photopea Premium?

Yes: Affinity (A free professional desktop suite for raster, vector, and layout work with PSD handling; no browser tab, no subscription.) Photopea Free (The same editor, the same PSD machinery, and real exports; Premium mainly removes ads and adds convenience rather than unlocking the core.) The prompt is for when you want it exactly your way.