{"id":20337300,"url":"https://github.com/expediadotcom/nodebb-plugin-mentions-notifier","last_synced_at":"2026-06-08T19:01:49.858Z","repository":{"id":87471529,"uuid":"131747889","full_name":"ExpediaDotCom/nodebb-plugin-mentions-notifier","owner":"ExpediaDotCom","description":"NodeBB plugin that posts mention notifications to endpoints, like slack","archived":false,"fork":false,"pushed_at":"2018-05-02T09:37:15.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-05-27T21:41:52.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/ExpediaDotCom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2018-05-01T18:23:59.000Z","updated_at":"2018-05-16T11:10:31.000Z","dependencies_parsed_at":"2023-05-22T23:30:51.329Z","dependency_job_id":null,"html_url":"https://github.com/ExpediaDotCom/nodebb-plugin-mentions-notifier","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"c49216e0f6d426a4639ba4b1dc9035cbef280579"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ExpediaDotCom/nodebb-plugin-mentions-notifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExpediaDotCom%2Fnodebb-plugin-mentions-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExpediaDotCom%2Fnodebb-plugin-mentions-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExpediaDotCom%2Fnodebb-plugin-mentions-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExpediaDotCom%2Fnodebb-plugin-mentions-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ExpediaDotCom","download_url":"https://codeload.github.com/ExpediaDotCom/nodebb-plugin-mentions-notifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExpediaDotCom%2Fnodebb-plugin-mentions-notifier/sbom","scorecard":{"id":47793,"data":{"date":"2025-08-11","repo":{"name":"github.com/ExpediaDotCom/nodebb-plugin-mentions-notifier","commit":"c49216e0f6d426a4639ba4b1dc9035cbef280579"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/8 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":"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":"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":"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt: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"}}]},"last_synced_at":"2025-08-14T23:07:52.162Z","repository_id":87471529,"created_at":"2025-08-14T23:07:52.162Z","updated_at":"2025-08-14T23:07:52.162Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34075980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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-11-14T21:08:34.331Z","updated_at":"2026-06-08T19:01:49.598Z","avatar_url":"https://github.com/ExpediaDotCom.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeBB Notifier Plugin\n\n## Getting Started\n\nThis plugin will post to any endpoint that you can set in the admin panel of your NodeBB forum, whenever a user is mentioned or a new reply is posted to a thread.\n\n## Requirements\n\nTo use the plugin locally, the following software need to be installed:\n\n* A version of Node.js at least 4 or greater ([installation/upgrade instructions](https://github.com/nodesource/distributions))\n* Redis, version 2.8.9 or greater **or** MongoDB, version 2.6 or greater\n* Node Package Manager (npm)\n* Nodebb running in your local machine ([installation/upgrade instructions](https://docs.nodebb.org/installing/os))\n\n## Installation\n\n1- Download the mention notifier plugin.\n\n2- From this plugin's root directory:\n```\n$ npm install\n$ npm link\n```\n\n3- Go to your nodebb directory, then:\n`$ npm link /path/to/nodebb-plugin-mentions-notifier`\n\n4- Start DB server, then start the Nodebb server:\n`$ ./nodebb start`\n\n5- Open a browser window, login as admin and navigate to http://localhost:4567/admin/extend/plugins.\n\n6- Activate the nodebb-plugin-mentions-notifier plugin.\n\n7- From your nodebb directory:\n```\n$ ./nodebb build\n$ ./nodebb restart\n```\n\n8- Navigate to http://localhost:4567/admin/plugins/notifier and store a valid URL. If there's a token, store it as part of the url.\n\n9- If you mentioned any user in your Nodebb forum or  a notification will be sent\n   to the specified end point URL with the following JSON body Keys:\n```\n{\n    \"emails\": [\"test@expedia.com\"], // array of all mentioned user's emails or subscriber's to post\n    \"url\": \"forum.com/post/34\", // forum post URL [domain/post/pid]\n    \"type\": \"mention\", // notification type [mention or new-reply]\n    \"topicTitle\": \"hello world\", // topic title\n    \"messageBody\": \"@test sup?\" // actual html text of message from user\n}\n```\n\nIn NodeBB, a user can be *watching* a thread, so they will get `new-reply` notification. If a user is *not watching* a thread, but is mentioned either in the main topic or a reply, the will get a `mention`. Otherwise, if the user is *ignoring* a thread, then they will not get any notification.\n\n## Running the tests\n\nMocha, chai and istanbul have been used to write the unit tests.\n\nPlease refer to the following links:\n[mocha](https://mochajs.org/)\n[chai](http://chaijs.com/)\n[istanbul](https://github.com/dwyl/learn-istanbul)\n\nIn order to run tests, nodebb must be installed as a module via npm link (the package in npm is very old).\n\n1- You must have a `test_database` configured in nodebb's `config.json` file:\n```\n\"test_database\": {\n        \"host\": \"127.0.0.1\",\n        \"port\": \"27017\",\n        \"username\": \"\",\n        \"password\": \"\",\n        \"database\": \"test\"\n}\n```\n\n2- Npm link nodebb as a module for the plugin and run the tests. From this plugin's root directory:\n```\n$ npm link /path/to/NodeBB\n$ npm test\n```\n\n# Legal\nThis project is available under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0.html).\n\nCopyright 2018 Expedia Inc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexpediadotcom%2Fnodebb-plugin-mentions-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexpediadotcom%2Fnodebb-plugin-mentions-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexpediadotcom%2Fnodebb-plugin-mentions-notifier/lists"}