explaingit

mrstressful/instacircle

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 2/5Setup · moderate

TLDR

Self-hosted Python scripts that filter your Instagram feed, stories, and DMs to mutual friends only and forward them to Discord.

Mindmap

mindmap
  root((Instacircle))
    What it does
      Filters feed by mutual friends
      Forwards posts to Discord
      Alerts on new DMs
    Tech stack
      Python
      instagrapi client
      Discord webhooks
    Use cases
      Daily friends-first digest
      DM arrival alerts
      Self-hosted monitoring
    Audience
      Personal tool builders
      Privacy conscious Instagram users

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

Get a daily Discord digest of Instagram posts and stories from people you actually follow back.

USE CASE 2

Receive a Discord alert whenever a new Instagram direct message arrives, without checking the app.

USE CASE 3

Reduce noise from algorithmic feed content by prioritizing mutual-friend posts first.

USE CASE 4

Self-host a personal Instagram monitoring tool instead of relying on a third-party service.

What is it built with?

PythoninstagrapiDiscord webhooks

How does it compare?

mrstressful/instacircle0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity2/52/54/5
Audiencedevelopergeneraldeveloper

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

How do you get it running?

Difficulty · moderate Time to first run · 30min

Uses an unofficial Instagram API client, which violates Instagram's terms of service and risks account restriction.

In plain English

Instacircle is a pair of self-hosted Python scripts that read your own Instagram feed, stories, and direct messages, and forward a filtered version of them to Discord using webhooks. The main idea is to separate posts and stories from mutual friends, meaning people who follow you and who you follow back, from everyone else, so you can see what people you actually know are posting without scrolling through the entire algorithmic feed. There are two scripts that share one logged-in Instagram session. The first, digest.py, runs once a day, pulls your home feed and stories, sorts everything into friend and non-friend groups, and posts a friends-first summary to a Discord channel. If you have ten or more friend posts it shows them all, and if you have fewer it pads the summary out with some non-friend content so you still see ten items. The second script, monitor.py, runs every ten to twenty minutes and checks your Instagram inbox for new direct messages, posting an alert to a separate Discord channel whenever something new arrives, while ignoring your full existing message history the first time it runs. The README is direct about the risk involved: both scripts use an unofficial, reverse-engineered Instagram client library rather than an approved API, which goes against Instagram's terms of service and could get an account flagged, rate-limited, or restricted, so using a secondary account is suggested for anyone uncomfortable with that risk on their main one. Setup involves installing the Python dependencies, copying an example environment file and filling in your own credentials, running each script once by hand to confirm login works, and then scheduling both scripts with cron. Sensitive files like the session token and saved state are excluded from version control, and the README warns that if the session file is ever exposed, you should change your Instagram password right away. No license file is included in the repository yet.

Copy-paste prompts

Prompt 1
Help me set up Instacircle's digest.py and monitor.py scripts with cron on my own server.
Prompt 2
Explain the risk of using instagrapi with my Instagram account before I run this project.
Prompt 3
Show me how to configure the .env file and Discord webhooks for Instacircle.
Prompt 4
Walk me through securing session.json and state.json so they never get committed to git.

Frequently asked questions

What is instacircle?

Self-hosted Python scripts that filter your Instagram feed, stories, and DMs to mutual friends only and forward them to Discord.

What language is instacircle written in?

Mainly Python. The stack also includes Python, instagrapi, Discord webhooks.

How hard is instacircle to set up?

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

Who is instacircle for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.