Piped

453 readers
1 users here now

An alternative privacy-friendly YouTube frontend that is efficient by design.

https://github.com/TeamPiped/Piped

founded 1 year ago
MODERATORS
1
 
 

As a regular user of Piped, it got very annoying when Google blocked almost all the public instances. As even Invidious is affected, I decided to run Piped on my local machine with my residential IP, so that it won't get blocked so easily.
To make the process of running such an instance as easy as possible for me and also other Piped enjoyers, I created LocalPiped, a project to deploy all the server components via AppImage.

You can download prebuild AppImages here.
For a description on how to make the database persistent, see the README in the Repository.

Please be aware, that most of the privacy-advantages do not apply anymore, as the application has to run via your own IP.
This also means that you might need split-tunneling if you use a VPN.

It is also possible, to use the application on an Android Phone:

  1. you need Termux
  2. in Termux, install PRoot Distro
  3. with PRoot Distro, install Fedora: proot-distro install fedora
  4. switch into Fedora: pd sh fedora
  5. update packages and install wget and java-21: dnf update; dnf install wget java-21-openjdk-headless
  6. download the AppImage: wget -O LocalPiped.appimage https://projects.chocolatecakecodes.goip.de/blued_gear/localpiped/-/package_files/16/download
  7. make it executable: chmod +x ./LocalPiped.appimage
  8. extract the contents of the AppImage (as it is not possible to use fuse in normal Termux): ./LocalPiped.appimage --appimage-extract && mv squashfs-root LocalPiped && rm LocalPiped.appimage
  9. run it: cd LocalPiped; ./AppRun
2
 
 

Hello! I was wondering, since piped.video has not been working for quite some time ("Sign in to confirm you are not a bot" error), if it's ever going to work again or if it is just dead. Thanks for any advice on this topic

3
 
 

What VPS hosting do you recommend that has IPs not blocked by youtube and crypto payments for personal use?

It really sucks when both ISP and youtube itself are trying to lock you out of their service. I dont wanna give youtube any of my data but i also can't (reliably) access it from my local network due to the fact that my goverment really sucks :(

4
 
 

Starting 01 September Piped started giving this error after sign on and clicking on any video.

Got error: "Sign in to confirm that you're not a bot" org.schabi.newpipe.extractor.exceptions.ContentNotAvailableException: Got error: "Sign in to confirm that you're not a bot" at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.checkPlayabilityStatus(YoutubeStreamExtractor.java:898) at org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeStreamExtractor.onFetchPage(YoutubeStreamExtractor.java:784) at org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:60) at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:77) at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:72) at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:67) at me.kavin.piped.server.handlers.StreamHandlers.lambda$streamsResponse$0(StreamHandlers.java:54) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.base/java.lang.VirtualThread.run(VirtualThread.java:329)

Maybe it has something to do with YouTube being currently blocked in Russia (where I am trying to access it). Please, check if it is possible to fix this error and continue watching YouTube via Piped. Thank you!

5
9
submitted 2 months ago* (last edited 2 months ago) by Fisch@discuss.tchncs.de to c/piped@feddit.rocks
 
 

I just installed Piped using podman-compose but when I open up the frontend in my browser, the trending page is just showing the loading icon. The logs aren't really helping, the only error is in piped-backend:

java.net.SocketTimeoutException: timeout
	at okhttp3.internal.http2.Http2Stream$StreamTimeout.newTimeoutException(Http2Stream.kt:675)
	at okhttp3.internal.http2.Http2Stream$StreamTimeout.exitAndThrowIfTimedOut(Http2Stream.kt:684)
	at okhttp3.internal.http2.Http2Stream.takeHeaders(Http2Stream.kt:143)
	at okhttp3.internal.http2.Http2ExchangeCodec.readResponseHeaders(Http2ExchangeCodec.kt:97)
	at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:110)
	at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:93)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
	at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
	at me.kavin.piped.utils.RequestUtils.getJsonNode(RequestUtils.java:34)
	at me.kavin.piped.utils.matrix.SyncRunner.run(SyncRunner.java:97)
	at java.base/java.lang.VirtualThread.run(VirtualThread.java:329)

Would appreciate it if anyone could help me. I also wasn't sure what info to include, so please ask if there's any more info you need.

6
 
 

cross-posted from: https://discuss.tchncs.de/post/20956700

All the public Piped instances are getting blocked by YouTube but do small selfhosted instances, that are only used by a handful of users or just yourself, still working? Thinking of just selfhosting it.

On a side note, if I do it, I'd also like to install the new EFY redesign or is that branch too far behind?

7
 
 

Hello everyone, I'm an user of Piped and Libretube for Youtube. I love being de-Googled. But what's the major difference (excluding metadata) about using Youtube only from browser (with Security-Privacy oriented browser, auto-deleted cookies per tab, without account) vs using Piped?

Thanks.

8
 
 

Which is the best to self host and use?

9
10
 
 

Cheers! I'm hoping to self-host Piped but I'm using cloudflare tunnels / Zerotrust to configure my containers public access (awful ISP CGNAT means this is the best way for my usecase). I've followed the docs https://docs.piped.video/docs/self-hosting/#docker-compose-nginx-aio-script and have configured a public hostname pointing to the nginx container's port configured in the compose.yml file -- but while I can access the frontend the backend/proxy seem to not be able to connect. I found this github issue discussing it https://github.com/TeamPiped/Piped/issues/2600 but even if I add CNAME references manually (though they are now generally handled through Zerotrust) I can't seem to get things to work. The "Trending" page seems to be continually loading, and the logs for piped-backend show

org.postgresql.util.PSQLException: Connection to postgres:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:346)
	at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54)
	at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:273)
	at org.postgresql.Driver.makeConnection(Driver.java:446)
	at org.postgresql.Driver.connect(Driver.java:298)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:683)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:230)
	at me.kavin.piped.utils.LiquibaseHelper.init(LiquibaseHelper.java:32)
	at me.kavin.piped.Main.main(Main.java:82)
Caused by: java.net.ConnectException: Connection refused
	at java.base/sun.nio.ch.Net.pollConnect(Native Method)
	at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:682)
	at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:542)
	at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:592)
	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
	at java.base/java.net.Socket.connect(Socket.java:757)
	at org.postgresql.core.PGStream.createSocket(PGStream.java:243)
	at org.postgresql.core.PGStream.<init>(PGStream.java:98)
	at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:136)
	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:262)

Has anyone had luck hosting Piped using cloudflare tunnels and can point me in the right direction?

11
 
 

Good day, Sorry for the noob question. Which of the containers connect directly to google and belong behind the gluetun vpn so that google doesn't get the public address? Is it just the proxy container or also the API container?

Thanks for your help.

12
5
submitted 8 months ago* (last edited 8 months ago) by HootinNHollerin@lemmy.world to c/piped@feddit.rocks
 
 

Sry ima n00b

13
 
 

the ability to get transcripts of videos is a youtube feature that is sometimes useful in my line of work. i'm wondering if this is somehow possible with piped?

14
 
 

I'm trying to self-host for use only locally within my home using yattee on apple tv, and I feel like I'm close, but not working yet. I followed the official self-hosting guide, following the AIO Caddy guide from here:

https://docs.piped.video/docs/self-hosting/

I am running in Windows. I did not have docker installed previously, so I installed the lastest docker for windows, opened command prompt as admin and cloned the git repo and ran the configure-instance.sh for caddy. Set my hosts as 'piped.redacted.local' , pipedapi, and pipedproxy. I then created a dns rewrite in adguard home to send *.redacted.local to the host IP address. From there, I am now able to visit that page on any computer in my home and get to the frontend webpage (after a ssl warning from my browser which I have to accept the risk and continue). However, once in the frontend, nothing really works... It starts up at the trending page, but just spins forever without loading. If I go to register page, I can enter a user/pass, but clicking register does nothing. Likewise if I go to the login page, nothing. If I simply enter a url directly, e.g. piped.redacted.local/watch?abcdefg the page starts to load, but again just a spinning circle in the main content area of the page.

I've tried looking all over github issues for similar things, trying to read the logs of postgres and more (postgres is really sparse, basically just starting postgressql, listening on xyz, database system is ready to accept connections) , but nothing is jumping out at me as an obvious issue, and I've done so very little in the way of manual config that I don't believe I've broken something, more feels like I'm missing something.

Edit: slight follow-up, it's due to the caddy cert and trying to use it only locally. I'll have to learn how to do it properly instead of just adguard dns rewrite it seems. If anyone is able to help walk me through setting it up properly, I'd certainly appreciate it. I was able to export the crt from caddy data and install on my laptop, set to trust, and was able to register an account, load videos, etc. All 'working' properly on my macbook, but not able to connect in yattee (ssl error when trying to add the location)

15
 
 

Hi, for a while I’ve been having a serious problem with piped on Firefox iOS client (not been able to test on other platforms yet as my PC has shat itself). I am registered to rafo.tech and while that might instance is up I don’t have any issue. I once tried to log in to kavin.rocks by mistake and now the kavin.rocks page spam refreshes literally every second and there is nothing I can do to stop it. Clearing my browsing data did seem to solve the problem, however when I tried register an alternate account on kavin.rocks so I could have a backup site with my subs for when rafo.tech is down it is straight back to its spam refreshing behaviour. This seems to have effectively banned me from ever making an account or using kavin.rocks.

I was wondering if this is a common occurrence and I’m missing an easy fix. How can I unfuck my situation?

16
 
 

Hi everyone, I'm trying to add specific subscriptions to a certain group, but how do I create said groups? Also, I don't see an option to create a group from the page of a channel I want to subscribe to.

I have attached a screenshot with this post, could someone help? Thanks!

17
 
 

Super stoked about using Piped. I've created an account on piped.video, found a playlist, all that; I can't figure out how to play all the items in the playlist though - I seem to only be able to play them individually. How do I play everything in a playlist without having to select them individually each time? I'm using the browser interface at the moment.

18
 
 

I did send a donation, but I want to make sure the people involved know I appreciates them.

I set up an instance and have been using it along with a couple friends. It's fast, private and doesn't have a bunch of algo bullshit wasting our time. I have my subs and I watch them, and then I go and touch grass because I'm not sitting there watching trash that is being pushed at me on the feed.

It's like a breath of fresh air.

19
 
 

Title. I really like using the YouTube home page to find new content I'm not subscribed to since trending is hot garbage. I'd love to use the home page like I used to but have my browser redirect to piped after I click a video. Anyone have a solution?

20
 
 

I exported my data with these tools (and tried out alternatives too):

Tried out instances were piped.lunar.icu and piped.yt and lunar was able to create empty playlists which were named correctly atleast or just refreshed the page with nothing happening but it has detected 0 subscriptions. yt on the other hand didn't respond to either of these import requests, but it correctly detected my subscriptions, just didn't import them.

Am I doing something wrong, on an instance where this feature is incomplete, or are these features currently in development?

EDIT: kavin.rocks can successfully import the subscribers, but not the playlists.

21
 
 

So I mostly transitioned to Piped and ever since I was wondering how it works. I read up on it and while I get what it says, I still don't feel like I really understand...

22
 
 

cross-posted from: https://fedia.io/m/Brussels/t/344992

Until recently, it was possible to download #Youtube videos on a library PC & store on USB drive by using an #Invidious front-end. Recently the library has blocked all invidious instances. You can still view videos but when you try to download one it gives a 403 forbidden error.

Why are they doing this?

I can only think of two possibilities: 1. bandwidth limitations 2. copyright issues. Anyone know anything solid about this?

Suggestions on other options would be appreciated. I assume users cannot install their own apps, which means front-ends that need installation are problably a non-starter. It looks like there is a web-based front end called #Piped but many of those instances are hosted with the same domain as Invidious thus may be blocked as well.

#lawfedi

23
 
 

Hi, I just installed a piped instance on my server, however whenever I want to play a video it just shows 'error 1001, look at the logs'. I installed via docker, I could not find a way documented to access said logs. Does anyone know how to access the logs?

24
2
submitted 1 year ago* (last edited 1 year ago) by illi@lemm.ee to c/piped@feddit.rocks
 
 

So I considering switching to Piped, but I'm wondering if the views (or other metrics) are counted on Youtube itself. I don't like the idea I'm kinda "robbing" the content creators I enjoy...

I think I know the answer but would like to know for sure.

25
1
submitted 1 year ago* (last edited 1 year ago) by VerPoilu@sopuli.xyz to c/piped@feddit.rocks
 
 

Hello,

I would like to self host either on my machine, or on a raspberry pi. I don't absolutely need to access it from outside my network, but it would be a plus. I have read this page: https://docs.piped.video/docs/self-hosting/ , but I'm a bit lost on how to set up hostnames. Maybe I can use something like DuckDNS: https://www.duckdns.org/

view more: next ›