GNU General Public License v3.0

项目介绍

misiektoja/instagram_monitor 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前获得 1.6k 个 Star、153 次 Fork。

仓库全名
misiektoja/instagram_monitor
开源许可证
GNU General Public License v3.0
Star 数
1.6k
Fork 数
153
未关闭 Issue
1

README 摘要

instagrammonitor 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. Run setup wizard: The wizard asks for the targets, the Instagram…

完整内容见 GitHub 原始 README 或本页 。

常见问题

instagram_monitor 用什么语言开发?

主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前有 1.6k 个 Star。

instagram_monitor 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 instagram_monitor 的源码?

可以直接克隆仓库:git clone https://github.com/misiektoja/instagram_monitor.git,默认分支为 main;安装与运行步骤见仓库 README。

instagram_monitor 最近还在维护吗?

仓库最近一次更新为 1 周前,当前有 1 个未关闭 Issue;Star 数为 1.6k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Track Instagram users' activities, profile changes and capture content with beautiful dashboards and instant notifications

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
1895
价值分
992
活跃状态
活跃

语言占比

Dockerfile
HTML
Python

Release

README

instagram_monitor

GitHub Release PyPI Version GitHub Stars Python Versions Docker Pulls License OpenSSF Scorecard Last Commit Maintenance

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.

instagram_monitor_web_dashboard_screenshot

🚀 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.

instagram_monitor demo: install, setup wizard and run

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-follows or 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.

instagram_monitor_terminal_dashboard

instagram_monitor_log_screenshot

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

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.

评论

暂无评论