A modern, AI-powered chat application designed for seamless interaction with multiple LLM providers.
- Multi-Model Support: Integrate with OpenAI, Google GenAI, and other major LLM providers.
- User Authentication: Secure signup and login flow with JWT-based session management.
- Rich Chat Interface:
- Real-time streaming responses.
- Markdown rendering for code and formatted text.
- Conversation history management.
- Dark/Light mode support.
- Responsive Design: Mobile-friendly layout built with modern UI components.
- Internationalization (i18n): Ready for multi-language support.
- Framework: React 19 (via Vite)
- Routing: React Router 7
- Styling: TailwindCSS v4, Shadcn/UI (Radix UI), Base UI
- State Management: Zustand
- Icons: Lucide React
- Language: Go 1.24
- Framework: GoFrame (GF) v2
- Database: PostgreSQL (pg_vector, zhparser required)
- Authentication: JWT (golang-jwt)
- AI Integration:
openai-gogoogle.golang.org/genai
frontend/: React application source code.app/: Main application logic, components, and pages.public/: Static assets.
internal/: Go backend application logic.controller/: Request handlers (API endpoints).service/: Business logic.dao/: Data Access Objects.model/: Data models.
api/: API definitions and schemas.hack/: Build scripts and tooling.
- Go 1.24+
- Node.js & pnpm
- PostgreSQL
- Docker (optional)
-
Backend:
# Check Makefile for specific commands make run -
Frontend:
cd frontend pnpm install pnpm dev
GPL-3.0
