All Projects → xpl → git-slack-notify

xpl / git-slack-notify

Licence: Unlicense license
Sends Slack notifications for new commits in Git repositories

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to git-slack-notify

Awesome Bots
The most awesome list about bots ⭐️🤖
Stars: ✭ 2,864 (+23766.67%)
Mutual labels:  slack, slackbot, slack-bot
Go Sarah
Simple yet customizable bot framework written in Go.
Stars: ✭ 188 (+1466.67%)
Mutual labels:  slack, slackbot, slack-bot
Slacker
Slack Bot Framework
Stars: ✭ 495 (+4025%)
Mutual labels:  slack, slackbot, slack-bot
SlackWebhooksGithubCrawler
Search for Slack Webhooks token publicly exposed on Github
Stars: ✭ 21 (+75%)
Mutual labels:  slack, slackbot, slack-bot
Botonomous
A PHP Framework For Creating Autonomous Slack Bots
Stars: ✭ 109 (+808.33%)
Mutual labels:  slack, slackbot, slack-bot
iou-slack-bot
💸 IOU Slack Bot - Keep track of your debts with your peers.
Stars: ✭ 13 (+8.33%)
Mutual labels:  slack, slackbot, slack-bot
Slack Ruby Client
A Ruby and command-line client for the Slack Web, Real Time Messaging and Event APIs.
Stars: ✭ 957 (+7875%)
Mutual labels:  slack, slackbot, slack-bot
Wc2018 Slack Bot
World Cup 2018 Slack Bot
Stars: ✭ 11 (-8.33%)
Mutual labels:  slack, slackbot, slack-bot
Slack Machine
A sexy, simple, yet powerful and extendable Slack bot
Stars: ✭ 91 (+658.33%)
Mutual labels:  slack, slackbot, slack-bot
Jbot
Make Slack and Facebook Bots in Java.
Stars: ✭ 1,148 (+9466.67%)
Mutual labels:  slack, slackbot, slack-bot
dienstplan
Slack bot app for duty rotations
Stars: ✭ 14 (+16.67%)
Mutual labels:  slack, slackbot, slack-bot
Fantasy football chat bot
GroupMe Discord and Slack Chatbot for ESPN Fantasy Football
Stars: ✭ 166 (+1283.33%)
Mutual labels:  slack, slackbot, slack-bot
slack widgets
An abstraction of the JSON structure needed to create widgets in Slack message attachments
Stars: ✭ 14 (+16.67%)
Mutual labels:  slack, slackbot, slack-bot
Sactive Bot
😈 An extensible chat bot framework. sactive-bot is an evolution of the open source hubot project. - https://www.shipengqi.top/sactive-bot .
Stars: ✭ 212 (+1666.67%)
Mutual labels:  slack, slackbot, slack-bot
Obed Bot
🍴 Obed Slack Bot, na požiadanie kontroluje aktuálnu ponuku denného menu reštaurácii. [only for slovak|czech users]
Stars: ✭ 32 (+166.67%)
Mutual labels:  slack, slackbot, slack-bot
Slack Block Builder
Lightweight, no-dependency JavaScript library for creating Slack Block Kit UIs, with a builder syntax, inspired by SwiftUI.
Stars: ✭ 129 (+975%)
Mutual labels:  slack, slackbot, slack-bot
Chatskills
Run and debug Alexa skills on the command-line. Create bots. Run them in Slack. Run them anywhere!
Stars: ✭ 171 (+1325%)
Mutual labels:  slack, slackbot, slack-bot
rota-slackbot
Slackbot that helps manage rotations.
Stars: ✭ 50 (+316.67%)
Mutual labels:  slack, slackbot
Slack Ruby Bot Server
A library that enables you to write a complete Slack bot service with Slack button integration, in Ruby.
Stars: ✭ 225 (+1775%)
Mutual labels:  slack, slackbot
emojibot
Emojibot is a Slack bot that announces new custom emoji to a specific channel.
Stars: ✭ 17 (+41.67%)
Mutual labels:  slack, slack-bot

git-slack-notify

pic

  • Tracks new commits in multiple local Git repositories using git fetch && git rev-list
  • Reports them to Slack channels
  • Written in JavaScript — your grandmother can easily read it

Features

  • Super-easy no-brain installation
  • Filters auto-generated / non-informative messages (NPM version tags, quick fixes in MD files, merge commits)

TODO

  • Automated tests

Install

You will need NPM.

git clone http://github.com/xpl/git-slack-notify
cd git-slack-notify
npm install

Run

npm start

Configure

Default config name will be config.json. Running with other file:

npm start myconfig.json

If not found, it will be auto-generated with example data:

{
    accessToken: '<your Slack OAuth access token here>',

    fetchFrequency: 30000, // check for new commits each 30s

    repos: [                                    // you can track multiple repositories
        {
            name: 'Git Slack Notify',           // display name (optional, if not set, will be generated from `dir`)
            dir: process.cwd (),                // local git repo path
            channel: 'general',                 // where to post
            since: ''                           // this is auto-updated when new commits arrive
        }
    ]
}

Obtaining accessToken

  1. Create a new Slack App at https://api.slack.com/apps
  2. Activate the "Incoming webhooks" feature
  3. Click on "Install app to your team" (will generate the token)
  4. Under "OAuth & Permissions", grab your "OAuth Access Token"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].