melonsoda 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.firebaserc +5 -0
- package/.github/workflows/build.yml +45 -0
- package/.github/workflows/links.yml +50 -0
- package/LICENCE +660 -0
- package/README.md +60 -0
- package/Web437_NEC_APC3_8x16.woff +0 -0
- package/build.py +131 -0
- package/darkmode.min.js +2 -0
- package/firebase.json +10 -0
- package/index.html +88 -0
- package/js/funstuff.js +77 -0
- package/js/games.js +159 -0
- package/js/home.js +80 -0
- package/js/links.js +17 -0
- package/js/main.js +64 -0
- package/js/official.js +119 -0
- package/js/unblockers.js +151 -0
- package/links.py +138 -0
- package/melon.png +0 -0
- package/offline/404.html +33 -0
- package/offline/index.html +898 -0
- package/offline/selfupdating (axios on cdn).html +75 -0
- package/offline/selfupdating-protected.html +301 -0
- package/offline/selfupdating.html +4487 -0
- package/package.json +20 -0
- package/requirements.txt +1 -0
- package/snowflake.css +51 -0
- package/star38.gif +0 -0
- package/style.css +70 -0
- package/urls.yaml +31 -0
- package/wrangler.jsonc +14 -0
package/.firebaserc
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
name: Build SingleFile
|
|
2
|
+
|
|
3
|
+
permissions:
|
|
4
|
+
contents: write
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
branches:
|
|
9
|
+
- '**'
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
|
|
15
|
+
steps:
|
|
16
|
+
- name: Checkout repository
|
|
17
|
+
uses: actions/checkout@v4
|
|
18
|
+
with:
|
|
19
|
+
persist-credentials: false
|
|
20
|
+
|
|
21
|
+
- name: Set up Python
|
|
22
|
+
uses: actions/setup-python@v4
|
|
23
|
+
with:
|
|
24
|
+
python-version: '3.11'
|
|
25
|
+
|
|
26
|
+
- name: Install dependencies
|
|
27
|
+
run: |
|
|
28
|
+
python -m pip install --upgrade pip
|
|
29
|
+
|
|
30
|
+
- name: Run build.py
|
|
31
|
+
run: python build.py
|
|
32
|
+
|
|
33
|
+
- name: Commit and push offline folder
|
|
34
|
+
run: |
|
|
35
|
+
git config user.name "github-actions[bot]"
|
|
36
|
+
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
37
|
+
git add offline/
|
|
38
|
+
if git diff --cached --quiet; then
|
|
39
|
+
echo "No changes to commit"
|
|
40
|
+
else
|
|
41
|
+
git commit -m "Update offline build [skip ci]"
|
|
42
|
+
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} HEAD:${{ github.ref }}
|
|
43
|
+
fi
|
|
44
|
+
env:
|
|
45
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
name: Build Links
|
|
2
|
+
|
|
3
|
+
permissions:
|
|
4
|
+
contents: write
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
branches:
|
|
9
|
+
- '**'
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
|
|
15
|
+
steps:
|
|
16
|
+
- name: Checkout repository
|
|
17
|
+
uses: actions/checkout@v4
|
|
18
|
+
with:
|
|
19
|
+
persist-credentials: false
|
|
20
|
+
|
|
21
|
+
- name: Set up Python
|
|
22
|
+
uses: actions/setup-python@v4
|
|
23
|
+
with:
|
|
24
|
+
python-version: '3.11'
|
|
25
|
+
|
|
26
|
+
- name: Install dependencies
|
|
27
|
+
run: |
|
|
28
|
+
python -m pip install --upgrade pip
|
|
29
|
+
pip install -r requirements.txt
|
|
30
|
+
|
|
31
|
+
- name: Run links.py
|
|
32
|
+
run: python links.py
|
|
33
|
+
|
|
34
|
+
- name: Commit and push changes
|
|
35
|
+
run: |
|
|
36
|
+
git config user.name "github-actions[bot]"
|
|
37
|
+
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
38
|
+
git add js/links.js README.md
|
|
39
|
+
git pull
|
|
40
|
+
|
|
41
|
+
if git diff --cached --quiet; then
|
|
42
|
+
echo "No changes to commit"
|
|
43
|
+
else
|
|
44
|
+
git commit -m "Update links.js and README.md [skip ci]"
|
|
45
|
+
git push https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY} HEAD:${GITHUB_REF}
|
|
46
|
+
fi
|
|
47
|
+
env:
|
|
48
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
49
|
+
GITHUB_REPOSITORY: ${{ github.repository }}
|
|
50
|
+
GITHUB_REF: ${{ github.ref }}
|