{"id":15966936,"url":"https://github.com/mob-sakai/unity-activate","last_synced_at":"2025-04-13T08:26:35.547Z","repository":{"id":39802289,"uuid":"325194657","full_name":"mob-sakai/unity-activate","owner":"mob-sakai","description":"A tool to activate Unity license.","archived":false,"fork":false,"pushed_at":"2025-03-28T22:32:13.000Z","size":430,"stargazers_count":102,"open_issues_count":2,"forks_count":25,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-13T08:26:33.602Z","etag":null,"topics":["activate","license-management","npm-package","unity","unity3d"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/mob-sakai.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"mob-sakai","patreon":"mob_sakai","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-12-29T05:28:44.000Z","updated_at":"2025-04-07T07:22:17.000Z","dependencies_parsed_at":"2024-10-25T17:06:40.190Z","dependency_job_id":"707c8fe2-fe96-48ab-8584-e92096c06541","html_url":"https://github.com/mob-sakai/unity-activate","commit_stats":{"total_commits":54,"total_committers":7,"mean_commits":7.714285714285714,"dds":0.4629629629629629,"last_synced_commit":"3a57a7c8ead00e1e04df35b8eb07401f3076b443"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mob-sakai%2Funity-activate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mob-sakai%2Funity-activate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mob-sakai%2Funity-activate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mob-sakai%2Funity-activate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mob-sakai","download_url":"https://codeload.github.com/mob-sakai/unity-activate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248682893,"owners_count":21144844,"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":["activate","license-management","npm-package","unity","unity3d"],"created_at":"2024-10-07T18:06:36.249Z","updated_at":"2025-04-13T08:26:35.524Z","avatar_url":"https://github.com/mob-sakai.png","language":"TypeScript","funding_links":["https://github.com/sponsors/mob-sakai","https://patreon.com/mob_sakai"],"categories":[],"sub_categories":[],"readme":"unity-activate\n===\n\nA tool to automate the manual activation of unity license using puppeteer.\n\nInspired by https://github.com/MizoTake/unity-license-activate (@MizoTake).\n\n[![npm](https://img.shields.io/npm/v/unity-activate)](https://www.npmjs.com/package/unity-activate)\n![license](https://img.shields.io/npm/l/unity-activate)\n![downloads](https://img.shields.io/npm/dy/unity-activate)\n![release](https://github.com/mob-sakai/unity-activate/workflows/release/badge.svg)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n## Usage as a node module:\n\n```sh\nnpm install unity-activate\n```\n\n```js\nconst { ActivatorOptions, Activator } = require('unity-activate');\n\n(async () =\u003e {\n    new Activator({\n        file :'input.alf',\n        username :'username',\n        password :'password',\n        authKey :'authenticator_key',\n        serial :'serial_code',\n        out :'output_dir',\n      }).run();\n})();\n```\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n## Usage as a command-line utility:\n\n```sh\n# Installation:\nnpm install -g unity-activate\n```\n\n```sh\nUsage:\n  $ unity-activate [opts] \u003c*.alf\u003e\n\nActivate Unity activation license file (Unity_v***.alf or Unity_lic.alf)\nNOTE: If two-factor authentication is enabled, the verify code will be requested.\n\nOptions:\n  -o, --out \u003cdir\u003e              Output ulf file to the specified directory (default: .)\n  -u, --username \u003cusername\u003e    Username (email) to login Unity (default: $UNITY_USERNAME)\n  -p, --password \u003cpassword\u003e    Password to login Unity (default: $UNITY_PASSWORD)\n  -k, --key \u003ckey\u003e              The authenticator key to login (default: $UNITY_KEY).\n  -s, --serial \u003cserial\u003e        Serial key to activate (default: $UNITY_SERIAL). If empty, activate as personal license.\nNOTE: Unity Personal Edition is not available to companies or organizations that earned more than USD100,000 in the previous fiscal year.\n \n  -d, --debug                  Display additional log and dump content to 'error.html' on error (default: false)\n  --headful                    Run \"headful\" puppeteer (default: false)\n  -h, --help                   Display this message \n  -v, --version                Display version number\n```\n\n\u003cbr\u003e\u003cbr\u003e\n\n### Step 1: Get a license request file\n\nCreate a license activation file and import license file by command.\n\n```sh\n# On Windows:\n$ \"C:\\Program Files\\Unity\\Editor\\Unity.exe\" -batchmode -createManualActivationFile\n\n# On macOS:\n$ /Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -createManualActivationFile\n```\n\nOr, with UnityHub (`Settings \u003e License Management \u003e MANUAL ACTIVATION \u003e SAVE LICENSE REQUEST`).\n\n![](https://user-images.githubusercontent.com/12690315/103255736-d4aa8380-49cd-11eb-9701-ff787e38a9f1.png)\n\n\u003cbr\u003e\u003cbr\u003e\n\n### Step 2: Request a license (*.ulf)\n\nRun `unity-activate` to download the `*.ulf` file.\n\n```sh\n# For personal license (with interaction):\n$ unity-activate ***.alf\n$   \u003e enter the username and password\n$ username: your@email.com\n$ password: *****\n...\n\n# For personal license:\n$ unity-activate --username your@email.com --password your_password ***.alf\n\n# For professional license (with --serial option):\n$ unity-activate --username your@email.com --password your_password --serial your_serial_code ***.alf\n\n# Use environment variables instead of options:\n$ export UNITY_USERNAME=your@email.com\n$ export UNITY_PASSWORD=your_password\n$ export UNITY_SERIAL=your_serial_code # If empty, activate as personal license.\n$ unity-activate ***.alf\n```\n\n\u003cbr\u003e\u003cbr\u003e\n\n### Step 3: Activate your license \n\nNow that you have your license file, you can activate your Unity account by command.\n\n```sh\n# On Windows:\n$ \"C:\\Program Files\\Unity\\Editor\\Unity.exe\" -batchmode -manualLicenseFile ***.ulf\n\n# On macOS:\n$ /Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -manualLicenseFile ***.ulf\n```\n\nOr, with UnityHub.\n\n![](https://user-images.githubusercontent.com/12690315/103255739-d70cdd80-49cd-11eb-9d18-62600a20085f.png)\n\n\u003cbr\u003e\u003cbr\u003e\n\n### Option: Activate with authenticator key\n\nSigning in to Unity requires authentication via email or a authenticator app (eg. Google Authenticator).\nYou can use an authenticator key instead of those.\n\n```sh\n$ unity-activate --username your@email.com --password your_password --key your_authenticator_key ***.alf\n```\n\n#### How to obtain authenticator key\n\n- Login to Unity account and activate new two factor authentication.  \nGo to https://id.unity.com/en/settings/tfa/new and click `Start setup`  \n![](https://user-images.githubusercontent.com/12690315/133873890-7bdeb10d-2bde-497b-83e0-2c3586e526ad.png)\n- Select `Authenticator App` and click `Next`  \n![](https://user-images.githubusercontent.com/12690315/133873893-e1894f2b-67d3-4b7a-877f-70c9613cba24.png)\n- Click `Can't scan the barcode?`.  \nFind and save the authenticator key  \n![](https://user-images.githubusercontent.com/12690315/133878441-19553b38-3bd5-492f-a27a-6974923b4add.png)\n- Verify activation with Google Authenticator. You can also verify using a QR code  \n![](https://user-images.githubusercontent.com/12690315/133878444-0f11a58b-9a4f-4f0e-9856-a33bfa243eaa.png)\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n## Contributing\n\n### Issues\n\nIssues are very valuable to this project.\n\n- Ideas are a valuable source of contributions others can make\n- Problems show where this project is lacking\n- With a question you show where contributors can improve the user experience\n\n### Pull Requests\n\nPull requests are, a great way to get your ideas into this repository.  \n\n### Support\n\nThis is an open source project that I am developing in my spare time.  \nIf you like it, please support me.  \nWith your support, I can spend more time on development. :)\n\n[![](https://user-images.githubusercontent.com/12690315/66942881-03686280-f085-11e9-9586-fc0b6011029f.png)](https://github.com/users/mob-sakai/sponsorship)\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n## License\n\n* MIT\n\n## Author\n\n* ![](https://user-images.githubusercontent.com/12690315/96986908-434a0b80-155d-11eb-8275-85138ab90afa.png) [mob-sakai](https://github.com/mob-sakai) [![](https://img.shields.io/twitter/follow/mob_sakai.svg?label=Follow\u0026style=social)](https://twitter.com/intent/follow?screen_name=mob_sakai) ![GitHub followers](https://img.shields.io/github/followers/mob-sakai?style=social)\n\n## See Also\n\n* GitHub page : https://github.com/mob-sakai/unity-activate\n* Releases : https://github.com/mob-sakai/unity-activate/releases\n* Issue tracker : https://github.com/mob-sakai/unity-activate/issues\n* Change log : https://github.com/mob-sakai/unity-activate/blob/main/CHANGELOG.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmob-sakai%2Funity-activate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmob-sakai%2Funity-activate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmob-sakai%2Funity-activate/lists"}