Compare commits

...

146 commits
main ... 1.2.11

Author SHA1 Message Date
OTKUSteyler
0931d85c74
Update version format in build script 2026-01-02 09:20:33 +00:00
OTKUSteyler
1d0aa92b62
Update background.tsx 2026-01-02 09:18:30 +00:00
OTKUSteyler
f6b285ff22
Update index.ts 2026-01-02 09:12:53 +00:00
OTKUSteyler
64a4df26fc
Update background.tsx 2026-01-02 09:07:49 +00:00
OTKUSteyler
e38c785aae
Update index.tsx 2026-01-01 23:42:43 +00:00
OTKUSteyler
2d96fad40e
Update build.mjs 2026-01-01 23:27:07 +00:00
OTKUSteyler
0990faa41d
Refactor patchStorage to improve theme handling 2026-01-01 23:21:10 +00:00
OTKUSteyler
dc93b81ae1
Update build.mjs 2026-01-01 23:17:53 +00:00
OTKUSteyler
2448c87def
Update release.yml 2026-01-01 23:15:51 +00:00
OTKUSteyler
5205d8559f Merge branch 'main' of https://github.com/OTKUSteyler/GoonCord 2026-01-02 00:10:20 +01:00
OTKUSteyler
6bbf0a3c07
Merge branch 'kmmiio99o:main' into main 2025-12-27 17:09:13 +01:00
OTKUSteyler
af23275735
Update About.tsx 2025-12-27 02:10:26 +01:00
OTKUSteyler
0e25a20ba0
Update index.tsx 2025-12-27 02:08:45 +01:00
OTKUSteyler
b0e1180182
Add files via upload 2025-12-27 02:07:05 +01:00
OTKUSteyler
68dc8238c3
Enhance debug info header with emoji 2025-12-27 02:05:08 +01:00
OTKUSteyler
7f99346971
Update default.json 2025-12-27 02:04:24 +01:00
OTKUSteyler
401165eb34
Update index.ts 2025-12-27 01:59:46 +01:00
OTKUSteyler
19d3493322
Update build.mjs 2025-12-27 01:56:03 +01:00
OTKUSteyler
a56b432fba
Update index.ts 2025-12-27 01:50:29 +01:00
OTKUSteyler
414cf25ae8
Update default.json 2025-12-27 01:48:06 +01:00
OTKUSteyler
1523b51108
Rename command from 'debug' to 'Goon' 2025-12-27 01:45:59 +01:00
OTKUSteyler
20d6ff15ea
Update release.yml 2025-12-27 01:44:02 +01:00
OTKUSteyler
036de69acd
Update README.md 2025-12-27 01:42:10 +01:00
OTKUSteyler
945acc1738 Merge branch 'dev' 2025-12-27 01:36:29 +01:00
OTKUSteyler
5fa10f606a Merge branch 'main' of https://github.com/OTKUSteyler/GoonCord 2025-12-26 09:44:06 +01:00
OTKUSteyler
36336f738f
Update Twitter/X embed URL to use fxtwitter.com 2025-12-24 00:47:08 +01:00
OTKUSteyler
5cdd217017
Update index.ts 2025-12-24 00:43:15 +01:00
OTKUSteyler
cd4679913a
Update index.tsx 2025-12-19 11:40:14 +01:00
OTKUSteyler
a4009897c2
Update index.tsx 2025-12-19 11:37:03 +01:00
OTKUSteyler
1352abed03
Update index.tsx 2025-12-19 11:15:00 +01:00
OTKUSteyler
47be786461
Add files via upload 2025-12-19 09:59:27 +01:00
OTKUSteyler
aa90f479e8
Create uwu 2025-12-19 09:59:05 +01:00
OTKUSteyler
87cd9ab347
Update index.ts 2025-12-16 00:10:48 +01:00
OTKUSteyler
5b4cc43637
Update index.ts 2025-12-16 00:00:55 +01:00
OTKUSteyler
8b9fa8d964
Update index.ts 2025-12-15 23:59:04 +01:00
OTKUSteyler
01a8686542
Update index.ts 2025-12-15 23:51:24 +01:00
OTKUSteyler
52bc899440
Update default.json 2025-12-11 19:27:40 +01:00
OTKUSteyler
0512796945
Add files via upload 2025-12-11 18:00:13 +01:00
OTKUSteyler
0a92bc4363
Update About.tsx 2025-12-11 14:44:08 +01:00
OTKUSteyler
7273bd52fa
Update index.ts 2025-12-11 14:40:43 +01:00
OTKUSteyler
985355976e
Update index.ts 2025-12-11 14:30:22 +01:00
OTKUSteyler
3f92812707
Update index.ts 2025-12-11 13:58:42 +01:00
OTKUSteyler
57fc0b2ab2
Update panel.tsx 2025-12-11 11:13:35 +01:00
OTKUSteyler
86ca221428
Update default.json 2025-12-11 09:56:55 +01:00
OTKUSteyler
0d7a5b8612
Update index.ts 2025-12-11 09:54:08 +01:00
OTKUSteyler
f31e0d0587
Update index.tsx 2025-12-11 09:53:19 +01:00
OTKUSteyler
4427217cb2
Update reload.ts 2025-12-11 09:51:27 +01:00
OTKUSteyler
c297b946f4
Update debug.ts 2025-12-11 09:50:56 +01:00
OTKUSteyler
077616dca1
Update build.mjs 2025-12-11 08:52:57 +01:00
OTKUSteyler
c007af6500
Update build.mjs 2025-12-11 08:50:28 +01:00
OTKUSteyler
36febf010c
Update build.mjs 2025-12-11 08:49:45 +01:00
OTKUSteyler
f6b18053d9
Update build.mjs 2025-12-11 08:47:08 +01:00
OTKUSteyler
9a1ab563b7
Update release.yml 2025-12-11 07:44:09 +01:00
OTKUSteyler
a0766a8ddc
Update release.yml 2025-12-11 07:41:37 +01:00
OTKUSteyler
08a6017103
Update README.md 2025-12-11 07:40:20 +01:00
OTKUSteyler
4c10ace879 Update ThemeInfoActionSheet.tsx 2025-12-10 21:43:06 +01:00
OTKUSteyler
2216045a50 Update index.tsx 2025-12-10 21:43:06 +01:00
OTKUSteyler
9894d8e8c4 Update README.md 2025-12-10 21:43:06 +01:00
OTKUSteyler
0dfa1e0a0a Add files via upload 2025-12-10 21:43:06 +01:00
OTKUSteyler
926b393c0f Add files via upload 2025-12-10 21:43:06 +01:00
OTKUSteyler
f688e4dfc6 Add files via upload 2025-12-10 21:43:06 +01:00
OTKUSteyler
9f1f3cf5f3 Add files via upload 2025-12-10 21:43:06 +01:00
OTKUSteyler
c7f2c1fad8 Update ThemeInfoActionSheet.tsx 2025-12-10 21:43:06 +01:00
OTKUSteyler
b1df00ac39 Update AddonPage.tsx 2025-12-10 21:43:06 +01:00
OTKUSteyler
60af217859 Update AddonCard.tsx 2025-12-10 21:43:06 +01:00
OTKUSteyler
6e34da9d91 Add files via upload 2025-12-10 21:43:06 +01:00
OTKUSteyler
07f7566c13 Add files via upload 2025-12-10 21:43:06 +01:00
OTKUSteyler
66ae261fe3 Add files via upload 2025-12-10 21:43:06 +01:00
OTKUSteyler
e8b9a337b5 Update index.ts 2025-12-10 21:43:06 +01:00
OTKUSteyler
c965aa5907 Add files via upload 2025-12-10 21:43:06 +01:00
OTKUSteyler
3f709f82cc Update build.mjs 2025-12-10 21:43:06 +01:00
OTKUSteyler
972d7e7836 Update release.yml 2025-12-10 21:43:06 +01:00
OTKUSteyler
335bb4ab5e Update build.mjs 2025-12-10 21:43:06 +01:00
OTKUSteyler
a4dd0601b0 Add files via upload 2025-12-10 21:43:06 +01:00
OTKUSteyler
d2e9499d6f Add files via upload 2025-12-10 21:43:06 +01:00
OTKUSteyler
a0bc249936 Add files via upload 2025-12-10 21:43:06 +01:00
OTKUSteyler
46eeaa27c4 Add files via upload 2025-12-10 21:43:06 +01:00
OTKUSteyler
6a34ad83ef Add files via upload 2025-12-10 21:43:06 +01:00
OTKUSteyler
a628bf2850 Add files via upload 2025-12-10 21:43:06 +01:00
OTKUSteyler
ff2e341a1a Add files via upload 2025-12-10 21:43:06 +01:00
OTKUSteyler
4f6f5b636b Delete internals directory 2025-12-10 21:43:06 +01:00
OTKUSteyler
fdcc756281 Delete polyfills directory 2025-12-10 21:43:06 +01:00
OTKUSteyler
5750fff8d7 Delete factories.ts 2025-12-10 21:43:06 +01:00
OTKUSteyler
923039adb2 Delete filters.ts 2025-12-10 21:43:06 +01:00
OTKUSteyler
153e459665 Delete finders.ts 2025-12-10 21:43:06 +01:00
OTKUSteyler
2e75085b72 Delete global.d.ts 2025-12-10 21:43:06 +01:00
OTKUSteyler
6347f7d86e Delete index.ts 2025-12-10 21:43:06 +01:00
OTKUSteyler
829cb397a8 Delete entry.ts 2025-12-10 21:43:06 +01:00
OTKUSteyler
b791dfe045 Delete lazy.ts 2025-12-10 21:43:06 +01:00
OTKUSteyler
6a20f5cdf3 Delete modules.d.ts 2025-12-10 21:43:06 +01:00
OTKUSteyler
b5279af2c5 Delete types.ts 2025-12-10 21:43:06 +01:00
OTKUSteyler
f56b894e4a Delete common directory 2025-12-10 21:43:06 +01:00
OTKUSteyler
f18029cfc2 Delete debug directory 2025-12-10 21:43:06 +01:00
OTKUSteyler
78c9999e97 Delete commands directory 2025-12-10 21:43:06 +01:00
OTKUSteyler
bd177b9bf1 Delete wrappers.ts 2025-12-10 21:43:06 +01:00
OTKUSteyler
21bdd39803 Delete ui directory 2025-12-10 21:43:06 +01:00
OTKUSteyler
f8047bb853 Delete api directory 2025-12-10 21:43:06 +01:00
OTKUSteyler
ba344ac3fb Delete addons directory 2025-12-10 21:43:06 +01:00
OTKUSteyler
b474285180 Delete utils directory 2025-12-10 21:43:06 +01:00
OTKUSteyler
0ac9ee6dd3 Add files via upload 2025-12-10 21:43:06 +01:00
OTKUSteyler
55233fda91 Update build.yaml 2025-12-10 21:43:06 +01:00
OTKUSteyler
ac17136640 Update index.tsx 2025-12-10 21:43:06 +01:00
OTKUSteyler
b99e851af9 Update About.tsx 2025-12-10 21:43:06 +01:00
OTKUSteyler
5e5d635a09 Update index.ts 2025-12-10 21:43:06 +01:00
OTKUSteyler
dac035fb5f Update build.mjs 2025-12-10 21:43:06 +01:00
OTKUSteyler
16cd982554 Update release.yml 2025-12-10 21:43:06 +01:00
OTKUSteyler
7396fca9fc Update build.mjs 2025-12-10 21:43:06 +01:00
OTKUSteyler
0b6d648615 Update build.mjs 2025-12-10 21:43:06 +01:00
OTKUSteyler
3449b76df3 Update build.mjs 2025-12-10 21:43:06 +01:00
OTKUSteyler
9b416830ab Update release.yml 2025-12-10 21:43:06 +01:00
OTKUSteyler
9922386c18 Update index.ts 2025-12-10 21:43:06 +01:00
OTKUSteyler
1ebb81bf96 Update build.yaml 2025-12-10 21:43:06 +01:00
OTKUSteyler
c3f619dc79 Update release.yml 2025-12-10 21:43:06 +01:00
OTKUSteyler
8f9444ab54 Update README.md 2025-12-10 21:43:06 +01:00
OTKUSteyler
19d0419a2f Update index.ts 2025-12-10 21:43:06 +01:00
OTKUSteyler
23083003e9 Add files via upload 2025-12-10 21:43:01 +01:00
OTKUSteyler
0861a24c0c Add files via upload 2025-12-10 21:43:01 +01:00
OTKUSteyler
13593d8f41 Delete src/assets/icons/wwww 2025-12-10 21:43:01 +01:00
OTKUSteyler
c0c910a2b3 Add files via upload 2025-12-10 21:43:01 +01:00
OTKUSteyler
2a1eccff80 Create wwww 2025-12-10 21:43:01 +01:00
OTKUSteyler
3ca0f5443a Delete src/assets directory 2025-12-10 21:43:01 +01:00
OTKUSteyler
bed19ed24b Delete src/src/assets/icons directory 2025-12-10 21:43:01 +01:00
OTKUSteyler
8909be4543 Create icons 2025-12-10 21:43:01 +01:00
OTKUSteyler
c079a9ecae Delete src/src/assets/icons/a 2025-12-10 21:43:01 +01:00
OTKUSteyler
de3194fecc Add files via upload 2025-12-10 21:43:01 +01:00
OTKUSteyler
92f22ba309 Create a 2025-12-10 21:43:01 +01:00
OTKUSteyler
75625016a9 Delete src/assets/icons/shiggy.png 2025-12-10 21:43:01 +01:00
OTKUSteyler
ec673af07b Update release.yml 2025-12-10 21:43:01 +01:00
OTKUSteyler
867810ecf9 Update index.ts 2025-12-10 21:43:01 +01:00
OTKUSteyler
80ce7006ba Update build.mjs 2025-12-10 21:43:01 +01:00
OTKUSteyler
9beb2576a2 Delete src/assets/icons/cum.png 2025-12-10 21:43:01 +01:00
OTKUSteyler
016a4589ea Add files via upload 2025-12-10 21:43:01 +01:00
OTKUSteyler
7d068dcf17 Rename cum.png to shiggy.png 2025-12-10 21:43:01 +01:00
OTKUSteyler
1ec1ac535a Delete src/assets/icons/shiggy.png 2025-12-10 21:43:01 +01:00
OTKUSteyler
18b5e4d66a Add files via upload 2025-12-10 21:43:01 +01:00
OTKUSteyler
af881aaf07 Create shiggy.png 2025-12-10 21:43:01 +01:00
OTKUSteyler
daaeceed91 Delete src/assets/icons/shiggy.png 2025-12-10 21:43:01 +01:00
OTKUSteyler
d8a6d14088 Update package.json 2025-12-10 21:42:38 +01:00
OTKUSteyler
29d35c42e2 Update README.md 2025-12-10 21:42:38 +01:00
OTKUSteyler
a982c7cd1d Update README.md 2025-12-10 21:42:38 +01:00
OTKUSteyler
1232995cd9 Update debug.ts 2025-12-10 21:42:38 +01:00
OTKUSteyler
c95e5062d0 Update debug.ts 2025-12-10 21:42:38 +01:00
OTKUSteyler
d1380a5772 Update release.yml 2025-12-10 21:42:38 +01:00
OTKUSteyler
3339e7ce02 Update debug.ts 2025-12-10 21:42:38 +01:00
OTKUSteyler
81f0f5c2c5 Update default.json 2025-12-10 21:42:38 +01:00
OTKUSteyler
cc31d09118 Update README.md 2025-12-10 21:40:55 +01:00
21 changed files with 101 additions and 89 deletions

View file

@ -53,4 +53,4 @@ jobs:
git fetch origin
git checkout github || git checkout -b github
git merge origin/main --no-edit --allow-unrelated-histories
git push --force origin github
git push --force origin github

View file

@ -5,15 +5,6 @@ on:
branches:
- main
workflow_dispatch:
inputs:
release_name:
description: 'Custom Release Name (e.g., "Jolly", "Christmas")'
required: true
type: string
release_tag:
description: 'Release Tag (e.g., "v1.0.0")'
required: true
type: string
jobs:
release:
@ -38,38 +29,33 @@ jobs:
run: bun install
shell: bash
- name: Determine Release Info
id: release_info
- name: Extract version
id: extract
run: |
# For workflow_dispatch, use the provided inputs
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
release_name="${{ github.event.inputs.release_name }}"
release_tag="${{ github.event.inputs.release_tag }}"
else
# For push events, extract version and generate a name
if [ ! -f scripts/build.mjs ]; then
echo "scripts/build.mjs not found" >&2
exit 1
fi
# Extract major.minor.patch version from scripts/build.mjs
# This locates the first quoted three-segment version string in the build script (e.g. "1.1.7")
if [ ! -f scripts/build.mjs ]; then
echo "scripts/build.mjs not found" >&2
exit 1
fi
# Print a snippet of the file for debugging in workflow logs
echo '--- scripts/build.mjs (snippet) ---' >&2
sed -n '1,200p' scripts/build.mjs >&2 || true
# Extract version
raw=$(grep -m1 -oE '\"[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?\"' scripts/build.mjs | tr -d '\"' | head -n1 || true)
version=$(printf '%s' "$raw" | sed -E 's/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/')
# Primary extraction: find the first quoted semver (may include prerelease suffix, but we strip it)
raw=$(grep -m1 -oE '\"[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?\"' scripts/build.mjs | tr -d '\"' | head -n1 || true)
if ! printf '%s' "$version" | grep -xE '^[0-9]+\.[0-9]+\.[0-9]+$' >/dev/null; then
echo "Failed to extract a valid base version from scripts/build.mjs" >&2
exit 1
fi
# Strip any prerelease suffix, keep only major.minor.patch
version=$(printf '%s' "$raw" | sed -E 's/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/')
# Use version-based naming for push events
release_name="Release v${version}"
release_tag="v${version}"
# Validate final result is exactly major.minor.patch
if ! printf '%s' "$version" | grep -xE '^[0-9]+\.[0-9]+\.[0-9]+$' >/dev/null; then
echo "Failed to extract a valid base version from scripts/build.mjs" >&2
sed -n '1,200p' scripts/build.mjs >&2 || true
exit 1
fi
echo "release_name=${release_name}" >> $GITHUB_OUTPUT
echo "release_tag=${release_tag}" >> $GITHUB_OUTPUT
echo "Using release name: ${release_name}" >&2
echo "Using release tag: ${release_tag}" >&2
echo "version=$version" >> $GITHUB_OUTPUT
shell: bash
- name: Prepare tag
@ -79,7 +65,9 @@ jobs:
run: |
set -euo pipefail
tag="${{ steps.release_info.outputs.release_tag }}"
# Use the extracted version directly as the tag for main branch releases
version="${{ steps.extract.outputs.version }}"
tag="${version}"
echo "[debug] computed tag=${tag}" >&2
@ -107,10 +95,10 @@ jobs:
- name: Create Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.release_info.outputs.release_tag }}
name: ${{ steps.release_info.outputs.release_name }}
tag_name: ${{ steps.prepare.outputs.tag }}
name: Release ${{ steps.prepare.outputs.tag }}
files: |
dist/shiggycord.js
dist/shiggycord.min.js
dist/gooncord.js
dist/gooncord.min.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -1,39 +1,40 @@
# ShiggyCord [![Discord](https://img.shields.io/discord/1427396621905432699?style=social&logo=discord&label=ShiggyCord)](https://discord.gg/nQykFF9Ud6)
# GoonCord [![Discord](https://img.shields.io/discord/1427396621905432699?style=social&logo=discord&label=ShiggyCord)](https://discord.gg/nQykFF9Ud6)
Bundle based on Kettu, made just for fun
An unofficial fork of ShiggyGord, made just for fun
Idea taken from me
## Installing
### Android
- Rooted: [Shiggy Xposed](https://github.com/kmmiio99o/ShiggyXposed)
- Rooted: [Goon Xposed](https://github.com/OTKUSteyler/GoonXposed)
- Non-Rooted: [Shiggy Manager](https://github.com/kmmiio99o/ShiggyManager)
- Non-Rooted: [Goon Manger](https://github.com/OTKUSteyler/GoonManager)
### Android/iOS
- **Injecting bundle:**
```url
https://github.com/kmmiio99o/ShiggyCord/releases/latest/download/shiggycord.js
https://github.com/OTKUSteyler/GoonCord/releases/latest/download/gooncord.js
```
## Building
1. Install a ShiggyCord loader with loader config support (any mentioned in the [Installing](#installing) section).
1. Install a GoonCord loader with loader config support (any mentioned in the [Installing](#installing) section).
1. Go to Settings > General and enable Developer Settings.
1. Clone the repo:
```
git clone https://github.com/kmmiio99o/Shiggycord.git
git clone https://github.com/OTKUSteyler/GoonCord.git
```
1. Install dependencies:
```
bun i
```
1. Build ShiggyCord's code:
1. Build GoonCord's code:
```
bun run build
```
1. In the newly created `dist` directory, run a HTTP server. I recommend [http-server](https://www.npmjs.com/package/http-server).
1. Go to Settings > Developer enabled earlier. Enable `Load from custom url` and input the IP address and port of the server (e.g. `http://192.168.1.236:4040/shiggycord.js`) in the new input box labelled `ShiggyCord URL`.
1. Restart Discord. Upon reload, you should notice that your device will download ShiggyCord's bundled code from your server, rather than GitHub.
1. Go to Settings > Developer enabled earlier. Enable `Load from custom url` and input the IP address and port of the server (e.g. `http://192.168.1.236:4040/gooncord.js`) in the new input box labelled `GoonCord URL`.
1. Restart Discord. Upon reload, you should notice that your device will download GoonCord's bundled code from your server, rather than GitHub.
1. Make your changes, rebuild, reload, go wild!
Alternatively, you can directly *serve* the bundled code by running `bun run serve`. `shiggycord.js` will be served on your local address under the port 4040. You will then insert `http://<local ip address>:4040/shiggycord.js` as a custom url and reload. Whenever you restart your mobile client, the script will rebuild the bundle as your client fetches it.
Alternatively, you can directly *serve* the bundled code by running `bun run serve`. `gooncord.js` will be served on your local address under the port 4040. You will then insert `http://<local ip address>:4040/gooncord.js` as a custom url and reload. Whenever you restart your mobile client, the script will rebuild the bundle as your client fetches it.

Binary file not shown.

1
Stuff/uwu Normal file
View file

@ -0,0 +1 @@

View file

@ -1,9 +1,9 @@
{
"name": "ShiggyCord",
"name": "GoonCord",
"private": true,
"author": {
"name": "kmmiio99o",
"url": "https://github.com/kmmiio99o"
"name": "OTKUSteyler",
"url": "https://github.com/OTKUSteyler/GoonCord"
},
"scripts": {
"build": "node scripts/build.mjs",

View file

@ -30,7 +30,7 @@ let context = null;
const config = {
entryPoints: ["src/entry.ts"],
bundle: true,
outfile: "dist/shiggycord.js",
outfile: "dist/gooncord.js",
format: "iife",
splitting: false,
// Enable minification by default for release builds (when a release-branch is provided).
@ -75,7 +75,7 @@ const config = {
constModules: {
globals: {
"bunny-build-info": {
version: `"Jolly 1.4"`,
version: `"v1.1.11"`,
},
},
},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View file

@ -8,7 +8,7 @@ import { messageUtil } from "@metro/common";
export default () =>
<ApplicationCommand>{
name: "debug",
name: "Goon",
description: Strings.COMMAND_DEBUG_DESC,
options: [
{
@ -20,8 +20,8 @@ export default () =>
execute([ephemeral], ctx) {
const info = getDebugInfo();
const content = [
"**ShiggyCord Debug Info**",
`> ShiggyCord: ${info.bunny.version} (${info.bunny.loader.name} ${info.bunny.loader.version})`,
"**💦GoonCord💦 Debug Info**",
`> GoonCord: ${info.bunny.version} (${info.bunny.loader.name} ${info.bunny.loader.version})`,
`> Discord: ${info.discord.version} (${info.discord.build})`,
`> React: ${info.react.version} (RN ${info.react.nativeVersion})`,
`> Hermes: ${info.hermes.version} (bcv${info.hermes.bytecodeVersion})`,

View file

@ -4,10 +4,10 @@ import { BundleUpdaterManager } from "@lib/api/native/modules";
export default () =>
<ApplicationCommand>{
name: "reload",
name: "ReGoon",
description: Strings.COMMAND_RELOAD_DESC,
options: [],
execute() {
BundleUpdaterManager.reload();
},
};
};

View file

@ -4,12 +4,10 @@
"ARE_YOU_SURE_TO_CLEAR_DATA": "Are you sure you wish to clear the data of {name}?",
"ARE_YOU_SURE_TO_DELETE_PLUGIN": "Are you sure you wish to delete {name}? This will clear all of the plugin's data.",
"ARE_YOU_SURE_TO_DELETE_THEME": "Are you sure you wish to delete {name}?",
"AUTO_DEBUGGER": "Automatically connect to Debugger",
"AUTO_DEVTOOLS": "Automatically connect to Devtools",
"ASSET_BROWSER": "Asset Browser",
"BRAND": "Brand",
"SHIGGYCORD": "ShiggyCold",
"SHIGGYCORD_URL": "ShiggyCold URL",
"SHIGGYCORD": "💦GoonCord💦",
"SHIGGYCORD_URL": "GoonCord URL",
"BROWSER": "Browser",
"BYTECODE": "Bytecode",
"CANCEL": "Cancel",
@ -21,14 +19,13 @@
"CLEAR_DATA_SUCCESSFUL": "Cleared data for {name}",
"CODEBERG": "Codeberg",
"CODENAME": "Codename",
"COMMAND_DEBUG_DESC": "Send ShiggyCord debug info.",
"COMMAND_DEBUG_DESC": "Send GoonCord debug info.",
"COMMAND_DEBUG_OPT_EPHEMERALLY": "Send debug info ephemerally.",
"COMMAND_EVAL_DESC": "Evaluate JavaScript code.",
"COMMAND_EVAL_OPT_ASYNC": "Whether to support 'await' in code. Must explicitly return for result (default: false)",
"COMMAND_EVAL_OPT_CODE": "The code to evaluate.",
"COMMAND_PLUGINS_DESC": "Send list of installed plugins.",
"COMMAND_PLUGINS_OPT_EPHEMERALLY": "Send plugins list ephemerally.",
"COMMAND_RELOAD_DESC": "Reload Discord.",
"COMPONENT": "Component",
"CONFIRMATION_LINK_IS_A_TYPE": "This link is a **{urlType, select, plugin {Plugin} theme {Theme} other {Add-on}}**, would you like to install it?",
"CONNECT_TO_DEBUG_WEBSOCKET": "Connect to debug WebSocket",
@ -39,7 +36,6 @@
"DEBUG": "Debug",
"DEBUGGER_URL": "Debugger URL",
"DELETE": "Delete",
"DEVTOOLS_URL": "DevTools URL",
"DESC_EXTRACT_FONTS_FROM_THEME": "Looks out for \"fonts\" field in your currently applied theme and install it.",
"DEVELOPER": "Developer",
"DEVELOPER_SETTINGS": "Developer Settings",
@ -67,9 +63,8 @@
"LABEL_EXTRACT_FONTS_FROM_THEME": "Extract font from theme",
"LINKS": "Links",
"LOAD_FROM_CUSTOM_URL": "Load from custom URL",
"LOAD_FROM_CUSTOM_URL_DEC": "Load ShiggyCord from a custom endpoint.",
"LOAD_FROM_CUSTOM_URL_DEC": "Load GoonCord from a custom endpoint.",
"LOAD_REACT_DEVTOOLS": "Load React DevTools",
"SHIGGY_URL": "ShiggyCord URL",
"LOADER": "Loader",
"MACHINE_ID": "Machine ID",
"MANUFACTURER": "Manufacturer",
@ -91,7 +86,7 @@
"PLUGINS": "Plugins",
"REFETCH": "Refetch",
"RELOAD": "Reload",
"RELOAD_DISCORD": "Reshiggy your Discord",
"RELOAD_DISCORD": "ReGoon your Discord",
"RELOAD_IN_NORMAL_MODE": "Reload in Normal Mode",
"RELOAD_IN_NORMAL_MODE_DESC": "Safe mode currently enabled, tap to reload in normal mode",
"RELOAD_IN_SAFE_MODE": "Reload in Safe Mode",
@ -120,7 +115,7 @@
"UH_OH": "Uh Oh",
"UNINSTALL": "Uninstall",
"UNINSTALL_TITLE": "Uninstall {title}",
"URL_PLACEHOLDER": "https://github.com/kmmiio99o/ShiggyCord",
"URL_PLACEHOLDER": "https://github.com/OTKUSteyler/GoonCord",
"VERSION": "Version",
"VERSIONS": "Versions"
}

View file

@ -51,7 +51,7 @@ export function initFetchI18nStrings() {
_loadedLocale.add(resolvedLocale);
fetch(
`https://raw.githubusercontent.com/kmmiio99o/i18n/main/resources/${resolvedLocale}/shiggycord.json`,
`https://raw.githubusercontent.com/OTKUSteyler/i18n/main/resources/${resolvedLocale}/gooncord.json`,
)
.then((r) => r.json())
.then((strings) => (_loadedStrings[resolvedLocale] = strings))

View file

@ -42,19 +42,19 @@ function transformLinks(content: string, config: FixEmbedSettings): string {
if (config.instagram) {
result = result.replace(
/https?:\/\/(?:www\.)?instagram\.com(\/[^\s]+)/gi,
"https://uuinstagram.com$1",
"https://kkinstagram.com$1",
);
}
// TikTok: Replace domain, keep path
if (config.tiktok) {
result = result.replace(
/https?:\/\/(?:www\.)?tiktok\.com(\/[^\s]+)/gi,
"https://tnktok.com$1",
"https://tiktokez.com$1",
);
// TikTok short links (vm.tiktok.com)
result = result.replace(
/https?:\/\/vm\.tiktok\.com\/([A-Za-z0-9]+)\/?/gi,
"https://vm.tnktok.com/$1",
"https://vm.tiktokez.com/$1",
);
}
// Reddit: Replace domain, keep path

View file

@ -29,7 +29,7 @@ declare module "@lib/api/settings" {
}
const soundUrl =
"https://github.com/kmmiio99o/kmmiio99o.github.io/raw/refs/heads/main/music/shiggycord.mp3";
"https://github.com/OTKUSteyler/GoonCord/raw/refs/heads/main/Stuff/All%20I%20Want%20For%20Christmas%20(Is%20Fark).mp3";
const soundId = 6971;
let soundDuration = -1;
let timeoutId: NodeJS.Timeout | null = null;

View file

@ -11,7 +11,7 @@ export { shiggycordIcon };
export default function initSettings() {
registerSection({
name: "ShiggyCord",
name: "GoonCord",
items: [
{
key: "SHIGGYCORD",
@ -21,11 +21,20 @@ export default function initSettings() {
useTrailing: () => `(${version})`,
},
{
key: "BUNNY_PLUGINS",
key: "CORE_PLUGINS",
title: () => Strings.PLUGINS,
icon: findAssetId("ActivitiesIcon"),
render: () => import("@core/ui/settings/pages/Plugins"),
},
{
key: "BUNNY_PLUGINS",
title: () => "External Plugins",
icon:
findAssetId("DownloadIcon") ??
findAssetId("LinkIcon") ??
findAssetId("ActivitiesIcon"),
render: () => import("@core/ui/settings/pages/Plugins"),
},
{
key: "BUNNY_THEMES",
title: () => Strings.THEMES,

View file

@ -97,7 +97,7 @@ export default function About() {
variant="text-md/medium"
style={{ textAlign: "center", marginTop: 4 }}
>
Jolly your discord client!
Goon your discord client!
</Text>
</View>

View file

@ -113,7 +113,7 @@ export default function General() {
>
<TableRowGroup title="App Information">
<TableRow
label="ShiggyCold"
label="GoonCold"
icon={<TableRow.Icon source={{ uri: shiggycordIcon }} />}
trailing={<TableRow.TrailingText text={debugInfo.bunny.version} />}
/>

View file

@ -126,5 +126,5 @@ export default async () => {
}
// Final ready log for basic UI availability.
logger.log("ShiggyCord is ready.");
logger.log("GoonCord is ready.");
};

View file

@ -6,6 +6,7 @@ import { findInReactTree } from "@lib/utils";
import { findByFilePathLazy } from "@metro";
import chroma from "chroma-js";
import { ImageBackground, StyleSheet } from "react-native";
import { logger } from "@lib/utils/logger";
const Messages = findByFilePathLazy("components_native/chat/Messages.tsx", true);

View file

@ -12,22 +12,39 @@ const mmkvStorage = proxyLazy(() => {
export default function patchStorage() {
const patchedKeys = new Set(["ThemeStore", "SelectivelySyncedUserSettingsStore"]);
const sanitizedKeys = new Set<string>();
const patches = [
after("get", mmkvStorage, ([key], ret) => {
if (!_colorRef.current || !patchedKeys.has(key)) return;
if (!patchedKeys.has(key)) return;
const state = findInTree(ret._state, s => typeof s.theme === "string");
if (state) state.theme = _colorRef.key;
if (!state) return;
const lastSetDiscordTheme = _colorRef.lastSetDiscordTheme ?? "darker";
if (/^bn-theme-\d+$/.test(state.theme) && !/^bn-theme-\d+$/.test(lastSetDiscordTheme) && !sanitizedKeys.has(key)) {
try {
const newVal = { ...ret._state, theme: lastSetDiscordTheme };
mmkvStorage.set(key, newVal);
sanitizedKeys.add(key);
} catch (e) {
}
state.theme = lastSetDiscordTheme;
return;
}
if (_colorRef.current) state.theme = _colorRef.key;
}),
before("set", mmkvStorage, ([key, value]) => {
if (!patchedKeys.has(key)) return;
const json = JSON.stringify(value);
const lastSetDiscordTheme = _colorRef.lastSetDiscordTheme ?? "darker";
const replacementTheme = /^bn-theme-\d+$/.test(lastSetDiscordTheme) ? "darker" : lastSetDiscordTheme;
const replaced = json.replace(
/"theme":"bn-theme-\d+"/,
`"theme":${JSON.stringify(lastSetDiscordTheme)}`
`"theme":${JSON.stringify(replacementTheme)}`
);
return [key, JSON.parse(replaced)];

View file

@ -57,15 +57,15 @@ export function patchPanelUI(unpatches: (() => void | boolean)[]) {
after("default", findByNameLazy("getScreens", false), (_a, screens) => ({
...screens,
VendettaCustomPage: {
title: "ShiggyCord",
title: "GoonCord",
render: () => <CustomPageRenderer />,
},
BUNNY_CUSTOM_PAGE: {
title: "ShiggyCord",
title: "GoonCord",
render: () => <CustomPageRenderer />,
},
SHIGGYCORD_CUSTOM_PAGE: {
title: "ShiggyCord",
title: "GoonCord",
render: () => <CustomPageRenderer />,
},
})),