{"id":16883343,"url":"https://github.com/hardillb/node-red-node-geofence","last_synced_at":"2025-10-14T09:36:43.667Z","repository":{"id":23134783,"uuid":"26489665","full_name":"hardillb/node-red-node-geofence","owner":"hardillb","description":"Geofence node for Node-RED","archived":false,"fork":false,"pushed_at":"2022-06-09T13:14:17.000Z","size":2464,"stargazers_count":29,"open_issues_count":0,"forks_count":17,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-10-06T21:30:02.710Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hardillb.png","metadata":{"files":{"readme":"README.md","changelog":null,"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},"funding":{"github":["hardillb"]}},"created_at":"2014-11-11T14:57:27.000Z","updated_at":"2024-09-09T05:07:55.000Z","dependencies_parsed_at":"2022-07-31T07:08:03.164Z","dependency_job_id":null,"html_url":"https://github.com/hardillb/node-red-node-geofence","commit_stats":{"total_commits":46,"total_committers":5,"mean_commits":9.2,"dds":0.6304347826086957,"last_synced_commit":"19767def71764707a0f7a5a274ce330651034312"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hardillb/node-red-node-geofence","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fnode-red-node-geofence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fnode-red-node-geofence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fnode-red-node-geofence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fnode-red-node-geofence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hardillb","download_url":"https://codeload.github.com/hardillb/node-red-node-geofence/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fnode-red-node-geofence/sbom","scorecard":{"id":455654,"data":{"date":"2025-08-11","repo":{"name":"github.com/hardillb/node-red-node-geofence","commit":"19767def71764707a0f7a5a274ce330651034312"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"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":"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":"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":"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":"Code-Review","score":2,"reason":"Found 5/18 approved changesets -- score normalized to 2","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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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: Apache License 2.0: 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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T09:33:02.084Z","repository_id":23134783,"created_at":"2025-08-19T09:33:02.084Z","updated_at":"2025-08-19T09:33:02.084Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018621,"owners_count":26086404,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-10-13T16:11:19.153Z","updated_at":"2025-10-14T09:36:43.638Z","avatar_url":"https://github.com/hardillb.png","language":"JavaScript","funding_links":["https://github.com/sponsors/hardillb"],"categories":[],"sub_categories":[],"readme":"node-red-node-geofence\n======================\n\nGeofence node for Node-RED\n\nThis uses the geolib node to check if points fall with in a given region. Points are \ntaken from the first of the following msg properties in this order:\n\n 1. msg.location.lat \u0026 msg.location.lon\n 2. msg.lat \u0026 msg.lon\n 3. msg.payload.lat \u0026 msg.payload.lon\n\nRegion can be circular, rectangular or polygons and are drawn on to a map in the \nconfig node.\n\n![screenshot of config node](https://raw.githubusercontent.com/hardillb/node-red-node-geofence/master/screenshot.png)\n\nMessages can be filtered depending on if they fall inside or outside the given region\nor the node can append the node name to a list of areas the msg falls in (to allow the\nchaining of geofence nodes).\n\nThe list is stored in msg.location.isat in the following format:\n\n```\nmsg.location: {\n    inarea: true,\n    isat: [\n      'firstArea',\n      'secondArea'\n    ],\n    distances: {\n      'firstArea': 100,\n      'secondArea': 15\n    }\n}\n```\n\n\nAnd also includes the distance in meters from the centre (or centroid for polygons) of the\nregion. \n\nThe config node uses leaflet and openstreetmap data so requires internet access. \nYou can drop back to a non graphical config by replacing geofence.html with \ngeofence-nomap.html\n\nPossible breaking changes moving from version 0.0.x to 0.1.0.\n\nThese are arround the \"add 'inarea'\" mode\n\n - msg.location.inarea is always a boolean and now just reflects the last geofence \n node that the message passes through\n - msg.location.distances is now just an object using the name as a key, rather than \n an array of objects\n\n ## WorldMap Support\n\n If the check box is ticked then a second output port will be added to the node. The `msg`\n output from this port will include the shape of the geofence zone that can be fed directly\n into a WorldMap node so that it will be drawn on the geofence layer.\n\n This output is triggered by a message with `msg.payload.action` set to `send`. This can be \n initiated by using the WorldMap in node when a new browser connects.\n\n Messages with `msg.payload.action` set to `send`will not be processed against the geofence,\n these messages are only intended to come from the WorldMap in node.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardillb%2Fnode-red-node-geofence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardillb%2Fnode-red-node-geofence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardillb%2Fnode-red-node-geofence/lists"}