A modern AI personal assistant powered by DeepSeek V3 with advanced memory management and knowledge base features.
- Intelligent Conversations - Stream responses powered by DeepSeek V3
- Long-term Memory - Semantic search with MemMachine integration
- Knowledge Base - Upload and index documents (PDF, images) with OCR
- Multi-user Support - JWT authentication with data isolation
- Web Search - Integrated Tavily API for real-time information
- Modern UI - Beautiful, responsive interface built with Next.js 14
- Node.js 20+
- Docker (optional, for MemMachine)
- Clone the repository
git clone https://github.com/BH1IXO/Dotdot.git
cd Dotdot- Install dependencies
npm install- Set up environment variables
cp .env.example .envEdit .env and add your API keys:
OPENAI_API_KEY=your-deepseek-api-key
OPENAI_API_BASE=https://api.deepseek.com/v1
JWT_SECRET=your-jwt-secret- Initialize database
npx prisma db push- Start development server
npm run devVisit http://localhost:3000
- Push to GitHub
- Import to Vercel
- Configure environment variables
- Deploy
docker-compose up -d- Framework: Next.js 14 (App Router)
- Language: TypeScript
- AI Model: DeepSeek V3
- Memory System: MemMachine
- Database: SQLite (default) / PostgreSQL
- Authentication: JWT + bcrypt
- Styling: Tailwind CSS
Frontend (Next.js)
↓
API Routes
↓
┌────────────────┬──────────────────┐
DeepSeek V3 MemMachine SQLite/PostgreSQL
(Conversations) (Semantic Memory) (User Data)
| Variable | Description | Required |
|---|---|---|
OPENAI_API_KEY |
DeepSeek API key | Yes |
OPENAI_API_BASE |
DeepSeek API base URL | Yes |
JWT_SECRET |
Secret for JWT tokens | Yes |
MEMMACHINE_URL |
MemMachine server URL | No |
TAVILY_API_KEY |
Tavily search API key | No |
DATABASE_URL |
Database connection URL | No |
npm run dev # Start development server
npm run build # Build for production
npm run start # Start production server
npm run db:push # Sync database schema
npm run db:studio # Open Prisma StudioDotdot/
├── app/ # Next.js App Router
│ ├── api/ # API endpoints
│ ├── components/ # React components
│ └── contexts/ # React contexts
├── lib/ # Utilities
├── prisma/ # Database schema
├── public/ # Static files
└── docs/ # Documentation
- Phase 1: Basic chat system
- Phase 2: MemMachine integration
- Phase 3: File upload & knowledge base
- Phase 4: Multi-user support
- Phase 5: Advanced features (Voice, Mobile, API)
MIT License
BH1IXO
Version: 4.0.0 (Multi-user Complete) Last Updated: 2025-01-08