HubHumans
Automatically create a humans.txt
file based upon public members of a GitHub organization.
Wut?
GitHub.com has a shiny humans.txt on their site which is autogenerated from the organization team list. This is an nice way to keep the file up to date, so here's a quick hack to do so.
Installation
Add this line to your application's Gemfile:
gem 'hubhumans'
And then execute:
$ bundle
Or install it yourself as:
$ gem install hubhumans
Usage
Just pass the GitHub organization name. For example, the following commmand:
hubhumans flickr
Would produce the following output:
/* TEAM */
Daniel Bogan (waferbaby)
Site: http://usesthis.com/
Location: San Francisco, California
Eric Gelinas (standardpixel)
Site: blog.standardpixel.com
Location: San Francisco, California
Stephen Woods (saw)
Site: stephenwoods.net
Location: 94110
[...]
You may want to set up a cron task to periodically do the following to keep yours up to date:
hubhumans myorgname > /path/to/www/humans.txt
Easy!
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request