{"id":17928241,"url":"https://github.com/mogery/cohost-notification-server","last_synced_at":"2025-04-03T09:43:39.888Z","repository":{"id":41208742,"uuid":"508749673","full_name":"mogery/cohost-notification-server","owner":"mogery","description":"Deliver cohost notifications to an IFTTT Webhook.","archived":false,"fork":false,"pushed_at":"2022-06-29T16:06:59.000Z","size":375,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T23:15:37.116Z","etag":null,"topics":["cohost"],"latest_commit_sha":null,"homepage":"","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/mogery.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":"2022-06-29T15:34:29.000Z","updated_at":"2022-06-29T17:07:01.000Z","dependencies_parsed_at":"2022-08-26T04:51:40.581Z","dependency_job_id":null,"html_url":"https://github.com/mogery/cohost-notification-server","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/mogery%2Fcohost-notification-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogery%2Fcohost-notification-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogery%2Fcohost-notification-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogery%2Fcohost-notification-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mogery","download_url":"https://codeload.github.com/mogery/cohost-notification-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246981151,"owners_count":20863825,"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":["cohost"],"created_at":"2024-10-28T21:01:51.464Z","updated_at":"2025-04-03T09:43:39.874Z","avatar_url":"https://github.com/mogery.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cohost-notification-server\nDeliver [cohost](https://cohost.org) notifications to an IFTTT Webhook.\n\n**This repo is not affiliated with cohost.**\n\n## Setup\n\n 1. Clone the repo \u0026 install the dependencies\n    ```bash\n    git clone git@github.com:mogery/cohost-notification-server.git\n    cd cohost-notification-server\n    npm i\n    ```\n 2. Create your IFTTT Applet like so:\n\n    \u003cimg src=\"https://raw.githubusercontent.com/mogery/cohost-notification-server/images/ifttt_step1.jpg\" alt='Your applet should have two parts: a Webhook \"Receive a web request\" trigger, and a Notifications \"Send a rich notification from the IFTTT app\" action.' width=\"200\"/\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/mogery/cohost-notification-server/images/ifttt_step2.jpg\" alt='In the Webhook trigger, the event name should be \"cohost_notification\" (without the quotes).' width=\"200\"/\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/mogery/cohost-notification-server/images/ifttt_step3.jpg\" alt='In the Notifications action, the title should be the Value1 ingredient, the message should be the Value2 ingredient, and the link URL should be the Value3 ingredient.' width=\"200\"/\u003e\n 3. Get your IFTTT Webhook. You can find the link by clicking on the Documentation button on [this site](https://ifttt.com/maker_webhooks). **The correct link will be under the \"To trigger an Event with 3 JSON values\" heading.** When you have the link, you should replace `{event}` with `cohost_notification`.\n 4. Create a `.env` file in the root directory of the repo. Inside you should set 3 values. `COHOST_EMAIL` should be set to the e-mail address of your cohost account. `COHOST_PASSWORD` should be your cohost password. `IFTTT_WEBHOOK` should be the Webhook link that you just got. **Make sure that you replaced `{event}` with `cohost_notification`.**\n    \n    Here's an example `.env` file (fill it out with your own info though):\n    ```dotenv\n    COHOST_EMAIL=eggbug@cohost.org\n    COHOST_PASSWORD=hunter2\n    IFTTT_WEBHOOK=https://maker.ifttt.com/trigger/cohost_notification/with/key/randomstringofcharacters\n    ```\n\n## Usage\n\n```bash\nnode index.js\n```\n\nIt will crash if cohost goes down, so you should probably pair it with [forever](https://npmjs.com/package/forever):\n```bash\nforever index.js\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmogery%2Fcohost-notification-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmogery%2Fcohost-notification-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmogery%2Fcohost-notification-server/lists"}