This project is a client-side SvelteKit application that transforms natural language prompts into functional Svelte components. It supports conversational refinement and undo/redo functionality. The app uses the OpenAI API directly from the browser, with no backend.
sk-
)# Clone the repository
git clone https://github.com/andreascharalambides/lovable.git
cd lovable
# Install dependencies
npm install
# Start the development server
npm run dev
Then open your browser at:
http://localhost:5173
The app uses the OpenAI API to generate Svelte components from natural language prompts.
You will be prompted to enter your API key (starting with sk-
) when using the tool.
localStorage
)The application is deployed publicly for review.
You can access it here: Live Demo
If you want to deploy it yourself:
# Build for production
npm run build
# Deploy to Surge (you must have Surge installed globally)
npx surge dist
Alternatively, the app can be deployed using platforms like Vercel, Netlify, or GitHub Pages.
.svelte
files are generated. Multi-file export is not supported.Watch the demo here: Loom Video