Prerequisites
Before installing OSINT Hub, ensure you have the required system dependencies installed. See Requirements for detailed information.Make sure you have Python 3.12+, ExifTool, and Redis installed before proceeding.
Installation Steps
Follow these steps to install OSINT Hub on your local machine:Create and activate virtual environment
Create a Python virtual environment to isolate dependencies:
Install dependencies
Install all required Python packages from requirements.txt:This will install Django 5.2, Celery 5.6, and all OSINT tools including:
- Holehe 1.61 - Email search across platforms
- Sherlock 0.16 - Username search across 300+ sites
- PyExifTool 0.5.6 - EXIF metadata extraction
- phonenumbers 9.0 - Phone number analysis
Configure environment variables
Copy the example environment file and edit it with your configuration:Edit the
.env file with your preferred text editor. See Configuration for detailed information about each variable.At minimum, you must set a unique
SECRET_KEY for security purposes.Run database migrations
Apply Django database migrations to set up the database schema:This creates the SQLite database (default) with all necessary tables.
Collect static files
Collect all static files (CSS, JavaScript, images) into the staticfiles directory:Type
yes when prompted to confirm.Verify Installation
Once the server is running, open your browser and navigate to:- Home page: http://localhost:8000
- Email Search: http://localhost:8000/email/
- EXIF Tool: http://localhost:8000/exiftool/
- Hash Tool: http://localhost:8000/hash/
- IP Lookup: http://localhost:8000/ip/
- Username Search: http://localhost:8000/user/
- Phone Search: http://localhost:8000/phone/
Optional: Start Celery Worker
For asynchronous task processing (required for Phone Search), start a Celery worker in a separate terminal:Celery requires Redis to be running. Make sure Redis is installed and started before running the Celery worker.
Next Steps
Configuration
Learn how to configure environment variables and Django settings
Production Deployment
Deploy OSINT Hub to production with Gunicorn or PythonAnywhere
