KembaliArsip / superapp-tech / kimi
superapp-tech
kimi
86 file · 503.2 KB
Sistem informasi live — kimi-eight.vercel.appBuka di tab baru
README
Kimi Assistant
AI-powered chat assistant with code support, built with Next.js 14 and Moonshot AI (Kimi API).
Features
- Modern chat interface with streaming responses
- Syntax-highlighted code blocks with copy support
- Conversation management (create, search, rename, pin, delete)
- Multiple model support (8K, 32K, 128K context)
- Usage tracking and cost estimation
- Dark/light theme
- Responsive design
Getting Started
Prerequisites
- Node.js 18+
- npm
Installation
npm install
Database Setup
npx prisma db push
npm run db:seed
Environment Variables
Copy .env.example to .env.local and set your Kimi API key:
DATABASE_URL="file:./prisma/dev.db"
KIMI_API_KEY="your-api-key"
Development
npm run dev
Open http://localhost:3000.
Tech Stack
- Framework: Next.js 14 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS + shadcn/ui
- Database: SQLite via Prisma
- State: Zustand
- AI API: Moonshot AI (Kimi)
File Utama
- .env.example
- .eslintrc.json
- .gitignore
- README.md
- components.json
- next.config.js
- package-lock.json
- package.json