π§ Genie - AI Project Generator
Genie is a powerful CLI tool that uses Google's Gemini AI to generate complete project scaffolding from natural language descriptions. Simply describe the project you want to build, and Genie will create all the necessary files, structure, and boilerplate code for you.
β¨ Features
- Natural Language Project Generation: Describe your project in plain English
- Smart Project Structure: Automatically determines the best framework and architecture
- Complete Scaffolding: Generates all necessary files, including configuration and documentation
- Context-Aware: Ensures consistency across generated files
- Framework Agnostic: Supports various project types and frameworks
π Getting Started
Prerequisites
- Go 1.23.2 or higher
- Google API Key for Gemini
Installation
- Clone the repository:
git clone https://github.com/prathyushnallamothu/genie.git
cd genie
- Install dependencies:
go mod download
- Set up your Google API Key:
export GOOGLE_API_KEY="your-api-key-here"
Usage
- Run Genie:
go run main.go
- When prompted, describe your project. For example:
"Create a React dashboard with authentication, dark mode, and real-time charts"
- Review the generated project specification and confirm to proceed
- Find your generated project in a new directory named after your project
π οΈ Example Projects
You can generate various types of projects, such as:
- Web applications (React, Vue, Angular)
- Backend services (Node.js, Go, Python)
- Mobile apps (React Native, Flutter)
- CLI tools
- And more!
π API Key Configuration
You can provide your Google API Key in two ways:
- Environment variable:
GOOGLE_API_KEY
- Command line flag:
-api-key
π Project Structure
genie/
βββ main.go # Main application code
βββ go.mod # Go module definition
βββ README.md # Project documentation
βββ generated/ # Directory for generated projects
π€ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
π License
This project is licensed under the MIT License - see the LICENSE file for details.
β οΈ Disclaimer
This tool uses AI to generate code. While it strives for best practices and security, please review generated code before using in production.