Maigret: One‑Click Open‑Source Tool to Reveal All Accounts Associated with a Username

Maigret is a Python‑based open‑source OSINT utility that, with a single username, scans over 3,000 sites to discover registered accounts, extracts profile data, and generates multi‑format reports without requiring any API keys.

Black & White Path
Black & White Path
Black & White Path
Maigret: One‑Click Open‑Source Tool to Reveal All Accounts Associated with a Username

What is Maigret

Maigret is an open‑source OSINT tool written in Python that enumerates the websites on which a given username is registered.

Maigret concept diagram
Maigret concept diagram

Key features

3000+ site support : scans the 500 most popular sites by default, with an option to scan all.

Zero API requirement : works out‑of‑the‑box without API keys.

Automatic information extraction : pulls email, links and other social accounts from profile pages.

Recursive search : uses discovered usernames/IDs to expand the search scope.

Tag filtering : filter by site type (social, dating, video, etc.) or country.

Tor/I2P support : routes requests through Tor to hide the real IP.

Web UI : graphical interface for visualizing relationship graphs.

AI analysis mode : generates a brief report summary using an OpenAI‑compatible API.

Multiple report formats : HTML, PDF, XMind, JSON, CSV, TXT.

Automatic database updates : pulls the latest site list from GitHub every 24 hours.

Installation

pip (recommended)

pip install maigret
maigret target_username

Telegram bot

Community‑provided Telegram bot can be used without local installation.

Cloud services

Google Cloud Shell

Replit

Google Colab

Docker

# CLI version
docker pull soxoj/maigret
docker run soxoj/maigret:latest target_username --html

# Web UI version
docker run -p 5000:5000 soxoj/maigret:web
# Open http://localhost:5000

Windows executable

Download maigret_standalone.exe from the GitHub Releases page and run it.

Basic usage

# Simple one‑line command
maigret target_username

# Generate an HTML report
maigret target_username --html

# Search multiple usernames
maigret user1 user2 user3 -a

Advanced usage

# PDF report
maigret target_username --pdf

# XMind mind map
maigret target_username --xmind

# JSON (machine‑readable)
maigret target_username --json ndjson

# CSV table
maigret target_username --csv

# Interactive graph (HTML)
maigret target_username --graph

# Search specific site categories
maigret target_username --tags photo,dating

# Restrict to US sites
maigret target_username --tags us

# Highlight pages containing keywords
maigret target_username --keywords python rust

# AI‑generated analysis (requires OPENAI_API_KEY)
maigret target_username --ai

Sample output

Starting Maigret scan for username: user123
==========================================
[*] Searching on 500 sites...

[✓] Found on Twitter: https://twitter.com/user123
[✓] Found on GitHub: https://github.com/user123
[✓] Found on Instagram: https://instagram.com/user123
[✓] Found on Reddit: https://reddit.com/user/user123
[✗] Not found on Facebook
[✓] Found on Pinterest: https://pinterest.com/user123
...
[*] Scan complete! Found 47 accounts across 500 sites.
[*] Reports saved to: ./reports/user123/

Each discovered account includes extracted profile information such as bio, email, and linked social accounts.

Report generation

All formats can be generated in a single command:

maigret user123 --html --pdf --csv --json ndjson --graph

Reports are saved under ./reports/user123/.

Advanced techniques

Recursive search

maigret user123 -a

The -a flag expands the search using newly discovered usernames and IDs.

Keyword highlighting

maigret user123 --keywords python rust golang

Tor integration

maigret user123 --tor

Custom site list

maigret user123 --site twitter github instagram

Project information

GitHub: https://github.com/soxoj/maigret

Language: Python 3.10+

License: MIT

Stars: 10k+

Supported sites: 3000+

Dependency: zero API key requirement

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Pythonopen-sourceinformation securityOSINTusername enumerationMaigret
Black & White Path
Written by

Black & White Path

We are the beacon of the cyber world, a stepping stone on the road to security.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.