
bot-project-reator
该回购是一个旨在创建任何应用程序或网站的初稿的项目。使用MCP工具的AI并刮擦上下文,您可以在几秒钟内将自己的想法栩栩如生。
3 years
Works with Finder
1
Github Watches
0
Github Forks
1
Github Stars
AI Application Generator
This project uses AI to generate complete, functional applications based on user descriptions. It leverages the OpenRouter API to design, generate, and validate application code. The Flask interface provides an intuitive and modern way to create applications without writing code.
Prerequisites
- Python 3.8 or higher
- Pipenv
- OpenRouter API key (you can get one at OpenRouter)
Installation
-
Clone the repository:
git clone https://github.com/Pedal0/bot-project-creator cd bot-project-creator
-
Install dependencies using Pipenv:
pipenv install
-
Create a
.env
file at the project's root and add your OpenRouter API key:OPENROUTER_API_KEY=your_openrouter_api_key
If you don't have an OpenRouter API key, you can get one by signing up at OpenRouter.
Usage
-
Activate the Pipenv environment:
pipenv shell
-
Launch the Flask application:
python run.py
-
Open your browser and navigate to http://localhost:5000
-
Fill in the application description, select your options, and click "Generate Application" to begin creating your application.
Modern UI Features
The application now includes a modern, responsive UI with:
- Interactive Dashboard: Easy-to-use interface with modern design elements
- Real-time Feedback: Visual indicators show generation progress
- Animations and Effects: Smooth transitions and visual feedback
- Preview Functionality: View the generated application directly in the interface
- Responsive Design: Works seamlessly on desktop and mobile devices
MCP Tools Enhancement
This application includes Model Context Protocol (MCP) tools integration to enhance code generation:
- Web Search Tool: Searches the web for information relevant to your project
- Documentation Search Tool: Retrieves documentation for specific technologies and frameworks
- Frontend Component Tool: Finds and suggests UI components and patterns for frontend development
- Frontend Templates Tool: Locates templates and design inspirations for various application types
- Animation Resources Tool: Provides CSS animations and transitions for more engaging UI
These tools allow the AI to access external information when needed, resulting in more accurate and feature-rich code generation.
Frontend Resource Integration
The application includes a curated collection of frontend resources:
- UI Frameworks: Bootstrap, Tailwind CSS, Bulma, Material Design
- Component Libraries: Navigation bars, cards, forms, buttons, modals, and tables
- Animation Libraries: Animate.css, Hover.css, AOS (Animate On Scroll)
- Template Websites: Resources for portfolios, landing pages, dashboards, and e-commerce sites
You can select your preferred UI framework in the sidebar options, or let the AI choose the most appropriate one for your project.
Example Prompts
For best results, try to be specific in your descriptions. Here are some example prompts:
-
Static Website:
Create a static portfolio website for a photographer with a homepage, gallery, about, and contact pages. Include a responsive design with a modern look.
-
Web Application:
Build a task management application with user authentication. Users should be able to create, update, and delete tasks, set due dates, and mark tasks as completed.
-
API Service:
Create a RESTful API for a blog platform with endpoints for posts, comments, and users. Include authentication and proper error handling.
Troubleshooting
-
API Key Issues: Make sure your OpenRouter API key is correctly set in the
.env
file. -
Dependency Errors: If you encounter any dependency errors, try installing them manually:
pipenv install flask openai python-dotenv asyncio
API Configuration
The application uses AI models for code generation through OpenRouter's API, with the default model being google/gemini-2.5-pro-exp-03-25:free
.
You can configure these settings in src/config/constants.py
:
- Change model names in
DEFAULT_MODEL
variable - Adjust temperature settings for different generation tasks to control creativity vs precision
License
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License - see the LICENSE file for details.
Notes
- Ensure that the provided output directory is valid and accessible.
- The application generates complete, functional code but may require minor adjustments for complex use cases.
- The quality of the generated application depends on the clarity and detail in your description.
- More complex applications may require additional dependencies to be installed manually.
- Static website generation produces pure HTML/CSS/JS files that can be hosted on any web server.
- MCP tools enhance generation but may require internet access to function properly.
相关推荐
😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack
Reviews

user_Chs4f1lw
Bot-Project-Creator by Pedal0 is an incredibly useful tool for anyone looking to streamline their project creation process. This intuitive application simplifies and automates the setup, saving you time and reducing hassle. Whether you're a seasoned developer or just starting, this bot adapts to your needs seamlessly. Highly recommend giving it a try!

user_wY8dmvrR
The bot-project-creator by Pedal0 is an incredibly useful tool for automating project creation workflows. It's intuitive and user-friendly, making it perfect for developers looking to streamline their processes. Highly recommend for anyone in need of an efficient, time-saving solution!

user_eAL4iKiG
I've been using bot-project-creator by Pedal0 and it's simply fantastic! This tool streamlines project creation and saves me so much time. The user-friendly interface and seamless integration with my workflow make it an essential part of my toolkit. Highly recommend for any developer looking to automate project setups efficiently.

user_ZIGfR3LS
Bot-project-creator by Pedal0 is a fantastic tool for anyone looking to streamline their bot development process. The intuitive design and user-friendly interface make it incredibly easy to get started on new projects. This tool saves a significant amount of time by automating many of the initial setup tasks. Highly recommend for both beginners and experienced developers!

user_6ofdMYnc
As a dedicated MCP user, I must say that the Bot-Project-Creator by Pedal0 is truly impressive. It's a seamless tool that simplifies bot project initiation with its user-friendly interface. Highly recommended for anyone looking to expedite their bot creation process!