{"id":20473545,"url":"https://github.com/xpl/git-slack-notify","last_synced_at":"2025-04-13T11:28:18.984Z","repository":{"id":77635123,"uuid":"92507195","full_name":"xpl/git-slack-notify","owner":"xpl","description":"Sends Slack notifications for new commits in Git repositories","archived":false,"fork":false,"pushed_at":"2020-05-06T04:05:23.000Z","size":104,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T02:39:21.782Z","etag":null,"topics":["daemon","git","slack","slack-bot","slackapi","slackbot","watchdog"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xpl.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-05-26T12:10:12.000Z","updated_at":"2025-02-28T03:02:46.000Z","dependencies_parsed_at":"2023-02-25T18:46:01.511Z","dependency_job_id":null,"html_url":"https://github.com/xpl/git-slack-notify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpl%2Fgit-slack-notify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpl%2Fgit-slack-notify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpl%2Fgit-slack-notify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpl%2Fgit-slack-notify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xpl","download_url":"https://codeload.github.com/xpl/git-slack-notify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248705107,"owners_count":21148480,"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":["daemon","git","slack","slack-bot","slackapi","slackbot","watchdog"],"created_at":"2024-11-15T14:25:48.718Z","updated_at":"2025-04-13T11:28:18.979Z","avatar_url":"https://github.com/xpl.png","language":"JavaScript","readme":"# git-slack-notify\n\n![pic](https://cdn.jpg.wtf/futurico/a6/39/1495803414-a6396ced47686e423007d19d48c00062.png)\n\n- [x] Tracks new commits in multiple local Git repositories using `git fetch \u0026\u0026 git rev-list`\n- [x] Reports them to Slack channels\n- [x] Written in JavaScript — [your grandmother can easily read it](https://github.com/xpl/git-slack-notify/blob/master/git-slack-notify.js)\n\n## Features\n\n- [x] Super-easy no-brain installation\n- [x] Filters auto-generated / non-informative messages (NPM version tags, quick fixes in MD files, merge commits)\n\n## TODO\n\n- [ ] Automated tests\n\n## Install\n\nYou will need [NPM](https://www.npmjs.com/get-npm).\n\n```bash\ngit clone http://github.com/xpl/git-slack-notify\ncd git-slack-notify\nnpm install\n```\n\n## Run\n\n```bash\nnpm start\n```\n\n## Configure\n\nDefault config name will be `config.json`. Running with other file:\n\n```bash\nnpm start myconfig.json\n```\n\nIf not found, it will be auto-generated with example data:\n\n```\n{\n    accessToken: '\u003cyour Slack OAuth access token here\u003e',\n\n    fetchFrequency: 30000, // check for new commits each 30s\n\n    repos: [                                    // you can track multiple repositories\n        {\n            name: 'Git Slack Notify',           // display name (optional, if not set, will be generated from `dir`)\n            dir: process.cwd (),                // local git repo path\n            channel: 'general',                 // where to post\n            since: ''                           // this is auto-updated when new commits arrive\n        }\n    ]\n}\n```\n\n## Obtaining `accessToken`\n\n1. Create a new Slack App at [https://api.slack.com/apps](https://api.slack.com/apps)\n2. Activate the _\"Incoming webhooks\"_ feature\n3. Click on _\"Install app to your team\"_ (will generate the token)\n4. Under _\"OAuth \u0026 Permissions\"_, grab your _\"OAuth Access Token\"_\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpl%2Fgit-slack-notify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxpl%2Fgit-slack-notify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpl%2Fgit-slack-notify/lists"}