{"id":46022938,"url":"https://github.com/shredzwho/ig-detective","last_synced_at":"2026-03-01T03:00:58.371Z","repository":{"id":337333076,"uuid":"1153135995","full_name":"shredzwho/IG-Detective","owner":"shredzwho","description":"Created and developed by @shredzwho","archived":false,"fork":false,"pushed_at":"2026-02-24T15:37:42.000Z","size":79,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-24T18:25:07.709Z","etag":null,"topics":["bash","instagram","instagram-osint","instagram-osint-tool","osint","osint-python","osint-tool","python3"],"latest_commit_sha":null,"homepage":"https://github.com/shredzwho/IG-Detective","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shredzwho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-09T00:02:29.000Z","updated_at":"2026-02-24T16:39:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/shredzwho/IG-Detective","commit_stats":null,"previous_names":["shredzwho/ig-detective"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shredzwho/IG-Detective","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shredzwho%2FIG-Detective","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shredzwho%2FIG-Detective/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shredzwho%2FIG-Detective/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shredzwho%2FIG-Detective/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shredzwho","download_url":"https://codeload.github.com/shredzwho/IG-Detective/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shredzwho%2FIG-Detective/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29959284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T01:47:18.291Z","status":"online","status_checked_at":"2026-03-01T02:00:07.437Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","instagram","instagram-osint","instagram-osint-tool","osint","osint-python","osint-tool","python3"],"created_at":"2026-03-01T03:00:30.657Z","updated_at":"2026-03-01T03:00:58.322Z","avatar_url":"https://github.com/shredzwho.png","language":"Python","funding_links":["https://github.com/sponsors/shredzwho"],"categories":[],"sub_categories":[],"readme":"# IG-Detective 🕵️‍♂️📸\n\n**Created by [@shredzwho](https://github.com/shredzwho)** | **[💖 Sponsor this project](https://github.com/sponsors/shredzwho)**\n\n[![Python 3.13+](https://img.shields.io/badge/python-3.13+-blue.svg)](https://www.python.org/downloads/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Rich UI](https://img.shields.io/badge/UI-Rich--Aesthetics-brightgreen)](https://github.com/Textualize/rich)\n\n**IG-Detective** is a high-performance, Python-based Open Source Intelligence (OSINT) tool for Instagram. It offers a premium interactive shell to perform deep analysis on Instagram accounts, extract location history, mapping interactions, and generating automated investigative reports.\n\n\u003e [!WARNING]\n\u003e **Disclaimer**: This tool is for educational and research purposes only. Use it responsibly and in accordance with Instagram's Terms of Service. The author is not responsible for any misuse.\n\n---\n\n## ⚡ Features\n\n### 🛡️ Evasion \u0026 Stealth (Advanced)\n- **TLS Fingerprint Spoofing**: Uses a headless Playwright `chromium` browser with `playwright-stealth` to mimic a real environment, completely bypassing Cloudflare and CDN rate-limiting.\n- **Poisson Jitter**: Human-like randomized delays between requests to mimic natural user behavior.\n\n### 🔍 Core Reconnaissance\n- **User Info**: Comprehensive profile details (ID, Bio, Followers, Business status).\n- **Followers/Following**: List and export target's social network.\n- **Post Analysis**: Detailed breakdown of recent content, likes, and comments.\n\n### 📍 Advanced OSINT\n- **Interactive Geospatial Mapping**: Extracts GPS coordinates from posts and generates a Folium `interactive_map.html` with readable addresses and clickable pins.\n- **Social Network Analysis (`sna`)**: Maps interactions to identify the \"Inner Circle\"—the top 10 users most highly connected to the target.\n- **Temporal Activity Profiling (`temporal`)**: Uses DBSCAN clustering to identify the target's \"sleep gap\" and predict their primary Time Zone.\n- **Story Extraction (`stories`)**: Fetch active story URLs.\n\n### 🔬 Research-Driven Forensic Modules (Bleeding-Edge)\n- **Account Recovery Enumeration (`recovery`)**: Trigger password reset flow to reveal masked contact tips for administrative email verification.\n- **Co-Visitation Analysis (`intersect`)**: Identify physical physical meeting points by cross-referencing GPS/Time intersections between two targets.\n- **Stylometry (`stylometry`)**: Generate a digital \"Linguistic Signature\" to link multiple accounts based on bigram and emoji distribution.\n- **Engagement Audit (`audit`)**: Statistical detection of inauthentic bot activity via temporal jitter variance.\n\n### 📦 Investigation Management\n- **One-Click Export (`data`)**: Automatically download a target's followers list, following list, and timeline media (with metadata JSON), packaged into a single ZIP archive.\n- **Automated Reporting**: Every command automatically saves results to JSON and TXT reports in `data/\u003ctarget\u003e/`.\n- **Autonomous Batch Mode**: Process multiple targets sequentially from a text file.\n- **Intelligent Caching**: Lightning-fast repeated queries via TTL-based caching.\n\n---\n\n## 🚀 Installation\n\n1. **Clone the repository**\n   ```bash\n   git clone https://github.com/shredzwho/IG-Detective.git\n   cd IG-Detective\n   ```\n\n2. **Set up Virtual Environment**\n   ```bash\n   python3 -m venv venv\n   source venv/bin/activate  # On Windows: venv\\Scripts\\activate\n   ```\n\n3. **Install Dependencies**\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n### 🐳 Run with Docker (Recommended)\nYou can run IG-Detective entirely within Docker to avoid dependency issues. The container requires an interactive TTY (`-it`) and a volume mount to save your forensic reports.\n\n1. **Using Docker Compose (Easiest)**\n   ```bash\n   docker-compose run --rm detective\n   ```\n\n2. **Using standard Docker**\n   ```bash\n   docker build -t ig-detective .\n   docker run -it -v $(pwd)/data:/app/data ig-detective\n   ```\n\n---\n\n## 🛠 Usage\n\n1. **Launch the Shell**\n   ```bash\n   python3 main.py\n   # or use the provided wrapper:\n   ./run.sh\n   ```\n\n2. **Core Commands**\n   Once inside the shell, you must first set a target before running analysis modules:\n   \n   | Command | Description |\n   | :--- | :--- |\n   | `target \u003cuser\u003e` | Set the investigation target (Required first step) |\n   | `info` | View basic profile OSINT (bio, external links, metadata) |\n   | `posts` | Fetch the target's recent timeline activity \u0026 stats |\n   | `addrs` | Extract geographical targets from embedded GPS |\n   | `data` | Export target footprints (media, followers) to a ZIP File |\n   | `surveillance`| Continuously monitor and trace target metrics/bio changes live |\n   | `sna` | Perform Social Network Analysis to map the \"Inner Circle\" |\n   | `temporal`| Calculate timezone and sleep behavior via DBSCAN |\n   | `stylometry` | NLP linguistic profiling on captions (Emojis \u0026 N-grams) |\n   | `help` | Display the interactive help menu |\n   | `exit` | Exit the CLI cleanly |\n\n---\n\n## 📑 Detailed Documentation\nFor a deep dive into the system architecture, forensic methodologies, and evasion logic, see:\n👉 **[DOCUMENTATION.md](DOCUMENTATION.md)**\n\n---\n\n## 📂 Project Structure\n- `main.py`: Main entrypoint for the shell.\n- `run.sh`: Launch wrapper script.\n- `src/api/`: Network layer containing the `Playwright` stealth client and auth manager.\n- `src/core/`: Foundation layer with data models and config.\n- `src/modules/`: Business logic layer with scrapers and deep analytics tools.\n- `src/cli/`: Presentation layer with the interactive prompt and Rich formatters.\n- `data/`: Automated investigative reports (git-ignored).\n\n---\n\n## 🤝 Contributing\nFeel free to fork this project and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.\n\n## 📜 License\n[MIT]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshredzwho%2Fig-detective","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshredzwho%2Fig-detective","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshredzwho%2Fig-detective/lists"}