Skip to main content

InSight - Instagram Profiling AI CLI

Project description

InSight - Instagram Profiling AI

Python Version License Type Status

InSight is an advanced AI-powered Open Source Intelligence (OSINT) tool designed to deeply analyze Instagram profiles. By utilizing the instagrapi library and Google's Gemini 3.5 Flash AI model, it creates detailed, target-oriented Persona Reports of Instagram users without human intervention.

[ SHOWCASE ]

Note: The terminal execution preview below was automatically generated as an SVG.

InSight Terminal Execution

[ OVERVIEW ]

  • Deep Persona Profiling: Employs AI to estimate age, hometown, education, and workplace based on followers, following, and mutual connections.
  • Connection Categorization: Separates connections into verified (celebrity/brands) and personal to understand the target's true social circle and interests.
  • Vision Integration: Analyzes profile pictures to extract styling and age estimates using Gemini Vision.
  • Smart Quota Management: Automatically rotates through multiple Gemini API keys to avoid rate limit restrictions.
  • Local Caching: Stores fetched Instagram data locally (SQLite) for 1 hour to prevent redundant requests and bans.
  • Modern CLI: Uses Typer and Rich to provide a robust, interactive Command Line Interface.

[ INSTALLATION ]

  1. Clone the repository:
git clone https://github.com/yourusername/InSight.git
cd InSight
  1. Install requirements and configure the global CLI:
pip install -r requirements.txt
pip install -e .
  1. Configuration: Configure your API keys and default language directly from the CLI.
insight config add-key YOUR_GEMINI_API_KEY
insight config set-credentials
insight config show

[ USAGE ]

InSight operates via a global CLI. You can interact with the agent using the insight command directly from your terminal.

Authentication

Authenticate securely to cache your session and avoid Instagram blocks.

insight auth login

Deep Persona Profiling

Execute the full AI analysis on a target user to generate a comprehensive intelligence report.

insight analyze <instagram_username>

Optional: You can specify the output language using --language "Turkish" (Default is English).

Data Extraction (No AI)

Retrieve raw personal information, media statistics, and network connections in a tabular format without engaging the AI model.

insight detailed-info <instagram_username>

Report History

List all generated intelligence reports.

insight history

[ CONTRIBUTING ]

Contributions are welcome. If you have suggestions for improving the intelligence gathering techniques or fixing bugs, please open an issue or submit a Pull Request.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

[ LICENSE ]

Distributed under the MIT License. See LICENSE for more information.

[ DISCLAIMER ]

This tool is strictly developed for educational and OSINT research purposes. The developers bear no responsibility for any misuse, account suspensions, or privacy infringements. Ensure your actions comply with Instagram's Terms of Service and applicable privacy laws.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

insight_osint_cli-1.0.1.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

insight_osint_cli-1.0.1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file insight_osint_cli-1.0.1.tar.gz.

File metadata

  • Download URL: insight_osint_cli-1.0.1.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for insight_osint_cli-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0c69fc2d4a03b38c8f6c908c9a8530aad7a29796a1c06f8ad5ed88ac9c36537f
MD5 0484cc2f01e05dd17e729a7b951939e1
BLAKE2b-256 409828d7edbc3541b9b52b806f844650d16321524c15ed7e1c3c2cdad286b6e8

See more details on using hashes here.

File details

Details for the file insight_osint_cli-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for insight_osint_cli-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7584d0a6da4c12df558cab3f567b66345108291245182e73529a487f153446f0
MD5 636f2413228cf19905b112c2b0ecab7c
BLAKE2b-256 7047dc3bfca5fcd55ff77e20aee618731c9564f1e3f6253baa4a6b203b0faa30

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page