A simple, elegant UI for interacting with ChatGPT Assistant API. Built with Next.js and TypeScript, this project provides a clean interface for chatting with your custom ChatGPT Assistant.
- Clean and modern UI design
- Real-time chat interface
- Loading states and animations
- Error handling
- Responsive design
- Easy setup with environment variables
- Next.js 15
- TypeScript
- Tailwind CSS
- OpenAI API
- HeroUI Components
- Lucide Icons
- Node.js 18+ or Bun
- OpenAI API Key
- ChatGPT Assistant ID
- Clone the repository:
git clone https://github.com/yourusername/chatgpt-assistant-api-ui.git
cd chatgpt-assistant-api-ui
- Install dependencies:
bun install
# or
npm install
- Create a
.env
file in the root directory:
cp .env.example .env
- Add your OpenAI API key and Assistant ID to the
.env
file:
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_ASSISTANT_ID=your_assistant_id_here
- Start the development server:
bun dev
# or
npm run dev
- Open http://localhost:3000 in your browser.
Watch the demo at the 1:54:04 / 2:08:57 of this live vibe coding session where this project was built: Watch on YouTube
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.
Aemal Sayer
- Website: AemalSayer.com
- GitHub: @aemal
- LinkedIn: Connect Now
- OpenAI for the ChatGPT Assistant API
- The Next.js team for the amazing framework
- All contributors and supporters