David Runger : Blog

Quick Tip: Use gem.wtf to go to the GitHub repo of a gem

February 13, 2023 · David Runger | Edit this article on GitHub

gem.wtf is a handy little website/tool that I use probably at least once a week. Its purpose is quite simple: enter gem.wtf/some_ruby_gem into your browser’s URL bar, and it will redirect you to that gem’s source code repository (i.e. usually their GitHub repo).

Here are some examples:

This is a really quick and convenient way to get from the name of a gem to its GitHub repo, which can be handy…

Of course, you can also find the gem’s GitHub repo through Google or RubyGems, but this saves you a click and takes you straight there.

Thanks to the creator of gem.wtf, Zeke Sikelianos. You can check out gem.wtf’s source code here (it’s actually a simple Node express app).

Bonus tip: There’s a similar tool to get to the GitHub repo for a JavaScript npm package: ghub.io. For example, ghub.io/lodash takes you to the GitHub repo for the lodash npm package.