A powerful full-stack AI image processing application with React frontend, Express backend, and Electron desktop support. Transform images with unlimited AI power using advanced machine learning algorithms.
- Magic Morph - Transform anything with unlimited AI power
- Remove & Replace - Erase objects and fill with intelligent context
- Style Transfer - Transform to any artistic style (Anime, 3D, Van Gogh...)
- Background Replace - Generate or replace backgrounds with AI
- Object Recolor - Change colors of any object intelligently
- Text2Image Add - Add new objects with text descriptions
- AI Enhance - Upscale and enhance to Ultra HD quality
- VIP Magic Morph - Ultra-advanced AI for complex transformations
- Interactive Customization Panel - Fine-tune every AI service
- Before/After Comparison - Stacked and side-by-side views
- Multi-Language Support - English and Arabic
- Selection Tools - Rectangle, Circle, and Freehand selection
- Real-time Processing - Live progress tracking
- VIP Access System - Encrypted premium features
- Glass Morphism UI - Modern, stunning interface
- Electron Desktop App - Native desktop experience
- Node.js (v18 or higher)
- npm, yarn, or pnpm
- A Neon Database account (free tier available)
-
Create a Neon Database:
- Go to https://neon.tech
- Create a free account
- Create a new project
- Go to your project dashboard and click "Connect"
- Copy the PostgreSQL connection string
-
Easy Setup (Recommended):
npm run setup
Follow the interactive prompts to configure your database.
-
Manual Setup:
cp .env.example .env
Edit
.envand replace theDATABASE_URL:DATABASE_URL="postgresql://your-username:your-password@your-endpoint.neon.tech/your-database?sslmode=require"
-
Install dependencies:
npm install
-
Push database schema:
npm run db:push
-
Start the development server:
npm run dev
The application will be available at http://localhost:3000 (proxy) with the backend running on port 5000.
# Start web app and Electron together
npm run electron:dev
# Or start Electron separately
npm run electron# Build for current platform
npm run electron:dist
# Package without installer
npm run electron:pack
# Build for all platforms (requires additional setup)
npm run electron:build- Windows - NSIS installer and portable EXE
- macOS - DMG installer (x64 and ARM64)
- Linux - AppImage and DEB packages
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run check- Type checking
npm run electron:dev- Start web + Electronnpm run electron- Start Electron onlynpm run electron:build- Build desktop appnpm run electron:dist- Build without publishingnpm run electron:pack- Package for testing
npm run db:push- Push database schema to Neonnpm run setup- Interactive database setup
versaa/
β
βββ client/ # React Frontend (TailwindCSS)
β βββ src/
β β βββ components/ # All UI components
β β β βββ ui/ # Shadcn/ui design system
β β β βββ ServicesLayout.tsx # AI services with customization
β β β βββ ResultsComparison.tsx # Before/after image display
β β β βββ SimpleImageCanvas.tsx # Image upload & selection
β β β βββ ...
β β βββ hooks/ # Custom React hooks
β β βββ pages/ # Complete pages (Home.tsx)
β β βββ App.tsx # Frontend entry point
β βββ public/
β
βββ server/ # Express Backend
β βββ ai/ # AI processing modules
β βββ routes.ts # API endpoints
β βββ index.ts # Server entry point
β
βββ electron/ # Electron Desktop App
β βββ main.ts # Electron main process
β βββ preload.js # Secure IPC bridge
β
βββ shared/ # Shared code
β βββ schema.ts # Database schema & types
β
βββ assets/ # App icons and resources
βββ .env.example # Environment template
βββ package.json # Dependencies & scripts
βββ README.md # This documentation
All UI components are in client/src/components/:
- Design System:
ui/folder (Shadcn/ui based) - AI Services:
ServicesLayout.tsx- Service cards with customization - Image Processing:
SimpleImageCanvas.tsx- Upload & selection tools - Results Display:
ResultsComparison.tsx- Before/after comparison - Modals: Processing, VIP access, language switching
- Framework: TailwindCSS with custom CSS variables
- Theme: Dark theme with neon accents (cyan, purple, pink)
- Effects: Glass morphism, neon glows, floating animations
- Typography: Orbitron for headings, Inter for body text
- Responsive: Mobile-first design with fluid scaling
Each AI service includes advanced customization options:
- Creativity Level (0-100%)
- Transformation Style (Realistic, Artistic, Fantasy, Anime)
- Preserve Facial Features (Toggle)
- Fill Method (AI Generated, Context-Aware, Pattern Match)
- Edge Blending (0-100%)
- Style Strength (0-100%)
- Content Preservation (0-100%)
- Color Enhancement (Toggle)
- Subject Detection Precision (0-100%)
- Lighting Adaptation (Toggle)
- Background Blur/Depth (0-50px)
- Color Accuracy (0-100%)
- Preserve Texture (Toggle)
- Color Mode (Replace, Tint, Overlay, Multiply)
- Object Scale (10-200%)
- Perspective Matching (Toggle)
- Shadow Generation (Toggle)
- Upscale Factor (2x, 4x, 8x)
- Noise Reduction (0-100%)
- Detail Sharpening (0-100%)
- AI Power Level (80-100%)
- Multi-Step Processing (Toggle)
- Ultra Quality Mode (Toggle)
Uses Neon Database (serverless PostgreSQL) with Drizzle ORM:
users- User authenticationtransformations- AI processing historyvip_sessions- Premium access management
- Type-safe database operations
- Automatic migrations
- Connection pooling
- SSL encryption
- Encrypted access key validation
- Enhanced AI processing capabilities
- Priority queue processing
- Advanced customization options
- Exclusive transformation algorithms
Place your VIP key in vip.key file (automatically encrypted in Electron builds).
- English - Full support
- Ψ§ΩΨΉΨ±Ψ¨ΩΨ© (Arabic) - Complete translation with RTL support
- Extend
useLanguage.tshook - Add translations to the language map
- Update UI components with
t()function calls
- Ensure
DATABASE_URLis correctly formatted - Check Neon database status and connection limits
- Verify SSL mode is set to
require - Try running
npm run setupfor guided configuration
- Install dependencies:
npm install - Check ports: Backend (5000), Frontend (3000)
- Verify environment variables in
.env - Clear cache:
rm -rf node_modules/.cache
- Ensure all dependencies are installed
- Check Node.js version compatibility
- Verify build assets exist in
assets/folder - Run
npm run checkfor TypeScript errors
- Check API endpoints are accessible
- Verify image upload size limits (10MB max)
- Ensure proper image formats (JPG, PNG, WebP)
- Check network connectivity for AI services
-
Build the application:
npm run build
-
Deploy
dist/folder to your hosting platform -
Configure environment variables on the server
-
Ensure database is accessible from production
-
Build for your platform:
npm run electron:dist
-
Distribute the installer from
release/folder -
Include VIP key for premium features
-
Configure auto-updater (optional)
MIT License - Created by Sadek Elgazar
Support the creator on BuyMeACoffee β¨
KNOUX VERSA - Transform your vision into reality with unlimited AI power.