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

Does viewtube support ipv6? #2791

Open
iamtherobin opened this issue May 2, 2024 · 2 comments
Open

Does viewtube support ipv6? #2791

iamtherobin opened this issue May 2, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@iamtherobin
Copy link

I want to deploy a youtube frontend and possibly make it open to the public. Does viewtube support connecting to youtube exclusive by ipv6 with a ipv6 rotator solution like invidious? If it doesn't, this makes it a no go for me. With google cracking down on privacy harder ever, running a public youtube frontend will only get many ipv4 addresses banned.

This function should now be considered essential for all frontend developers.

@iamtherobin iamtherobin added the enhancement New feature or request label May 2, 2024
@moisout
Copy link
Member

moisout commented May 3, 2024

I think using an ipv6 proxy or similar should be possible. ViewTube uses undici internally for requests.
Putting the system behind a proxy would work or using the environment variable VIEWTUBE_PROXY_URL, you can specify a proxy for it to use: https://viewtube.wiki/configuration/advanced#proxy.

I haven't tested any of this with ipv6 tho, so please let me know if it doesn't work.

@iamtherobin
Copy link
Author

I'll have look into doing a forward proxy later. A quick peek a squid docs shows it supports ipv6 but didn't immediately see a documented way to ensure it only operated in ipv6.

If someone knows how to setup a simple forwarding proxy that only use ipv6, it would be helpful to point to an online guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants