Maybe you could get something like this in that small space so you wouldn't need the belt. BTW, I did not get a cost for it, was just browsing. Also, you would probably need some conversion logic interface. But it looks cool.

https://www.rls.si/eng/products/rota...solute-encoder