├── .github
├── FUNDING.yml
└── workflows
│ └── main.yml
├── .gitignore
├── LICENSE
├── README.md
├── RunDate.txt
├── beta.json
├── canary.json
└── stable.json
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: # Replace with a single Ko-fi username
7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: # Replace with a single Liberapay username
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | custom: [
13 | "https://cdn.jsdelivr.net/gh/RC1844/Sponsor@master/Sponsor/Sponsor.png",
14 | ] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
15 |
--------------------------------------------------------------------------------
/.github/workflows/main.yml:
--------------------------------------------------------------------------------
1 | name: Auto Magisk Files Provider
2 | on:
3 | release:
4 | types: [published]
5 | push:
6 | tags:
7 | - "v*"
8 | # branches:
9 | # - master
10 | schedule:
11 | - cron: 0 */8 * * *
12 | watch:
13 | types: [started]
14 |
15 | # Allows you to run this workflow manually from the Actions tab
16 | workflow_dispatch:
17 |
18 | jobs:
19 | build:
20 | runs-on: ubuntu-latest
21 | steps:
22 | - uses: actions/checkout@v2
23 | # with:
24 | # persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
25 | # fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
26 | - name: Download Json
27 | run: |
28 | wget https://raw.githubusercontent.com/topjohnwu/magisk_files/master/beta.json -O beta.json
29 | wget https://raw.githubusercontent.com/topjohnwu/magisk_files/master/stable.json -O stable.json
30 | wget https://raw.githubusercontent.com/topjohnwu/magisk_files/canary/canary.json -O canary.json
31 |
32 | - name: Find and Replace
33 | uses: jacobtomlinson/gha-find-replace@master
34 | with:
35 | find: "raw.githubusercontent.com"
36 | replace: "raw.fastgit.org"
37 | include: ".json"
38 |
39 | - name: Find and Replace
40 | uses: jacobtomlinson/gha-find-replace@master
41 | with:
42 | find: "github.com"
43 | replace: "download.fastgit.org"
44 | include: ".json"
45 |
46 | - name: Commit files
47 | run: |
48 | {
49 | git config user.name github-actions
50 | git config user.email github-actions@github.com
51 | git add .
52 | git commit -m "$(date "+%Y-%m-%d %H:%M:%S")" -a
53 | if [ $? -eq 0 ]; then
54 | date >>RunDate.txt
55 | git commit -m "$(date "+%Y-%m-%d %H:%M:%S")" -a
56 | git push
57 | else
58 | echo No Update
59 | fi
60 | } || {
61 | echo Execution Failed >RunDate.txt
62 | exit 1
63 | }
64 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .vs/
2 | bin/
3 | obj/
4 | *.user
5 | _ReSharper*/
6 | *.ReSharper
7 | *_wpftmp.csproj
8 | launchSettings.json
9 | .idea/
10 | .git/
11 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 RC1844
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Magisk_Files_Broker
2 |
3 | 代理 Magisk Manager 更新通道
4 |
5 | 将[Magisk File Host](https://github.com/topjohnwu/magisk_files)的.Json 文件内链接重新指向代理镜像网站
6 |
7 | 文件内容每 8 小时同步更新一次
8 |
9 | ## 自定义更新通道
10 |
11 | | 版本 | 链接 |
12 | | :----: | :---------------------------------------------------------------------: |
13 | | stable | |
14 | | beta | |
15 | | canary | |
16 |
17 | ## 其他
18 |
19 | 如果需要更换镜像网站,请[New issues](https://github.com/RC1844/Magisk_Files_Broker/issues/new/choose)
20 |
21 | 或者 Fork 该仓库,并修改[main.yml](.github/workflows/main.yml)
22 |
--------------------------------------------------------------------------------
/RunDate.txt:
--------------------------------------------------------------------------------
1 | No Update.
2 | Sun Feb 28 08:12:24 UTC 2021
3 | Sun Mar 7 16:16:56 UTC 2021
4 | Fri Apr 9 16:03:54 UTC 2021
5 | Mon Jul 11 12:21:40 UTC 2022
6 |
--------------------------------------------------------------------------------
/beta.json:
--------------------------------------------------------------------------------
1 | {
2 | "app": {
3 | "version": "22.1",
4 | "versionCode": "22100",
5 | "link": "https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@22.1/app-release.apk",
6 | "note": "https://topjohnwu.github.io/Magisk/releases/22100.md"
7 | },
8 | "stub": {
9 | "versionCode": "20",
10 | "link": "https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@22.1/stub-release.apk"
11 | },
12 | "uninstaller": {
13 | "link": "https://github.com/topjohnwu/Magisk/releases/download/v21.4/Magisk-uninstaller-20210117.zip"
14 | },
15 | "magisk": {
16 | "version": "22.1",
17 | "versionCode": "22100",
18 | "link": "https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@22.1/app-release.apk",
19 | "note": "https://topjohnwu.github.io/Magisk/releases/22100.md",
20 | "md5": ""
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/canary.json:
--------------------------------------------------------------------------------
1 | {
2 | "app": {
3 | "version": "bf80b08b",
4 | "versionCode": "22003",
5 | "link": "app-debug.apk",
6 | "note": "notes.md"
7 | },
8 | "magisk": {
9 | "version": "bf80b08b",
10 | "versionCode": "22003",
11 | "link": "app-debug.apk",
12 | "note": "notes.md",
13 | "md5": ""
14 | },
15 | "uninstaller": {
16 | "link": "magisk-uninstaller.zip"
17 | },
18 | "stub": {
19 | "versionCode": "19",
20 | "link": "stub-release.apk"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/stable.json:
--------------------------------------------------------------------------------
1 | {
2 | "app": {
3 | "version": "22.1",
4 | "versionCode": "22100",
5 | "link": "https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@22.1/app-release.apk",
6 | "note": "https://topjohnwu.github.io/Magisk/releases/22100.md"
7 | },
8 | "stub": {
9 | "versionCode": "20",
10 | "link": "https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@22.1/stub-release.apk"
11 | },
12 | "uninstaller": {
13 | "link": "https://github.com/topjohnwu/Magisk/releases/download/v21.4/Magisk-uninstaller-20210117.zip"
14 | },
15 | "magisk": {
16 | "version": "22.1",
17 | "versionCode": "22100",
18 | "link": "https://cdn.jsdelivr.net/gh/topjohnwu/magisk-files@22.1/app-release.apk",
19 | "note": "https://topjohnwu.github.io/Magisk/releases/22100.md",
20 | "md5": ""
21 | }
22 | }
23 |
--------------------------------------------------------------------------------