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.
- 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
- Go 1.23.2 or higher
- Google API Key for Gemini
- 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"
- 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
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!
You can provide your Google API Key in two ways:
- Environment variable:
GOOGLE_API_KEY
- Command line flag:
-api-key
genie/
├── main.go # Main application code
├── go.mod # Go module definition
├── README.md # Project documentation
└── generated/ # Directory for generated projects
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
This tool uses AI to generate code. While it strives for best practices and security, please review generated code before using in production.