{"id":48898495,"url":"https://github.com/wr46/slack-bot-server","last_synced_at":"2026-04-16T13:00:52.484Z","repository":{"id":134051373,"uuid":"186797813","full_name":"wr46/slack-bot-server","owner":"wr46","description":"A simple slack bot server template in Go","archived":false,"fork":false,"pushed_at":"2023-03-08T22:32:40.000Z","size":6729,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T13:38:35.227Z","etag":null,"topics":["bot","hacktoberfest","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/wr46.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2019-05-15T09:49:08.000Z","updated_at":"2022-10-20T19:22:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"81466dab-c798-4b80-855b-f97e6ff7814f","html_url":"https://github.com/wr46/slack-bot-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wr46/slack-bot-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wr46%2Fslack-bot-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wr46%2Fslack-bot-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wr46%2Fslack-bot-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wr46%2Fslack-bot-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wr46","download_url":"https://codeload.github.com/wr46/slack-bot-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wr46%2Fslack-bot-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31886937,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"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":["bot","hacktoberfest","slack"],"created_at":"2026-04-16T13:00:22.986Z","updated_at":"2026-04-16T13:00:52.470Z","avatar_url":"https://github.com/wr46.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slack-bot-server\n\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\nA simple slack bot server template in Go for messaging\n\n## Introduction\n\nThis project is a simple [Go](https://golang.org/) server application for a Slack Bot. \\\nThe main goal here was to implement a Bot that answer to users in same workspace, by direct chat (user\u003c\u003ebot) \\\nor mention the bot in workspace channels.\n\n## Implemented features\n\n- **Show all available commands**\n- **Do a vacation request**\n- **Tell a joke**\n- **Run a local script**\n\n## Usage\n\nIn order for the server to work, you need to setup a '.env' file, you can use 'example.env' as a template.\n\n```javascript\n# NGROK\nNGROK_AUTH=YOUR NGROK TOKEN\nNGROK_PORT=botapp:3000\nNGROK_REGION=eu\n\n# Application\nDEBUG=true\n\n# Slack\nBOT_USER_OAUTH_ACCESS_TOKEN=YOUR BOT USER OAUTH ACCESS TOKEN\nVERIFICATION_TOKEN=YOUR APP VERIFICATION TOKEN\n\n# Email (Gmail default)\nEMAIL_SMTP_SERVER=smtp.gmail.com\nEMAIL_SMTP_PORT=587\nEMAIL_USER=email@gmail.com\nEMAIL_PASSWORD=YOUR EMAIL PASSWORD\nVACATION_RECIPIENT_EMAIL=EMAIL FOR VACATION REQUEST\n```\n\n- **Ngrok Token** you must create a Ngrok account so you can have a private url and add it to Slack \"Event Subscriptions\" request URL. \\\n\n```bash\n    ex: \"https://NGROK_PUBLIC_URL_HERE/events-endpoint\" (check Ngrok section below)\n```\n\n- **Bot User OAuth Token** can be found after you create an app on Slack workspace\n- **Verification Token** can be found on \"Basic Information\" -\u003e \"App Credentials\" of your Slack App\n\n**Note:** \\\nThe email configuration was intended to be used as a vacation request process. Change it to suit your needs.\n\n## Docker\n\n**Docker build and run** \n\n```bash\ndocker-compose up\n```\n\n## Ngrok\n\nGet the Ngrok public URL using the following URL\n\n```bash\nhttp://localhost:4040/api/tunnels\n```\n\n## Useful documentation\n\n- [dep](https://github.com/golang/dep) (dependency manager)\n- [Slack API in Go](https://github.com/slack-go/slack)\n\n## ❗ Code of Conduct\n\nWe expect everyone to abide by our [**Code of Conduct**](./CODE_OF_CONDUCT.md). Please read it. 🤝\n\n## 🙌🏻 How to Contribute\n\nCheck out our [**Contributing Guide**](./CONTRIBUTING.md) for information on contributing.\n\n## License\n\nslack-bot-server is licensed by an MIT license as can be found in the [LICENSE](./LICENSE) file.\n\n## 💜 Thanks\n\nThanks to everyone contributing in any manner for this repo and we extend this thanks to everyone working on Open Source.\n\n**Sharing is Caring**\n\n## Contributors ✨\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://pt.linkedin.com/in/wilsonmarodrigues\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/5550776?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eWilson Rodrigues\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/wr46/slack-bot-server/commits?author=wr46\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#maintenance-wr46\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://people.virginia.edu/~ys4ea\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/6952923?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eYosyp Schwab\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/wr46/slack-bot-server/commits?author=yosyp\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-enable --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwr46%2Fslack-bot-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwr46%2Fslack-bot-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwr46%2Fslack-bot-server/lists"}