instagram_monitor
Powerful, real-time OSINT suite for tracking every activity on Instagram - from story updates and bio changes to follower shifts, providing stunning dashboards and instant alerts to keep you in the loop.
🚀 Quick Install & Run
Python from PyPI
New to Python or unsure what is installed? Follow the Python install walkthrough first.
pip install instagram_monitor
Run setup wizard:
instagram_monitor --setup
The wizard asks for the targets, the Instagram login, the interface and optional notifications. Review the settings before saving them. See Setup & First Run for the Instagram login options and the first monitoring run.
Docker image - fastest container setup
macOS or Windows
Use a macOS shell or Windows PowerShell with a Docker-compatible runtime that provides the docker CLI.
docker run --rm --pull=always -it --init -v "${PWD}:/data:z" -v instagram_monitor_session:/home/instagram/.config/instaloader misiektoja/instagram-monitor:latest --setup
In Windows Command Prompt replace ${PWD} with %cd% above.
Linux
Run the container with your numeric user and group IDs (--user "$(id -u):$(id -g)" below). This lets the container write files that your host account can edit.
docker run --rm --pull=always -it --init --user "$(id -u):$(id -g)" -v "$PWD:/data:z" -v instagram_monitor_session:/home/instagram/.config/instaloader misiektoja/instagram-monitor:latest --setup
Docker Compose - shorter recurring commands
Download the Compose file:
curl -fsSLO https://raw.githubusercontent.com/misiektoja/instagram_monitor/refs/heads/main/docker-compose.yml
Linux container engine requires to export your numeric user ID and group ID so files created in the current directory belong to you instead of root.
export INSTAGRAM_MONITOR_UID="$(id -u)"
export INSTAGRAM_MONITOR_GID="$(id -g)"
Docker-compatible runtimes on macOS and Windows normally do not need these values.
Run setup wizard:
docker compose run --rm --pull=always instagram_monitor --setup
For the manual single-file method, optional extras and upgrade commands, see Installation.
Features
🔍 Real-time Tracking
- Profile Activity: Monitor new posts, reels and stories in real-time.
- Private Posts: Detects collab posts leaking from private accounts via public collaborators.
- Audience Insights: Track changes in followings and followers.
- Visual Changes: Detect updates to profile pictures and visibility (public/private).
- Bio Updates: Stay informed about changes to user bio.
📥 Media Download
- Anonymous Stories: Download story images and videos without leaving traces.
- High-Quality Media: Save post images, reel videos and profile pictures.
- Batch Support: Monitor and download media for multiple users simultaneously.
📱 Interactive Dashboards
- Guided Setup: Interactive wizard writes a ready-to-run config for PyPI, script and Docker workflows.
- Terminal Dashboard: Beautiful, live-updating CLI interface with real-time stats.
- Web Dashboard: Modern, local web UI with activity feeds and remote controls.
- Image Support: View profile pictures and media directly in your terminal (via
imgcat).
🔔 Smart Notifications
- Multi-Channel: Instant alerts via Email, Discord webhooks and native ntfy notifications.
- Rich Alerts: Attached media (profile pics, stories, posts) in Discord notifications.
- Error Reporting: Be notified when monitoring starts failing, and again when it recovers.
🛡️ Privacy & Detection Avoidance
- Be Human Mode: Simulates random user actions to blend in.
- Jitter Mode: Adds human-like delays to HTTP requests.
- Hour-Range Checking: Limits activity to specific hours of the day.
- Identity Budget: Caps how many follower and following names are fetched per day.
- Circuit Breaker: Stops every target after Instagram challenges your account until a restart or a fresh session clears it.
- Account Flexibility: Works with or without a logged-in Instagram account.
- Browser Session Import: Reuse Firefox, Chrome, Brave or Chromium sessions with profile selection.
- Browser TLS Impersonation: Routes traffic through curl_cffi to mimic a real browser's TLS fingerprint and dodge fingerprint-based blocks.
- Proxy Support: Route Instagram and webhook traffic through your own proxy.
- Privacy Substitutions: Mask or rename identities across all output, logs and notifications.
- Block Awareness: Detects shadowbans and flagged sessions to avoid false alerts.
⚙️ Power Features
- CSV Logging: Log all activities and profile changes with timestamps.
- Flexible Config: Support for files, dotenv and environment variables.
- Follower Churn: Detailed tracking of exactly who followed or unfollowed.
- Follow Analysis: Inspect mutual, not-following-back and fan relationships offline from saved lists with
--analyze-followsor the Web Dashboard. - Selectable Follower List Source: Reads follower and following lists from the web REST endpoints Instagram's own app calls, falling back to the older GraphQL queries, with an experimental browser source for when both are broken.
- Batched Fetching: Throttle follower/following downloads into delayed batches.
- Remote Control: Manage tracking features via signals or the web UI.
- Docker Ready: Run via Docker Hub, Docker Compose or local image build with persisted config, dotenv and sessions.
Common Commands
Use Quick Install & Run above for first-time setup. The table uses PyPI commands. For manual script, direct Docker and Docker Compose equivalents, see Run Individual Commands.
Replace the target placeholders with an Instagram username.
| I want to... | Run this |
|---|---|
| Configure the target, credentials and alerts | instagram_monitor --setup |
| Start monitoring a public target without a login | instagram_monitor <target_insta_user> |
| Start monitoring with an existing logged in session (stories, reels and follower details) | Import a browser session then run instagram_monitor -u <your_insta_user> <target_insta_user> |
| Check the selected login, connectivity and targets | instagram_monitor --doctor |
| Monitor several accounts without login | instagram_monitor target_1 target_2 or instagram_monitor --targets target_1,target_2 |
| Start a browser control panel without targets | instagram_monitor --web-dashboard |
| Import an Instagram login from Firefox | Sign in at instagram.com in Firefox then run instagram_monitor --import-browser-session --browser firefox |
| Configure and test webhook alerts | Use the setup wizard or follow Webhook Notifications |
| Save an SMTP password for email alerts | instagram_monitor --set-smtp-password |
| Send a test email | instagram_monitor --send-test-email |
| Save a new webhook URL | instagram_monitor --set-webhook-url |
| Send a test webhook | instagram_monitor --send-test-webhook |
| Write every change to a CSV file | instagram_monitor <target_insta_user> -b changes.csv |
| List every supported command-line flag | instagram_monitor --help |
Running the tool with no arguments offers the wizard if you have not saved any targets or enabled the Web Dashboard. If targets are already saved, it starts monitoring them.
The tool runs until interrupted (Ctrl+C). Use tmux or screen for persistence. One run can monitor several accounts through TARGET_USERNAMES or --targets, so a second copy is not needed.
For browser choices, saved targets, configuration backups and setup recovery, see the full Setup & First Run guide.
For container operation, browser profiles, email and webhook setup, see Configuration. For notification choices, proxy settings and output files, see Usage.
If a run fails, start with Doctor Preflight.
Documentation
Full documentation is available at misiektoja.github.io/instagram_monitor:
| Page | What it covers |
|---|---|
| Installation | Python walkthrough, PyPI, manual script and Docker installation, upgrades |
| Setup & First Run | Setup wizard, login choices, the first monitoring run |
| Configuration | Settings precedence, saved targets, session login, SMTP, storing secrets, check intervals |
| View Modes | Text output, terminal dashboard and web dashboard |
| Usage | Command formats, monitoring, container operation, notifications, proxy, terminal output |
| Anti-detection | Avoiding challenges and account suspension |
| Troubleshooting | --doctor preflight checks, what to do when something fails, --verbose and --debug output |
| Testing | Running the offline suite, the linter and the docs build |
| About | Change log, contributing, security, license, support |
Change Log
See RELEASE_NOTES.md for details.
Contributing
Bug reports, documentation fixes and code contributions are welcome. See CONTRIBUTING.md for the development setup, the checks CI enforces and what a change needs before it is merged. Participation is covered by the Code of Conduct.
Security
Report a suspected vulnerability privately through GitHub security advisories, never as a public issue. SECURITY.md covers the reporting process, the supported versions and the security posture of the Web Dashboard, stored secrets and monitored account data.
Maintainers
- 👤 misiektoja (@misiektoja)
- 👤 tomballgithub (@tomballgithub)
License
Licensed under GPLv3. See LICENSE. Dependency licenses are listed in THIRD_PARTY_NOTICES.md.
Support
Questions, bug reports and vulnerability reports each have a place, listed in SUPPORT.md.
If the project is useful to you, you can support its development through GitHub Sponsors or Buy Me a Coffee.
Metadata
Release files for instagram-monitor 4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| instagram_monitor-4.0.tar.gz | 605.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| instagram_monitor-4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 920.3 kB
Release files / instagram_monitor-4.0.tar.gz
| Download URL | instagram_monitor-4.0.tar.gz |
|---|---|
| Size | 605.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
464091c874094c40080f8f0b2edab377924701356f63d14ca963ff58e51feb85
|
|
BLAKE2b-256 checksum How to use checksums |
133f8d4a351bc1f2935c1534f39de81bdacc1415d0f11a8a0f7c841b9a22395a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.
Transparency logRelease files / instagram_monitor-4.0-py3-none-any.whl
| Download URL | instagram_monitor-4.0-py3-none-any.whl |
|---|---|
| Size | 315.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db24913d664ac4ac98290e6d7a6540c38610019923f119ce11f21651e68879b0
|
|
BLAKE2b-256 checksum How to use checksums |
ec5347ce4033f6ced932bddae5aa42c18de8ddfc69599fa7170bab5cc80a47ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.
Transparency log