@zens yes! It's not totally finished but it does the thing I need
paste.sr.ht/~rabbits/1929e1dfb