the vibecoded list/design/photopea-premium
Photopea Premium icon

Can I vibecode Photopea Premium?

price $5/moyou'd save $60/yrbuild time one sittingcategory designreplaced by 0 people
YES
MOATexecution polish

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.

In-List Ad$79/30 days
promote your product in the vibecoded list

The Build Prompt

copy it and go build
ready to paste · 3,967 chars
markdown
Act as an expert AI coding assistant. Your task is to vibe-code a highly polished, interactive, and responsive web application that replicates the core features of Photopea Premium, a powerful browser image editor.

### Technology Stack & Architecture
- **Frontend Framework**: Use React (Next.js or Vite) with TypeScript to ensure robust type safety and maintainability.
- **Styling**: Employ Tailwind CSS for a utility-first approach, combined with custom CSS modules for intricate micro-animations, glowing effects, and glassmorphism.
- **State Management**: Utilize Zustand or React Context for managing complex global state such as the current workspace, active layers, and tool selection.
- **Storage**: Implement IndexedDB for fast, reliable, and private local storage of user projects, media assets, and history. The application must function entirely within the browser without requiring a backend server.

### UI/UX Design & Aesthetics
- **Premium Experience**: The design must evoke a sense of professional, state-of-the-art software. Use a sleek, immersive dark mode by default (e.g., deep charcoal `#121212` backgrounds with vibrant, curated accent colors like electric blue or neon purple).
- **Typography**: Integrate modern, highly legible web fonts such as 'Inter', 'Roboto', or 'Outfit'. Establish a clear visual hierarchy.
- **Micro-interactions**: Incorporate smooth, 60fps CSS transitions, engaging hover states on interactive elements, and satisfying click feedback. Modals and floating panels should utilize soft backdrop blurs (glassmorphism) for depth.
- **Workspace Layout**: Create a standard professional workspace layout featuring:
  - **Left Sidebar**: A vertical toolbar containing all primary tools (e.g., select, draw, insert text, upload media).
  - **Center Canvas**: An infinite or fixed-size interactive workspace. Implement intuitive controls like mouse-wheel zoom and spacebar-drag panning.
  - **Right Sidebar**: A contextual properties panel that dynamically updates based on the selected object (showing dimensions, colors, opacity, layer blending modes).
  - **Top Navigation**: Global actions including Undo, Redo, Export, Save, and a responsive menu.

### Core Functionalities to Implement
1. **Photoshop-like Interface**: Replicate the dense, professional layout of traditional desktop image editors, complete with a top menu bar, left tool palette, right layer/channel panels.
2. **Advanced Layer System**: Support raster layers, text layers, shape layers, adjustment layers, layer masks, and clipping masks.
3. **Selection Tools**: Implement marquee (rectangular/elliptical), lasso, polygonal lasso, and a magic wand tool for isolating parts of an image.
4. **Painting & Retouching**: Provide a brush tool with adjustable size/hardness, a clone stamp tool, and a healing brush simulation.
5. **Format Support**: Ensure the application can export layered projects into an internal JSON format, and rasterize down to PNG/JPG. Include high-quality resampling algorithms.

### Implementation Steps
1. **Foundation**: Scaffold the project using the required stack. Define the design system, color tokens, and layout components.
2. **State & Architecture**: Define robust TypeScript interfaces for your data model (e.g., nodes, edges, layers, text objects). Set up the local IndexedDB database.
3. **Core Engine**: Implement the main interactive area. Whether it's a Canvas API implementation, SVG manipulation, or DOM-based layout, ensure it is performant and responsive to user input.
4. **Tools & UI**: Build the toolbars, property panels, and link them bidirectionally to the central state.
5. **Refinement**: Add the undo/redo stack, ensure high-quality export functionality, and rigorously polish the design. Fix any visual bugs and ensure the UI feels magical and alive.

Provide the complete, working, and production-ready codebase. Prioritize visual excellence and a seamless user experience above all else.
In-List Ad$79/30 days
promote your product in the vibecoded list

What you lose

  • Hosted infrastructure and managed operations from Photopea Premium
  • The original service's mature integrations and ecosystem
In-List Ad$79/30 days
promote your product in the vibecoded list
Share on X ->Your vote helps rank the vibecoded list.

Questions

5 answers