status-gravatar
v0.1.0
Published
Sets my Gravatar profile image depending on the status of my projects
Downloads
5
Readme
status-gravatar v0.1.0
Sets my Gravatar profile image depending on the status of my projects
Install
sudo npm install -g status-gravatar
npm explore -g status-gravatar
# takes you into the installed folder
# IMPORTANT: modify the config.json file
# set your email and github username
Find your existing gravatar ids
Run the program once to see the ids
export GRAVATAR_PASSWORD=<your password>; gravatar
# will print something like
getting Gravatar password from environment
using gravatar email [email protected]
user images:
id url
-------------------------------- ------------------------------------------------------------------------------
0fd1ef2b64f760afb5e3dc66db8b231c http://en.gravatar.com/userimage/29608804/0fd1ef2b64f760afb5e3dc66db8b231c.jpg
4c685643d2f7dce36c63f1fc62748a60 http://en.gravatar.com/userimage/29608804/4c685643d2f7dce36c63f1fc62748a60.jpg
4982ff0079347587d5d4698076cbe5a0 http://en.gravatar.com/userimage/29608804/4982ff0079347587d5d4698076cbe5a0.jpg
...
Open each url to determine if this is the image you would like to use,
then npm explore -g status-gravatar
, open config.json
and set the appropritate id for status cutoff.
For example see the current config.json
Use
Start the program setting your gravatar password in the environment
variable GRAVATAR_PASSWORD
export GRAVATAR_PASSWORD=<your password>; gravatar
The worker will wake up every hour, check Travis ci build statuses, and depending on success percentage will change your Gravatar image.
Small print
Author: Gleb Bahmutov © 2014
License: MIT - do anything with the code, but don't blame me if it does not work.
Spread the word: tweet, star on github, etc.
Support: if you find any problems with this module, email / tweet / open issue on Github
MIT License
Copyright (c) 2014 Gleb Bahmutov
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.