{"id":30291835,"url":"https://github.com/traveltime-dev/scala-slack-client","last_synced_at":"2025-08-17T00:04:25.349Z","repository":{"id":49238159,"uuid":"97976881","full_name":"traveltime-dev/scala-slack-client","owner":"traveltime-dev","description":"Minimalistic Slack client for Scala language","archived":true,"fork":false,"pushed_at":"2021-06-22T12:16:51.000Z","size":57,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-17T00:02:37.261Z","etag":null,"topics":["client","scala","slack"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/traveltime-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-21T18:37:28.000Z","updated_at":"2024-10-25T10:57:07.000Z","dependencies_parsed_at":"2022-09-19T10:30:49.804Z","dependency_job_id":null,"html_url":"https://github.com/traveltime-dev/scala-slack-client","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/traveltime-dev/scala-slack-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traveltime-dev%2Fscala-slack-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traveltime-dev%2Fscala-slack-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traveltime-dev%2Fscala-slack-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traveltime-dev%2Fscala-slack-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/traveltime-dev","download_url":"https://codeload.github.com/traveltime-dev/scala-slack-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traveltime-dev%2Fscala-slack-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270786529,"owners_count":24644567,"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-08-16T02:00:11.002Z","response_time":91,"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":["client","scala","slack"],"created_at":"2025-08-17T00:02:30.485Z","updated_at":"2025-08-17T00:04:25.299Z","avatar_url":"https://github.com/traveltime-dev.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Artifact publish](https://github.com/traveltime-dev/scala-slack-client/actions/workflows/publish-artifact.yaml/badge.svg?branch=master)](https://github.com/traveltime-dev/scala-slack-client/actions/workflows/publish-artifact.yaml)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.traveltime/scala-slack-client_2.12/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.traveltime/scala-slack-client_2.12)\n\nAbout\n--------------------------------------------------\nMinimalistic [Slack](https://slack.com/) client.\n\nSend an [Incoming Webhooks](https://api.slack.com/incoming-webhooks) message\n--------------------------------------------------\n\n```scala\nimport scala.concurrent.Future\nimport com.traveltime.slack.SlackHttpClient\nimport com.traveltime.slack.HooksSlackClient._\n\nval token: String = \"XXX/YYY/ZZZ\"\nval webHooksMessage = HookMessage(\n  notifications = Seq(Notify.UserId(\"W123\")),\n  msg = \"message text\",\n  attachments = Seq(Attachment(\"attachment text\", Color.Red))\n)\n\nval response: Future[Either[Error, Unit]] = SlackHttpClient.sendMsg(webHooksMessage, token)\n\nimport scala.concurrent.Await\nimport scala.concurrent.duration._\n\nprintln(Await.result(response, 1.minute))\n// Right(())\n```\n\nSend an [Interactive Message](https://api.slack.com/interactive-messages)\n--------------------------------------------------\n\n```scala\nimport com.traveltime.slack.dto.InteractiveMessage\nimport com.traveltime.slack.SlackHttpClient\nimport com.traveltime.slack.dto.InteractiveMessage.{Channel, Block, Divider}\n\nval authToken: String = \"secret-auth-token\"\nval channel: Channel = Channel(\"channel-id\")\nval blocks: Vector[Block] = Vector(Divider, Divider, Divider)\nval interactiveMessage = InteractiveMessage(channel, blocks)\n\nval response = SlackHttpClient.sendInteractiveMessage(interactiveMessage, authToken)\n\nimport scala.concurrent.Await\nimport scala.concurrent.duration._\n\nprintln(Await.result(response, 1.minute))\n// Right(())\n```\n\nSBT dependency\n--------------------------------------------------\nCheck for the latest version and add to your `build.sbt`:\n\n```\nlibraryDependencies += \"com.traveltime\" %% \"scala-slack-client\" % \"\u003clatest_version\u003e\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraveltime-dev%2Fscala-slack-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftraveltime-dev%2Fscala-slack-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraveltime-dev%2Fscala-slack-client/lists"}