So I created an open-source Lemmy bot to reply to posts/comments with YouTube links with converted Piped links to preserve your privacy.
Piped is an open-source alternative privacy-friendly frontend to YouTube. You can watch the same content from YouTube without connecting to Google’s servers.
You can find the source code at: https://github.com/TeamPiped/lemmy-piped-link-bot
You can find Piped’s source code at: https://github.com/TeamPiped/Piped
PS: I’m the author of Piped :P
Turns out I did not try enough instances! Piped.lunar.icu threw a certificate date error and piped.yt threw a js error (or semething). Piped.video works fine!