Bisa Website App

Hasilnya lebih bagus di local daripada di production
Prompt sama, code sama, hasil generate beda, anda aja bingung, apalagi saya
š Fitur Utama
- AI Chat Generation: Generate kode menggunakan berbagai model LLM (GPT-4)
- Code Sandbox: Jalankan kode secara aman di environment terisolasi menggunakan E2B
- Real-time Preview: Lihat hasil kode langsung di browser
- Rate Limiting: Kontrol penggunaan API dengan sistem rate limiting
- Authentication: Sistem autentikasi menggunakan Clerk
š ļø Tech Stack
- Framework: Next.js 14 dengan App Router
- AI/LLM: Vercel AI SDK, OpenAI
- Sandbox: E2B Code Interpreter
- Authentication: Clerk
- Styling: Tailwind CSS + shadcn/ui
- Monitoring: LangSmith
- Database: Supabase (opsional)
š Struktur Project
src/
āāā app/
ā āāā api/
ā ā āāā ai/
ā ā āāā route.ts # Main router (backward compatibility)
ā ā āāā chat/route.ts # AI chat endpoint
ā ā āāā sandbox/route.ts # Code execution endpoint
ā āāā (auth)/ # Authentication pages
ā āāā (landingpage)/ # Landing page
ā āāā main/ # Main application
āāā components/ # Reusable UI components
āāā lib/ # Utilities & configurations
āāā inngest/ # Background job functions
āāā types/ # TypeScript type definitions
š License
Distributed under the MIT License. See LICENSE for more information.
š¤ Author
Wahyu - @wahyudesu