An AI-powered memory management web application with intelligent RAG (Retrieval-Augmented Generation) search capabilities. Built for people who need help remembering important information, MemoryVault uses advanced embedding technology to help you find memories through natural language queries.
Manage your memories directly from Telegram!
✨ Add memories, search, and view your collection via our Telegram bot. See TELEGRAM_INTEGRATION.md for setup instructions.
- Smart Memory Storage: Save text memories and file attachments (images/videos)
- RAG-Powered Search: Search your memories using natural language queries
- AI Embeddings: Automatic indexing using GitHub Models API (text-embedding-3-small)
- Intelligent Retrieval: Vector similarity search for semantic memory matching
- Knowledge Graph: Visual representation of memory connections with clustering
- Telegram Bot: Manage memories from Telegram (see TELEGRAM_INTEGRATION.md)
- User Authentication: Secure email/password authentication via Supabase
- Theme Support: Light and dark mode with system preference detection
- Storage Management: Track storage usage with 100MB total limit
- Responsive Design: Optimized for all devices and screen sizes
- Modern UI: Beautiful, minimalistic interface with smooth animations
- Framework: Next.js 16 (App Router), React 18, TypeScript
- Styling: Tailwind CSS, shadcn/ui components
- Visualization: Canvas-based Knowledge Graph with force-directed layout
- Database: Supabase (PostgreSQL with pgvector)
- Authentication: Supabase Auth
- AI/ML: GitHub Models API (text-embedding-3-small, gpt-4o-mini)
- Storage: Supabase Storage
- Telegram Bot: Python FastAPI backend (see
/backend)
- Telegram Bot: Full-featured bot for memory management
- More coming soon: Google Drive, Notion, Evernote, Apple Photos
- Node.js 18+ installed
- A Supabase account and project
- GitHub Models API access
- Create a new Supabase project at https://supabase.com
- The database migrations have already been applied via the MCP tools
- Enable the
vectorextension in your database if not already enabled - Note your project URL and anon key from Settings > API
- Get access to GitHub Models at https://github.com/marketplace/models
- Generate an API key for accessing the models
- This app uses:
text-embedding-3-largefor generating embeddingsgpt-4ofor text generation (future features)
Update the .env.local file with your credentials:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
GITHUB_MODELS_API_KEY=your_github_models_api_keynpm installnpm run devOpen http://localhost:3000 in your browser.
npm run build
npm run start- Click "Add Memory" in the navigation bar
- Choose between "Text Memory" or "File Memory"
- For text memories: Enter a title and detailed content
- For file memories: Enter a title and upload images/videos (max 10MB per file)
- Memories are automatically indexed with AI embeddings
- Use the search bar on the home page
- Enter natural language queries like:
- "Where did I keep my passport?"
- "Photos from last vacation"
- "Notes about the book I wanted to read"
- The RAG system will find semantically similar memories
- Settings: Update your profile and monitor storage usage
- Theme: Toggle between light/dark mode via the profile menu
- Integrations: Coming soon - sync with Google Drive, Notion, etc.
- Maximum file size: 10MB per file
- Total storage limit: 100MB per account
- Supported formats: Images and videos only
- User account information and storage tracking
- Text and file memories with vector embeddings
- Indexed for efficient retrieval
- File attachments linked to memories
- Supabase Storage bucket for file uploads
- User enters a search query
- Query is converted to embeddings using OpenAI's text-embedding-3-large
- Vector similarity search finds relevant memories
- Results are ranked by cosine similarity
- Top matches are displayed to the user
- Row Level Security (RLS) enabled on all tables
- Users can only access their own data
- File storage paths include user ID for isolation
- API keys are stored securely on the server side
- Third-party integrations (Google Drive, Notion, Evernote)
- Advanced memory organization with tags and categories
- Memory sharing and collaboration
- Export functionality
- Mobile applications
- Voice memo support
- OCR for text extraction from images
This project is private and proprietary.
For issues or questions, please contact the development team.