modded scinsta with additional features and fixes for recent instagram version

This commit is contained in:
faroukbmiled
2026-03-28 23:57:15 +01:00
commit 3d133ac333
105 changed files with 11916 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
ko_fi: SoCuul
github: SoCuul
+94
View File
@@ -0,0 +1,94 @@
name: 🐛 Bug Report
description: "Notice something isn't working quite right? Help improve the tweak by reporting issues that you experience."
title: 'bug: '
labels:
- bug
assignees:
- SoCuul
body:
- type: markdown
attributes:
value: |
<br>
>[!TIP]
> If you are looking for support with the tweak, make sure to visit the [SCInsta discussions page](https://github.com/SoCuul/SCInsta/discussions) to get help.
- type: checkboxes
id: before-start
attributes:
label: Before creating a bug report...
description: 'Please make sure you have done the following steps:'
options:
- label: >-
I have read through the
[FAQ](https://github.com/SoCuul/SCInsta/wiki/FAQ)
required: true
- label: I have made sure this issue has not already been reported previously
required: true
- label: >-
I have made sure this issue is present in the latest version of
SCInsta
required: true
- label: >-
I am confident that this bug presents unintended behaviour within
the tweak
required: true
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of the problem
placeholder: >-
Provide as much information about the issue you are experiencing as
possible!
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Minimal Reproduction
description: Provide steps and relevant information to reproduce the problem
placeholder: >-
If possible, providing screenshots & videos are extremely helpful when
trying to fix an issue
validations:
required: true
- type: markdown
attributes:
value: '---'
- type: input
id: info-scinsta-version
attributes:
label: SCInsta Version
description: This can be found at the bottom of the tweak settings
placeholder: e.g. v0.7.0
validations:
required: true
- type: input
id: info-instagram-version
attributes:
label: Instagram Version
description: This can be found as well at the bottom of the tweak settings
placeholder: e.g. 382.0.0
validations:
required: true
- type: dropdown
id: info-install-type
attributes:
label: Install Type
description: The method used to use to install SCInsta
options:
- Sideloaded
- TrollStore
- Jailbroken (Rootless)
- Jailbroken (Rootful)
validations:
required: true
- type: textarea
id: info-device-info
attributes:
label: Device Info
description: Details about the phone running the tweak
value: |-
Model: [e.g. iPhone 15 Pro]
iOS Version: [e.g. 18.4]
+39
View File
@@ -0,0 +1,39 @@
name: ✨ Feature Request
description: Have an idea for a new feature/enhancement? Let us know!
title: 'feat: '
labels:
- enhancement
assignees:
- SoCuul
body:
- type: checkboxes
id: before-start
attributes:
label: Before creating a feature request...
description: 'Please make sure you have done the following steps:'
options:
- label: >-
I have read through the
[FAQ](https://github.com/SoCuul/SCInsta/wiki/FAQ)
required: true
- label: I have made sure this feature has not already been already suggested
required: true
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of the problem or missing functionality
validations:
required: true
- type: textarea
id: solution
attributes:
label: Describe the solution you'd like
description: If you have a solution in mind, please describe it
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: Have you considered any alternative solutions or workarounds?
+8
View File
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: '💬 Browse Q&A'
url: https://github.com/SoCuul/SCInsta/wiki/FAQ
about: Find answers to the most commonly asked questions
- name: '❓ Need Help?'
url: https://github.com/SoCuul/SCInsta/discussions
about: Visit the SCInsta discussions form to get support
+17
View File
@@ -0,0 +1,17 @@
name: Issue assignment
on:
issues:
types: [opened]
jobs:
auto-assign:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: 'Auto-assign issue'
uses: pozil/auto-assign-issue@v1
with:
assignees: faroukbmiled
allowNoAssignees: true
+18
View File
@@ -0,0 +1,18 @@
name: PR assignment
on:
pull_request:
types: [opened, reopened]
jobs:
auto-assign:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: 'Auto-assign PR'
uses: pozil/auto-assign-issue@v1
with:
assignees: faroukbmiled
allowNoAssignees: true
+138
View File
@@ -0,0 +1,138 @@
# Inspired heavily by the following workflows
# https://github.com/arichornlover/uYouEnhanced/blob/main/.github/workflows/buildapp.yml
# https://github.com/ISnackable/YTCubePlus/blob/main/.github/workflows/Build.yml
# https://github.com/BandarHL/BHTwitter/actions/workflows/build.yml
name: Build and Package SCInsta
on:
workflow_dispatch:
inputs:
decrypted_instagram_url:
description: "The direct URL to the decrypted Instagram IPA"
default: ""
required: true
type: string
upload_artifact:
description: "Upload Artifact"
default: true
required: false
type: boolean
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build SCInsta
runs-on: macos-latest
permissions:
contents: write
steps:
- name: Checkout Main
uses: actions/checkout@v4
with:
path: main
submodules: recursive
- name: Install Dependencies
run: brew install ldid dpkg make
- name: Set PATH environment variable
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH
- name: Setup Theos
uses: actions/checkout@v4
with:
repository: theos/theos
ref: master
path: ${{ github.workspace }}/theos
submodules: recursive
- name: SDK Caching
id: SDK
uses: actions/cache@v4
env:
cache-name: iPhoneOS16.2.sdk
with:
path: ${{ github.workspace }}/theos/sdks/
key: ${{ env.cache-name }}
restore-keys: ${{ env.cache-name }}
- name: Download iOS SDK
if: steps.SDK.outputs.cache-hit != 'true'
run: |
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/xybp888/iOS-SDKs/
cd iOS-SDKs
git sparse-checkout set --no-cone iPhoneOS16.2.sdk
git checkout
mv *.sdk $THEOS/sdks
env:
THEOS: ${{ github.workspace }}/theos
- name: Prepare Instagram IPA
run: |
cd main
mkdir -p packages
wget "$Instagram_URL" --no-verbose -O packages/com.burbn.instagram.ipa
ls -la packages
env:
THEOS: ${{ github.workspace }}/theos
Instagram_URL: ${{ inputs.decrypted_instagram_url }}
- name: Get SCInsta Version
id: scinsta_version
run: |
SCINSTA_VERSION=$(awk '/Version:/ {print $2}' main/control)
echo "SCINSTA_VERSION=${SCINSTA_VERSION}" >> "$GITHUB_ENV"
echo "version=${SCINSTA_VERSION}" >> "$GITHUB_OUTPUT"
- name: Build SCInsta tweak for sideloading (as IPA)
run: |
pip install --force-reinstall https://github.com/asdfzxcvbn/pyzule-rw/archive/main.zip
cd main
curl -Lo ipapatch https://github.com/asdfzxcvbn/ipapatch/releases/download/v2.1.3/ipapatch.macos-arm64
chmod +x ipapatch
export PATH=.:$PATH
ls -la
./build.sh sideload
ls -la packages
env:
THEOS: ${{ github.workspace }}/theos
- name: Rename IPA to include version info
run: |
cd main/packages
mv "$(ls -t | head -n1)" "SCInsta_sideloaded_v${SCINSTA_VERSION}.ipa"
- name: Pass package name to upload action
id: package_name
run: |
echo "package=$(ls -t main/packages | head -n1)" >> "$GITHUB_OUTPUT"
- name: Upload Artifact
if: ${{ inputs.upload_artifact }}
uses: actions/upload-artifact@v4
with:
name: SCInsta_sideloaded_v${{ steps.scinsta_version.outputs.version }}
path: ${{ github.workspace }}/main/packages/${{ steps.package_name.outputs.package }}
if-no-files-found: error
- name: Create Release
uses: softprops/action-gh-release@v2.0.6
with:
name: SCInsta_sideloaded_v${{ steps.scinsta_version.outputs.version }}
files: ${{ github.workspace }}/main/packages/SCInsta_sideloaded_v*.ipa
draft: true
- name: Output Release URL
run: |
echo "::notice::Release available at: https://github.com/${{ github.repository }}/releases"
+95
View File
@@ -0,0 +1,95 @@
name: Build SCInsta tweak for Rootless
on:
push:
branches:
- 'main'
- 'dev'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build SCInsta Rootless
runs-on: macos-latest
permissions:
contents: write
steps:
- name: Checkout Main
uses: actions/checkout@v4
with:
path: main
- name: Install Dependencies
run: brew install ldid dpkg make
- name: Set PATH environment variable
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH
- name: Setup Theos
uses: actions/checkout@v4
with:
repository: theos/theos
ref: master
path: ${{ github.workspace }}/theos
submodules: recursive
- name: SDK Caching
id: SDK
uses: actions/cache@v4
env:
cache-name: iPhoneOS16.2.sdk
with:
path: ${{ github.workspace }}/theos/sdks/
key: ${{ env.cache-name }}
restore-keys: ${{ env.cache-name }}
- name: Download iOS SDK
if: steps.SDK.outputs.cache-hit != 'true'
run: |
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/xybp888/iOS-SDKs/
cd iOS-SDKs
git sparse-checkout set --no-cone iPhoneOS16.2.sdk
git checkout
mv *.sdk $THEOS/sdks
env:
THEOS: ${{ github.workspace }}/theos
- name: Get SCInsta Version
id: scinsta_version
run: |
SCINSTA_VERSION=$(awk '/Version:/ {print $2}' main/control)
echo "SCINSTA_VERSION=${SCINSTA_VERSION}" >> "$GITHUB_ENV"
echo "version=${SCINSTA_VERSION}" >> "$GITHUB_OUTPUT"
- name: Build SCInsta tweak for Rootless
run: |
cd main
ls -la
./build.sh rootless
ls -la packages
env:
THEOS: ${{ github.workspace }}/theos
- name: Rename deb to include version info
run: |
cd main/packages
mv "$(ls -t | head -n1)" "com.socuul.scinsta_${SCINSTA_VERSION}+debug-rootless.deb"
- name: Pass package name to upload action
id: package_name
run: |
echo "package=$(ls -t main/packages | head -n1)" >> "$GITHUB_OUTPUT"
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ steps.package_name.outputs.package }}
path: ${{ github.workspace }}/main/packages/${{ steps.package_name.outputs.package }}
if-no-files-found: error
@@ -0,0 +1,70 @@
name: Delete old workflow runs
on:
workflow_dispatch:
inputs:
days:
description: 'Days-worth of runs to keep for each workflow'
required: true
default: '7'
minimum_runs:
description: 'Minimum runs to keep for each workflow'
required: true
default: '5'
delete_workflow_pattern:
description: 'Name or filename of the workflow (if not set, all workflows are targeted)'
required: false
default: 'Build and Package SCInsta'
delete_workflow_by_state_pattern:
description: 'Filter workflows by state: active, deleted, disabled_fork, disabled_inactivity, disabled_manually'
required: true
default: "ALL"
type: choice
options:
- "ALL"
- active
- deleted
- disabled_inactivity
- disabled_manually
delete_run_by_conclusion_pattern:
description: 'Remove runs based on conclusion: action_required, cancelled, failure, skipped, success'
required: true
default: "ALL"
type: choice
options:
- "ALL"
- "Unsuccessful: action_required,cancelled,failure,skipped"
- action_required
- cancelled
- failure
- skipped
- success
dry_run:
description: 'Logs simulated changes, no deletions are performed'
required: false
# schedule:
# - cron: '0 0 * * *'
jobs:
del_runs:
runs-on: ubuntu-latest
permissions:
actions: write
contents: read
steps:
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: ${{ github.event.inputs.days }}
keep_minimum_runs: ${{ github.event.inputs.minimum_runs }}
delete_workflow_pattern: ${{ github.event.inputs.delete_workflow_pattern }}
delete_workflow_by_state_pattern: ${{ github.event.inputs.delete_workflow_by_state_pattern }}
delete_run_by_conclusion_pattern: >-
${{
startsWith(github.event.inputs.delete_run_by_conclusion_pattern, 'Unsuccessful:')
&& 'action_required,cancelled,failure,skipped'
|| github.event.inputs.delete_run_by_conclusion_pattern
}}
dry_run: ${{ github.event.inputs.dry_run }}