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
pip install instagram_monitor
instagram_monitor --setup
Docker Compose
On a native Linux container engine, the container needs your numeric user ID and group ID so files it creates in the current directory belong to you instead of root. Run the two export commands in the same terminal before the Compose commands. Docker-compatible runtimes on macOS and Windows normally handle bind-mount ownership, so users on those systems can usually skip both export commands.
curl -fsSLO https://raw.githubusercontent.com/misiektoja/instagram_monitor/refs/heads/main/docker-compose.yml
export INSTAGRAM_MONITOR_UID="$(id -u)"
export INSTAGRAM_MONITOR_GID="$(id -g)"
docker compose run --rm instagram_monitor --setup
docker compose up --no-log-prefix
Docker run
On macOS shells or Windows PowerShell with a Docker-compatible runtime that provides the docker CLI:
docker pull misiektoja/instagram-monitor:latest
docker run --rm -it --init -v "${PWD}:/data:z" -v instagram_monitor_session:/home/instagram/.config/instaloader misiektoja/instagram-monitor:latest --setup
docker run --rm -it --init -v "${PWD}:/data:z" -v instagram_monitor_session:/home/instagram/.config/instaloader misiektoja/instagram-monitor:latest --config-file /data/instagram_monitor.conf --env-file /data/.env
The first command starts the setup wizard. The second starts monitoring with the files created by the wizard. Both commands keep configuration and downloaded files in the current directory. They keep the saved Instagram login in the Docker volume named instagram_monitor_session.
These commands use macOS shell or Windows PowerShell syntax. In Windows Command Prompt replace ${PWD} with %cd%.
On Linux, --user "$(id -u):$(id -g)" runs the container with your numeric user and group IDs. This lets the container write files that your host account can edit:
docker pull misiektoja/instagram-monitor:latest
docker run --rm -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 run --rm -it --init --user "$(id -u):$(id -g)" -v "$PWD:/data:z" -v instagram_monitor_session:/home/instagram/.config/instaloader misiektoja/instagram-monitor:latest --config-file /data/instagram_monitor.conf --env-file /data/.env
For the manual single-file method, optional browser support and upgrade commands for every installation method, 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 if the monitoring process hits a snag.
🛡️ 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.
- 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.
- 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.
Documentation
Full documentation is available at misiektoja.github.io/instagram_monitor:
- Installation - PyPI, manual script, Docker installation and upgrades
- Quick Start - setup wizard, login choices and first run
- Configuration - settings precedence, saved targets, session login, SMTP and secrets
- View Modes - text, terminal and web dashboards
- Usage - command formats, monitoring, container operation, notifications, proxy and output
- Anti-detection - avoid challenges and account suspension
- Troubleshooting - the
--doctorself-check and logging levels
Quick Start
New here? Run the setup wizard
The fastest way to get started is --setup. It asks who to monitor, whether to log in, which interface to use and which alerts you want then saves a ready-to-run configuration. Private values stay in .env.
On a native Linux container engine, set INSTAGRAM_MONITOR_UID="$(id -u)" and INSTAGRAM_MONITOR_GID="$(id -g)" before using Docker Compose. These values make files created by the container belong to your host user. Docker-compatible runtimes on macOS and Windows normally do not need them.
Use the command that matches how you run the tool:
# PyPI install
instagram_monitor --setup
# Manual Python script on macOS or Linux
python3 instagram_monitor.py --setup
# Manual Python script on Windows
python instagram_monitor.py --setup
# Docker Compose (skip curl if you cloned the repository)
curl -fsSLO https://raw.githubusercontent.com/misiektoja/instagram_monitor/refs/heads/main/docker-compose.yml
docker compose run --rm instagram_monitor --setup
# Docker image on macOS or Windows PowerShell
docker run --rm -it --init -v "${PWD}:/data:z" -v instagram_monitor_session:/home/instagram/.config/instaloader misiektoja/instagram-monitor:latest --setup
# Docker image on Linux
docker run --rm -it --init --user "$(id -u):$(id -g)" -v "$PWD:/data:z" -v instagram_monitor_session:/home/instagram/.config/instaloader misiektoja/instagram-monitor:latest --setup
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 wizard detects the installation method and shows the commands that match it.
See the full Quick Start guide for browser choices, saved targets, configuration backups and setup recovery.
Not sure which command you need?
| I want to... | Run this |
|---|---|
| Set up Instagram Monitor for the first time | Use the setup command for your installation above |
| Try public monitoring without a login | instagram_monitor <target_insta_user> |
Start targets saved in TARGET_USERNAMES |
instagram_monitor --config-file instagram_monitor.conf or docker compose up --no-log-prefix |
| Start a browser control panel without targets | instagram_monitor --web-dashboard |
| Monitor several accounts | instagram_monitor target_1 target_2 or instagram_monitor --targets target_1,target_2 |
| Check the selected login, connectivity and targets | instagram_monitor --doctor |
| See stories, reels and follower details | Import a browser session then run instagram_monitor -u <your_insta_user> <target_insta_user> |
Manual commands
The examples below use a PyPI install. For a manual script install, replace instagram_monitor with python3 instagram_monitor.py on macOS or Linux and python instagram_monitor.py on Windows. Docker users can copy the complete command prefixes from the Usage guide.
Track a public account without logging in:
instagram_monitor <target_insta_user>
For stories, reels and follower changes, sign in through a supported browser then import the session:
instagram_monitor --import-browser-session --browser firefox
instagram_monitor -u <your_insta_user> <target_insta_user>
Launch the Web Dashboard with monitoring:
instagram_monitor <target_insta_user> --web-dashboard
View every command:
instagram_monitor --help
For container operation, browser profiles, email alerts, Discord, ntfy and advanced settings, see Configuration and Usage. Keep private webhook URLs in .env or enter them through the setup wizard. See Webhook Notifications for complete setup and testing instructions.
Change Log
See RELEASE_NOTES.md for details.
Maintainers
- 👤 misiektoja (@misiektoja)
- 👤 tomballgithub (@tomballgithub)
License
Licensed under GPLv3. See LICENSE.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file instagram_monitor-3.6.1.tar.gz.
File metadata
- Download URL: instagram_monitor-3.6.1.tar.gz
- Upload date:
- Size: 237.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10f4b700754eeaccebedec53efb8c0eeea15a7e414d1267136402498cf97d973
|
|
| MD5 |
0ca494780c2bb45b946c66e6caf95bc9
|
|
| BLAKE2b-256 |
29c52eff92612cf07899af258b80513fafd68140100945ff8de4ddf3be38269f
|
Provenance
The following attestation bundles were made for instagram_monitor-3.6.1.tar.gz:
Publisher:
publish.yml on misiektoja/instagram_monitor
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
instagram_monitor-3.6.1.tar.gz -
Subject digest:
10f4b700754eeaccebedec53efb8c0eeea15a7e414d1267136402498cf97d973 - Sigstore transparency entry: 2219319739
- Sigstore integration time:
-
Permalink:
misiektoja/instagram_monitor@0839da1265c0fdd96d8c748cc4ba15494b43458a -
Branch / Tag:
refs/tags/v3.6.1 - Owner: https://github.com/misiektoja
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0839da1265c0fdd96d8c748cc4ba15494b43458a -
Trigger Event:
release
-
Statement type:
File details
Details for the file instagram_monitor-3.6.1-py3-none-any.whl.
File metadata
- Download URL: instagram_monitor-3.6.1-py3-none-any.whl
- Upload date:
- Size: 187.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31473c8bfc7da35c779bafba0b7815e19f62788fcfd1e5553fceb26b07075a23
|
|
| MD5 |
d96a14486810a7d4f3420226bf211f5b
|
|
| BLAKE2b-256 |
9b13a3c7f9a030f6120196b1052cbc7554bd7ad4946fb9584708caccd6cc5dd7
|
Provenance
The following attestation bundles were made for instagram_monitor-3.6.1-py3-none-any.whl:
Publisher:
publish.yml on misiektoja/instagram_monitor
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
instagram_monitor-3.6.1-py3-none-any.whl -
Subject digest:
31473c8bfc7da35c779bafba0b7815e19f62788fcfd1e5553fceb26b07075a23 - Sigstore transparency entry: 2219320309
- Sigstore integration time:
-
Permalink:
misiektoja/instagram_monitor@0839da1265c0fdd96d8c748cc4ba15494b43458a -
Branch / Tag:
refs/tags/v3.6.1 - Owner: https://github.com/misiektoja
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0839da1265c0fdd96d8c748cc4ba15494b43458a -
Trigger Event:
release
-
Statement type: