This is a Next.js project bootstrapped with create-next-app.
Transform UI designs into production-ready React components with AI precision. Upload your design mockups and get clean, responsive code instantly.
- AI-Powered Generation: Convert designs to React components using Gemini AI
- Live Preview: Real-time code editing with instant preview
- Clean Code Output: Production-ready components with Tailwind CSS
- Responsive Design: Mobile-first, responsive components
- Copy & Export: Easy code copying and component export
- Node.js 18+
- Gemini API key
# Clone the repository
git clone https://github.com/your-username/sstocode.git
cd sstocode
# Install dependencies
npm install
# or
yarn install
# or
pnpm install
# Set up environment variables
cp .env.local.example .env.local
# Add your GEMINI_API_KEY to .env.local
# Run the development server
npm run dev
# or
yarn dev
# or
pnpm devOpen http://localhost:3000 with your browser to see the result.
- Upload Design: Upload your UI design image (PNG, JPG, WebP)
- AI Generation: Our AI analyzes and converts your design to React code
- Live Preview: View and edit the generated component in real-time
- Export Code: Copy the code or download the component
Check out our detailed roadmap to see what's coming next:
- Phase 1: Enhanced preview features, multiple AI providers, code quality improvements
- Phase 2: User accounts, collaboration features, advanced editor
- Phase 3: API integration, enterprise features, performance optimization
- Phase 4: Mobile apps, plugin system, community marketplace
We welcome contributions! Please see our Contributing Guide for details on:
- Setting up the development environment
- Code style and conventions
- Pull request process
- Issue reporting guidelines
- 🟢 Beginner: UI improvements, documentation, bug fixes
- 🟡 Intermediate: New features, AI integration, performance
- 🔴 Advanced: Architecture, security, complex features
To learn more about the technologies used:
- Next.js Documentation - learn about Next.js features and API
- Tailwind CSS - utility-first CSS framework
- Google Gemini AI - AI model for code generation
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Next.js and Tailwind CSS
- AI powered by Google Gemini
- Icons by Lucide React
For questions, issues, or discussions:
- Email: koustavganguly24@gmail.com
- Website: iamk.xyz
- Twitter: @iamk_xyz
Star ⭐ this repo if you find it helpful!