genie

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 11 Imported by: 0

README ΒΆ

🧞 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
  1. Clone the repository:
git clone https://github.com/prathyushnallamothu/genie.git
cd genie
  1. Install dependencies:
go mod download
  1. Set up your Google API Key:
export GOOGLE_API_KEY="your-api-key-here"
Usage
  1. Run Genie:
go run main.go
  1. When prompted, describe your project. For example:
"Create a React dashboard with authentication, dark mode, and real-time charts"
  1. Review the generated project specification and confirm to proceed
  2. 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:

  1. Environment variable: GOOGLE_API_KEY
  2. 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.

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL