github.com/dilame/instagram-private-api ↗

NodeJS Instagram private API SDK. Written in TypeScript.

An animated visualization of dilame/instagram-private-api's Git history from June 2016 to November 2020, built by 110 contributors. The codebase reached 7,248 lines, mostly TypeScript. The video runs 2 minutes 33 seconds.

Render your own repo

Turn any GitHub repository into a video like this — free sample in seconds.

Visualize your own →

Open this visualization on its own page →

Language

TypeScript

Contributors

110

Lines of Code

7,248

From

2016-06-09

To

2020-11-22

Advertisement

About dilame/instagram-private-api

This is a TypeScript-based SDK that provides programmatic access to Instagram's private API through Node.js. It allows developers to interact with Instagram accounts, retrieve feeds, send messages, and perform various account operations without using the official public API. The library is structured around three core concepts: repositories (which handle individual API requests), feeds (which manage paginated endpoints like user feeds and can be iterated asynchronously), and services (which handle complex multi-step operations like authentication flows and media publishing).

The project emphasizes a well-organized architecture with extensive documentation and examples covering common use cases like fetching account followers and sending direct messages. The library includes security considerations, recommending installation of the `re2` package to prevent regex denial-of-service vulnerabilities. It supports debugging through Node's debug module with the `ig` namespace prefix.

The maintainers have announced a major 3.x version that transforms the project into a monorepo containing Android API, Web API, and real-time messaging capabilities, along with improved state management for saving and restoring account snapshots. This newer version is available as a paid private repository with dedicated support, while the open-source version remains available on npm and GitHub for community use and contribution.

Advertisement

Share this video