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: Add a terminal recording (GIF) demonstrating the Rich TUI, loading states, and the AI analysis loop here to showcase the CLI aesthetic.

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.0.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.0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: insight_osint_cli-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 8bbbc47efe4ef29ad924b49a2c542d8047afd1eea6603ea4ec581874c0185e4d
MD5 f47d7474126998c9b1073779ad5dd13e
BLAKE2b-256 e7bed714a1e3751f7c3378f552a297c90298064aec8f0df43e51488b6cc2f30d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for insight_osint_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa90f8640106b263a47d50bde9f8e67cd120a8d8681a1ecf7ad9b28859c4bb17
MD5 f47996228272c8960c21da7453b74436
BLAKE2b-256 0825550d7160eaedcacf7645fa08f460de33adbd88540215ddab6595cea0e4ec

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