An open API service indexing awesome lists of open source software.

https://github.com/walterromero9/ai-create-app

🚀 ai-create-app – The CLI for AI-powered backends in seconds
https://github.com/walterromero9/ai-create-app

ai chatbot chatbot-generator express langchain nestjs nextjs openai react vite

Last synced: 5 months ago
JSON representation

🚀 ai-create-app – The CLI for AI-powered backends in seconds

Awesome Lists containing this project

README

          

# AI Create App

A CLI tool to easily generate AI-powered applications. Create a complete AI project with frontend and backend in seconds.

![AI Create App Logo](https://via.placeholder.com/800x400?text=AI+Create+App)

## Features

- 🚀 **Quick Start**: Create a complete AI project in seconds
- 🧠 **AI Integration**: Built-in OpenAI integration with LangChain
- 🔄 **Flexible Stack**: Choose between different backend and frontend options
- 💬 **Chat Component**: Ready-to-use chat interface for your AI application
- 🌐 **Modern Tech**: Uses the latest web technologies and frameworks

## Installation

You can use npx to run ai-create-app without installing it:

```bash
npx ai-create-app my-ai-project
```

Or install it globally:

```bash
npm install -g ai-create-app
ai-create-app my-ai-project
```

## Usage

```bash
npx ai-create-app
```

Or if installed globally:

```bash
ai-create-app
```

Follow the interactive prompts to configure your project:

1. Choose a backend: Express or NestJS
2. Choose a frontend: Next.js, Vite, or None

After creation, follow the instructions to start your project:

```bash
cd
npm install
npm run install:all
npm run dev
```

## Available Templates

### Backend Options

- **Express**: Lightweight backend with TypeScript, OpenAI, and LangChain
- **NestJS**: Modular and scalable backend with TypeScript, OpenAI, and LangChain

### Frontend Options

- **Next.js**: React framework with server-side rendering
- **Vite**: Blazing fast React development environment
- **None**: Backend-only project

## Project Structure

The generated project follows this structure:

```
my-ai-project/
├── backend/ # Express or NestJS backend
├── frontend/ # Next.js or Vite frontend (if selected)
├── package.json # Project scripts
└── README.md # Project documentation
```

## Features of Generated Projects

- **AI Chat Interface**: Ready-to-use chat component to interact with AI
- **OpenAI Integration**: Pre-configured OpenAI API connection
- **Streaming Responses**: Support for streaming AI responses
- **Modern UI**: Clean, responsive design with TailwindCSS
- **TypeScript**: Full TypeScript support for type safety
- **Development Ready**: Hot reloading for both frontend and backend

## Configuration

Each generated project includes necessary configuration files:

- `.env.example` files with required environment variables
- Configuration for connecting frontend to backend
- CORS setup for seamless communication

## 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.

## Acknowledgments

- OpenAI for their powerful API
- LangChain for simplifying AI integrations
- The amazing open-source community

---

Made with ❤️ for AI developers