{"id":22558042,"url":"https://github.com/jd-apprentice/discord-slack-gateway","last_synced_at":"2026-04-18T00:01:51.168Z","repository":{"id":175173294,"uuid":"653436364","full_name":"jd-apprentice/discord-slack-gateway","owner":"jd-apprentice","description":"📫 Send messages from both ways","archived":false,"fork":false,"pushed_at":"2023-06-16T02:23:12.000Z","size":153,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T11:34:45.737Z","etag":null,"topics":["discord","gateway","javascript","slack"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/discord-slack-gateway","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/jd-apprentice.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":"2023-06-14T03:50:22.000Z","updated_at":"2023-06-17T03:41:09.000Z","dependencies_parsed_at":"2023-07-12T04:15:45.583Z","dependency_job_id":null,"html_url":"https://github.com/jd-apprentice/discord-slack-gateway","commit_stats":null,"previous_names":["jd-apprentice/discord-slack-gateway"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jd-apprentice/discord-slack-gateway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd-apprentice%2Fdiscord-slack-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd-apprentice%2Fdiscord-slack-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd-apprentice%2Fdiscord-slack-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd-apprentice%2Fdiscord-slack-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jd-apprentice","download_url":"https://codeload.github.com/jd-apprentice/discord-slack-gateway/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd-apprentice%2Fdiscord-slack-gateway/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31950891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["discord","gateway","javascript","slack"],"created_at":"2024-12-07T20:11:06.699Z","updated_at":"2026-04-18T00:01:51.112Z","avatar_url":"https://github.com/jd-apprentice.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# discord-slack-gateway\n\n![IMAGE](https://venngage-wordpress.s3.amazonaws.com/uploads/2021/07/Slack-Discord-integration.png)\n\nImage from [HERE](https://venngage.com/blog/discord-integrations/)\n\n## What is this?\n\n![image](https://github.com/jd-apprentice/discord-slack-gateway/assets/68082746/a65751ae-885f-4d9e-9d4c-d911f4f815e3)\n\nThis is a gateway between Discord and Slack. It allows you to send messages from Discord to Slack and vice versa.\n\n## How to use it?\n\n### Installation\n\n```\nnpm i discord-slack-gateway\n```\n\n### Example\n\n```js\nconst { DiscordSlackGateway } = require('discord-slack-gateway');\nconst gateway = new DiscordSlackGateway({\n    slack: {\n        token: \"...\",\n        appToken: \"...\",\n        signingToken: \"...\",\n        channelId: \"...\",\n        webhookUrl: \"...\",\n        socketMode: true\n    },\n    discord: {\n        webhookUrl: \"...\",\n        channelId: \"...\",\n        apiToken: \"...\"\n    }\n});\n```\n\n_I highly recommend using socket mode for Slack. It is much faster than the Events API. Also, use environment variables for tokens and other sensitive data_\n\n## What are the options?\n\n### Slack\n\n**signingToken** - Slack signing token. Read https://api.slack.com/authentication/verifying-requests-from-slack\n\n**token** - Slack bot token. Read https://api.slack.com/authentication/token-types\n\n**appToken** - Slack app token. Read https://api.slack.com/authentication/token-types\n\n**channelId** - Slack channel id to listen to\n\n**webhookUrl** - Slack webhook url. Read https://api.slack.com/messaging/webhooks\n\n**socketMode** - Socket mode is a new way for apps to be installed to workspaces. Read https://api.slack.com/apis/connections/socket\n\n### Discord\n\n**webhookUrl** - Discord webhook url generated from post method in https://discohook.org/\n\n**channelId** - Discord channel id to listen to\n\n**apiToken** - Discord api token generated from https://discord.com/developers/applications\n\n### LICENSE\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjd-apprentice%2Fdiscord-slack-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjd-apprentice%2Fdiscord-slack-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjd-apprentice%2Fdiscord-slack-gateway/lists"}