Social media teams waste hours each week copying public post links, guessing top performers, and turning scattered data into weekly reports. That repetitive cycle stifles strategy and leaves little room for analysis. A new open-source Python project flips the script by automating the entire workflow, turning raw public Instagram-style data into structured competitor intelligence—without scraping, automation, or API keys.
From manual drudgery to repeatable reports
Most competitor tracking starts the same way: open profiles, jot down metrics, paste links into spreadsheets, and hope for the best. It works once, twice, maybe ten times. Then the weekly grind sets in. A lightweight tool called instagram-competitor-intelligence shifts the burden from guesswork to automation. Built as a starter kit rather than a full platform, it focuses on one goal: transform public profile and media data into consistent, insight-rich reports that update on schedule.
The project deliberately avoids bots, login automation, and API wrappers. Instead, it treats public data as input—clean, formatted, and ready for analysis—while leaving provider choices, scheduling, and cost control to the user. The core promise is simple: clone the repo, run one command, and immediately see the report structure—even without real data.
What you get out of the box
The tool delivers a complete pipeline to monitor rival accounts, rank content, and extract trends. Key capabilities include:
- Comparison of public competitor accounts by follower growth and activity
- Ranking of recent posts and Reels by engagement using public metrics
- Extraction of trending hashtags from captions to spot recurring themes
- Detection of creator and brand mentions to track collaborations
- Export of all metrics to CSV for external analysis
- Auto-generation of weekly reports in Markdown and HTML formats
- Mock data support for testing before connecting real providers
- Scheduling via GitHub Actions or cron for hands-off updates
Every report answers practical questions: Which competitor posted the most? Which Reels drove the highest engagement? Which hashtags keep appearing? Which creators or brands are trending? The structure mirrors what social media analysts, indie brands, and agencies compile manually—except it runs automatically.
Start in seconds with mock data
The project’s most important design choice is running on mock data first. Most public-data tools demand credentials before you see any value, but this one reverses the flow: value comes first. Clone the repository, install dependencies, and generate a full report in under two minutes—no API keys, no accounts, no setup.
To try it yourself:
# Clone the repository
git clone
cd instagram-competitor-intelligence
# Create and activate a virtual environment
python3 -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Generate a sample weekly report using mock data
python3 examples/06_generate_weekly_report.py --mockThe generated reports appear in reports/sample_weekly_report.md and reports/sample_weekly_report.html, showing the final format and data structure before any real integration.
Modular pipeline, flexible workflow
Instead of a monolithic application, the project uses small, focused scripts that form a clear pipeline:
public account data
↓
recent posts and Reels
↓
engagement metrics
↓
hashtag extraction
↓
creator/brand mention detection
↓
competitor comparison
↓
weekly Markdown / HTML reportEach step lives in its own example file, letting you run the full report or inspect individual pieces:
01_get_profile.py– fetch basic account metrics02_get_recent_media.py– load recent posts and Reels03_rank_top_reels.py– rank by engagement rate04_extract_hashtags.py– pull trending tags from captions05_compare_competitors.py– compare activity across accounts06_generate_weekly_report.py– compile the full report07_export_csv.py– export metrics for further analysis08_schedule_with_github_actions.md– set up automation09_extract_creator_mentions.py– track collaborations10_estimate_api_cost.py– forecast provider expenses
This modular approach makes it easy to adapt the workflow to different needs—whether tracking three competitors or thirty.
Measuring engagement without perfect data
A core metric in the tool is a simplified engagement rate:
engagement_rate = (like_count + comment_count) / follower_countIt’s not perfect. It ignores reach, saves, shares, and platform-specific quirks. Yet it works surprisingly well for comparing public posts across competitors when only basic metrics are available. The project prioritizes consistency over perfection, because a weekly report’s job is to highlight patterns—not solve every analytical puzzle.
The report includes sections such as summary, competitor activity, top-performing posts, trending hashtags, creator mentions, and actionable recommendations. Each answers a specific question: Which format drove the most engagement? Which tags are gaining traction? Who’s being mentioned most? This turns raw data into strategic insights.
From testing to production: what changes
Running mock reports is effortless. Running in production introduces real decisions: provider selection, scheduling frequency, cost control, error handling, storage, and monitoring. The tool separates quick-start examples from production guidance to avoid overwhelming beginners while still preparing advanced users.
A common production concern is cost. Even a small setup can scale quickly:
estimated_requests = competitors × endpoints_per_competitor × reports_per_month × retry_factorFor example, monitoring 10 competitors with 2 endpoints each, generating 4 reports per month, and accounting for retries totals around 96 requests monthly—manageable for most setups. For agencies tracking dozens of clients, that number becomes a budget factor. The project includes cost-estimation tools to help plan before scaling.
The README focuses on trust and speed. Production docs cover provider choices, deployment patterns, observability, and budget controls. It’s designed so you can start small and scale deliberately.
Looking ahead: smarter, faster, sharper reports
The next evolution of this tool may add richer metrics, multi-platform support, or AI-driven insights. But for now, its strength lies in simplicity: automate the tedious parts of competitor tracking, freeing time for strategy and creativity. Whether you’re a solo founder, a social media analyst, or part of an agency, this lightweight pipeline delivers repeatable intel—without the complexity of bots or paid APIs.
AI summary
Learn how to build a lightweight Python pipeline that converts public Instagram data into weekly competitor reports—no bots, APIs, or guesswork required.