watch youtube on quest vrchat https://www.u2b.cx/
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Lamp b9f304dc01 add alt 2 months ago
www add alt 2 months ago
.gitignore readme 2 months ago
Caddyfile put caddyfile & service in repo 2 months ago
README.md Add 'README.md' 2 months ago
server.py Add direct id function 2 months ago
u2b.cx.service put caddyfile & service in repo 2 months ago

README.md

u2b.cx

A YouTube video file resolver thingy via search query, made to let you watch YouTube in Quest VRChat where there aren't really any other options to do so.

Features

  • Written in Python to integrate with YoutubeDL (yt-dlp) for fastest performance
  • Multi-threaded for concurrent usage
  • Requests coalesced to one YoutubeDL invocation per input
  • Limited to one YoutubeDL invocation per IP address
  • Results cached for 5 hours or until expiry found in extracted URL
  • Extracted URLs proxied in Caddy so that they work in all countries

Planned

  • Option to get Nth search result (requires deeper integration into YoutubeDL)

Usage

GET https://u2b.cx/<query>

The server will search YouTube for <query>, pick the first result, pick the best quality all-in-one MP4 format available, and respond with a 302 redirect to the proxied raw MP4 file.

GET https://u2b.cx/id/<video id>

Bypasses search to serve the video directly.