{"id":25057010,"url":"https://github.com/andrewmcloud/bitslack","last_synced_at":"2025-03-31T09:29:43.419Z","repository":{"id":210417105,"uuid":"123838740","full_name":"andrewmcloud/bitslack","owner":"andrewmcloud","description":"bitbucket server slack webhook","archived":false,"fork":false,"pushed_at":"2018-03-05T01:57:17.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T13:51:44.389Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewmcloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2018-03-04T23:22:42.000Z","updated_at":"2018-03-05T14:57:54.000Z","dependencies_parsed_at":"2023-12-02T16:46:27.310Z","dependency_job_id":null,"html_url":"https://github.com/andrewmcloud/bitslack","commit_stats":null,"previous_names":["andrewmcloud/bitslack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcloud%2Fbitslack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcloud%2Fbitslack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcloud%2Fbitslack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmcloud%2Fbitslack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewmcloud","download_url":"https://codeload.github.com/andrewmcloud/bitslack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246446542,"owners_count":20778819,"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":[],"created_at":"2025-02-06T13:46:42.306Z","updated_at":"2025-03-31T09:29:43.399Z","avatar_url":"https://github.com/andrewmcloud.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bitslack\nsimple slack webhook integration for bitbucket server\n\n## Installation\ncreate a slack webhook address within the slack application and add it in place of the address in resources/config.edu \n```\n{:slack-webhook \"https://hooks.slack.com/services/my/webhook/here\"} \n```\nrecommend running as a heroku app.\n### Heroku app\ndownload heroku cli\n```bash\nsudo add-apt-repository \"deb https://cli-assets.heroku.com/branches/stable/apt ./\"\ncurl -L https://cli-assets.heroku.com/apt/release.key | sudo apt-key add -\nsudo apt-get update\nsudo apt-get install heroku\n```\nclone bitslack\n```bash\ngit clone https://github.com/andrewmcloud/bitslack.git\n```\ncreate a heroku app:\n\n*note: when you create an app, a git remote (called heroku) is created and associated with your local git repo*\n```bash\nheroku create {{app-name-here}}\n```\npush bitslack to your heroku repo\n```bash\ngit push heroku master\n```\nensure an instance is running:\n```bash\nheroku ps:scale web=1\n```\nvisit your app to ensure it is up and running. You should see a message from bitslack\n```bash\nheroku open\n```\nif your bitslack app fails, check the logs for clues\n```bash\nheroku logs --tail\n\n```\n### Local server\nenable port forwarding via your local router\n\nstart the bitslack server\n```bash\nlein ring server-headless 3000\n```\n## Bitbucket Hooks\nif using Heroku, add your heroku app URI as a Post-Receive WebHook\n```\nhttps://my-heroku-app.herokuapp.com/bitbucket\n```\nif running locally, add your external IP as a Post-Receive WebHook\n```\nhttp://my-external-ip:forwarded-port/bitbucket\n```\n## Add additional information\nmodify bitslack.server/app to add additional information to slack message; here is an example JSON response provided by bitbucket \n[Bitbucket Server JSON payload](https://confluence.atlassian.com/bitbucketserver/post-service-webhook-for-bitbucket-server-776640367.html)\n## License\ndo whatever you want with it\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewmcloud%2Fbitslack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewmcloud%2Fbitslack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewmcloud%2Fbitslack/lists"}