1.0.5 • Published 5 years ago

github-profile-message v1.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Github profile message

Install

brew install python
npm install github-profile-message --save

Usage

Do not use an existed repo or it'll be deleted!

gl = new require('github-profile-message');
gl.post("message").then(fucntion(){
  // callback
});

Config

You can config via construction method or enviroment vars

export HUBOT_GITHUB_TOKEN="github_token"
export GITHUB_LED_REPO="Your_repo_name"
export GITHUB_PUSH_NUMBER="Number of commits for each dot." (default is 100)
export GITHUB_LED_FONT="font packeage name" (optional)
gl = new require('github-profile-message');
gl.config.repo = "repo_name";
gl.config.push_number = 100;
gl.config.font = {"A": [0x7E, 0x11, 0x11, 0x11, 0x7E]}; // package name or object
1.0.5

5 years ago

1.0.4

6 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago