Socket
Socket
Sign inDemoInstall

git-xmpp

Package Overview
Dependencies
86
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    git-xmpp

pushes information about git commits to a xmpp room


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Readme

Source

git-xmpp

Pushes updates from Github, Bitbucket and Gitlab to your xmpp chat room.

Note: This needs a bit more testing...

Configuration

Set the following environment variables:

  • XMPP_USERNAME xmpp username
  • XMPP_PASSWORD xmpp password
  • XMPP_ROOM room where messages should be posted

Optional

  • XMPP_HOST hostname for connection
  • XMPP_PORT port for connection

This project also ships with a Procfile and plays well with foreman. foreman enables you to generate init scripts for your node project. Further information is available at UPSTART-EXPORT

Getting Started

export XMPP_USERNAME=romeo@example.net
export XMPP_PASSWORD=romeo
export XMPP_HOST=localhost
export XMPP_PORT=5222
export XMPP_ROOM=room@conference.example.net

# for debugging use DEBUG=* node bin/git-xmpp
node bin/git-xmpp

# endpoint will be http://localhost:3000/github/

Deploying to Heroku

heroku create
heroku config:set XMPP_USERNAME=romeo@example.net
heroku config:set XMPP_PASSWORD=romeo
heroku config:set XMPP_HOST=localhost
heroku config:set XMPP_PORT=5222
heroku config:set XMPP_ROOM=room@conference.example.net
heroku config
git push heroku master
heroku open

Configure Hook Urls

You need to configure the service endpoint in Github, Bitbucket and Gitlab.

On your local dev environment

Heroku:

Author

License

MIT

Keywords

FAQs

Last updated on 22 May 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc