diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 00000000000..34c9205a1b9 --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,43 @@ +# Simple workflow for deploying static content to GitHub Pages +name: Deploy static content to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["main"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v4 + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + # Upload entire repository + path: '.' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/AllDependencies.json.br b/AllDependencies.json.br new file mode 100644 index 00000000000..f7e5394007e Binary files /dev/null and b/AllDependencies.json.br differ diff --git a/AllPackages.json.br b/AllPackages.json.br new file mode 100644 index 00000000000..4aa1455da40 Binary files /dev/null and b/AllPackages.json.br differ diff --git a/Index.json.br b/Index.json.br new file mode 100644 index 00000000000..2469c33b7d2 Binary files /dev/null and b/Index.json.br differ diff --git a/README.md b/README.md index f3d8c9c4443..9e9031ccd07 100644 --- a/README.md +++ b/README.md @@ -1 +1,29 @@ # Reloaded-II.Index + +This repository holds the `search index` for various sources used by [Reloaded-II](https://github.com/Reloaded-Project/Reloaded-II). + +The `search index` is a collection of downloadable packages (mods). This index is downloaded from the Reloaded client and allows for virtually instant lookups in the `Download Mods` menu. + +This repository, and in turn the index are automatically built by a bot [`Reloaded.AutoIndexBuilder`] and updated at fixed frequent time intervals; followed by a push to GitHub Pages via actions. + +## Structure + +- 'Index.json.br' holds a mapping of each corresponding source (GameBanana Game and/or NuGet Server) to a file which contains the package information. +- Package information is found under the `Search` folders. + +## Systemd Service + +``` +[Unit] +Description=Reloaded II Auto Index Builder + +[Service] +Type=simple +WorkingDirectory=/opt/Reloaded.AutoIndexBuilder +ExecStart=/snap/bin/dotnet_50 /opt/Reloaded.AutoIndexBuilder/Reloaded.AutoIndexBuilder.dll +Restart=always +User=root # Important!! Snap bug?? Can be any other valid user. + +[Install] +WantedBy=multi-user.target +``` \ No newline at end of file diff --git a/Search/GameBanana/10243/Index.json.br b/Search/GameBanana/10243/Index.json.br new file mode 100644 index 00000000000..5e86d98e171 --- /dev/null +++ b/Search/GameBanana/10243/Index.json.br @@ -0,0 +1 @@ + €{"Packages":[]} \ No newline at end of file diff --git a/Search/GameBanana/16613/Index.json.br b/Search/GameBanana/16613/Index.json.br new file mode 100644 index 00000000000..0bc3d9ebd4f Binary files /dev/null and b/Search/GameBanana/16613/Index.json.br differ diff --git a/Search/GameBanana/16951/Index.json.br b/Search/GameBanana/16951/Index.json.br new file mode 100644 index 00000000000..ddf38494242 Binary files /dev/null and b/Search/GameBanana/16951/Index.json.br differ diff --git a/Search/GameBanana/17755/Index.json.br b/Search/GameBanana/17755/Index.json.br new file mode 100644 index 00000000000..67d29c4b385 Binary files /dev/null and b/Search/GameBanana/17755/Index.json.br differ diff --git a/Search/GameBanana/18557/Index.json.br b/Search/GameBanana/18557/Index.json.br new file mode 100644 index 00000000000..eefc3e89294 Binary files /dev/null and b/Search/GameBanana/18557/Index.json.br differ diff --git a/Search/GameBanana/20794/Index.json.br b/Search/GameBanana/20794/Index.json.br new file mode 100644 index 00000000000..f40586f03fc Binary files /dev/null and b/Search/GameBanana/20794/Index.json.br differ diff --git a/Search/GameBanana/6061/Index.json.br b/Search/GameBanana/6061/Index.json.br new file mode 100644 index 00000000000..b1368ab54f2 Binary files /dev/null and b/Search/GameBanana/6061/Index.json.br differ diff --git a/Search/GameBanana/6218/Index.json.br b/Search/GameBanana/6218/Index.json.br new file mode 100644 index 00000000000..1c9cbdf7255 Binary files /dev/null and b/Search/GameBanana/6218/Index.json.br differ diff --git a/Search/GameBanana/6340/Index.json.br b/Search/GameBanana/6340/Index.json.br new file mode 100644 index 00000000000..bb80306fa14 Binary files /dev/null and b/Search/GameBanana/6340/Index.json.br differ diff --git a/Search/GameBanana/6355/Index.json.br b/Search/GameBanana/6355/Index.json.br new file mode 100644 index 00000000000..e24e430142d Binary files /dev/null and b/Search/GameBanana/6355/Index.json.br differ diff --git a/Search/GameBanana/6475/Index.json.br b/Search/GameBanana/6475/Index.json.br new file mode 100644 index 00000000000..5e86d98e171 --- /dev/null +++ b/Search/GameBanana/6475/Index.json.br @@ -0,0 +1 @@ + €{"Packages":[]} \ No newline at end of file diff --git a/Search/GameBanana/7486/Index.json.br b/Search/GameBanana/7486/Index.json.br new file mode 100644 index 00000000000..21205bd824f Binary files /dev/null and b/Search/GameBanana/7486/Index.json.br differ diff --git a/Search/GameBanana/7839/Index.json.br b/Search/GameBanana/7839/Index.json.br new file mode 100644 index 00000000000..677ef23a500 Binary files /dev/null and b/Search/GameBanana/7839/Index.json.br differ diff --git a/Search/GameBanana/7862/Index.json.br b/Search/GameBanana/7862/Index.json.br new file mode 100644 index 00000000000..91f84d9056c Binary files /dev/null and b/Search/GameBanana/7862/Index.json.br differ diff --git a/Search/GameBanana/7962/Index.json.br b/Search/GameBanana/7962/Index.json.br new file mode 100644 index 00000000000..5e86d98e171 --- /dev/null +++ b/Search/GameBanana/7962/Index.json.br @@ -0,0 +1 @@ + €{"Packages":[]} \ No newline at end of file diff --git a/Search/GameBanana/8263/Index.json.br b/Search/GameBanana/8263/Index.json.br new file mode 100644 index 00000000000..5e86d98e171 --- /dev/null +++ b/Search/GameBanana/8263/Index.json.br @@ -0,0 +1 @@ + €{"Packages":[]} \ No newline at end of file diff --git a/Search/NuGet/httppackages.sewer56.moe5000v3index.json/Index.json.br b/Search/NuGet/httppackages.sewer56.moe5000v3index.json/Index.json.br new file mode 100644 index 00000000000..74e29ba089b Binary files /dev/null and b/Search/NuGet/httppackages.sewer56.moe5000v3index.json/Index.json.br differ