Gridly is an AI-powered, full-stack application builder that turns natural language prompts into deployable code. It provides a multi-modal interface where you can generate, test, and integrate a complete frontend and backend, all from one dashboard.
At its core, Gridly uses a suite of Google Generative AI models (Gemini 2.5 Flash, Gemini 2.5 Pro, and Imagen 3) to act as your co-pilot.
🎥 Watch the demo video on YouTube:
- AI-Powered Component Generation: Describe a UI element and Gridly generates a responsive React component with Tailwind CSS.
- On-the-Fly Image Generation: Ask for a visual asset and Gridly uses Imagen 3 to generate and embed it directly into your components.
- AI-Powered Backend Generation: Describe API logic and Gridly generates the Node.js/Express.js code for it.
- In-Browser Virtual Server: Test your generated backend endpoints instantly using a built-in API tester, powered by a virtual Express server running in your browser.
- Automatic Full-Stack Integration: The "Merged" view uses Gemini 2.5 Pro to analyze your frontend and backend, then automatically rewrites your React components to fetch data from your new API.
- Full Project Export: Download a clean, runnable, full-stack project (Vite + Express) with all AI-generated test harnesses replaced by standard
fetchcalls. - Visual Grid Layout: Drag, drop, and resize your components on a responsive 24-column grid.
- Persistent State: Components, API endpoints, and virtual database state are saved locally so you can pick up where you left off.
Gridly operates in three distinct modes:
Your visual canvas. Use the chat bar to describe UI components, and Gemini 2.5 Flash generates the React/Tailwind code. You can draw boxes on the grid to place components, edit their code live, and even generate images using Imagen 3 which are saved locally.
Your server logic center. Describe API endpoints (e.g., POST /api/login) to generate Express.js routes. You can also "Auto-Generate" endpoints based on your frontend components. All routes run in a local Virtual Server with a persistent in-memory database.
The integration hub. Gemini 2.5 Pro analyzes your entire grid and API list, then intelligently rewrites your frontend components to use the live backend endpoints, providing a fully functional preview of your merged application.
- Frontend: React 19 (Vite), Tailwind CSS
- Layout:
react-grid-layout - AI: Google Gemini 2.5 Flash & Pro, Imagen 3
- Backend Simulation: Custom in-browser Virtual Express Server
- Storage:
localStorage&IndexedDB
- Node.js (v18+)
- A Google AI API Key (with access to Gemini and Imagen)
-
Clone the repository:
git clone https://github.com/cnowdev/gridly.git cd gridly -
Install dependencies:
npm install
-
Set up environment variables: Create a
.envfile in the root and add your API key:VITE_API_KEY=YOUR_GOOGLE_AI_API_KEY_HERE -
Run the application:
npm run dev
