{"id":15046036,"url":"https://github.com/khrj/slack-socket-mode","last_synced_at":"2026-02-01T18:32:55.956Z","repository":{"id":51170787,"uuid":"337764001","full_name":"khrj/slack-socket-mode","owner":"khrj","description":"Recieve events from Slack's Events API over a WebSocket connection. Deno port of @slack/socket-mode","archived":false,"fork":false,"pushed_at":"2021-07-13T05:47:49.000Z","size":43,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-09T23:30:18.725Z","etag":null,"topics":["deno","slack","slack-api","socket-mode"],"latest_commit_sha":null,"homepage":"https://deno.land/x/slack_socket_mode","language":"TypeScript","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/khrj.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":"2021-02-10T15:20:02.000Z","updated_at":"2021-10-04T14:51:17.000Z","dependencies_parsed_at":"2022-09-06T08:02:29.038Z","dependency_job_id":null,"html_url":"https://github.com/khrj/slack-socket-mode","commit_stats":null,"previous_names":["khushrajrathod/slack-socket-mode"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/khrj/slack-socket-mode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khrj%2Fslack-socket-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khrj%2Fslack-socket-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khrj%2Fslack-socket-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khrj%2Fslack-socket-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khrj","download_url":"https://codeload.github.com/khrj/slack-socket-mode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khrj%2Fslack-socket-mode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28985818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T18:17:03.387Z","status":"ssl_error","status_checked_at":"2026-02-01T18:16:57.287Z","response_time":56,"last_error":"SSL_read: 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":["deno","slack","slack-api","socket-mode"],"created_at":"2024-09-24T20:52:37.070Z","updated_at":"2026-02-01T18:32:55.940Z","avatar_url":"https://github.com/khrj.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"assets/logo.svg\" width=\"400\" height=\"400\" alt=\"Socket icon\"\u003e\n    \u003ch1\u003eSlack Socket Mode\u003c/h1\u003e\n    \u003cp\u003e\n        \u003cb\u003eRecieve events from Slack's \u003ca href=\"https://api.slack.com/apis/connections/events-api\"\u003eEvents API\u003c/a\u003e over a WebSocket connection. Deno port of \u003ca href=\"https://www.npmjs.com/package/@slack/socket-mode\"\u003e@slack/socket-mode\u003c/a\u003e\u003c/b\u003e\n    \u003c/p\u003e\n    \u003cp\u003e\n        \u003cimg alt=\"build status\" src=\"https://img.shields.io/github/workflow/status/khrj/slack-socket-mode/Deno?label=checks\" \u003e\n        \u003cimg alt=\"language\" src=\"https://img.shields.io/github/languages/top/khrj/slack-socket-mode\" \u003e\n        \u003cimg alt=\"code size\" src=\"https://img.shields.io/github/languages/code-size/khrj/slack-socket-mode\"\u003e\n        \u003cimg alt=\"issues\" src=\"https://img.shields.io/github/issues/khrj/slack-socket-mode\" \u003e\n        \u003cimg alt=\"license\" src=\"https://img.shields.io/github/license/khrj/slack-socket-mode\"\u003e\n        \u003cimg alt=\"version\" src=\"https://img.shields.io/github/v/release/khrj/slack-socket-mode\"\u003e\n    \u003c/p\u003e\n    \u003cp\u003e\n        \u003cb\u003e\u003ca href=\"https://deno.land/x/slack_socket_mode\"\u003eView on deno.land\u003c/a\u003e\u003c/b\u003e\n    \u003c/p\u003e\n    \u003cbr\u003e\n    \u003cbr\u003e\n    \u003cbr\u003e\n\u003c/div\u003e\n\n## Usage\n\n```ts\nimport \"https://deno.land/x/dotenv@v2.0.0/load.ts\"\nimport { SocketModeClient } from \"https://deno.land/x/slack_socket_mode@1.0.1/mod.ts\"\n\nconst appToken = Deno.env.get(\"SLACK_APP_TOKEN\")\nconst socketModeClient = new SocketModeClient({ appToken })\n\n// Attach listeners to events by type. See: https://api.slack.com/events/message\nsocketModeClient.addEventListener(\"message\", ({ detail: { body, ack } }) =\u003e {\n    ack()\n    console.log(body)\n})\n\nawait socketModeClient.start()\n```\n\n## API\n\n- API is similar to the [node @slack/socket-mode](https://www.npmjs.com/package/@slack/socket-mode), where `.addEventListener` is used instead of `.on` ([EventTarget docs](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget))\n- Complete [generated docs](https://doc.deno.land/https/deno.land/x/slack_socket_mode@1.0.1/mod.ts) are also available\n\n## Supporters\n\n[![Stargazers repo roster for @khrj/slack-socket-mode](https://reporoster.com/stars/khrj/slack-socket-mode)](https://github.com/khrj/slack-socket-mode/stargazers)\n\n[![Forkers repo roster for @khrj/slack-socket-mode](https://reporoster.com/forks/khrj/slack-socket-mode)](https://github.com/khrj/slack-socket-mode/network/members)\n\n## Related\n\n- [Deno Slack SDK](https://github.com/slack-deno/deno-slack-sdk)\n- [Deno modules](https://github.com/khrj/deno-modules)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhrj%2Fslack-socket-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhrj%2Fslack-socket-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhrj%2Fslack-socket-mode/lists"}