Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaeljymsgutierrez/git-messenger-webhook
A simple git webhook event notification for facebook messenger.
https://github.com/michaeljymsgutierrez/git-messenger-webhook
bash facebook facebook-chat-api facebook-messenger fastify git nodejs pm2 shelljs webhook
Last synced: about 1 month ago
JSON representation
A simple git webhook event notification for facebook messenger.
- Host: GitHub
- URL: https://github.com/michaeljymsgutierrez/git-messenger-webhook
- Owner: michaeljymsgutierrez
- License: mit
- Created: 2018-07-19T01:39:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T13:44:11.000Z (about 2 years ago)
- Last Synced: 2024-04-15T15:41:40.325Z (8 months ago)
- Topics: bash, facebook, facebook-chat-api, facebook-messenger, fastify, git, nodejs, pm2, shelljs, webhook
- Language: JavaScript
- Homepage:
- Size: 293 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Git Messenger Webhook
A simple git webhook event notification for facebook messenger.
- [x] Github Webhook
- [x] Gitlab Webhook
- [ ] Bitbucket Webhook1. _**clone**_ this repo and do _**npm install**_
![](https://i.imgur.com/ltOWyLO.gif )2. install _**pm2**_ package `npm install pm2 -g`
3. create _**.env**_ file and type `disable otp password in facebook login````
EMAIL: "[email protected]" //fb email
PASSWORD: "facebookpassword" //fb password
TITLE: Chatbot Name //chatbot name
WEBHOOK_PORT="3005" //preferred port
```
4. Start _**pm2**_ process and then _**save**_
`pm2 start webhook.js --name webhook-name` &
`pm2 save`
![](https://i.imgur.com/oTwelow.gif)
5. Go to webhook __**Settings->Integrations->URL**__
`http://yourserverip:port/integrate/webhook/messengerGroupChatID`
- Group Chat ID shown on the parameter of messenger.com when you select the specific groupchat._sample_
`http://182.232.34.23:3005/integrate/webhook/1818601588228287` or
`http://gitmessengerchatbot.com:3005/integrate/webhook/1818601588228287`![](https://i.imgur.com/v392OCO.gif)
6. Try it yourself :smiley:
![](https://i.imgur.com/aXNIesX.gif)