{"id":20018872,"url":"https://github.com/team334/cd-slack","last_synced_at":"2026-05-08T23:03:12.147Z","repository":{"id":67312785,"uuid":"88388457","full_name":"Team334/cd-slack","owner":"Team334","description":":loudspeaker: Chief Delphi slack bot","archived":false,"fork":false,"pushed_at":"2017-04-22T13:33:09.000Z","size":192,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-12T16:07:13.672Z","etag":null,"topics":["bot","chief-delphi","slack"],"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/Team334.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-16T03:25:27.000Z","updated_at":"2017-04-18T14:43:38.000Z","dependencies_parsed_at":"2023-02-21T13:30:40.086Z","dependency_job_id":null,"html_url":"https://github.com/Team334/cd-slack","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/Team334%2Fcd-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Team334%2Fcd-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Team334%2Fcd-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Team334%2Fcd-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Team334","download_url":"https://codeload.github.com/Team334/cd-slack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241452442,"owners_count":19965040,"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":["bot","chief-delphi","slack"],"created_at":"2024-11-13T08:24:46.337Z","updated_at":"2026-05-08T23:03:07.127Z","avatar_url":"https://github.com/Team334.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **cd-slack**: Chief Delphi Slack Bot\n\nA slack bot that notifies your team about Chief Delphi posts. The bot can be triggered\nby certain keywords or posts by a particular author.\n\n\u003cimg width=\"90%\" src=\"https://raw.githubusercontent.com/Team334/cd-slack/master/screenshots/image2.png\"\u003e\n\n## Configuration\n\nUse `config.js` to configure your bot. You can copy the sample config\n`config.example.js` to `config.js` to get started.\n\nSample config:\n\n```js\nmodule.exports = {\n    \"slack_webhook_url\": \"\u003cyour incoming webhook url\u003e\",\n    \"bot_username\": \"Chief Delphi Bot\", // whatever you want\n    \"bot_icon_emoji\": \":first:\",        // the emoji to use as avatar\n    \"default_channel\": \"#programming\",  // the channel to post in (by default)\n\n    // how long to wait between updates in milliseconds\n    \"refresh_rate\": 15*1000, // 15 seconds\n\n    // what keywords/authors trigger the bot, where to post notification,\n    // and who to notify\n    \"triggers\": [\n        {\n            \"keywords\": [\"New York City\", \"NYC\", \"brooklyn\"],\n            \"channel\": \"#general\"\n        },\n        {\n            \"keywords\": [\"computer vision\", \"opencv\", \"neural networks\"],\n            \"authors\": [\"Tom Bottiglieri\", \"Jared Russell\"],\n            \"channel\": \"#programming\",\n            \"mention\": \"@august @eric\"\n        },\n        {\n            \"keywords\": [\"bamboozled\", /gracious (professionalism|memes)/gi],\n            \"channel\": \"#memes\"\n        }\n    ],\n\n    // How the messages should be formatted.\n    \"format_keyword\": \"New mention of *$keyword* by $author: \u003c$url|$post\u003e\",\n    \"format_author\": \"New post by *$author*: \u003c$url|$post\u003e\"\n}\n```\n\n## Running\n\n`$ node bot.js`\n\n### To-Do\n\n- [ ] Trigger bot when a member of a particular team posts.\n- [ ] Get the entire post, not just preview\n- [ ] Ability to subscribe to threads\n- [x] More granular posting - target keywords towards certain channels \u0026 users.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteam334%2Fcd-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteam334%2Fcd-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteam334%2Fcd-slack/lists"}