im making a matrix bot which does essentially the same thing libredirect does but for matrix messages (i.e correct urls such as youtube.com to invidious instances, reddit to libreddit, etc)
it's called mtrxdirect (thanks @aryak for the name suggestion, btw)
git repo soon
Update: https://codeberg.org/daksh/mtrxdirect
i will mirror to git.vern.cc tomorrow
also join the matrix room: https://matrix.to/#/#mtrxdirect:vern.cc
mtrxdirect

mtrxdirect - A matrix bot to automatically change the URLs of proprietary websites with freedom and privacy respecting front ends

Codeberg.org