mirror of
https://github.com/faroukbmiled/RyukGram.git
synced 2026-04-23 04:36:03 +02:00
86eaa95019
### Features - **Open Instagram links in app (Safari extension)** — bundled Safari web extension (sideload IPA only). Enable in Safari → Extensions; instagram.com links open in the app. - **Localization** — every user-facing string flows through a central translation layer. Globe button in Settings; missing keys fall back to English. Ships English only — see the "Translating RyukGram" section in the README to add more. - **Action buttons** — context-aware menus on feed, reels, and stories (expand, repost, download, copy caption, etc.) with per-context default tap action and carousel/multi-story bulk download - **Enhanced HD downloads** — up to 1080p via DASH + FFmpegKit with quality picker, preview playback, encoding-speed options, and 720p fallback - **Repost**, **media viewer**, **media zoom** (long-press), **download pill** (frosted glass, stacks concurrent downloads) - **Fake location** — overrides CoreLocation app-wide, map picker + saved presets, optional quick-toggle button on the Friends Map - **Messages-only mode** — strips every tab except DM inbox + profile - **Launch tab** — pick which tab the app opens to - Full last active date in DMs — show full date instead of "Active 2h ago" - Custom date format — 12 formats with per-surface toggles (feed, notes/comments/stories, DMs) - Send files in DMs (experimental) - View story mentions - Hide suggested stories - Story tray long-press actions — view HD profile picture from the tray menu - Advance on story reply — auto-skip to next story after sending a reply or reaction - Mark story as seen on reply or emoji reaction - Hide metrics (likes, comments, shares counts) - Hide messages tab - Hide voice/video call buttons in DM thread header (independent toggles) - Disable app haptics - Disable reels tab refresh - Disable disappearing messages mode in DMs - Follow indicator — shows whether the profile user follows you - Copy note text on long press - Zoom profile photo — long press opens full-screen viewer - Notes actions — copy text, download GIF/audio from notes long-press menu - Confirm unfollow - Feed refresh controls — disable background refresh, home button refresh, and home button scroll ### Improvements - Default tap action: added copy URL, repost, and view mentions options; dynamic menu generation per context - Settings pages reordered: General → Feed → Stories → Reels → Messages → Profile → Navigation → Saving → Confirmations - Fake location picker: native Apple Maps-style UI (search, long-press to drop pin, current location) - Liquid glass floating tab bar + dynamic sizing - Upload audio: FFmpegKit re-encode + trim for any audio/video input - Settings reorganized with per-context action button config; new Profile page - Highlight cover: full-screen viewer replaces direct download - Switched HD encoder to `h264_videotoolbox` (hardware) — no GPL FFmpegKit required - Legacy long-press download deprecated (off by default), replaced by action buttons ### Fixes - Hide suggested stories no longer removes followed users' stories on scroll - Settings search bar transparency with liquid glass off; auto-deactivates on push - HD download cancel: tapping pill aborts in-flight downloads + FFmpeg sessions cleanly - Download pill stuck state on background/foreground, progress reset per download - Disappearing messages mode confirmation not firing on swipe - Detailed color picker not working on story draw `†` - DM seen toggle menu not updating after tap - Reel refresh confirmation appearing on first app launch `†` - Reels action button displacing profile pictures on photo reels - Disappearing DM media download (expand, share, save to Photos with progress pill) - Carousel "Download all" not showing item count in feed - Encoding speed setting being ignored for HD downloads - Various upstream SCInsta merges (Meta AI hiding, suggested chats hiding, notes tray) — marked `†` > `†` Merged from upstream [SCInsta](https://github.com/SoCuul/SCInsta) by SoCuul ### Credits - Thanks to [@erupts0](https://github.com/erupts0) (John) for testing and feature suggestions - Thanks to [@euoradan](https://t.me/euoradan) (Radan) for experimental Instagram feature flag research - Safari extension forked/cleaned from [BillyCurtis/OpenInstagramSafariExtension](https://github.com/BillyCurtis/OpenInstagramSafariExtension) ### Known Issues - Preserved unsent messages can't be removed via "Delete for you"; pull-to-refresh clears them (warning available in settings) - "Delete for you" detection uses a ~2s window after the local action — a real unsend landing in that window may be missed (rare)
149 lines
5.6 KiB
YAML
149 lines
5.6 KiB
YAML
name: Build and Release RyukGram
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
name: Build RyukGram
|
|
runs-on: macos-latest
|
|
permissions:
|
|
contents: write
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Install Dependencies
|
|
run: brew install ldid dpkg make
|
|
|
|
- name: Set PATH
|
|
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 Version
|
|
id: version
|
|
run: |
|
|
VERSION=$(awk '/Version:/ {print $2}' control)
|
|
echo "VERSION=${VERSION}" >> "$GITHUB_ENV"
|
|
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
|
|
|
|
- name: Setup FFmpegKit
|
|
run: ./scripts/setup-ffmpegkit.sh
|
|
|
|
- name: Build rootless deb
|
|
run: |
|
|
export THEOS="${{ github.workspace }}/theos"
|
|
./build.sh rootless
|
|
cd packages
|
|
DEB="$(ls -t *-rootless.deb | head -n1)"
|
|
[ -n "$DEB" ] && mv "$DEB" "RyukGram_${VERSION}_rootless.deb"
|
|
ls -la
|
|
|
|
- name: Build rootful deb
|
|
run: |
|
|
export THEOS="${{ github.workspace }}/theos"
|
|
./build.sh rootful
|
|
cd packages
|
|
DEB="$(ls -t *-rootful.deb | head -n1)"
|
|
[ -n "$DEB" ] && mv "$DEB" "RyukGram_${VERSION}_rootful.deb"
|
|
ls -la
|
|
|
|
- name: Upload rootless artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: RyukGram_v${{ steps.version.outputs.version }}_rootless
|
|
path: packages/RyukGram_${{ env.VERSION }}_rootless.deb
|
|
if-no-files-found: error
|
|
|
|
- name: Upload rootful artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: RyukGram_v${{ steps.version.outputs.version }}_rootful
|
|
path: packages/RyukGram_${{ env.VERSION }}_rootful.deb
|
|
if-no-files-found: error
|
|
|
|
- name: Check if release
|
|
id: check_release
|
|
run: |
|
|
COMMIT_MSG=$(git log -1 --pretty=%B)
|
|
if [[ "$COMMIT_MSG" == *"[release]"* ]] || [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
|
|
echo "should_release=true" >> "$GITHUB_OUTPUT"
|
|
else
|
|
echo "should_release=false" >> "$GITHUB_OUTPUT"
|
|
fi
|
|
|
|
- name: Generate release notes
|
|
if: steps.check_release.outputs.should_release == 'true'
|
|
run: |
|
|
PREV_TAG=$(git tag --sort=-creatordate | grep -v "v${VERSION}$" | head -n1 || true)
|
|
{
|
|
echo "## Changelog"
|
|
echo ""
|
|
git log -1 --pretty=%B | tail -n +2 | sed -e '/^<!--/,/-->$/d' -e '/^\[release\]/d'
|
|
echo ""
|
|
echo "## Downloads"
|
|
echo ""
|
|
echo "| File | Description |"
|
|
echo "|------|-------------|"
|
|
echo "| \`RyukGram_rootless.deb\` | Rootless .deb (Dopamine/palera1n). Also works for sideloading via Feather/cyan. |"
|
|
echo "| \`RyukGram_rootful.deb\` | Rootful .deb (unc0ver/checkra1n). |"
|
|
echo ""
|
|
if [ -n "$PREV_TAG" ]; then
|
|
echo "**Full changelog:** [\`${PREV_TAG}\`...\`v${VERSION}\`](https://github.com/${{ github.repository }}/compare/${PREV_TAG}...v${VERSION})"
|
|
else
|
|
echo "**[All commits](https://github.com/${{ github.repository }}/commits/main)**"
|
|
fi
|
|
} > /tmp/release_notes.md
|
|
|
|
- name: Create Release
|
|
if: steps.check_release.outputs.should_release == 'true'
|
|
run: |
|
|
SUBJECT=$(git log -1 --pretty=%s | sed 's/\[release\]//g' | xargs)
|
|
TITLE="${SUBJECT:-RyukGram v${VERSION}}"
|
|
gh release create "v${VERSION}" \
|
|
--repo "${{ github.repository }}" \
|
|
--title "$TITLE" \
|
|
--notes-file /tmp/release_notes.md \
|
|
"packages/RyukGram_${VERSION}_rootless.deb" \
|
|
"packages/RyukGram_${VERSION}_rootful.deb"
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|