soxoj/maigret

โ–ฒ 364 stars todayโ˜… 40,306โ‘‚ 3,235

๐Ÿ•ต๏ธโ€โ™‚๏ธ Collect a dossier on a person by username from 6K websites

About soxoj/maigret

soxoj/maigret is an open-source project on GitHub, mainly written in Python. ๐Ÿ•ต๏ธโ€โ™‚๏ธ Collect a dossier on a person by username from 6K websites It currently holds 40,306 stars and 3,235 forks with 57 open issues, and was last pushed on 2026-11-10 (repository created 2020-06-27).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #19 with 364 new stars today.

GitHub Repository Details

Repository soxoj/maigret ยท default branch main ยท size 30348 KB ยท watchers 183 ยท source: GitHub REST API and repository README

README

Maigret

https://github.com/soxoj/maigret/blob/HEAD/PyPI version badge for Maigret https://github.com/soxoj/maigret/blob/HEAD/Total downloads https://github.com/soxoj/maigret/blob/HEAD/Downloads/month
https://github.com/soxoj/maigret/blob/HEAD/View count for Maigret project https://github.com/soxoj/maigret/blob/HEAD/Minimum Python version required: 3.10+ https://github.com/soxoj/maigret/blob/HEAD/License badge for Maigret https://github.com/soxoj/maigret/blob/HEAD/Maigret documentation

https://github.com/soxoj/maigret/blob/HEAD/Maigret logo

https://github.com/soxoj/maigret/blob/HEAD/Ask Code Wiki about Maigret https://github.com/soxoj/maigret/blob/HEAD/Ask DeepWiki about Maigret

English ยท ็ฎ€ไฝ“ไธญๆ–‡ ยท Franรงais

๐Ÿ“– Documentation

Maigret collects a dossier on a person by username only, checking for accounts on a huge number of sites and gathering all the available information from web pages. No API keys required. AI profiling (demo).

Sponsors

https://github.com/soxoj/maigret/blob/HEAD/WebVetted OSINT

Go beyond account enumeration. WebVetted turns an email or username into a complete identity investigation with deep OSINT enrichment, breach intel, AI analysis, and an interactive identity graph.
Start an Investigation โ†’


https://github.com/soxoj/maigret/blob/HEAD/RapidProxy

RapidProxy provides high-performance residential proxies for Twitter scraping, Selenium automation, and web data extraction. 90M+ IPs โ€ข Smart rotation โ€ข Anti-block โ€ข Non-expiring traffic.
Special Offer: Try it free โ€” Plans from $0.65/GB. Use code RAPID10 for 10% off.

https://github.com/soxoj/maigret/blob/HEAD/Thordata

ThorData provides residential proxies and web data APIs for OSINT research, username lookup, and search reconnaissance. Access 100M+ residential IPs across 190+ countries to reduce failed requests, 403 errors, and location-based restrictions. Use SERP API for structured search results or Web Scraper API to collect public web data.
Special Offer: Get a free 3-day trial and 10% OFF with code SOXOJ10.

Contents

In one minute

Ensure you have Python 3.10 or higher.

pip install maigret
maigret YOUR_USERNAME

No install? Try the community Telegram bot or a Cloud Shell.

Want a web UI? See how to launch it.

See also: Quick start.

Main features

For the complete feature list, see the features documentation.

Used by

Professional OSINT and social-media analysis tools built on Maigret:

https://github.com/soxoj/maigret/blob/HEAD/Social Links API https://github.com/soxoj/maigret/blob/HEAD/Social Links Crimewall https://github.com/soxoj/maigret/blob/HEAD/UserSearch

Demo

Video

https://github.com/soxoj/maigret/blob/HEAD/asciicast

Reports

PDF report, HTML report

HTML report screenshot XMind 8 report screenshot

Full console output

Installation

Already ran the In one minute steps? You're set. Below are alternative methods.

Don't want to install anything? Use the community Telegram bot.

Windows

Download maigret_standalone.exe from Releases. You can launch it two ways:

cd %USERPROFILE%\Downloads
maigret_standalone.exe USERNAME
maigret_standalone.exe USERNAME --html       :: also save an HTML report
maigret_standalone.exe --help                :: list all options

Video guide: https://youtu.be/qIgwTZOmMmM.

Cloud Shells

Run Maigret in the browser via cloud shells or Jupyter notebooks:

https://github.com/soxoj/maigret/blob/HEAD/Open in Cloud Shell https://github.com/soxoj/maigret/blob/HEAD/Run on Replit

https://github.com/soxoj/maigret/blob/HEAD/Open In Colab https://github.com/soxoj/maigret/blob/HEAD/Open In Binder

Snap (Linux)

https://github.com/soxoj/maigret/blob/HEAD/Get it from the Snap Store

sudo snap install maigret

usage

maigret username

Available for amd64 and arm64, no Python required. The snap is strictly confined and can write inside your home directory, so run it from there. For USB drives, connect the interface once with sudo snap connect maigret:removable-media.

Local installation (pip)

# install from pypi
pip3 install maigret

usage

maigret username

From source

# or clone and install manually
git clone https://github.com/soxoj/maigret && cd maigret

build and install

pip3 install .

usage

maigret username

Docker

Two image variants are published:

# official image (CLI)
docker pull soxoj/maigret

CLI usage

docker run -v /mydir:/app/reports soxoj/maigret:latest username --html

Web UI (open http://localhost:5000)

docker run -p 5000:5000 soxoj/maigret:web

Web UI on a custom port

docker run -e PORT=8080 -p 8080:8080 soxoj/maigret:web

manual build

docker build -t maigret . # CLI image (default target) docker build --target web -t maigret-web . # Web UI image

Troubleshooting

Build errors? See the troubleshooting guide.

PDF reports (--pdf) are an optional extra โ€” install with pip install 'maigret[pdf]'. They need system-level graphics libraries on Linux/macOS; see the PDF reports section for per-OS install steps.

Usage

Examples

# make HTML, PDF, and XMind reports
maigret user --html
maigret user --pdf
maigret user --xmind # legacy XML with a manifest for XMind 2022+ readers

machine-readable exports

maigret user --json ndjson # newline-delimited JSON (also: --json simple) maigret user --csv maigret user --txt maigret user --graph # interactive D3 graph (HTML) maigret user --neo4j # Neo4j Cypher script (graph database)

search on sites marked with tags photo & dating

maigret user --tags photo,dating

search on sites marked with tag us

maigret user --tags us

highlight sites whose page also mentions specific keywords

maigret user --keywords python rust

keyword-matched sites are shown with "[++]" in bright green

search for three usernames on all available sites

maigret user1 user2 user3 -a

AI-assisted investigation summary (needs OPENAI_API_KEY)

maigret user --ai

--neo4j writes a *_neo4j.cypher script of the results graph; import it with cypher-shell -u neo4j -p < report_user_neo4j.cypher or paste it into the Neo4j Browser. Re-imports are idempotent. See the Neo4j export docs.

Run maigret --help for all options. Docs: CLI options, more examples. Running into 403s or timeouts? See TROUBLESHOOTING.md.

Web interface

Maigret has a built-in web UI with a results graph and downloadable reports.

Don't want to run it yourself? Deploy the published soxoj/maigret:web Docker image as a hosted app in one click:

https://github.com/soxoj/maigret/blob/HEAD/Deploy to Render

Runs on Render's free tier (spins down after 15 min idle, spins back up on the next request). No login is set up on the instance, so anyone with the URL can use it.

Web Interface Screenshots Web interface: how to start Web interface: results

maigret --web 5000

Open http://127.0.0.1:5000, enter a username, and view results.

Python library

Maigret can be embedded in your own Python projects. The CLI is a thin wrapper around an async function you can call directly โ€” build custom pipelines, feed results into your own tooling, or run it inside a larger OSINT workflow.

See the full library usage guide for a working example, async patterns, and how to filter sites by tag.

Useful CLI flags

AI analysis

asciicast

--ai collects the search results, builds an internal Markdown report, and sends it to an OpenAI-compatible chat completion endpoint to produce a short, neutral investigation summary (likely real name, location, occupation, interests, languages, confidence, follow-up leads). Per-site progress is suppressed and the model's output is streamed to stdout.

export OPENAI_API_KEY=sk-...
maigret user --ai

pick a different model

maigret user --ai --ai-model gpt-4o-mini

The key can also be set as openai_api_key in settings.json. The endpoint defaults to https://api.openai.com/v1, but openai_api_base_url in settings.json can point to any OpenAI-compatible API (Azure OpenAI, OpenRouter, a local server, โ€ฆ). See the settings docs for the full list of options.

Tor / I2P / proxies

Maigret can route checks through a proxy, Tor, or I2P โ€” useful for .onion / .i2p sites and for bypassing WAFs that block datacenter IPs.

# any HTTP/SOCKS proxy
maigret user --proxy socks5://127.0.0.1:1080

Tor (default gateway socks5://127.0.0.1:9050)

maigret user --tor-proxy socks5://127.0.0.1:9050

I2P (default gateway http://127.0.0.1:4444)

maigret user --i2p-proxy http://127.0.0.1:4444

Start your Tor / I2P daemon before running the command โ€” Maigret does not manage these gateways.

Cloudflare bypass

Experimental. The Cloudflare webgate is under active development; the configuration schema, CLI behaviour, and the set of routed sites may change without backwards-compatibility guarantees.

A subset of sites in the database require a real browser to solve a JavaScript challenge. Maigret can offload these checks to a local FlareSolverr instance:

docker run -d -p 8191:8191 --name flaresolverr ghcr.io/flaresolverr/flaresolverr:latest
maigret --cloudflare-bypass 

The bypass is opt-in (--cloudflare-bypass or cloudflare_bypass.enabled in settings.json) and only fires for sites whose protection field matches. See the feature docs for backend options and configuration.

Contributing

Add or fix new sites surgically in data.json (no json.load/json.dump), then run ./utils/update_site_data.py to regenerate sites.md and the database metadata, and open a pull request. For more details, see the CONTRIBUTING guide and development docs. Release history: CHANGELOG.md.

Commercial Use

The open-source Maigret is MIT-licensed and free for commercial use without restriction โ€” but site checks break over time and need active maintenance.

For serious commercial use โ€” with a daily-updated site database or a username-check API โ€” reach out: ๐Ÿ“ง [email protected]

About

Disclaimer

For educational and lawful purposes only. You are responsible for complying with all applicable laws (GDPR, CCPA, etc.) in your jurisdiction. The authors bear no responsibility for misuse.

Feedback

Open an issue ยท GitHub Discussions ยท Telegram

SOWEL classification

OSINT techniques used:

License

MIT ยฉ Maigret

GitHub Stars & Activity

40,306Stars
3,235Forks
57Open issues
PythonLanguage

GitHub Popularity

GitHub stars40,306
Forks3,235
Open issues57
Primary languagePython
LicenseMIT
Stars gained today364
Created2020-06-27
Last pushed2026-11-10

Trending History

Daily boardrank #19 ยท โ–ฒ 364 stars

Related GitHub Projects

1

anthropics / skills

Pythonโ˜… 192,782โ‘‚ 22,682โ–ฒ 1,679 stars
โ†’
2

krahets / hello-algo

Pythonโ˜… 132,196โ‘‚ 15,616โ–ฒ 72 stars
โ†’
3

browser-use / browser-use

Pythonโ˜… 120,669โ‘‚ 13,486โ–ฒ 171 stars
โ†’
4

sherlock-project / sherlock

Pythonโ˜… 109,715โ‘‚ 12,712โ–ฒ 2,393 stars
โ†’
5

ZhuLinsen / daily_stock_analysis

Pythonโ˜… 69,685โ‘‚ 56,740โ–ฒ 960 stars
โ†’
6

Alishahryar1 / free-claude-code

Pythonโ˜… 68,424โ‘‚ 10,650โ–ฒ 652 stars
โ†’
7

anthropics / claude-quickstarts

Pythonโ˜… 20,708โ‘‚ 3,481โ–ฒ 531 stars
โ†’
8

experientiallabs / experiential

Pythonโ˜… 16,432โ‘‚ 300โ–ฒ 675 stars
โ†’

More Trending Repositories