Generate small apps with a single prompt. Powered by the Gemini API.
This project is based on llamacoder. Please give a star to Nutlope for their contribution.
- Gemini API: Powered by Gemini 1.5 Pro, Gemini 1.5 Flash, and Gemini 2.0 Flash Experimental models from Google AI. Gemini API Documentation
- Sandpack: For an interactive code sandbox environment. Sandpack
- Next.js: App routing with React and server-side rendering.
- Tailwind CSS: Utility-first CSS framework for styling.
You can also experiment with Gemini in Google AI Studio.
-
Clone the repository:
git clone https://github.com/canstralian/geminiCoder
-
Set up your Google AI API Key:
- Create a
.env
file in the root of the project. - Add your Google AI Studio API key like this:
GOOGLE_AI_API_KEY=your_api_key
- Create a
-
Install dependencies and run the app locally:
npm install npm run dev
-
Open your browser and navigate to http://localhost:3000.
This is a personal project inspired by llamacoder. If you’d like to contribute or report issues, please feel free to open a pull request or an issue on the GitHub repository.
If you like the project, consider supporting me with a cup of coffee ☕: