{"id":15722471,"url":"https://github.com/defold/extender","last_synced_at":"2025-05-08T04:22:56.130Z","repository":{"id":37423231,"uuid":"73095468","full_name":"defold/extender","owner":"defold","description":"Native extension build server","archived":false,"fork":false,"pushed_at":"2025-05-04T17:24:39.000Z","size":3330,"stargazers_count":52,"open_issues_count":37,"forks_count":21,"subscribers_count":13,"default_branch":"dev","last_synced_at":"2025-05-04T17:38:01.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://defold.com/manuals/extensions/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/defold.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":"2016-11-07T15:57:40.000Z","updated_at":"2025-04-30T09:13:50.000Z","dependencies_parsed_at":"2023-02-15T19:30:32.980Z","dependency_job_id":"d9c0a771-dd9a-4468-8648-91c493f76474","html_url":"https://github.com/defold/extender","commit_stats":null,"previous_names":[],"tags_count":225,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fextender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fextender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fextender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defold%2Fextender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/defold","download_url":"https://codeload.github.com/defold/extender/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252997581,"owners_count":21837839,"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":[],"created_at":"2024-10-03T22:07:55.126Z","updated_at":"2025-05-08T04:22:56.118Z","avatar_url":"https://github.com/defold.png","language":"Java","funding_links":[],"categories":["Links"],"sub_categories":[],"readme":"# Extender\n\nExtender is a build server that builds native extensions of the Defold engine. The build server can either by run using Docker or as a standalone server running on macOS.\n\n* Server description and setup/run instructions - [link](/server/README.md)\n* Debugging FAQ - [link](/README_DEBUGGING.md)\n\n---\n\n## Running as a stand-alone server on macOS\nThe stand-alone server is currently used on a machine runing macOS. The server is used to build darwin targets (macOS+iOS) using the Apple tools (XCode+Apple Clang). It is also possible to use this setup when developing on macOS.\n\n### Prerequisites\nBefore running Extender you need to have prepackaged toolchains and sdks. Full instruction how it can be done you can find [here](https://github.com/defold/defold/tree/dev/scripts/package).\n\nEnsure that you have the following tools packaged:\n* iPhoneOS17.5.sdk\n* iPhoneOS18.2.sdk\n* iPhoneSimulator17.5.sdk\n* iPhoneSimulator18.2.sdk\n* MacOSX14.5.sdk\n* MacOSX15.2.sdk\n* XcodeDefault15.4.xctoolchain.darwin\n* XcodeDefault16.2.xctoolchain.darwin\n\nNOTE: Complete list of needed packages see [link](./server/scripts/standalone/setup-standalone-env.sh)\n\nAfter obtain packages with sdks and toolchains you make it available via HTTP. The easiest way to do these is to run Python HTTP server on local machine. For example,\n```sh\n    cd \u003cpath_where_packages_located\u003e\n    python -m http.server\n```\nIt starts local web server that available at `http://localhost:8000`.\n\nSetup all needed packages via\n```sh\n    DM_PACKAGES_URL=\u003curl_where_package_located\u003e ./server/scripts/standalone/setup-standalone-env.sh\n```\nIf you run local HTTP server from previous step replace `\u003curl_where_package_located\u003e` with `http://localhost:8000`.\nIt's download packages, unpack it to correct folder and generate .env file with correct pathes.\n\n### Local Extender's application\nThere are two ways to obtain Extender's jars:\n1. Download ready-to-use jars from public repo. See instructions [here](https://defold.com/manuals/extender-local-setup/#how-to-run-local-extender-with-preconfigured-artifacts) (step 5).\n2. Build jars locally. See instruction [here](./server/README.md#how-to-build-extenders-applications).\n\nAs result you should have 2 jars in `./server/apps/` folder: extender.jar and manifestmergetool.jar.\n\n### Run\nTo run stand-alone Extender instance use folowing script:\n```sh\n    ./server/scripts/standalone/service-standalone.sh start\n```\nScript takes commad as 1st argument. Command can be one of the following:\n* **start** - start new Extender instance\n* **stop** - stop already running Extender instance\n* **restart** - stop and start Extender instance from the scratch\n\nIf you want to use different Spring profile you can pass it via 2nd argument. For example,\n```sh\n    ./server/scripts/standalone/service-standalone.sh start standalone-dev\n```\n\nNote: all Spring profiles should be located in `./server/configs/` folder.\n\nAs a result Extender should start and start listening 9010 port (that port set by default). E.g. Extender can be reached via `http://localhost:9010`.\nLogs of extender can be found in `./server/app/logs/` folder.\n\nIf you want to use other port (not 9010) you can change property `server.port` in `./server/configs/application-standalone-dev.yml`.\n\n### Develop/debug standalone Extender using VSCode\nNote that [Prerequisites](#prerequisites) should be completed and manifestmergetool.jar already downloaded or built.\n\n1. Download VSCode: https://code.visualstudio.com/download\n2. Open folder with Extender sources in VSCode.\n3. Install following extensions:\n   1. Spring Boot Extension Pack https://marketplace.visualstudio.com/items?itemName=vmware.vscode-boot-dev-pack\n   2. Spring Boot Dashboard https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-spring-boot-dashboard\n   3. Language Support for Java(TM) by Red Hat https://marketplace.visualstudio.com/items?itemName=redhat.java\n   4. Gradle for Java https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-gradle\n   5. Debugger for Java https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-debug. Note: version should be v0.58.2024090204 (pre-release) or greater.\n4. Select `Spring Boot-ExtenderApplication\u003cserver\u003e` in dropdown and start debug session.\n\n### Develop/debug standalone Extender using IntelliJ IDEA\nNote that [Prerequisites](#prerequisites) should be completed and manifestmergetool.jar already downloaded or built.\n\n1. Download IntelliJ IDEA: https://www.jetbrains.com/idea/download\n2. Run IntelliJ IDEA and open folder with Extender's sources from the welcome screen.\n3. Select `Run standalone Extender` in `Run configurations` dropdown and start debug session.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefold%2Fextender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefold%2Fextender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefold%2Fextender/lists"}