Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

VT (VTChat) Documentation

Quick Setup for Self-Hosters

Docker Setup (Recommended - 5 minutes)

  1. Clone & Setup:

    git clone https://github.com/vinhnx/vtchat.git
    cd vtchat
    cp apps/web/.env.example apps/web/.env.local
  2. Configure Environment:

    • Generate BETTER_AUTH_SECRET: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
    • Add your AI API key (OpenAI, Anthropic, or Gemini)
    • Edit apps/web/.env.local
  3. Run with Docker:

    ./validate-setup.sh  # Optional: validate configuration
    docker-compose up --build
  4. Access: http://localhost:3000

That's it! Full VT instance with PostgreSQL, hot reload, and all features.

Manual Setup (Advanced)

See Local Development Setup for manual installation.


Overview

VT is a production-ready, privacy-focused AI chat application with security and comprehensive AI capabilities. This documentation provides complete guides for deployment, development, and feature implementation.

Quick Start

For Users

For Developers

For Deployment

Core Documentation

Production Ready

Development

Security & Privacy

Subscription & Payment

UI & Experience

Design System

Features

Testing & Quality

Testing Framework

Quality Assurance

  • Production Readiness: 95% complete with comprehensive quality checks
  • Zero TypeScript Errors: Full type safety maintained
  • Performance Optimized: 87% faster compilation, optimized bundle size

Production Status

Production Ready Features

  • Complete AI Integration: Multi-provider support with reasoning mode
  • Security Hardened: Arcjet protection with Better Auth integration
  • Payment Processing: Creem.io integration with customer portal
  • Performance Optimized: 87% faster builds, optimized database queries
  • Mobile Responsive: Complete Shadcn UI integration

Performance Metrics

Metric Before After Improvement
Bundle Size 456kB 436kB -4.4%
Compilation Speed 24s 3s -87%
Auth Performance Baseline +87% 87% faster
Database Queries Baseline +75% 70-80% faster

Key Features

Free Tier (VT_BASE)

  • Access to a suite of 9 free AI models, including 5 from the Gemini family (2.5 Flash Lite, 2.5 Flash, 2.5 Pro) and 4 from OpenRouter.
  • Advanced calculator with mathematical functions
  • Local-first privacy with IndexedDB storage
  • security protection
  • Basic chat functionality

Premium Tier (VT_PLUS - $5.99/month)

  • All free features included
  • Reasoning Mode: AI thinking process transparency
  • Dark Theme: Premium theming experience
  • Web Search: Real-time information grounding
  • Document Upload: PDF/DOC/DOCX processing up to 10MB
  • Structured Extraction: AI-powered JSON data extraction

Architecture Highlights

Modern Tech Stack

  • Frontend: Next.js 15 (App Router), React 19.0.0, TypeScript, Tailwind CSS, Shadcn UI
  • State: Zustand + React Query for optimal state management
  • Backend: Bun runtime, Neon PostgreSQL, Drizzle ORM
  • Auth: Better Auth with 87% performance improvement
  • Security: Arcjet protection (rate limiting, bot detection, WAF)
  • Deployment: Fly.io with Singapore region optimization

Privacy-First Design

  • Local Storage: All chat data in browser IndexedDB, never on servers
  • Zero Persistence: Conversations never leave user's device
  • Thread Isolation: Complete data separation between users
  • GDPR Compliant: Privacy-by-design architecture

Guides

Implementation Guides

Operational Guides

External Resources

Development Tools

Integrations

Support

For Users

  • Help Center: help-center/ - User guides and FAQ
  • Privacy Policy: Privacy-first approach documentation
  • Feature Requests: Feedback and improvement suggestions

For Developers

  • Development Guidelines: ../AGENT.md
  • Issue Tracking: GitHub issues and pull requests
  • Security Reports: Responsible disclosure process

Status: ✅ Production Ready | Version: v1.0 | Last Updated: June 30, 2025

VT (VTChat) represents a complete, production-ready AI chat application that prioritizes user privacy while delivering cutting-edge AI capabilities through an intuitive, modern interface.

Self-Hosters & DIY Users

  • Self-Hosting Guide - Complete Docker & manual setup
  • Quick Docker setup (above)
  • Manual installation guides
  • Configuration troubleshooting
  • Feature customization