-
LocalPiped: Packaged Piped to run locally
github.com GitHub - blued-gear/LocalPiped: Packaged Piped to run locallyPackaged Piped to run locally. Contribute to blued-gear/LocalPiped development by creating an account on GitHub.
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:
- you need
Termux
- in Termux, install PRoot Distro
- with PRoot Distro, install Fedora:
proot-distro install fedora
- switch into Fedora:
pd sh fedora
- update packages and install wget and java-21:
dnf update; dnf install wget java-21-openjdk-headless
- download the AppImage:
wget -O LocalPiped.appimage https://projects.chocolatecakecodes.goip.de/blued_gear/localpiped/-/package_files/16/download
- make it executable:
chmod +x ./LocalPiped.appimage
- 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
- run it:
cd LocalPiped; ./AppRun
- you need
-
Is Piped dead?
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
-
Where do you host your self hosted piped instance so it's ip doesn't get blocked by youtube?
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 :(
-
Piped gives "Sign in to confirm that you're not a bot" error even after sign on.
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!
-
Selfhosted Piped instance loading infinitely
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 inpiped-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.
-
Are selfhosted Piped instances still working?
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?
-
What's the difference
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.
-
Selfhosted Piped and Cloudflare Zerotrust?
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?
-
Which container behind gluetun vpn so that public ip is not forwarded to google?
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.
-
any way to grab transcripts from videos?
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?
-
Need help getting a self hosted instance working
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)
-
Technical Support Request: website is spam refreshing without end
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?
-
Unable to create groups on piped (kavin.rocks)?
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!
-
Autoplay playlists?
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.
-
I'm blown away by Piped. I want to thank the devs for a great job.
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.
-
anyone know of a Firefox add-on that redirects all yt links EXCEPT the home page?
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?
-
Importing playlists and subscriptions from YT doesn't seem to work
I exported my data with these tools (and tried out alternatives too):
- https://takeout.google.com/takeout/custom/youtube
- https://jolantahuba.github.io/YT-Backup/
- https://www.tunemymusic.com/transfer/youtube-to-file
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.