Skip to content

Commit

Permalink
Merge pull request #5 from RevealedSoulEven/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
RevealedSoulEven authored Dec 8, 2023
2 parents 727cb9d + 440c35e commit 9ba8c2d
Show file tree
Hide file tree
Showing 474 changed files with 22,924 additions and 9,531 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
submodules: 'recursive'


- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
Expand Down
89 changes: 89 additions & 0 deletions .github/workflows/beta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: Beta CI
on:
workflow_dispatch:
inputs:
ci_upload:
description: 'Upload to CI channel'
required: false
type: boolean

jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
submodules: 'recursive'

- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Clean Gradle Cache
run: ./gradlew clean

- name: Build all
run: ./gradlew assembleDebug

- name: Build Version
run: ./gradlew getVersion

- name: Set Environment Variables
id: version-env
run: |
echo "version=$(cat app/build/version.txt)" >> $GITHUB_ENV
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Git branch name
id: git-branch-name
uses: EthanSK/git-branch-name-action@v1

- name: Rename APK files
run: |
mv app/build/outputs/apk/armv8/debug/*.apk app/build/outputs/apk/armv8/debug/snapenhance-${{ env.version }}-armv8-${{ steps.version-env.outputs.sha_short }}.apk
mv app/build/outputs/apk/armv7/debug/*.apk app/build/outputs/apk/armv7/debug/snapenhance-${{ env.version }}-armv7-${{ steps.version-env.outputs.sha_short }}.apk
mv app/build/outputs/apk/all/debug/*.apk app/build/outputs/apk/all/debug/snapenhance-${{ env.version }}-universal-${{ steps.version-env.outputs.sha_short }}.apk
- name: Upload manager
uses: actions/upload-artifact@v3.1.2
with:
name: manager
path: manager/build/outputs/apk/debug/*.apk

- name: Upload core
uses: actions/upload-artifact@v3.1.2
with:
name: core
path: app/build/outputs/apk/core/debug/*.apk

- name: Upload armv8
uses: actions/upload-artifact@v3.1.2
with:
name: snapenhance-armv8-debug
path: app/build/outputs/apk/armv8/debug/*

- name: Upload armv7
uses: actions/upload-artifact@v3.1.2
with:
name: snapenhance-armv7-debug
path: app/build/outputs/apk/armv7/debug/*

- name: Upload universal
uses: actions/upload-artifact@v3.1.2
with:
name: snapenhance-universal-debug
path: app/build/outputs/apk/all/debug/*.apk

- name: CI Upload armv8
if: ${{ inputs.ci_upload }}
run: node ./.github/workflows/upload.js -t "${{ secrets.TELEGRAM_BOT_TOKEN }}" -f "app/build/outputs/apk/armv8/debug/snapenhance-${{ env.version }}-armv8-${{ steps.version-env.outputs.sha_short }}.apk" --caption "A new commit has been pushed to the ${{ env.GIT_BRANCH_NAME }} branch! ${{ steps.version-env.outputs.sha_short }}" --chatid "${{ secrets.TELEGRAM_CHAT_ID }}"

- name: CI Upload armv7
if: ${{ inputs.ci_upload }}
run: node ./.github/workflows/upload.js -t "${{ secrets.TELEGRAM_BOT_TOKEN }}" -f "app/build/outputs/apk/armv7/debug/snapenhance-${{ env.version }}-armv7-${{ steps.version-env.outputs.sha_short }}.apk" --chatid "${{ secrets.TELEGRAM_CHAT_ID }}"
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout repo
uses: actions/checkout@v3
with:
submodules: 'recursive'

- name: set up JDK 17
uses: actions/setup-java@v3
Expand Down
112 changes: 96 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ SnapEnhance is an Xposed mod that enhances your Snapchat experience.<br/><br/>
Please note that this project is currently in development, so bugs and crashes may occur. If you encounter any issues, we encourage you to report them. To do this simply visit our [issues](https://github.com/rhunk/SnapEnhance/issues) page and create an issue, make sure to follow the guidelines.
</div>

## Download
To Download the latest stable release, please visit the [Releases](https://github.com/rhunk/SnapEnhance/releases) page.<br/>
You can also download the latest debug build from the [Actions](https://github.com/rhunk/SnapEnhance/actions) section.<br/>
We no longer offer official LSPatch binaries for obvious reasons. However, you're welcome to patch them yourself, as they should theoretically work without any issues.

## Quick Start
Requirements:
- Rooted using Magisk or KernelSU
Expand All @@ -25,6 +20,11 @@ Although using this in an unrooted enviroment using something like LSPatch shoul
3. Force Stop Snapchat
4. Open the menu by clicking the [Settings Gear Icon](https://i.imgur.com/2grm8li.png)

## Download
To Download the latest stable release, please visit the [Releases](https://github.com/rhunk/SnapEnhance/releases) page.<br/>
You can also download the latest debug build from the [Actions](https://github.com/rhunk/SnapEnhance/actions) section.<br/>
We no longer offer official LSPatch binaries for obvious reasons. However, you're welcome to patch them yourself, as they should theoretically work without any issues.

## Features
<details open>
<summary>Spying & Privacy</summary>
Expand Down Expand Up @@ -57,7 +57,7 @@ Although using this in an unrooted enviroment using something like LSPatch shoul
<summary>UI & Tweaks</summary>

- Disable Camera
- Immersive Camera Preview (Fix Snapchat's camera bug)
- Immersive Camera Preview (Fix Snapchats camera bug)
- Hide certain UI Elements
- Show Streak Expiration Info
- Disable Snap Splitting
Expand All @@ -82,22 +82,102 @@ Although using this in an unrooted enviroment using something like LSPatch shoul
- Chat Export (HTML, JSON and TXT)
</details>

## License
The [GNU GPL v3](https://www.gnu.org/licenses/gpl-3.0.en.html#license-text) license is a free, open-source software license that grants users the right to modify, share, and redistribute the software.<br/>
By using this software, you agree to make the source code freely available, along with any modifications, additions, or derivatives. <br/>
When redistributing the software, it must remain under the same [GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html#license-text) license, and any modifications should be clearly indicated as such.<br/>
## FAQ
<details>
<summary>AI wallpapers and the Snapchat+ badge aren't working!</summary>

- Yeah, they're server-sided and will probably never work.
</details>

## Donate
- LTC: LbBnT9GxgnFhwy891EdDKqGmpn7XtduBdE
- BCH: qpu57a05kqljjadvpgjc6t894apprvth9slvlj4vpj
- BTC: bc1qaqnfn6mauzhmx0e6kkenh2wh4r6js0vh5vel92
- ETH: 0x0760987491e9de53A73fd87F092Bd432a227Ee92
<details>
<summary>Can you add this feature, please?</summary>

- Open an issue on our Github repo.
</details>

<details>
<summary>When will this feature become available or finish?</summary>

- At some point.
</details>

<details>
<summary>Can I get banned with this?</summary>

- Obviously, however, the risk is very low, and we have no reported cases of anyone ever getting banned while using the mod.
</details>

<details>
<summary>Can I PM the developers?</summary>

- No.
</details>

<details>
<summary>This doesn't work!</summary>

- Open an issue.
</details>

<details>
<summary>My phone isn't rooted; how do I use this?</summary>

- You can use LSPatch in combination with SnapEnhance to run this on an unrooted device, however this is unrecommended and not considered safe.
</details>

<details>
<summary>Where can I download the latest stable build?</summary>

- https://github.com/rhunk/snapenhance/releases
</details>

<details>
<summary>Can I use HideMyApplist with this?</summary>

- No, this will cause some severe issues, and the mod will not be able to inject.
</details>

## Privacy
We do not collect any user information. However, please be aware that third-party libraries may collect data as described in their respective privacy policies.
<details>
<summary>Permissions</summary>

- [android.permission.INTERNET](https://developer.android.com/reference/android/Manifest.permission#INTERNET)
- [android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS](https://developer.android.com/reference/android/Manifest.permission.html#REQUEST_IGNORE_BATTERY_OPTIMIZATIONS)
- [android.permission.POST_NOTIFICATIONS](https://developer.android.com/reference/android/Manifest.permission.html#POST_NOTIFICATIONS)
- [android.permission.SYSTEM_ALERT_WINDOW](https://developer.android.com/reference/android/Manifest.permission#SYSTEM_ALERT_WINDOW)
</details>

<details>
<summary>Third-party libraries used</summary>

- [libxposed](https://github.com/libxposed/api)
- [ffmpeg-kit-full-gpl](https://github.com/arthenica/ffmpeg-kit)
- [osmdroid](https://github.com/osmdroid/osmdroid)
- [coil](https://github.com/coil-kt/coil)
- [Dobby](https://github.com/jmpews/Dobby)
- [rhino](https://github.com/mozilla/rhino)
- [libsu](https://github.com/topjohnwu/libsu)
</details>

## Contributors
Thanks to everyone involved including the [third-party libraries](https://github.com/rhunk/SnapEnhance?tab=readme-ov-file#privacy) used!
- [rathmerdominik](https://github.com/rathmerdominik)
- [Flole998](https://github.com/Flole998)
- [authorisation](https://github.com/authorisation/)
- [RevealedSoulEven](https://github.com/revealedsouleven)
- [iBasim](https://github.com/ibasim)
- [xerta555](https://github.com/xerta555)
- [TheVisual](https://github.com/TheVisual)
- [TheVisual](https://github.com/TheVisual)


## Donate
- LTC: LbBnT9GxgnFhwy891EdDKqGmpn7XtduBdE
- BCH: qpu57a05kqljjadvpgjc6t894apprvth9slvlj4vpj
- BTC: bc1qaqnfn6mauzhmx0e6kkenh2wh4r6js0vh5vel92
- ETH: 0x0760987491e9de53A73fd87F092Bd432a227Ee92

## License
The [GNU GPL v3](https://www.gnu.org/licenses/gpl-3.0.en.html#license-text) license is a free, open-source software license that grants users the right to modify, share, and redistribute the software.
By using this software, you agree to make the source code freely available, along with any modifications, additions, or derivatives.
When redistributing the software, it must remain under the same [GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html#license-text) license, and any modifications should be clearly indicated as such.
Loading

0 comments on commit 9ba8c2d

Please sign in to comment.