AI-Powered Chat Application with Persistent Memory & Secure Email Verification
HippoSync is a modern AI chat application featuring cross-session memory persistence through MemMachine V2, multi-provider AI support (OpenAI, Claude, Gemini), secure email verification, and team collaboration capabilities.
- π§ Persistent Memory - AI remembers you across all conversations
- π Cross-Model Memory - Switch between GPT-4, Claude, Gemini - memory stays intact
- π₯ Team Projects - Collaborate with shared AI context
- π Secure Authentication - Email verification with password strength validation
- π€ Multi-Provider Support - OpenAI, Anthropic, Google Gemini
- π Web Search Integration - Tavily-powered real-time information
- π¨ Beautiful UI - Dark purple gradient theme with glass morphism
Before installing HippoSync, ensure you have:
- Python 3.11 or higher
- Node.js 18 or higher and npm
- Git
- Gmail account (for email verification during development)
git clone https://github.com/Viranshu-30/hipposync.git
cd hipposynccd backend
# Windows
python -m venv venv
venv\Scripts\activate
# Mac/Linux
python3 -m venv venv
source venv/bin/activatepip install -r requirements.txtCreate a .env file in the backend folder:
# Copy example env file
cp .env.example .envEdit backend/.env with your configuration:
# Database
DATABASE_URL=sqlite:///./app.db
# Security (REQUIRED - Generate with: openssl rand -hex 32)
SECRET_KEY=your-secret-key-here-minimum-32-characters
ACCESS_TOKEN_EXPIRE_MINUTES=10080
# AI Provider API Key
OPENAI_API_KEY=sk-your-openai-key
# Web Search (Optional)
TAVILY_API_KEY=tvly-your-tavily-key
# Email Configuration (REQUIRED for verification)
EMAIL_PROVIDER=smtp
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USERNAME=your-email@gmail.com
SMTP_PASSWORD=your-gmail-app-password
SMTP_USE_TLS=true
FROM_EMAIL=noreply@hipposync.com
FROM_NAME=HippoSync
APP_URL=http://localhost:5173
APP_NAME=HippoSync
# MemMachine Configuration
MEMMACHINE_BASE_URL=http://localhost:8000
# CORS
CORS_ORIGINS=http://localhost:5173,http://localhost:3000- Go to Google Account Security
- Enable 2-Step Verification
- Go to App Passwords
- Generate password for "Mail"
- Copy the 16-character password to
SMTP_PASSWORDin.env
# Start MemMachine server (in a separate terminal)
memmachine-serverMemMachine will start on http://localhost:8000
# Make sure you're in backend folder with venv activated
python -m uvicorn app.main:app --reload --port 8000Backend will start on http://localhost:8000
You should see:
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8000
Open a new terminal window.
cd frontendnpm installCreate .env file in frontend folder:
# frontend/.env
VITE_API_URL=http://localhost:8000npm run devFrontend will start on http://localhost:5173
You should see:
VITE v5.x.x ready in xxx ms
β Local: http://localhost:5173/
β Network: use --host to expose
-
Open Browser: Navigate to
http://localhost:5173 -
Create Account:
- Click "Create Account"
- Enter your email, password, and optional details
- Click "Create Account"
-
Verify Email:
- Check your email inbox (and spam folder)
- Click the verification link
- You'll be redirected to login after verification
-
Login:
- Enter your verified email and password
- Click "Sign In"
-
Configure API Keys:
- Click the settings icon (βοΈ)
- Go to "API Keys" tab
- Enter at least one AI provider API key
- Click "Save"
-
Start Chatting:
- Type your message in the input box
- Press Enter or click Send
- The AI will remember your conversation!
# Make sure virtual environment is activated
source venv/bin/activate # Mac/Linux
venv\Scripts\activate # Windows
# Reinstall requirements
pip install -r requirements.txt# Kill process on port 8000
# Windows: netstat -ano | findstr :8000
# Mac/Linux: lsof -ti:8000 | xargs kill -9
# Or use different port
python -m uvicorn app.main:app --reload --port 8000# Make sure MemMachine is running
memmachine serve
# Check if running on port 8001
# Update MEMMACHINE_BASE_URL in .env if using different port# Check backend is running on port 8000
# Verify VITE_API_URL in frontend/.env
# Check CORS_ORIGINS in backend/.env includes http://localhost:5173# Clear npm cache
npm cache clean --force
# Delete node_modules and package-lock.json
rm -rf node_modules package-lock.json
# Reinstall
npm install- β Bcrypt password hashing - Passwords never stored in plain text
- β Email verification - Blocks fake accounts
- β JWT tokens - Secure session management
- β API key encryption - Fernet encryption for stored keys
- β Password validation - Enforces strong passwords
- β Disposable email blocking - Prevents temporary emails
- β Token expiration - Verification links expire in 24 hours
Made with π and π§
Remember everything. Forget nothing. Sync with your AI.
β Star us on GitHub if you find this useful!