✨ A customized AI Assistant with npm-based workflow, supporting Claude, DeepSeek, GPT-4 & Gemini Pro
- 🤖 Multiple AI Providers: OpenAI, Anthropic Claude, Google Gemini, DeepSeek, Baidu, ByteDance, and more
- 🎯 Smart Conversations: Context-aware chat with memory and templates
- 🎤 Voice & Audio: Real-time speech-to-text and text-to-speech
- 🎨 Image Generation: Integrated Stable Diffusion for AI art
- 🔌 Plugin System: Extensible through Model Context Protocol (MCP)
- 📱 Responsive Design: Works seamlessly on desktop and mobile
- ☁️ Cloud Sync: Sync chat history across devices
- 🔒 Privacy Focused: Your data stays with you
- ⚡ Lightning Fast: Optimized for performance and speed
- 🛠️ NPM-based: Streamlined development with npm package management
- Node.js 18+
- npm (included with Node.js)
- Clone the repository:
git clone https://github.com/salimuddin07/nextchat_ai.git
cd apexchat_ai- Install dependencies:
npm install- Set up environment variables:
cp .env.template .env.local
# Edit .env.local with your API keys- Start development server:
npm run dev- Open your browser: Navigate to http://localhost:3000
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm start |
Start production server |
npm run lint |
Run ESLint linter |
npm test |
Run test suite |
npm run export |
Export static files |
# Build the image
docker build -t apexchat-ai .
# Run the container
docker run -p 3000:3000 apexchat-aidocker-compose up -dCreate a .env.local file in the root directory:
# OpenAI
OPENAI_API_KEY=your_openai_api_key
# Anthropic Claude
ANTHROPIC_API_KEY=your_anthropic_api_key
# Google Gemini
GOOGLE_API_KEY=your_google_api_key
# Access Control (Optional)
CODE=your_access_password
# Base URL (Optional)
BASE_URL=https://api.openai.com
# Other providers...- ✅ OpenAI (GPT-3.5, GPT-4, GPT-4 Turbo)
- ✅ Anthropic (Claude 3, Claude 3.5)
- ✅ Google (Gemini Pro, Gemini Pro Vision)
- ✅ DeepSeek (DeepSeek Chat, DeepSeek Coder)
- ✅ Baidu (ERNIE Bot)
- ✅ ByteDance (Doubao)
- ✅ Moonshot (Moonshot AI)
- ✅ SiliconFlow (Open source models)
- ✅ XAI (Grok)
- Multi-turn conversations with context
- Message search and filtering
- Chat export (Markdown, PNG, PDF)
- Chat templates and masks
- Message editing and regeneration
- Speech-to-text input
- Text-to-speech output
- Real-time voice conversations
- Multiple voice options
- Stable Diffusion integration
- Custom prompts and styles
- High-quality image output
- Image-to-image generation
- Model Context Protocol (MCP) support
- Custom tools and functions
- Extensible architecture
- Community plugins
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a 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
- Follow the existing code style
- Write tests for new features
- Update documentation as needed
- Ensure all tests pass
1. "Module not found" errors
# Clear node_modules and reinstall
rm -rf node_modules package-lock.json
npm install2. Build failures
# Check Node.js version
node --version # Should be 18+3. API key issues
- Ensure your API keys are correctly set in
.env.local - Check that your API provider account has sufficient credits
- 📖 Check the Documentation
- 🐛 Report bugs in Issues
- 💬 Join discussions in Discussions
This project is licensed under the MIT License - see the LICENSE file for details.
- Original project by ChatGPTNextWeb
- All AI providers for their amazing APIs
- Open source community for contributions and feedback
- Contributors who help improve this project
- GitHub Repository
- Live Demo (Update with your deployment URL)
- Documentation
- Changelog
Made with ❤️ by Salim Uddin
⭐ Star this repo if you find it helpful! ⭐