Skip to content

/!\ DISCONTINUED /!\ Project to add Rubygem-like webhooks to NPM.

Notifications You must be signed in to change notification settings

tech-angels/npmhooks.org

Repository files navigation

npmhooks.org

Dependency Status Build Status

Project to add Rubygem-like webhooks to NPM.

Requirements

  • Redis

Application configs

The application.yml file must be configured as follows (sample here):

  • SECRET_TOKEN: The application's config.secret_token. This is for Rails signed cookies.
  • NPM_DATABASE_URL: The url to access NPM's CouchDB.
  • REDIS_HOST and REDIS_PORT: The host and port of the Redis server.
  • GITHUB_KEY and GITHUB_SECRET: The GitHub application credentials that are used for OAuth.

Daemons

  • rake npm_monitor:start: This daemon is responsible for monitoring the NPM database for package changes and will schedule the webhooks in Resque.
  • rake requeue: Resque workers to send out the webhooks.

API documentation

The API documentation to schedule webhooks is currently available in the homepage view.

About

/!\ DISCONTINUED /!\ Project to add Rubygem-like webhooks to NPM.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published