{"id":18299342,"url":"https://github.com/democracyos/notifier","last_synced_at":"2025-04-05T13:34:39.378Z","repository":{"id":35638350,"uuid":"39912643","full_name":"DemocracyOS/notifier","owner":"DemocracyOS","description":"Embeddable notifications engine that relies on MongoDB for job queuing and scheduling. Powered by rschmukler/agenda","archived":false,"fork":false,"pushed_at":"2024-09-11T10:53:15.000Z","size":453,"stargazers_count":12,"open_issues_count":9,"forks_count":23,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-11T19:37:29.445Z","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/DemocracyOS.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-29T19:40:08.000Z","updated_at":"2022-08-02T11:29:23.000Z","dependencies_parsed_at":"2024-02-07T05:43:52.969Z","dependency_job_id":"11469efe-a522-42c8-be6b-95fa6c37fcbf","html_url":"https://github.com/DemocracyOS/notifier","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DemocracyOS%2Fnotifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DemocracyOS%2Fnotifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DemocracyOS%2Fnotifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DemocracyOS%2Fnotifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DemocracyOS","download_url":"https://codeload.github.com/DemocracyOS/notifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223192604,"owners_count":17103564,"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":[],"created_at":"2024-11-05T15:08:45.439Z","updated_at":"2024-11-05T15:08:46.233Z","avatar_url":"https://github.com/DemocracyOS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DemocracyOS Notifier\nEmbeddable notifications engine that relies on MongoDB for job queuing and scheduling. Powered by rschmukler/agenda\n\n## Mailer Configuration\n\nUses [NodeMailer](https://www.npmjs.com/package/nodemailer) package for email handling. Available services are the ones listed on the [nodemailer-wellknown](https://github.com/andris9/nodemailer-wellknown#supported-services) repo.\n\n### SendGrid Example\n\n```javascript\nvar notifier = require('democracyos-notifier')({\n  mailer: {\n    service: 'sendgrid',\n    auth: {\n      user: 'fake-sendgrid-user!@sendgrid.com',\n      pass: 'fake-sendgrid-pass'\n    }\n  }\n})\n```\n\n### Gmail Example\n\n```javascript\nvar notifier = require('democracyos-notifier')({\n  mailer: {\n    service: 'gmail',\n    auth: {\n      user: 'fake-gmail-user!@gmail.com',\n      pass: 'fake-gmail-pass'\n    }\n  }\n})\n```\n\n### Direct Transport Example\n\nNot recommended for `production`. Using direct transport is not reliable as outgoing port 25 used is often blocked by default. Additionally mail sent from dynamic addresses is often flagged as spam. You should really consider using a SMTP provider.\n\n```javascript\nvar notifier = require('democracyos-notifier')()\n```\n\n### Testing the code\nFirst install packages with `npm install`\n\nThen modify [`example.js`](./example.js) from and to mails.\n\nTest running `node example.js`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemocracyos%2Fnotifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdemocracyos%2Fnotifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemocracyos%2Fnotifier/lists"}