100% Local AI-Powered Knowledge Management with Multimodal Search
Second Brain v5.0 is a 100% local AI-powered personal knowledge management system with multimodal search, Google Drive integration, and photo processing capabilities. NO API KEYS REQUIRED for core functionality - runs entirely on local models (CLIP, LLaVA, Whisper).
Process Google Takeout exports with automatic HEIC conversion, CLIP embeddings, and LLaVA descriptions.
Search by text, image similarity, or semantic meaning across all your memories.
Run entirely on local models - CLIP for embeddings, LLaVA for vision, Whisper for audio.
Unified storage for vectors, metadata, and relationships with sub-100ms search.
OAuth 2.0 integration for automatic document and photo sync.
WebSocket-powered live metrics, processing status, and performance monitoring.
# Clone the repository
git clone https://github.com/raold/second-brain.git
cd second-brain
# Set up Python environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -r requirements.txt
# Copy environment template
cp .env.example .env
# Start full stack with Docker (recommended)
docker-compose up -d
# Or run development server
python scripts/run_dev.py # Port 8001, uses SQLite/mock
# For photo processing
python process_all_photos.py # Process Google Takeout archives
curl -X POST http://localhost:8000/api/v2/memories \
-H "Content-Type: application/json" \
-d '{
"content": "Important meeting notes from today",
"importance_score": 0.8,
"tags": ["work", "meeting"]
}'
curl http://localhost:8000/api/v2/memories/search?query="meeting"
curl http://localhost:8000/api/v2/statistics
Second Brain v5.0 features a comprehensive AI stack:
second-brain/
├── app/ # Main application
│ ├── core/ # Infrastructure
│ ├── models/ # Data models
│ ├── routes/ # API endpoints
│ ├── services/ # Business logic
│ └── storage/ # Database backends
├── tests/ # Test suites
├── docs/ # Documentation
├── scripts/ # Utility scripts
├── docker/ # Docker configs
└── frontend/ # Web UI (SvelteKit)
We welcome contributions! Please see our Contributing Guide for details.
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
© 2024 Second Brain Project | Made with ❤️ by the Second Brain Team |