explaingit

zephyrwing-ai/ins-cli

Analysis updated 2026-05-18

1PythonAudience · developerComplexity · 2/5LicenseSetup · moderate

TLDR

A command-line tool for reading and publishing Instagram content from your terminal, using web APIs with a browser-automation fallback.

Mindmap

mindmap
  root((ins-cli))
    What it does
      Reads profiles and posts
      Publishes content
      Falls back to browser
    Tech stack
      Python
      Chrome automation
    Use cases
      Terminal Instagram access
      Scripted publishing
      JSON output for pipelines
    Audience
      Developers
      Automation builders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Read Instagram profiles, posts, comments, and search results directly from the terminal.

USE CASE 2

Publish photos or videos to Instagram using your existing logged-in Chrome session.

USE CASE 3

Pipe Instagram data into other tools using table, JSON, or plain-text output.

What is it built with?

PythonChrome

How does it compare?

zephyrwing-ai/ins-clia-bissell/unleash-liteabhiinnovates/whatsapp-hr-assistant
Stars111
LanguagePythonPythonPython
Setup difficultymoderatehardhard
Complexity2/54/53/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires stable Google Chrome with an existing logged-in Instagram session.

MIT license lets you use, modify, and distribute freely, including commercially.

In plain English

ins-cli is a command-line tool that lets you interact with Instagram directly from your terminal, reading profile data and posts, and publishing content, without needing to use the Instagram website or a mobile app. It works through two approaches depending on what you want to do. For reading data (profiles, posts, comments, user search), it calls Instagram's internal web APIs directly. If those requests get blocked or rate-limited, it automatically falls back to driving a real, logged-in Google Chrome browser to fetch the data instead. For publishing content like photos or videos, it always uses browser automation, relying on the Instagram session cookies already saved in your Chrome profile. The project specifically requires the stable version of Chrome, not Chrome Canary. The available commands cover common Instagram tasks: logging in to save your cookies, searching for users, viewing profiles, listing recent posts, reading comments on a post, and publishing images or videos. Output can be displayed as a table, as JSON, or as plain text, making it easy to pipe results into other tools. Comment and story publishing are partially implemented but not yet fully stable. Installation is straightforward, once published to the Python package index, a single pip or uv command sets it up. It requires Python 3.10 or newer and a Chrome installation where you are already logged into Instagram. The README notes that Instagram's internal APIs change frequently, so the tool may need periodic updates to keep working. The project is MIT licensed.

Copy-paste prompts

Prompt 1
Show me how to install ins-cli with pip and log in to save my Instagram cookies.
Prompt 2
Write a command using ins-cli to list a user's recent posts as JSON output.
Prompt 3
Explain when ins-cli falls back to browser automation instead of calling Instagram's web API directly.
Prompt 4
How do I publish a video to Instagram using ins-cli?

Frequently asked questions

What is ins-cli?

A command-line tool for reading and publishing Instagram content from your terminal, using web APIs with a browser-automation fallback.

What language is ins-cli written in?

Mainly Python. The stack also includes Python, Chrome.

What license does ins-cli use?

MIT license lets you use, modify, and distribute freely, including commercially.

How hard is ins-cli to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is ins-cli for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.