{"id":30578340,"url":"https://github.com/ifvictr/jia","last_synced_at":"2026-05-15T13:07:06.448Z","repository":{"id":55904684,"uuid":"230692504","full_name":"ifvictr/jia","owner":"ifvictr","description":"🦉 Keeping an eye on the Hack Club Slack's #counttoamillion channel","archived":false,"fork":false,"pushed_at":"2020-11-22T20:21:46.000Z","size":15,"stargazers_count":8,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-04T07:38:50.034Z","etag":null,"topics":["counttoamillion","fun","slack"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ifvictr.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":"2019-12-29T02:25:17.000Z","updated_at":"2023-03-21T18:59:04.000Z","dependencies_parsed_at":"2022-08-15T09:10:10.893Z","dependency_job_id":null,"html_url":"https://github.com/ifvictr/jia","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ifvictr/jia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifvictr%2Fjia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifvictr%2Fjia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifvictr%2Fjia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifvictr%2Fjia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ifvictr","download_url":"https://codeload.github.com/ifvictr/jia/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifvictr%2Fjia/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33067512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["counttoamillion","fun","slack"],"created_at":"2025-08-29T03:13:18.529Z","updated_at":"2026-05-15T13:07:06.407Z","avatar_url":"https://github.com/ifvictr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🦉 Jia\n\nKeeping an eye on the Hack Club Slack’s [#counttoamillion](https://hackclub.slack.com/archives/CDJMS683D) channel.\n\n## Setup\n\n### Creating the Slack app\n\nYou’ll need to create a Slack app (not a classic one) with at least the following bot token scopes. The reasons each scope is required are also included:\n\n- `channels:history` (or `groups:history`, if it’s a private channel): Used to listen to messages sent.\n- `chat:write`: Used for sending messages.\n- `reactions:write`: For reacting to invalid messages.\n\nThen you’ll need to subscribe the app to a few events. The server has an endpoint open at `/slack/events`, so when you’re asked for a request URL, just put `https://\u003cSERVER\u003e/slack/events`. Only the following events are needed:\n\n- `message.channels` (or `message.groups` if it’s a private channel)\n\n### Environment variables\n\nHere are all the variables you need to set up, with hints.\n\n```bash\n# The port to run the app server on\nPORT=3000\n# Redis database to store the last number and its sender\nREDIS_URL=redis://…\n# App config. Obtained from the \"Basic Information\" page of your app.\nSLACK_BOT_TOKEN=xoxb-…\nSLACK_VERIFICATION_TOKEN=xxxx…\n# The channel where Jia should validate counted numbers in.\nSLACK_CHANNEL_ID=C…\n```\n\n### Deploying\n\n```bash\n# Run it…\nmake\n\n# …or build a binary and run that instead\nmake build\n./bin/jia\n```\n\nAfter you’ve followed all the above steps, you should see something like this:\n\n```bash\nStarting Jia…\nListening on port 3000\n```\n\n## License\n\n[MIT License](LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fifvictr%2Fjia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fifvictr%2Fjia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fifvictr%2Fjia/lists"}