{"id":17227426,"url":"https://github.com/plutov/slack-stranger-bot","last_synced_at":"2025-04-14T01:22:01.506Z","repository":{"id":141933478,"uuid":"106560211","full_name":"plutov/slack-stranger-bot","owner":"plutov","description":"Meet strangers in your Slack Workspace, explore new people. Fully anonymous and secure, bot doesn't store any data.","archived":false,"fork":false,"pushed_at":"2024-09-13T14:59:59.000Z","size":4413,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-27T15:21:25.291Z","etag":null,"topics":["bot","golang","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/plutov.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-11T13:47:53.000Z","updated_at":"2024-09-13T19:04:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"5a6ffc55-e57a-45ec-9bbe-8627a698abdb","html_url":"https://github.com/plutov/slack-stranger-bot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plutov%2Fslack-stranger-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plutov%2Fslack-stranger-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plutov%2Fslack-stranger-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plutov%2Fslack-stranger-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plutov","download_url":"https://codeload.github.com/plutov/slack-stranger-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248805443,"owners_count":21164332,"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","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":["bot","golang","slack"],"created_at":"2024-10-15T04:19:14.758Z","updated_at":"2025-04-14T01:22:01.477Z","avatar_url":"https://github.com/plutov.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Slack Stranger Bot\n\nMeet strangers in your Slack Workspace, explore new people. Fully anonymous and secure, bot doesn't store any data.\n\n### How it works?\n\n - User opens a conversation with Stranger Bot.\n - Types `hi`.\n - Stranger Bot finds random active user who doesn't participate currently in another Stranger conversation.\n - Bot will act as a proxy between two connected users. Never mentioning who sends a message.\n - Any user can type `bye` to finish the conversation, and type `hi` again to start a new random one.\n\n### Anonymous messages to the channel\n\nYou can send private message to the Stranger Bot started with channel name to send message to the channel.\n\n - Add Stranger Bot to the channel.\n - Send `#channel-name message` to the Bot in private conversation.\n\n### Run Stranger Bot\n\n1. [Create an app](https://api.slack.com/apps/) in Slack\n2. Add `chat:write` OAuth scope\n3. Toggle `Allow users to send Slash commands and messages from the messages tab`\n4. Install in your Workspace\n5. Retrieve `Bot User OAuth Token`\n\n```bash\ndocker build -t slack-stranger-bot .\ndocker run slack-stranger-bot -e SLACK_TOKEN=\u003ctoken\u003e\n```\n\n### Run Unit Tests\n\n```\ngo test -v ./...\n```\n\n### Coversation example\n\n```bash\n\u003e **alex.pliutau** [10:29 PM]\n\u003e\n\u003e hi\n\u003e\n\u003e **Stranger Bot** [10:29 PM]\n\u003e\n\u003e Connecting to a random Stranger ...\n\u003e\n\u003e Stranger found! Say hello, and please be polite. Type \"bye\" to finish the conversation\n\u003e\n\u003e hola!!\n\u003e\n\u003e **alex.pliutau** [10:31 PM]\n\u003e\n\u003e Nice, super private. How are you?\n\u003e\n\u003e **Stranger Bot** [10:31 PM]\n\u003e\n\u003e wat\n\u003e\n\u003e hahaha\n\u003e\n\u003e **alex.pliutau** [10:31 PM]\n\u003e\n\u003e bye\n\u003e\n\u003e **Stranger Bot** [10:31 PM]\n\u003e\n\u003e Bye! You finished conversation with the Stranger. Type hi again if you want to start a new random one.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplutov%2Fslack-stranger-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplutov%2Fslack-stranger-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplutov%2Fslack-stranger-bot/lists"}