From ace7db65c87291cb7894c711f1788acdaefe4c06 Mon Sep 17 00:00:00 2001
From: siritami <102145692+FiorenMas@users.noreply.github.com>
Date: Wed, 22 Oct 2025 14:08:19 +0700
Subject: [PATCH] add instafel
---
.github/workflows/ci.yml | 2 +-
.github/workflows/ci_.yml | 28 ++++++++++++++++++++++++++
.github/workflows/manual-patch.yml | 2 +-
README.md | 23 +++++++++++++++++++++
src/build/Instafel.sh | 22 ++++++++++++++++++++
src/patches/instagram_instafel/patches | 4 ++++
6 files changed, 79 insertions(+), 2 deletions(-)
create mode 100644 .github/workflows/ci_.yml
create mode 100644 src/build/Instafel.sh
create mode 100644 src/patches/instagram_instafel/patches
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d8c88fa..787894d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,4 +1,4 @@
-name: Check new patch
+name: 2. Check new patch
permissions: write-all
on:
schedule:
diff --git a/.github/workflows/ci_.yml b/.github/workflows/ci_.yml
new file mode 100644
index 0000000..90e60df
--- /dev/null
+++ b/.github/workflows/ci_.yml
@@ -0,0 +1,28 @@
+name: 3. Another Patch
+permissions: write-all
+on:
+ schedule:
+ - cron: "0 0 */3 * *"
+ workflow_dispatch:
+
+jobs:
+ Patch-Instafel:
+ name: Patch Instafel
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4.2.2
+ - name: Preparing to patch
+ uses: ./.github/actions/preparing
+ - name: Check github connection
+ id: check-gh-rv
+ run: bash src/etc/connection.sh
+ - name: Patch apk
+ id: patch-rv
+ if: steps.check-gh-rv.outputs.internet_error == '0'
+ run: bash src/build/Instafel.sh
+ - name: Releasing APK files
+ id: release-rv
+ if: steps.check-gh-rv.outputs.internet_error == '0'
+ uses: ./.github/actions/release
+
diff --git a/.github/workflows/manual-patch.yml b/.github/workflows/manual-patch.yml
index 3aa5bf5..d4292df 100644
--- a/.github/workflows/manual-patch.yml
+++ b/.github/workflows/manual-patch.yml
@@ -1,4 +1,4 @@
-name: Manual Patch
+name: 1. Manual Patch
permissions: write-all
env:
repository: ${{ github.repository }}
diff --git a/README.md b/README.md
index b91e99b..3ea061b 100644
--- a/README.md
+++ b/README.md
@@ -471,6 +471,22 @@ Web version:
---
+
+Apps below not based on Revanced, but project still open-source.
+
+
+[](https://play.google.com/store/apps/details?id=com.instagram.android)
+
+### [Instafel:](https://github.com/mamiiblt/instafel)
+
+👉 [Offical author download link](https://github.com/mamiiblt/instafel/releases/latest)
+
+[Arm64-v8a](../../releases/download/all/instagram-instafel.apk )
+
+[Cloned-Arm64-v8a](../../releases/download/all/instagram-clone-instafel.apk )
+
+Cloned version has a different package name than the original app, so you can install both the original and the modified app at the same time.
+
### ⚠️ Library, resources using in this repository:
@@ -563,6 +579,13 @@ Web version:
+
+ mamiiblt
+
+[Patches](https://github.com/mamiiblt/instafel) - [MIT](https://github.com/mamiiblt/instafel/blob/main/LICENSE)
+
+
+
[Markdown Badges](https://github.com/Ileriayo/markdown-badges) - [MIT](https://github.com/Ileriayo/markdown-badges/blob/master/LICENSE)
[pup](https://github.com/ericchiang/pup) - [MIT](https://github.com/ericchiang/pup/blob/master/LICENSE)
diff --git a/src/build/Instafel.sh b/src/build/Instafel.sh
new file mode 100644
index 0000000..63fb10f
--- /dev/null
+++ b/src/build/Instafel.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+# instafel build
+source ./src/build/utils.sh
+#################################################
+# Download requirements
+dl_gh "p-rel" "instafel" "latest"
+java -jar ifl-patcher*.jar
+#################################################
+
+# Get patches
+export includePatch=$(sed 's/\r$//' src/patches/instagram_instafel/patches | xargs)
+
+# Patch Instagram:
+get_apkpure "com.instagram.android" "instagram" "instagram-android/com.instagram.android" "Bundle"
+green_log "[+] Decrypting apk file..."
+java -jar ifl-patcher*.jar init "./download/instagram.apk"
+green_log "[+] Patching apk file..."
+java -jar ifl-patcher*.jar run "instagram" $includePatch
+green_log "[+] Compling apk file..."
+java -jar ifl-patcher*.jar build "instagram"
+cp instagram/build/unclone.apk ./release/instagram-instafel.apk
+cp instagram/build/clone.apk ./release/instagram-clone-instafel.apk
\ No newline at end of file
diff --git a/src/patches/instagram_instafel/patches b/src/patches/instagram_instafel/patches
new file mode 100644
index 0000000..67c1e38
--- /dev/null
+++ b/src/patches/instagram_instafel/patches
@@ -0,0 +1,4 @@
+remove_snooze_warning
+remove_ads
+instafel
+clone