github-profile-message
v1.0.5
Published
Create a message in your github profile page
Downloads
4
Readme
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