I went down the same rabbit hole and did the exact same thing last week in a fit of procrastination.
https://news.ycombinator.com/item?id=46185128
Would appreciate a shout-out if you saw it and were inspired, otherwise it's nice to see others converging independently on the same thing.