{"id":13402308,"url":"https://github.com/probablykasper/embler","last_synced_at":"2026-05-05T23:34:13.024Z","repository":{"id":57224560,"uuid":"287861618","full_name":"probablykasper/embler","owner":"probablykasper","description":"Turn binaries into applications","archived":false,"fork":false,"pushed_at":"2021-08-11T03:56:39.000Z","size":685,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-16T06:19:48.305Z","etag":null,"topics":["app","builder","cli","dmg","macos","node","package","packager"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/embler","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/probablykasper.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-16T02:48:43.000Z","updated_at":"2022-04-13T02:17:16.000Z","dependencies_parsed_at":"2022-09-04T07:01:28.691Z","dependency_job_id":null,"html_url":"https://github.com/probablykasper/embler","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/probablykasper/embler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probablykasper%2Fembler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probablykasper%2Fembler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probablykasper%2Fembler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probablykasper%2Fembler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/probablykasper","download_url":"https://codeload.github.com/probablykasper/embler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probablykasper%2Fembler/sbom","scorecard":{"id":745718,"data":{"date":"2025-08-11","repo":{"name":"github.com/probablykasper/embler","commit":"fbb4595d85aa0d5c26e9fe64ae8ce2f9f37b6646"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":0,"reason":"29 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-pp7h-53gx-mx7r","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-282f-qqgm-c34q","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-4cpg-3vgw-4877","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-gff7-g5r8-mg8m","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-h6q6-9hqw-rwfv","Warn: Project is vulnerable to: GHSA-5fg8-2547-mr8q","Warn: Project is vulnerable to: GHSA-crh6-fp67-6883","Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-22r3-9w55-cj54","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T18:39:10.631Z","repository_id":57224560,"created_at":"2025-08-22T18:39:10.631Z","updated_at":"2025-08-22T18:39:10.631Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32672675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["app","builder","cli","dmg","macos","node","package","packager"],"created_at":"2024-07-30T19:01:14.304Z","updated_at":"2026-05-05T23:34:12.992Z","avatar_url":"https://github.com/probablykasper.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Embler\n\nTurn binaries into applications.\n\nEmbler can be used with `pkg` to turn a Node.js project into an app, without having to resort to Electron. Useful for making a web interface, or a basic menubar app.\n\nSupports macOS `app`, `dmg`, `zip` and `tar.gz`. `dmg` requires macOS\n\n\u003cimg src=\"./cli-demo.gif\"\u003e\n\n## Installation\n```\nnpm install embler\n```\n\n## Usage\n1. Specify options in your `package.json` like so:\n    ```js\n    {\n        \"name\": \"affinity-photo\",\n        \"author\": \"Serif\",\n        \"version\": \"1.7.0\",\n        \"scripts\": {\n            \"build\": \"embler\",\n        },\n        \"embler\": {\n            \"realName\": \"Affinity Photo\",\n            \"appId\": \"com.seriflabs.affinityphoto\",\n            \"mac\": {\n                \"binary\": \"dist/affinity-photo-mac-bin\",\n                \"icon\": \"icon.png\",\n                \"formats\": [\"app\", \"dmg\", \"zip\", \"tar.gz\"],\n            }\n        }\n    }\n    ```\n2. Run `npm run build`\n\n### Usage with `pkg`\n1. Run `npm install pkg`\n2. Configure `pkg` and `embler` to your liking (Usage example above)\n2. Set the `scripts.build`, `bin` and `embler.mac.binary` properties in your `package.json` like so:\n```js\n{\n    \"bin\": \"index.js\",\n    \"scripts\": {\n        \"build\": \"pkg . --target macos --output dist/test-bin-macos \u0026\u0026 embler\"\n    },\n    \"embler\": {\n        \"mac\": {\n            \"binary\": \"dist/test-bin-macos\"\n        }\n    }\n}\n```\n3. Run `npm run build`\n4. `index.js` is now an app.\n\n\n### API Usage\n\nSupply options via `json` file:\n\n```js\nconst embler = require('embler')\nawait embler.build('embler.json')\n```\n\nSupply options directly:\n```js\nconst embler = require('embler')\nawait embler.build({\n    name: \"my-app\",\n    author: \"kasper.space\",\n    version: \"2.4.1\",\n    embler: {\n        realName: \"My App\",\n        // ...\n    }\n})\n```\n\n## Options\n\n### `name`\n- **Required unless `embler.name` is specified**\n- The app's name. For example used for the app's process name\n- Recommended to not use spaces or non-basic special characters\n\n### `author`\n- **Required unless `embler.author` is specified**\n- The app's author\n\n### `version`\n- **Required unless `embler.version` is specified**\n- The version of the app\n\n### `embler.realName` = `\"${name}\"`\n- *Recommended*\n- The app's name. This is the name users will see\n- Spaces and special characters are allowed in this one\n\n### `embler.appId` = `\"com.example.${name}\"`\n- *Recommended*\n- The application id\n\n### `embler.copyright` = `\"Copyright © year ${author}\"`\n- Human-readable copyright line\n\n### `embler.outputDir` = `\"dist\"`\n- The output folder\n\n### `embler.backgroundApp` = `false`\n- Whether the app will just run in the background app. On macOS, it won't show up in the Dock\n\n### `embler.name`\n- Overrides `name`\n\n### `embler.author`\n- Overrides `author`\n\n### `embler.version`\n- Overrides `version`\n\n### `embler.mac`\n- Object which contains macOS-specific options\n\n#### `embler.mac.binary`\n- **Required**\n- Path to the binary which will run when the app is opened\n\n#### `embler.mac.category`\n- *Recommended*\n- The app's category. Shown in `/Applications` in Finder when `View \u003e Use Groups` is enabled using `View \u003e Sort By \u003e Application Category`\n- Valid categories are listed in [Apple's documentation](https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html#//apple_ref/doc/uid/TP40009250-SW8)\n\n#### `embler.mac.icon`\n- *Recommended*\n- Path to your app's icon\n- `.icns` or `.png`\n\n#### `embler.mac.formats` = `[\"app\"]`\n- Array of the formats Pakaer will output\n- Supports `app`, `dmg`, `zip` and `tar.gz`. Creating `dmg` requires macOS\n\n#### `embler.mac.dmgBackground`\n- Path to a custom background image for the `dmg`\n- The resolution should be 660x400\n- To support retina displays, have an extra image at double resolution that ends with `@2x`. For example, you could have `dmgbg.png` and `dmgbg@2x.png`\n\n#### `embler.mac.darkModeSupport` = `true`\n- Turn this to false to disable dark mode support.\n\n#### `embler.mac.customInfo` = `{}`\n- In this object, you may add or overwrite `Info.plist` entries. Example:\n    ```js\n    \"customInfo\": {\n        \"CFBundleDevelopmentRegion\": \"en\"\n    }\n    ```\n\n### Dev Instructions\n\n### Get started\n1. Install Node.js\n2. Run `npm install`\n3. Set up ESLint support for your code editor\n\nTo be able to run/test Embler:\n\n4. Go to `./test` (This is where you test Embler)\n5. Run `npm install`\n6. Run `npm run compile` (Compiles `index.js` to binary)\n\nTo test Embler:\n```\ncd ./test\nnpm run pack\n```\n\n### Publish new version\n1. Update CHANGELOG.md\n2. Bump the version number, commit and tag:\n    ```\n    npm version \u003cversion\u003e\n    ```\n3. Publish to npm:\n    ```\n    npm publish\n    ```\n4. Create GitHub release with release notes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobablykasper%2Fembler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprobablykasper%2Fembler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobablykasper%2Fembler/lists"}