{"id":21893339,"url":"https://github.com/norjs/manager-service","last_synced_at":"2026-05-02T20:37:00.052Z","repository":{"id":51765627,"uuid":"199602211","full_name":"norjs/manager-service","owner":"norjs","description":"A micro service which manages other services","archived":false,"fork":false,"pushed_at":"2022-12-30T18:20:45.000Z","size":110,"stargazers_count":0,"open_issues_count":16,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-03T21:58:42.437Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/norjs.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}},"created_at":"2019-07-30T07:48:04.000Z","updated_at":"2019-11-14T09:08:56.000Z","dependencies_parsed_at":"2023-01-31T13:01:18.836Z","dependency_job_id":null,"html_url":"https://github.com/norjs/manager-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/norjs/manager-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norjs%2Fmanager-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norjs%2Fmanager-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norjs%2Fmanager-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norjs%2Fmanager-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/norjs","download_url":"https://codeload.github.com/norjs/manager-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norjs%2Fmanager-service/sbom","scorecard":{"id":694314,"data":{"date":"2025-08-11","repo":{"name":"github.com/norjs/manager-service","commit":"cda0dc56a7284e6c705523d3d3f916439ed285b2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"Vulnerabilities","score":0,"reason":"15 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","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-2j2x-2gpw-g8fm","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","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-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"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-22T03:13:01.811Z","repository_id":51765627,"created_at":"2025-08-22T03:13:01.812Z","updated_at":"2025-08-22T03:13:01.812Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32549384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T19:18:06.202Z","status":"ssl_error","status_checked_at":"2026-05-02T19:16:21.335Z","response_time":132,"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":[],"created_at":"2024-11-28T13:13:37.247Z","updated_at":"2026-05-02T20:36:55.109Z","avatar_url":"https://github.com/norjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @norjs/manager-service\n\nThis is a micro service which manages other services.\n\nYou may also use [@norjs/portal-service](https://github.com/norjs/portal-service) to\nimplement the routing part of the configuration file.\n\n### Install\n\n```\nnpm install -d @norjs/manager-service\n```\n\n### Usage\n\nConfiguration file named `nor.json`:\n\n```json\n{\n  \"name\": \"my-awesome-app\",\n  \"services\": {\n    \"backend\": {\n      \"path\": \"./backend\",\n      \"production\": true,\n      \"development\": true,\n      \"autoStart\": true,\n      \"env\": {\n        \"NODE_LISTEN\": \"./backend.sock\"\n      }\n    },\n    \"frontend\": {\n      \"path\": \"./frontend\",\n      \"production\": true,\n      \"development\": true,\n      \"autoStart\": true,\n      \"env\": {\n        \"NODE_LISTEN\": \"localhost:4000\"\n      }\n    }\n  }\n}\n```\n\nWhere `./backend` and `./frontend` are directories with standard `package.json` files and correct NPM rules for \ninstalling and starting the service.\n\nPlease note, that if you use `backend` or `frontend`, that will be recognized as a NPM package name, and \n`./node_modules/NAME` will be used instead as a path.\n\n#### Installing services\n\nIf you're using NPM package names as a path, you must use `npm install` to install your projects. (See an issue #7 which would add support for the manager to do it for you.)\n\nExecuting an install action for `nor-manager-service` will run the `npm install` command for each matching local service.\n\n```\ncurl -X POST localhost:3000/install -H \"Content-Type: application/json\" -d '{\"payload\":{\"development\": true}}'\n```\n\nThe payload can have any combination of properties: \n\n * `name` - Filter by a package name, as a `string`.\n * `production` - Filter services by production flag, as `true` | `false` | `undefined`\n * `development` - Filter services by development flag, as `true` | `false` | `undefined`\n * `debug` - Enable additional information in the response (eg. results from stdout), this may require memory.\n\n#### Starting services\n\nExecuting a start action for `nor-manager-service` will start each service and write their logs to the manager's console.\n\n```\ncurl -X POST localhost:3000/start -H \"Content-Type: application/json\" -d '{\"payload\":{\"development\": true}}'\n```\n\nThe payload can have any combination of properties: \n\n * `name` - Filter by a package name, as a `string`.\n * `production` - Filter services by production flag, as `true` | `false` | `undefined`\n * `development` - Filter services by development flag, as `true` | `false` | `undefined`\n\n#### Requesting status of services\n\nExecuting a status action for `nor-manager-service` will display information for each service.\n\n```\ncurl -X POST localhost:3000/status -H \"Content-Type: application/json\" -d '{\"payload\":{\"development\": true}}'\n```\n\nThe payload can have any combination of properties: \n\n * `name` - Filter by a package name, as a `string`.\n * `production` - Filter services by production flag, as `true` | `false` | `undefined`\n * `development` - Filter services by development flag, as `true` | `false` | `undefined`\n\n#### Custom environment variables\n\nYou can configure custom environment variables with the `env` property.\n\n#### Production and development modes\n\nAny action should have a boolean property `production` and/or `development` as a boolean.\n\nOtherwise the service will not be started nor installed unless it is named directly in the command.\n\n#### Command line environment options\n\nThe `nor-manager-service` accepts following environment options:\n\n * `NOR_MANAGER_CONFIG` -- The path to configuration, defaults to `./norjs.json` \n * `NOR_MANAGER_SERVICE_PATH` -- The path to configuration root directory, defaults to directory of `NOR_MANAGER_CONFIG`\n * `NODE_LISTEN` -- Where to start the service. Defaults to `./socket.sock`. Can also be a `hostname:port` or `port` for TCP connections.\n \n### Testing with curl\n\nTo test a HTTP service at `localhost:3000`:\n\n`curl -X POST localhost:3000/status -H \"Content-Type: application/json\" -d '{\"payload\": {\"debug\": true}}'`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorjs%2Fmanager-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnorjs%2Fmanager-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorjs%2Fmanager-service/lists"}