Spyke
privacyguides·Privacy Guidesbykavin

Lemmy bot to automatically reply to YouTube links with Piped ones

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

View original on feddit.rocks

Thanks for this. I had just been manually replacing the youtube.com part of the URL to my favourite Piped instance. The breadth of the addon is great.

6

To add on to this tip, for anyone who is reluctant to or cannot install an extension on their browser, you can copy and paste the YouTube link into the search bar of your favorite Piped instance and hit Enter.

5
lemmy.world

Omg I've wanted something like piped for so long!! Thanks for letting me know about it!

6

You're welcome! Now, anyone who creates a post/comment with a YouTube link will know about it too :)

4

Good to hear that :) Inviting the bot definitely helps it reach more communities, so thanks for that!

1

Wow, that's nice! Looking forward to give it a try later today.

3
lemm.ee

What is the difference between piped and invidious?

3
kavinreply
feddit.rocks

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:

  • Subscriptions don't necessarily require an account
  • Playlists don't necessarily require an account
  • Piped supports Infinite scrolling
  • Piped supports Webm videos
  • Piped can stream videos from Odysee if the same video is available there.
  • Piped is a lot lighter on the server
  • Piped always proxies your traffic to Google's servers (most Invidious servers don't proxy videos to YouTube by default)
  • Piped has SponsorBlock integrated (DeArrow will be added soon)
  • Piped has ReturnYouTubeDislike support via RYD-Proxy
  • Piped can only be self-hosted on a server. Invidious on the other hand can work fine on local networks.
  • Piped is a lot easier to administer than Invidious as an instance operator.

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 :)

8

I love Piped. I use it so much every day. I just wanted to thank you for creating and maintaining the project. It’s huge.

Also, this bot is going to be great for me on iOS because access to extensions on safari are really limited.

Thanks Kavin!

2

Is the bot currently online looking for new YouTube links all over Lemmy, or do we need to start up our own if we're interested in using this in a community?

Just wondering as I couldn't see a readme on the repo to find out.

1
burggit.moe

I've tried a few different instances and videos will not play. I'm using Brave and a VPN: blacklisting issues?

0
kavinreply
feddit.rocks

There shouldn't be any, is this on iOS for the setup?

0
kavinreply
feddit.rocks

I would try looking at the JavaScript console for errors, and the network tab for issues with requests. Something seems oddly wrong, unfortunately.

2

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!

3

You reached the end

Lemmy bot to automatically reply to YouTube links with Piped ones | Spyke