{"id":28633506,"url":"https://github.com/crueter/forgejo-runner-scripts","last_synced_at":"2025-06-12T15:08:42.336Z","repository":{"id":298515601,"uuid":"1000210807","full_name":"crueter/forgejo-runner-scripts","owner":"crueter","description":"Scripts to set up Linux and Android runners on Forgejo/Gitea","archived":false,"fork":false,"pushed_at":"2025-06-11T13:30:59.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-11T14:45:45.564Z","etag":null,"topics":["forgejo"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crueter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-11T12:36:38.000Z","updated_at":"2025-06-11T13:31:02.000Z","dependencies_parsed_at":"2025-06-11T14:55:55.327Z","dependency_job_id":null,"html_url":"https://github.com/crueter/forgejo-runner-scripts","commit_stats":null,"previous_names":["crueter/forgejo-runner-scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/crueter/forgejo-runner-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crueter%2Fforgejo-runner-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crueter%2Fforgejo-runner-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crueter%2Fforgejo-runner-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crueter%2Fforgejo-runner-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crueter","download_url":"https://codeload.github.com/crueter/forgejo-runner-scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crueter%2Fforgejo-runner-scripts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259490549,"owners_count":22865767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["forgejo"],"created_at":"2025-06-12T15:08:37.314Z","updated_at":"2025-06-12T15:08:42.310Z","avatar_url":"https://github.com/crueter.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# forgejo-runner-scripts\nScripts to set up Linux and Android runners on Forgejo/Gitea.\n\nThis is currently only compatible with Arch Linux, but can be very easily adapted to support Debian or other server distros.\n\n# Setup\n- The current `pkg.txt` contains all packages needed for building \u0026 AppImage packing on Eden and other Yuzu forks. Modify to your needs.\n  * Remove the aarch64 packages if you do not wish to enable cross-compilation.\n  * `plasma-meta` is included to add proper Qt theming to the application.\n\n## Optional\n- Copy any necessary configuration directories into `config`\n  * e.g. shell\n- Copy any necessary local scripts/bin files into `local/bin`\n  * e.g. packaging scripts (linuxdeploy, etc)\n- Copy any necessary shared data into `local/share`\n  * e.g. gnupg\n- Copy any necessary SSH keys into `ssh`\n  * e.g. for private repos\n\n## Android\n- The exact setup for Android depends on what project you are building.\n- You must select a java version beforehand. The default `pkg.txt` installs Java 17.\n  * e.g. `sudo pacman -S jdk21-openjdk \u0026\u0026 sudo archlinux-java set java-21-openjdk`\n- All android-related files should go in the `android` directory.\n  * `mkdir android`\n- Generally, you will at least want a keystore. Use the provided `./genkeystore.sh` script to do so.\n  * Some projects may require the alias and password files, but they should instead use repository secrets. Ensure your password and alias match up.\n- Modify `setup-android.sh` to use your desired JDK version as well as Android SDK packages.\n\n## Finally...\nYour final directory should look something like this:\n\n```\n| android\n    | android.alias\n    | android.keystore\n    | android.pass\n| config\n    | ...\n| local\n    | share\n        | ...\n    | bin\n        | ...\n| pkg.txt\n| runner\n    | .runner\n    | config.yml\n    | runner.service\n    | wait-online\n| setup-android.sh\n| setup.sh\n| ssh\n    | config\n    | id_ed25519\n    | id_ed25519.pub\n\n```\n\nIf everything looks good, copy this entire directory onto your desired server. Then, run `./setup.sh` to install packages and setup all the necessary directories/configurations. This will additionally start and enable the Forgejo runner.\n- Note that sudo access is required.\n\nFor Android runners, additionally run `./setup-android.sh`.\n\nYour runner is now good to go!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrueter%2Fforgejo-runner-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrueter%2Fforgejo-runner-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrueter%2Fforgejo-runner-scripts/lists"}