Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using other proxy instances #31

Closed
binaryben opened this issue Apr 17, 2023 · 1 comment
Closed

Using other proxy instances #31

binaryben opened this issue Apr 17, 2023 · 1 comment

Comments

@binaryben
Copy link

I'm a bit concerned about bandwidth use.

It seems technically possible1 to run just the frontend image without command to change the instance URLs. I'm assuming the proxy service will be the biggest bandwidth consumer.

Can we set up a piped backend service using a proxy of a public instance? (i.e., use pipedproxy-yyz.kavin.rocks as the URL for the PROXY_HOSTNAME value - this is what I saw in the network tab on the kavin.rocks instance)

My motivation is that I'd prefer to host the account/subscription data, etc for my private instance. But I'm not really fussed if another instance operator knows which videos have been watched.

Footnotes

  1. I've only tested to the point of running the 1337kavin/piped-frontend container locally and using entrypoint: ash -c '/docker-entrypoint.sh && nginx -g "daemon off;"' as the command. It seems to work as expected (not too surprising since it's a Vue app) and plays videos - I just haven't tested logging in yet

@Bnyro
Copy link
Member

Bnyro commented May 23, 2024

Can we set up a piped backend service using a proxy of a public instance? (i.e., use pipedproxy-yyz.kavin.rocks as the URL for the PROXY_HOSTNAME value - this is what I saw in the network tab on the kavin.rocks instance)

No, that's not officially supported.

I would recommend keeping your instance private and choose your instance as the authentication instance in the settings (both Piped and LibreTube support it), and use any other instance as the default instance.

That way your subscriptions and playlists will be synced with the authentication API, but everything else like playing videos will use the api/proxy of an other instance.

@Bnyro Bnyro closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants