{"id":19022962,"url":"https://github.com/chdsbd/eve","last_synced_at":"2025-08-12T13:04:57.655Z","repository":{"id":47093609,"uuid":"274512899","full_name":"chdsbd/eve","owner":"chdsbd","description":"Notify Slack users when their GitHub changes have been deployed on Heroku","archived":false,"fork":false,"pushed_at":"2021-09-13T20:35:39.000Z","size":33,"stargazers_count":1,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-01T02:55:52.949Z","etag":null,"topics":["github-bot","heroku","slack-bot"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/chdsbd.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}},"created_at":"2020-06-23T21:31:45.000Z","updated_at":"2021-09-22T02:53:49.000Z","dependencies_parsed_at":"2022-09-19T03:01:41.028Z","dependency_job_id":null,"html_url":"https://github.com/chdsbd/eve","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chdsbd/eve","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdsbd%2Feve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdsbd%2Feve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdsbd%2Feve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdsbd%2Feve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chdsbd","download_url":"https://codeload.github.com/chdsbd/eve/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdsbd%2Feve/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270065426,"owners_count":24520946,"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-12T02:00:09.011Z","response_time":80,"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":["github-bot","heroku","slack-bot"],"created_at":"2024-11-08T20:28:18.949Z","updated_at":"2025-08-12T13:04:57.631Z","avatar_url":"https://github.com/chdsbd.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EVE\n\n\u003e A bot to notify Slack users when their GitHub changes have been deployed on Heroku\n\n## Running\n\n1. Create a GitHub App at https://github.com/settings/apps/new.\n   - Uncheck the Webhook \"Active\" checkbox\n   - Enable \"Read-only\" access to the \"Contents\" repository permission. This allows Eve to compare commits.\n2. Download a private key to authenticate as the GitHub App\n3. Create a Slack App at https://api.slack.com/apps.\n   - Configure \"Permissions\" and add the \"Bot Token Scopes\" of `chat:write` and `im:write`\n   - Install the app via \"Install App to Workspace\" and copy \"Bot User OAuth Access Token\"\n4. Create a Heroku auth token.\n   ```\n   heroku authorizations:create -d 'eve credentials' -s read-protected\n   ```\n5. Run Eve\n\n```bash\nSECRET=my-secret-key \\\nGITHUB_APP_ID=1047 \\\nGITHUB_APP_PRIVATE_KEY=$(cat acme-corp-eve.2020-01-01.private-key.pem) \\\nGITHUB_APP_INSTALL_ID=202154 \\\nEVE_HEROKU_TOKEN='E5C2E4F1-4727-4E0C-B1F4-EA1BBA3B66C9' \\\nSLACK_OAUTH_TOKEN='xoxb-c6768786-5f6c43dc-acbeba4045d90c08' \\\nGITHUB_SLACK_USER_IDS='1929960=UAXQFKA3C 7340772=UAYMB3CNS' \\\ncargo run\n\ncurl \"localhost:8000/heroku_deploy_hook?auth_token=$SECRET\u0026github_org_name=acme-corp\u0026github_repo_name=blog\"\n```\n\n## Development\n\n```bash\n# build\ncargo build\n\n# test\ncargo test\n\n# format\ncargo format\n\n# lint\ncargo clippy --all-targets --all-features -- -D clippy::nursery\n```\n\n## Deployment to Heroku\n\n1. Create a Heroku app\n2. Initialize your Heroku app: `heroku git:remote -a my-app-name`\n3. Add the [Rust buildpack](https://github.com/emk/heroku-buildpack-rust): `heroku buildpacks:set emk/rust`\n4. Push your app to Heroku: `git push heroku master`\n5. Configure environment variables via the dashboard or `heroku config:set KEY=VALUE`\n6. Finished. You could add the app url as a Heroku Post Deploy Hook, like `https://my-app-name.herokuapp.com/heroku_deploy_hook?auth_token=my-secret-key`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchdsbd%2Feve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchdsbd%2Feve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchdsbd%2Feve/lists"}