I actually wrote exactly that for the past three weeks or so. It is working, pending some small fixes and it will be live this weekend. We have been able to process 1.2mi events/week, more if we plugged directly.
Will launch on https://nostodon.org pretty soon, but the code is live here: https://github.com/cfcosta/nostodon