Skip to content

UniBot/unibot-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unibot-github

Generic GitHub plugin for UniBot. This plugin uses GitHub API v3 to show common data from GitHub user / organization.

Install

To your UniBot application

npm install git://github.com/UniBot/unibot-github --save

And after that register new plugin on IRC channels what you need

plugin [#channel] github

Usage

Currently plugin supports following commands.

!ghGist [user] [count]

This command fetched specified user latest gist data. If user isn't given command will use triggered IRC nick as an user. count is defaulted to 1.

!ghRepos [user/organization] [count]

Command to fetch popular repositories from specified user / organization. If user isn't given command will use triggered IRC nick as an user. count is defaulted to 2.

!ghOrgMembers [organization]

Command fetches specified organization members and list those with user GitHub url.

Configuration

TODO

Libraries that plugin uses

  • node-github - JavaScript GitHub API for Node.JS
  • lodash - A JavaScript utility library delivering consistency
  • Moment.js - Parse, validate, manipulate, and display dates in JavaScript
  • node-shorturl - Simple URL shortener client library for node.js
  • Async.js - Async is a utility module which provides straight-forward, powerful functions for working with asynchronous JavaScript

About

Generic GitHub plugin for UniBot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published