{"id":15044538,"url":"https://github.com/dangernoodle-io/slack-bot-api","last_synced_at":"2025-10-04T05:31:41.438Z","repository":{"id":57731919,"uuid":"68951586","full_name":"dangernoodle-io/slack-bot-api","owner":"dangernoodle-io","description":"slack-bot-api","archived":true,"fork":false,"pushed_at":"2017-02-06T21:42:56.000Z","size":240,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-26T23:54:28.851Z","etag":null,"topics":["java8","slack"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dangernoodle-io.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":"2016-09-22T18:45:39.000Z","updated_at":"2023-03-04T18:24:51.000Z","dependencies_parsed_at":"2022-09-07T19:40:31.581Z","dependency_job_id":null,"html_url":"https://github.com/dangernoodle-io/slack-bot-api","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dangernoodle-io/slack-bot-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangernoodle-io%2Fslack-bot-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangernoodle-io%2Fslack-bot-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangernoodle-io%2Fslack-bot-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangernoodle-io%2Fslack-bot-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dangernoodle-io","download_url":"https://codeload.github.com/dangernoodle-io/slack-bot-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangernoodle-io%2Fslack-bot-api/sbom","scorecard":{"id":318924,"data":{"date":"2025-08-11","repo":{"name":"github.com/dangernoodle-io/slack-bot-api","commit":"5ec552d52882c40535c1071d3e83b5bb66911ddb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/16 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-4jrv-ppp4-jm57","Warn: Project is vulnerable to: GHSA-w33c-445m-f8w7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T00:55:12.370Z","repository_id":57731919,"created_at":"2025-08-18T00:55:12.370Z","updated_at":"2025-08-18T00:55:12.370Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278267491,"owners_count":25958875,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["java8","slack"],"created_at":"2024-09-24T20:50:41.957Z","updated_at":"2025-10-04T05:31:41.130Z","avatar_url":"https://github.com/dangernoodle-io.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slack-bot-api\n\n\u003cimg src=\"https://img.shields.io/maven-central/v/io.dangernoodle/slack-bot-api.svg\"\u003e\n[![Build Status](https://travis-ci.org/dangernoodle-io/slack-bot-api.svg?branch=master)](https://travis-ci.org/dangernoodle-io/slack-bot-api)\n[![Coverage Status](https://coveralls.io/repos/github/dangernoodle-io/slack-bot-api/badge.svg?branch=master)](https://coveralls.io/github/dangernoodle-io/slack-bot-api?branch=master)\n\nThe `slack-bot-api` is a `java 8` library that can used to interface with [Slack](https://slack.com)'s\n[Real Time Messaging API](https://api.slack.com/rtm) to create your own bot.\n\n## Getting Started\n\n### WebSocket Clients\n\nTwo different `WebSocket` client implementations are available for use.\n\n**Project Tyrus**\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.dangernoodle\u003c/groupId\u003e\n  \u003cartifactId\u003eslack-bot-api-tyrus\u003c/artifactId\u003e\n  \u003cversion\u003e${slack-bot-api.version}\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n**Jetty**\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.dangernoodle\u003c/groupId\u003e\n  \u003cartifactId\u003eslack-bot-api-jetty\u003c/artifactId\u003e\n  \u003cversion\u003e${slack-bot-api.version}\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Usage\n\n### Basic\n\n```java\n\nSlackClientSettings settings = new SlackClientSettings(AUTH_TOKEN);\nSlackClient slackClient = SlackClientBuilder.createClient(settings);\n\nSlackObserverRegistry regsitry = slackClient.getObserverRegistry();\n\nregistry.addChannelJoinedObserver((event, client) -\u003e {\n    logger.debug(\"channel joined event: \" + event);\n});\n\nregistry.addChannelLeftObserver((event, client) -\u003e {\n    logger.info(\"channel joined event: \" + event);\n});\n\n...\n\nslackClient.connect();\n```\n\n### Sending Messages\n\n**Simple Messages**\n\nSimple text messages can be sent directly over the websocket connection.\n\n```java\nslackClient.send(\"simple text message\");\n```\n\n**Complex Messages**\n\nDetails to follow...\n\n## Special Acknowledgement\n\nThis library was inspired by the excellent [simple-slack-api](https://github.com/Ullink/simple-slack-api)\nlibrary. If you are looking to create a slack bot and are unable to use `java 8`, the `simple-slack-api`\nis highly recommend as an alternative.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdangernoodle-io%2Fslack-bot-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdangernoodle-io%2Fslack-bot-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdangernoodle-io%2Fslack-bot-api/lists"}