{"id":21625588,"url":"https://github.com/horgh/court","last_synced_at":"2026-04-29T15:06:13.023Z","repository":{"id":137587407,"uuid":"128683611","full_name":"horgh/court","owner":"horgh","description":"A simple Slack bot","archived":false,"fork":false,"pushed_at":"2018-04-13T03:15:04.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-19T02:47:20.491Z","etag":null,"topics":["api","bot","chat","irc","slack"],"latest_commit_sha":null,"homepage":"","language":"Go","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/horgh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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,"zenodo":null}},"created_at":"2018-04-08T21:32:04.000Z","updated_at":"2018-04-13T03:15:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ca2d4f3-7860-4ac6-8773-d5e229e12d33","html_url":"https://github.com/horgh/court","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/horgh/court","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horgh%2Fcourt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horgh%2Fcourt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horgh%2Fcourt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horgh%2Fcourt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/horgh","download_url":"https://codeload.github.com/horgh/court/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/horgh%2Fcourt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32430827,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"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":["api","bot","chat","irc","slack"],"created_at":"2024-11-25T01:09:45.099Z","updated_at":"2026-04-29T15:06:13.011Z","avatar_url":"https://github.com/horgh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a Slack bot. It is primarily for demonstration purposes.\n\nThe bot listens for HTTP requests from Slack's [Events\nAPI](https://api.slack.com/events-api). When it receives an event, it can\ntake action using Slack's [Web\nAPI](https://api.slack.com/bot-users#methods) methods.\n\n\n# Programs\n\nThere are two programs:\n\n1. yorick (cmd/yorick): The Slack bot.\n   * When run, it starts an HTTP server and listens for Events API HTTP\n     requests.\n2. horatio (cmd/horatio): An IRC bot that acts as both a Slack Events API\n   and a Slack Web API.\n   * It connects to an IRC server and joins a channel. It sends Events\n     API-like HTTP requests for each message in the channel. It also runs\n     an HTTP server where it listens for Web API-like HTTP requests to send\n     messages to the channel.\n   * Why? This is so we do not have to depend on configuring a bot in\n     Slack's interface, nor having a Slack workspace accessible. This is\n     useful for getting started quickly and in the event of workspace\n     issues.\n\n\n# Supported Events API events\n\nCurrently the bot knows about two events:\n\n1. [url_verification](https://api.slack.com/events/url_verification)\n   (required to configure the bot in Slack's API)\n2. [message](https://api.slack.com/events/message) (a channel message)\n\n\n# Supported Web API methods\n\nIts only action is to post a message in a channel using the\n[chat.postMessage](https://api.slack.com/methods/chat.postMessage) method.\n\n\n# Adding your bot to a Slack workspace\n\nYou first need to get yorick running somewhere Slack will be able to send\nHTTP requests.\n\n1. Go to [api.slack.com/slack-apps](https://api.slack.com/slack-apps) and\n   choose Create a Slack app\n2. Pick an App Name and a Development Slack Workspace\n3. Go to Event Subscriptions under Features in the left hand menu\n4. Click Add a bot user and do that\n5. Go to Event Subscriptions again\n6. Enter your Request URL (this is yorick's endpoint URL)\n7. Under Subscribe to Bot Events, choose Add Bot User Event\n8. Choose message.channels\n9. Go to Install App under Settings in the left hand menu\n10. Choose Install App to Workspace and authorize it\n11. Run yorick with the token listed as Bot User OAuth Access Token\n12. In Slack, invite the bot to a channel (/invite @bot_name)\n13. You should see your bot join and you can now interact with it\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorgh%2Fcourt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhorgh%2Fcourt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorgh%2Fcourt/lists"}