Creating Plugin: to embed tweets automated in posts

So what I am looking for in general is a possibility to display tweets regarding to a special hashtag etc. in Discourse.
I could imagine something like a category with a topic and whenever a tweet is sent with the respective hash tag, a new post with this tweet should be created.
Or even better, a box somewhere on the site where you can watch the tweets live, even though you’re not on Twitter.

I’ve already managed to write a ruby program that gives me all the tweets about a hash tag, but I don’t know how to turn it into a plugin that can do what i mentioned above.