If you follow [@SortingBot] on Twitter, it adds you to a queue, and when it’s your turn it gives you a short rhyming couplet sorting you into a Hogwarts house from the Harry Potter books.

@SortingBot was created by Darius Kazemi. Read more on his blog or download the source code on GitHub.

Source code ΒΆ