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
Piped can be more privacy friendly in a few cases, as you don’t need an account for subscriptions or playlists.
Here are some differences to Invidious:
I’ll conclude by saying that I was once an Invidious user. I decided to write Piped at a time when Invidious was riddled with extremely odd bugs and performance issues. Some of these issues still persist to this day. I’ve always kept performance a top priority in Piped. I wanted to create a better alternative to YouTube than Invidious for my use case and threat model. I think I have succeeded in that :)