DevHunt is a local-first, self-hosted developer productivity workspace. Designed for absolute privacy, it combines Streaming Chat, a Knowledge Base (RAG), Quest Board (Todo Kanban), and a Learning Path generator into a single cohesive system powered by free-tier Gemini API keys and local embedding pipelines.
No subscriptions. No third-party data tracking. Everything is stored on your machine.
- ๐ ๏ธ Self-Healing Setup โ Auto-verify Python, rebuild venv, skip dependency checks on re-runs
- ๐ฅ๏ธ Hunt Terminal CLI โ Cross-platform shell commands, todo management, API testing
- ๐บ๏ธ Interactive Learning Paths โ AI-generated learning roadmaps with daily milestones
- ๐ง Long-Term Memory โ Consolidated facts & preferences from conversations to SQLite
- ๐ก Auto-Updater โ Git pull releases with announcements tab
- ๐ Key Rotation โ Multiple Gemini API keys with round-robin & rate-limit handling
- ๐ Knowledge Base (RAG) โ Index PDFs/notes, split-screen document analysis
- ๐ URL Scraper โ Web documentation ingestion with SSL fallback
- ๐ Activity Logging โ Comprehensive SQLite logs with filters (chat, terminal, todos)
- ๐ฎ Game Arcade โ Developer-themed offline games with canvas rendering
- ๐ Layout Customization โ Collapsible sidebar, tabbed editing, code formatting
- ๐จ Multi-Theme โ Industrial Slate, Minimalist Light, Devil Version, Cyberpunk Neon
- ๐ค Custom Fonts โ 8 Google Fonts with dynamic UI typography selection
- OS: Windows 10/11, macOS Big Sur+, or Ubuntu 20.04+
- Python: 3.10 or higher
- Internet: Required for Gemini API communication
- Browser: Chrome, Edge, Firefox, or Safari
- Docker: Latest version (for containerized deployment)
- Docker Compose: For multi-container orchestration
-
Clone Repository
git clone https://github.com/h-innoveda/DevHunt.git cd web-hunt -
Run Launcher
Windows:
run.bat
macOS/Linux:
chmod +x run.sh && ./run.sh -
Register API Key
- Get free key: Google AI Studio
- Navigate to Settings โ Register Key
-
Connect CLI (Optional)
hunter.bat -dt # Windows ./hunter -dt # macOS/Linux
-
Build & Run
docker build -t hitessolanki/dev-hunt:latest . docker run -d -p 1225:8080 --name dev-hunt hitessolanki/dev-hunt:latestOpen:
http://localhost:1225 -
Docker Compose (Persistent)
version: '3.8' services: dev-hunt: image: hitessolanki/dev-hunt:latest container_name: dev-hunt ports: - "1225:8080" volumes: - dev-hunt-data:/app/backend/data - dev-hunt-uploads:/app/backend/uploads environment: - PYTHONUNBUFFERED=1 restart: unless-stopped volumes: dev-hunt-data: dev-hunt-uploads:
docker-compose up -d
-
Docker Image Info
- Base:
python:3.11-slim(~70โ90 MB) - Runtime: tesseract, poppler (~50โ150 MB)
- Python packages: ~350โ600 MB
- Final size: ~534.9 MB compressed
- Multi-stage build (builder discarded)
- Base:
-
Push to Docker Hub
docker push hitessolanki/dev-hunt:latest
web-hunt/
โโโ backend/
โ โโโ app.py # Flask API (40+ endpoints)
โ โโโ config.py # Configuration & encryption
โ โโโ requirements.txt # Python dependencies
โ โโโ check_requirements.py # Fast dependency checker
โ โโโ hunter_cli.py # CLI connection client
โ โโโ core/
โ โ โโโ chat_engine.py # SSE streaming & tag extraction
โ โ โโโ rag_pipeline.py # Vector ingestion & search
โ โ โโโ key_manager.py # API key rotation
โ โ โโโ todo_manager.py # Quest board CRUD
โ โ โโโ learning_path.py # AI roadmap generation
โ โ โโโ update_manager.py # Git auto-updater
โ โ โโโ terminal_engine.py # Hunt CLI execution
โ โ โโโ memory_manager.py # Long-term memory
โ โ โโโ profile_manager.py # User settings
โ โ โโโ analytics.py # Usage & streaks
โ โ โโโ document_analyzer.py # Document processing
โ โ โโโ intent_detector.py # Intent classification
โ โ โโโ logger.py # Activity logging
โ โ โโโ model_selector.py # Model selection
โ โ โโโ db.py # SQLite management
โ โโโ data/
โ โโโ learning_path.json # Default learning paths
โโโ frontend/
โ โโโ index.html # Main UI
โ โโโ logs.html # Logs dashboard
โ โโโ docs.html # Documentation
โ โโโ app.js # SSE handlers & state
โ โโโ arcade.js # Game canvas logic
โ โโโ styles.css # Themes & styling
โ โโโ assets/ # Images & resources
โโโ docs/
โ โโโ api_analysis.md # API security analysis
โ โโโ app_endpoints.md # Endpoint documentation
โ โโโ chat_engine.md # Chat system docs
โ โโโ memory_manager.md # Memory system docs
โ โโโ terminal_engine.md # Terminal docs
โ โโโ hunt_terminal_docs.md # CLI commands reference
โ โโโ roadmap.md # Development roadmap
โโโ run.bat # Windows launcher
โโโ run.sh # Unix launcher
โโโ hunter.bat # Windows CLI connector
โโโ hunter # Unix CLI connector
โโโ notifications.json # System notifications
โโโ README.md # This file
DevHunt provides 40+ REST/SSE endpoints organized by domain:
POST /api/chatโ Synchronous chatPOST /api/streamโ Streaming chat with SSEGET /api/chat/historyโ Conversation history
POST /api/rag/ingestโ Index documentsPOST /api/rag/queryโ Search knowledge baseGET /api/rag/sourcesโ List indexed sources
POST /api/terminal/runโ Execute commandsGET /api/terminal/cwdโ Get current directoryPOST /api/terminal/navigateโ Change directory
GET /api/ide/fileโ Read filePOST /api/ide/fileโ Write filePOST /api/ide/deleteโ Delete filePOST /api/ide/renameโ Rename fileGET /api/ide/treeโ File tree
GET /api/todo/listโ Get todosPOST /api/todo/createโ Create todoPATCH /api/todo/:idโ Update todoDELETE /api/todo/:idโ Delete todo
GET /api/analytics/statsโ Usage statisticsGET /api/analytics/streaksโ Activity streaks
See docs/app_endpoints.md for complete documentation.
- Path Traversal Prevention โ Validated file access with
os.path.realpath() - Command Injection Prevention โ Shell=False subprocess execution with operator validation
- Request Size Limits โ 32MB max payload to prevent DoS
- Encrypted API Keys โ Fernet encryption for stored credentials
- Non-Root Docker User โ Container runs as appuser
- CORS Configuration โ Configurable origin restrictions
- Debug Mode Disabled โ Production-ready default settings
- API Endpoints โ Full REST/SSE endpoint reference
- Chat Engine โ Streaming & message handling
- Terminal Engine โ Command execution & navigation
- Hunt CLI โ Command-line interface reference
- Memory Manager โ Long-term memory system
- Roadmap โ Development milestones
# Windows
netstat -ano | findstr :5000
taskkill /PID <PID> /F
# macOS/Linux
lsof -i :5000
kill -9 <PID># Rebuild venv
rm -rf backend/venv
python -m venv backend/venv
source backend/venv/bin/activate # or venv\Scripts\activate on Windows
pip install -r backend/requirements.txt# View logs
docker logs dev-hunt
# Rebuild image
docker build --no-cache -t hitessolanki/dev-hunt:latest .
# Check container status
docker ps -a# Verify Python version
python --version
# If not 3.10+, download from https://www.python.org/Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License โ see LICENSE file for details.
For issues, questions, or suggestions:
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: hitesh.innoveda@gmail.com
- PostgreSQL migration (SQLite โ PostgreSQL)
- Redis caching layer
- Authentication system
- Microservices architecture
- WebSocket support
- Advanced analytics dashboard
- Team collaboration features
- Mobile companion app
See docs/roadmap.md for detailed milestones.
Made with โค๏ธ by DevHunt Team
Last updated: June 2026 | Version: 1.0.0