Skip to content

GreatPika/prompt_cut

Repository files navigation

PromptCut

PromptCut is a sophisticated web application for creating, managing, and organizing AI image generation prompts. Built with Next.js and clean architecture principles, it provides a professional tool for prompt engineering and management.

Quick Start

# Install dependencies
pnpm install

# Start development server
pnpm dev

# Build for production
pnpm build

# Run tests
pnpm test

Documentation

  • Architecture and module map: see docs/architecture/layers/ and docs/architecture/maps/module-map.md.
  • Health and entrypoints artifacts: see docs/health.md and docs/architecture/entrypoints.md.
  • Docs verification (regenerates artifacts and checks links): pnpm check:docs.

Quality Checks

  • Run all local checks (docs + lint + types + tests + layers + deps): pnpm check:all.

Key Features

  • JSONB-based prompt storage with flexible field structure
  • Drag-and-drop field reordering with smooth animations
  • Image processing and upload with browser-side optimization
  • Version history tracking with word-level diff highlighting
  • Collection-based organization for prompt management
  • Clean architecture with dependency injection
  • Performance optimizations with advanced caching and memoization

Architecture

Built with clean architecture principles featuring:

  • Domain Layer: Business logic and entities
  • Application Layer: Use cases and service interfaces
  • Infrastructure Layer: External integrations (Supabase, etc.)
  • Presentation Layer: React components and UI logic

For detailed architectural information, see docs/architecture/layers/ and docs/architecture/maps/module-map.md.

Technology Stack

  • Next.js 16.0.10 with App Router
  • React 19.2.0 with TypeScript
  • Supabase for database and authentication
  • TanStack Query for state management
  • Jotai for local state
  • Framer Motion for animations
  • @dnd-kit for drag and drop
  • Tailwind CSS v4 for styling

For the technical stack overview, see sections above and package.json dependencies.

License

This project is proprietary. No permission is granted to use, copy, modify, or distribute this code. See LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors