{"id":20099185,"url":"https://github.com/ryanfarber/notify","last_synced_at":"2026-05-09T14:18:05.122Z","repository":{"id":138321504,"uuid":"540218459","full_name":"ryanfarber/notify","owner":"ryanfarber","description":"Wrapper for the Pushover API.  Lets you send push notifications to your devices easiliy","archived":false,"fork":false,"pushed_at":"2024-07-27T12:36:53.000Z","size":154,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T04:08:48.371Z","etag":null,"topics":["alerts","android","ios","macos","notifications","push-notifications"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanfarber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-09-23T00:25:59.000Z","updated_at":"2024-07-27T12:37:01.000Z","dependencies_parsed_at":"2024-02-08T07:00:25.170Z","dependency_job_id":null,"html_url":"https://github.com/ryanfarber/notify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfarber%2Fnotify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfarber%2Fnotify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfarber%2Fnotify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfarber%2Fnotify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanfarber","download_url":"https://codeload.github.com/ryanfarber/notify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241541360,"owners_count":19979117,"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":["alerts","android","ios","macos","notifications","push-notifications"],"created_at":"2024-11-13T17:08:41.383Z","updated_at":"2026-05-09T14:18:05.087Z","avatar_url":"https://github.com/ryanfarber.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# notify\nthis is a wrapper for the [Pushover](https://pushover.net) API, which lets you easily send push notifications to your devices.\n\nThere are a few added functionalities.\n\n## usage\n```javascript\nconst Notify = require(\"@ryanforever/notify\")\nconst notify = new Notify({\n    user: process.env.PUSHOVER_USER,\n    token: process.env.PUSHOVER_TOKEN,\n    appName: \"test\" // optional name to prefix the notification title\n})\n\nnotify(\"Hello! This is a test.\")\n```\n\n![notification](https://github.com/ryanfarber/notify/blob/8e87e75d23c535740b3dee38713dcb74af9346df/images/screenshot.png?raw=true)\n\n## other methods\n```javascript\n\nnotify(\"sends a message\")\nnotify.send(\"sends a message\")\n\nnotify.error(\"something went wrong\") // send an error notification\nnotify.warn(\"uh oh!\")  // send a warning notification\n```\n\n## options\nplease refer to [Pushover's Documentation](https://pushover.net/api) for what options you can pass in\n\n```javascript\n\nnotify(\"Check this out\", {\n    title: \"Wow!\",\n    url: \"https://example.com\",\n    // ...more options below\n})\n```\n\n| key | description |\n| ---: | :---   |\n| title     |  your message's title, otherwise your app's name is used |\n| url       | a supplementary URL to show with your message |\n| urlTitle  | a title for the URL specified as the `url` parameter, otherwise just the URL is shown |\n| html      | set to `true` to enable HTML parsing |\n| ttl       | a number of seconds that the message will live, before being deleted automatically |\n| sound     | the name of a supported sound to override your default sound choice |\n| priority | a value of -2, -1, 0 (default), 1, or 2 |\n| attachment | a binary image attachment to send with the message |\n| attachmentBase64 | a Base64-encoded image attachment to send with the message |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanfarber%2Fnotify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanfarber%2Fnotify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanfarber%2Fnotify/lists"}