An exceptionally handsome way to track your Stack Overflow badges.
Note: Badge Overflow now works with all Stack Exchange sites.
Created by Adam & Stephanie Sharp.
A Dashing widget that displays a Stack Exchange user's profile, including avatar, name, reputation and number of badges the user has been awarded in each rank (bronze, silver, and gold). The avatar image and user's name are linked to the user's profile page for the specified Stack Exchange site.
You can view the demo dashboard at badgeoverflow.heroku.com. The code is available on GitHub.
-
Install the widget:
$ dashing install 6484136
-
Add the gem
badgeoverflow-core
to yourGemfile
:gem 'badgeoverflow-core', :git => "https://github.com/sharplet/badgeoverflow-core.git"
-
Create the file
config/badgeoverflow.yml
and set the user ID you want to track progress for:user_id: 1
The default site is Stack Overflow. To use a different Stack Exchange site, put the API site parameter in
badgeoverflow.yml
, for example:user_id: 1 site: serverfault
A list of API site parameters for all Stack Exchange sites is available here.
-
Add the widget to your dashboard:
<li data-row="2" data-col="3" data-sizex="2" data-sizey="1"> <div data-id="user" data-view="User" data-title="User"></div> </li>
-
Optionally, add the font Cabin to
dashboards/layout.erb
:<link href='//fonts.googleapis.com/css?family=Cabin:400,500,600,700' rel='stylesheet' type='text/css'>
The widget talks to the Stack Exchange API via the
badgeoverflow-core
gem,
which we wrote while developing the widget.
This is great, I only wish it could do other sites in the stack exchange network ( not just stack overflow)