{"id":28516005,"url":"https://github.com/keygen-sh/example-node-machine-activation","last_synced_at":"2025-07-05T17:31:52.947Z","repository":{"id":92546910,"uuid":"126898461","full_name":"keygen-sh/example-node-machine-activation","owner":"keygen-sh","description":"An example implementation of a typical machine activation flow using Keygen","archived":false,"fork":false,"pushed_at":"2023-08-31T04:44:26.000Z","size":15,"stargazers_count":7,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-30T00:38:31.454Z","etag":null,"topics":["code-sample","license-activation","license-keys","licensing","node-locked","platform-example","software-licensing"],"latest_commit_sha":null,"homepage":"https://keygen.sh","language":"JavaScript","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/keygen-sh.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}},"created_at":"2018-03-26T22:42:50.000Z","updated_at":"2025-06-09T09:42:47.000Z","dependencies_parsed_at":"2023-08-18T18:06:34.386Z","dependency_job_id":null,"html_url":"https://github.com/keygen-sh/example-node-machine-activation","commit_stats":null,"previous_names":["keygen-sh/example-node-machine-activation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/keygen-sh/example-node-machine-activation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keygen-sh%2Fexample-node-machine-activation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keygen-sh%2Fexample-node-machine-activation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keygen-sh%2Fexample-node-machine-activation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keygen-sh%2Fexample-node-machine-activation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keygen-sh","download_url":"https://codeload.github.com/keygen-sh/example-node-machine-activation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keygen-sh%2Fexample-node-machine-activation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263778550,"owners_count":23510013,"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":["code-sample","license-activation","license-keys","licensing","node-locked","platform-example","software-licensing"],"created_at":"2025-06-09T03:31:40.098Z","updated_at":"2025-07-05T17:31:52.940Z","avatar_url":"https://github.com/keygen-sh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example Machine Activation\n\nThis is an example of a typical machine activation flow. You may of course\nchoose to implement a different flow if required - this only serves as an\nexample implementation.\n\n## Running the example\n\nFirst up, configure a few environment variables:\n\n```bash\n# Your Keygen account ID. Find yours at https://app.keygen.sh/settings.\nexport KEYGEN_ACCOUNT_ID=\"YOUR_KEYGEN_ACCOUNT_ID\"\n```\n\nYou can either run each line above within your terminal session before\nstarting the app, or you can add the above contents to your `~/.bashrc`\nfile and then run `source ~/.bashrc` after saving the file.\n\nNext, install dependencies with [`yarn`](https://yarnpkg.comg):\n\n```bash\nyarn\n```\n\n## Activating/deactivating a machine\n\nTo perform a machine activation or a deactivation, run the script and\nsupply a valid license key:\n\n```bash\nyarn start\n```\n\nIf the current machine has already been activated, you will be prompted\nto deactivate it.\n\nTo use `demo` credentials, you can run the following:\n\n```bash\nKEYGEN_ACCOUNT_ID=demo yarn start\n```\n\nEnter `C1B6DE-39A6E3-DE1529-8559A0-4AF593-V3` when prompted.\n\n## Questions?\n\nReach out at [support@keygen.sh](mailto:support@keygen.sh) if you have any\nquestions or concerns!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeygen-sh%2Fexample-node-machine-activation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeygen-sh%2Fexample-node-machine-activation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeygen-sh%2Fexample-node-machine-activation/lists"}