{"id":30578330,"url":"https://github.com/ifvictr/cheese","last_synced_at":"2025-08-29T03:13:15.349Z","repository":{"id":43282705,"uuid":"282124671","full_name":"ifvictr/cheese","owner":"ifvictr","description":"🧀 The Cheese Touch, but over Slack","archived":false,"fork":false,"pushed_at":"2020-08-04T09:04:24.000Z","size":17,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-19T11:29:30.891Z","etag":null,"topics":["cheese-touch","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":"2020-07-24T04:42:29.000Z","updated_at":"2024-06-19T11:29:30.892Z","dependencies_parsed_at":"2022-09-02T14:25:29.194Z","dependency_job_id":null,"html_url":"https://github.com/ifvictr/cheese","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ifvictr/cheese","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifvictr%2Fcheese","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifvictr%2Fcheese/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifvictr%2Fcheese/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifvictr%2Fcheese/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ifvictr","download_url":"https://codeload.github.com/ifvictr/cheese/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ifvictr%2Fcheese/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272618236,"owners_count":24965406,"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-29T02:00:10.610Z","response_time":87,"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":["cheese-touch","fun","slack"],"created_at":"2025-08-29T03:13:14.667Z","updated_at":"2025-08-29T03:13:15.298Z","avatar_url":"https://github.com/ifvictr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧀 Cheese\n\n\u003cimg alt=\"Moldy Cheese\" width=\"128\" src=\"https://files.ifvictr.com/2020/07/cheese.jpg\" /\u003e\n\nThe Cheese Touch, but over Slack. Idea taken from [Diary of a Wimpy Kid](https://diary-of-a-wimpy-kid.fandom.com/wiki/Cheese_Touch). Why did I make this? Besides having a reason to practice Go, I have no clue. 🤷‍♂\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`: Used to check if a new user sent a message to pass the cheese touch. Only works if the app has been invited to the channel.\n- `chat:write`: Used for sending messages when the cheese touch starts or gets passed to someone else.\n- `groups:history`: Used to check if a new user sent a message to pass the cheese touch. Only works if the app has been invited to the channel.\n- `reactions:read`: For listening to users that “touch” the cheese via reaction.\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`\n- `message.groups`\n- `reaction_added`\n\n### Environment variables\n\nHere are all the variables you need to set up, with hints.\n\n```bash\n# Port to run the app server on\nPORT=3000\n# Redis database to record the user with the cheese touch\nREDIS_URL=redis://…\n# App config. Obtained from the \"Basic Information\" page of your app.\nSLACK_BOT_TOKEN=xoxb-…\nSLACK_VERIFICATION_TOKEN=xxxx…\n```\n\n### Deploying\n\n```bash\n# Run it\nmake\n\n# Run it explicitly from a binary\nmake build\n./bin/cheese\n```\n\nAfter you’ve followed all the above steps, you should see something like this:\n\n```bash\nStarting Cheese…\nListening on port 3000\n```\n\nEnjoy! 🧀\n\n## License\n\n[MIT License](LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fifvictr%2Fcheese","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fifvictr%2Fcheese","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fifvictr%2Fcheese/lists"}