GitHunt
AL

Instagram without all the toxic features like reels, home page, explore page. You can still view your friend's reels, stories, view profiles and text friends

Healthy IG ๐ŸŒฟ

IG Version Platform Status Version release date
ig 300.0.0.29.110 apk arm64-v8a Android 9+ nodpi โœ… Tested 2023-09
ig 300.0.0.29.110 apk armeabi-v7a Android 7+ nodpi โœ… Tested 2023-09
ig 300.0.0.29.110 apk x86 Android 7+ nodpi โœ… Tested 2023-09
ig 413.0.0 ipa iOS ๐Ÿ ipa sideloaded on iOS using Sidestore โœ… Tested 2026-01

Disclaimer

I am deeply AGAINST ANY FORM OF PIRACY!
this is aimed at showing how to use apktool on your own.
I repeat, NO PIRACY!
the original author of script.sh is breakthescroll.com.

  • The older the ig version, the higher the risk of missing official instagram security updates

Mission ๐ŸŒฟ

The mission is to prevent scrolling and empower the user since Meta doesn't allow you to deactivate reels.
If you want to contribute just spread the word or make a pull request following the contribution guidelines at the end of the page.

Features

HealthyIG is a modified version of instagram that BLOCKS all the toxic instagram features like

Checkout youtube video for Android ๐Ÿ“น: https://www.youtube.com/watch?v=i3DQbfRWN9s

  • reels
  • home page
  • reel chaining
  • explore section

Healthy IG prevents doomscrolling behaviour and ALLOWS you to use all of the other
instagram features like

  • view your friend's stories
  • navigate to profiles via explore search bar
  • view profiles
  • text your friends
  • view the reels that your friend sends you

Android section

The app is safe, you can find the base instagram apk from apkmirror, decompile it, remove the endpoints
for reel fetching and recompile it. You don't have to trust it, you can build it your own with the instructions in this repository.

Requirements for Android

Requires linux or WSL detailed guide here. The following tools are required:

  • apktool (install https://apktool.org/docs/install/)

  • zipalign (sudo apt install zipalign -y)

  • apksigner (sudo apt install apksigner -y)

  • tqdm [optional, for displaying progress] (sudo pip3 install tqdm)

  • install.apk is the patched ig (home, explore, reels deactivated but you can still see your friend's reels)

  • ig.apk is the copy of com.instagram.android_version...apk

Note: I found com.instagram.android_version...apk on apkmirror. In alternative you can try to extract it from your phone

Build your own apk

  • Get instagram apk mirror from apkmirror (I suggest you to get a nodpi version and checkout your android phone processor info ). For extra security you can put the apk into virustotal. It's important that you do it into a linux machine because windows's filesystem will give you problems.
# copy/rename it to ig.apk
sudo cp com.instagram.android_version...apk ig.apk

# decompile the apk
sudo apktool d -r -f -o ig_plain ig.apk

# break the endpoints with script.sh
sudo chmod +x script.sh
sudo ./script.sh

# recompile the apk
sudo apktool b -r -f ig_plain

sudo cp ig_plain/dist/ig.apk patched.apk

# optimize with zipalign
sudo zipalign -v 4 patched.apk install.apk

# generate keypair (insert password 'foobar', the keygen step is required only the first time)
sudo keytool -genkeypair -alias key0 -keyalg RSA -keysize 4096 -validity 10000 -keystore patched_instagram_key.jks

# sign the apk with 'foobar' as password
sudo echo foobar | apksigner sign --ks ./patched_instagram_key.jks --v1-signing-enabled true --v2-signing-enabled true --v3-signing-enabled false install.apk
  • now Uninstall your current instagram
  • copy install.apk to your phone and install it

Note for newer versions: Newer Android apps use split APKs (e.g. version 408.0.0.51.78 contains base.apk and split_config.xxhdpi.apk). Follow the guide above for base.apk, then additionally sign the split config:

echo foobar | apksigner sign --ks patched_instagram_key.jks split_config.xxhdpi.apk

Install both using:

adb install-multiple install.apk split_config.xxhdpi.apk

iOS section ๐Ÿ

The app is safe, you can find the base instagram ipa from decrypt.day, you can simply open it with 7z on linux, extract the Instagram binary and patch it with Ghidra. You don't have to trust it, you can build it your own with the instructions in this repository.

Checkout youtube video for iOS ๐Ÿ: https://youtu.be/5eCFinSWR5M

Requirements for iOS

  • linux virtual machine (for example kali-linux on vmware) with Ghidra installed
  • Sidestore installed and working on your iPhone
  • iTunes to transfer the .ipa from the pc to the iPhone

Setup sidestore app autorefresh: https://www.youtube.com/watch?v=hB2h1H2guEA

Build your own .ipa

  • Get instagram ipa mirror from decrypt.day instagram (choose tested version 413.0.0) . For extra security you can put the apk into virustotal. It's important that you do it into a linux machine because windows's filesystem will give you problems.
  • Open the ipa file with a zip explorer like 7z for linux, find the /Extensions folder and delete it (otherwise sidestore will log errors and fail to install).
  • Now find the Instagram binary and extract it from the ipa.
  • Open Ghidra, create a new project and import Instagram binary
  • Now Ghidra will prompt you to start the analysis. Select ONLY CF strings and ASCII strings for a faster analysis.
  • Once analysis is complete look for the following strings, click right mouse button, select Patch Data and then replace 1 character to break the API endpoint
# strings to replace in Ghidra (for example change /clips/discover to /xlips/discover):

/clips/discover/stream/
/clips/ads_discover_sync_flow/
/clips/discover/social/
/clips/discover/
/discover/interest_grid/clips/
/clips/trends_media_feed/
/clips/trend_only/
clips/trending_add_yours_prompts
/discover/chaining/
/discover/topical_explore/
/discover/chaining_experience_contextual_ads/
/feed/timeline
/feed/injected_reels_media/
  • After patching the strings, go to Export/Export Program, select Original file, name it Instagram and export it.
  • Once done exporting, open again the .ipa file with a zip explorer and replace the old Instagram binary with the patched one.
  • Now the new .ipa is ready to be transfered to your iPhone using iTunes.
  • Once the .ipa is on your iPhone, open Sidestore, go to the App section, click on the + button and select the ipa.
  • You will be prompted with a request that asks if you want to keep the Extensions. It's preferred to choose Remove Extensions.
  • Wait for install, open it, login and you are done!

Issue with iOS โš ๏ธ

When you exit the app and swipe up to free the RAM, all data gets wiped and you lose your cached data and login session. This is an annoying problem, if you have a solution feel free to open a PR or create a discussion on how to solve the problem. For now you have to be patient and wait a bit every time you re-open the app. You don't have to reinsert the password to login because it's saved on device but it's still annoying or you are forced to keep the app in RAM. Issue here

๐Ÿ› ๏ธ Contribution Guidelines

๐Ÿš€ Best Practices

  • Avoid overengineering script.sh.
  • Minimize changes to README.md unless absolutely necessary.
  • If you find alternative methods document it into a different yourfile.md.

๐ŸŽฏ Preferred Contributions

Type Description
โœ… Markdown and guidelines corrections Well documented answers to common problems or correction to existing documentation
โœ… Test on AltStore test the iOS solution on alt store
โœ… Improve the iOS method automate the process with a script instead of manual patching with Ghidra
โœ… Solving the logout problem on iOS on iOS, when you swipe up and close the app, you lose the session and you have to login again if you re-open it
โœ… Discovering New API Routes Methods to extract routes from a decompiled APK.
๐Ÿ“Œ Highly requested: a way to get an Instagram version with an active feed, without "For You" suggestions and ads.

โŒ Things to Avoid

  • โŒ Do not add untested or unstable features.
  • โŒ Avoid unnecessary modifications that drastically change existing code.

Helpful resources

Similar projects

Donate ๐ŸŽ

If this improves your life you can buy me a coffeeโ˜• With your support, I can continue to provide valuable programming tutorials and insights

ggJxiFC4fys-HD

AlessandroBonomo28/HealthyIG | GitHunt