{"id":23722604,"url":"https://github.com/robbiedhickey/civ6-slack-notifier","last_synced_at":"2026-05-06T13:37:28.212Z","repository":{"id":142406890,"uuid":"419572246","full_name":"robbiedhickey/civ6-slack-notifier","owner":"robbiedhickey","description":"An easy way to host your own slack notifier for Civilization VI Play By Cloud games. ","archived":false,"fork":false,"pushed_at":"2021-10-22T14:48:56.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T18:20:58.705Z","etag":null,"topics":["civ6","slack","vercel","webhook"],"latest_commit_sha":null,"homepage":"civ6-slack-notifier.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robbiedhickey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-10-21T03:47:46.000Z","updated_at":"2021-10-22T14:48:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9b6be76-c7b1-4e51-a8a5-3c89721bef79","html_url":"https://github.com/robbiedhickey/civ6-slack-notifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robbiedhickey/civ6-slack-notifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbiedhickey%2Fciv6-slack-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbiedhickey%2Fciv6-slack-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbiedhickey%2Fciv6-slack-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbiedhickey%2Fciv6-slack-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robbiedhickey","download_url":"https://codeload.github.com/robbiedhickey/civ6-slack-notifier/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbiedhickey%2Fciv6-slack-notifier/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265430487,"owners_count":23764003,"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":["civ6","slack","vercel","webhook"],"created_at":"2024-12-30T23:54:40.764Z","updated_at":"2025-10-30T20:43:17.339Z","avatar_url":"https://github.com/robbiedhickey.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Civilization VI Slack Notifier [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Frobbiedhickey%2Fciv6-slack-notifier\u0026env=SLACK_WEBHOOK_URL\u0026envDescription=You%20can%20generate%20a%20Slack%20webhook%20URL%20by%20following%20the%20steps%20at%20this%20link%3A%20https%3A%2F%2Fapi.slack.com%2Fmessaging%2Fwebhooks%23create_a_webhook\u0026project-name=civ6-slack-notifier\u0026repo-name=civ6-slack-notifier)\n\nThis project aims to make deploying your own Civilization VI `Play By Cloud` webhook as easy as possible. It currently only supports Slack, Discord may be supported in the future but there is already an [excellent project](https://civ.halfstack.software/) catering to that use case.\n\n## Setup \n\n### Prequisites\n\n[Create a slack webhook](https://api.slack.com/messaging/webhooks#create_a_webhook)\n\n### Deploy Button Setup (Recommended)\n\nThe easiest way to get started is to click the `Deploy with Vercel` button in the header. You will be asked to create a Vercel account, which is free. After going through the wizard, you will be asked to provide the slack webhook url as the `SLACK_WEBHOOK_URL` environment variable. Navigate to the deployment once complete - the landing page will present you with the webhook URL you can use to configure the `Play By Cloud Webhook URL` setting in the game options.\n\n### Manual Setup (Advanced)\n\n* Clone/fork this repo\n* Sign up for an account at [Vercel](https://vercel.com/signup)\n* Install the vercel-cli: `npm install -g vercel`\n* Login to vercel: `vercel login`\n* Add an environment variable for your webhook: `vercel env add SLACK_WEBHOOK_URL \u003curl\u003e`\n* Deploy the stack: `vercel --prod`\n* After the deployment is complete, a URL will be copied to your clipboard. Paste the following into your Play by Cloud Webhook setting in your Civ VI game: `{vercel_deployment_url}/api/webhook`\n\n### Optional Enhancements\n\nIf you want to include @ mentions in your turn notifications, you can also add a `USER_MAP_JSON` environment variable. It expects a parseable JSON string with a map of `civ_user`-\u003e`slack_user_id`:\n\n```json\n{\"TEST_USER1\":\"UMTQRM61L\",\"TEST_USER2\":\"UMK866NQZ\"}\n```\n\nYou can find a user's `slack_user_id` with the steps in [this article](https://moshfeu.medium.com/how-to-find-my-member-id-in-slack-workspace-d4bba942e38c)\n\n## Prior Art\n\nBrett Andrews' work on his https://civ.halfstack.software/ service and the subsequent blog posts were what sparked the idea for this project. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobbiedhickey%2Fciv6-slack-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobbiedhickey%2Fciv6-slack-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobbiedhickey%2Fciv6-slack-notifier/lists"}