Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Answers the age-old question, "Where does a Redditor comment the most?"

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 features
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 README.textile
Octocat-spinner-32 Rakefile
Octocat-spinner-32 usaidwat.gemspec


Are you a Redditor? Do you use Ruby? Do you want to view the subreddits in which a particular user commonly posts? If you answered “yes” to all three of these questions, then usaidwat is the gem for you!


usaidwat can be installed via RubyGems:

$ gem install usaidwat


A usaidwat binary is installed with the gem. usaidwat will analyze a user’s last 100 comments and provide statistics.

To list a Redditor’s comments, simply plug in a username:

$ usaidwat jedberg

To list a count of subreddits in which a user has posted, pass the --tally flag:

$ usaidwat -t jedberg

You will see output like the following:

blog                  26
funny                 15
unitedkingdom         12
Random_Acts_Of_Pizza  11
AskReddit             7
entertainment         4
politics              4
TheoryOfReddit        3
Frugal                3
technology            2
fffffffuuuuuuuuuuuu   2
wikipedia             2
pics                  1
programming           1
sex                   1
space                 1
movies                1
geek                  1
comics                1
videos                1
apple                 1

Which indicates that jedberg has commented in /r/funny 15 times (out of his last 100 comments).

To see the comments for a specific subreddit, tack on that subreddit:

$ usaidwat jedberg funny

All the comments for the given subreddit will be printed.


Test suites can be run with RSpec and Cucumber.

Something went wrong with that request. Please try again.