this post was submitted on 09 Jul 2023
183 points (96.9% liked)

Technology

34879 readers
45 users here now

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

founded 5 years ago
MODERATORS
 

cross-posted from: https://feddit.rocks/post/3214

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

top 25 comments
sorted by: hot top controversial new old
[–] zoe@lemm.ee 16 points 1 year ago* (last edited 1 year ago)

Thank you. people like u are the ones who r making this world bearable enough to live in.

Hope u'r wary of the legal repercussions from Alphabet's side. this doesn't seem like a child's play :/

[–] Kory@lemmy.ml 15 points 1 year ago

That rocks! Thank you @kavin@feddit.rocks !

[–] dandroid@dandroid.app 11 points 1 year ago (1 children)
[–] PipedLinkBot@feddit.rocks 12 points 1 year ago (1 children)

Here is an alternative Piped link(s): https://piped.video/Q8zDzZQCP38

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

[–] dandroid@dandroid.app 8 points 1 year ago
[–] CraigeryTheKid@beehaw.org 8 points 1 year ago (1 children)

I don't really speak github - is there a manual way to go to a YT video, but through Piped? Or is the new url more complicated than that?

[–] kavin@feddit.rocks 11 points 1 year ago

You can just change the hostname, for example, youtube.com to piped.video. Alternatively, you could just use something like Libredirect to automatically do it on your browser.

[–] Barns@lemmy.world 5 points 1 year ago (1 children)

Looks cool! Do I need to specifically add it to a community, or are you scanning all comments on Lemmy.world?

[–] kavin@feddit.rocks 5 points 1 year ago* (last edited 1 year ago) (2 children)

Currently, it scans all posts that are federated with my Lemmy instance (feddit.rocks), however, there are very few communities that it is scanning currently as there are very few users who have subscribed to communities on my instance.

If more people register on my Lemmy instance and subscribe to more communities, it will scan those communities as well.

I hope more users register on my instance so it can be listed on https://join-lemmy.org/instances too :) I currently lack the 5 active users requirement for that, unfortunately.

~~Alternatively, I could maybe add a way for people to get the bot to subscribe to a community, so people from other instances can add communities to be scanned. 🤔~~ You can now try sending it a message mentioning communities in the format [!community@instance.tld](/c/community@instance.tld) and it will try joining it :)

[–] Barns@lemmy.world 5 points 1 year ago* (last edited 1 year ago) (1 children)

Got it, yes, I think having the bot subscribe to communities is a good way to solve this, and how I've seen it done. Basically users can message the bot with "subscribe ", the bot periodically checks its DMs, subscribes to the Communities and starts monitoring/processing them.

You can add a small footnote to each message, telling them about your instance, so you also get "free publicity" 😉

[–] kavin@feddit.rocks 3 points 1 year ago* (last edited 1 year ago)

You can now try sending it a message mentioning communities in the format [!community@instance.tld](/c/community@instance.tld) and it will try joining it :)

[–] jandar_fett@lemmy.fmhy.ml 4 points 1 year ago

I'm going to subscribe to your instance since you seem to have such cool ideas to help the fediverse and care about privacy.

[–] Freesoftwareenjoyer@lemmy.world 4 points 1 year ago (1 children)

Thanks for making this! I usually don't post Piped or Invidious links, because most people don't know what they are. But now the bot will do it for me and explain what it is!

Piped is awesome too! Is integration with PeerTube planned? I don't know how it would work exactly, but it would be nice if people gradually started switching to a decentralized platform. Maybe Piped could help make that easier somehow?

[–] kavin@feddit.rocks 3 points 1 year ago

If the Peertube developers find a way to make a way to find the same content there through some metadata, we could support it easily, but currently, there isn't anything.

[–] jandar_fett@lemmy.fmhy.ml 4 points 1 year ago (1 children)

Maybe this makes me a dummy, but I don't understand the point of the bot? Like is it supposed to replace links that people post here from YouTube, with Piped instead?

[–] kavin@feddit.rocks 6 points 1 year ago (2 children)

Yes, that's somewhat the point. You can see it in action in this comment. Rather than replace, it allows people to see a Piped link too instead of YouTube one.

Here's a really cool YouTube video: https://youtu.be/dQw4w9WgXcQ (the bot will reply to this)

[–] PipedLinkBot@feddit.rocks 10 points 1 year ago (2 children)

Here is an alternative Piped link(s): https://piped.video/dQw4w9WgXcQ

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

[–] VITecNet@programming.dev 6 points 1 year ago
[–] Squiglet@lemmy.ml 2 points 1 year ago (1 children)
[–] PipedLinkBot@feddit.rocks 2 points 1 year ago

Here is an alternative Piped link(s): https://piped.video/dQw4w9WgXcQ

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

[–] jandar_fett@lemmy.fmhy.ml 4 points 1 year ago

Cool way to show to explain it by showing it in action thanks a pot, you MVP you.

load more comments
view more: next ›