MiniCursor is an AI-powered code assistant that helps developers create and manage React applications using natural language commands. It leverages OpenAI's GPT-4 model to understand user requirements and execute appropriate actions.
- 🤖 AI-powered code generation and project management
- ⚛️ React project creation with Vite and TypeScript
- 📦 Automatic dependency management
- 🔧 Built-in tools for file operations and command execution
- 🎨 Material UI integration for beautiful UIs
- 🔄 Real-time project updates and modifications
- Python 3.8 or higher
- Node.js 16 or higher
- npm 7 or higher
- OpenAI API key
- Clone the repository:
git clone https://github.com/yourusername/minicursor.git
cd minicursor- Install Python dependencies:
pip install -r requirements.txt- Create a
.envfile in the project root and add your OpenAI API key:
OPENAI_API_KEY=your_api_key_here
- Start the application:
python app.py- Interact with the AI assistant using natural language commands. For example:
> Create a React Todo app
The assistant will:
- Create a new React project with TypeScript
- Set up the project structure
- Install necessary dependencies
- Create required components
- Provide instructions for running the app
- Create React projects
- Add components and features
- Modify existing code
- Run commands
- Manage files and dependencies
minicursor/
├── app.py # Main application file
├── requirements.txt # Python dependencies
├── .env # Environment variables (not tracked by git)
├── .gitignore # Git ignore rules
└── README.md # Project documentation
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenAI for providing the GPT-4 API
- React and Vite teams for the amazing tools
- Material UI for the beautiful components