Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HelpFreedom/youthub
/ functions
Functions
516 in github.com/HelpFreedom/youthub
⨍
Functions
516
◇
Types & classes
54
↓ 1 callers
Function
get_video_frame
ffplay-yt/ffplay.c:3027
↓ 1 callers
Function
handleControlLine
(line, write)
sabr_bridge.mjs:575
↓ 1 callers
Function
ipc_handle_command
ffplay-yt/ffplay.c:2477
↓ 1 callers
Function
ipc_notify_load_more
ffplay-yt/ffplay.c:2686
↓ 1 callers
Function
ipc_notify_play_video
ffplay-yt/ffplay.c:2676
↓ 1 callers
Function
ipc_notify_seek_req
ffplay-yt/ffplay.c:2666
↓ 1 callers
Function
ipc_start
ffplay-yt/ffplay.c:2694
↓ 1 callers
Function
ipc_stop
ffplay-yt/ffplay.c:2734
↓ 1 callers
Function
is_printable_utf8
(buf: bytes)
proto_dump.py:75
↓ 1 callers
Function
is_realtime
ffplay-yt/ffplay.c:4088
↓ 1 callers
Function
is_target
(url: str)
protocol_dump.py:82
↓ 1 callers
Function
kitty_delete
(image_id: int = KITTY_IMAGE_ID)
tui_player.py:126
↓ 1 callers
Function
kitty_send
Transmit + display a PNG via kitty graphics protocol. Chunks at 4096 base64 chars (≈3072 raw bytes) to respect terminal IO buffer limits. Use
tui_player.py:102
↓ 1 callers
Function
legacyOneShotMain
()
sabr_bridge.mjs:630
↓ 1 callers
Function
loadAccessToken
()
sabr_bridge.mjs:239
↓ 1 callers
Function
loadBridgePrCache
(vid, maxAgeSec = 12 * 3600)
sabr_bridge.mjs:129
↓ 1 callers
Function
loadCachedPlayerResponse
(vid)
sabr_bridge.mjs:117
↓ 1 callers
Function
load_cached
(video_id: str)
bootstrap.py:88
↓ 1 callers
Function
load_jar
()
test_cookieping.py:45
↓ 1 callers
Function
looks_like_protobuf
Heuristic: try to parse, return True if structure looks like protobuf.
proto_dump.py:41
↓ 1 callers
Function
main
()
extract_cookies.py:30
↓ 1 callers
Function
main
()
bootstrap.py:866
↓ 1 callers
Function
main
()
live_stream.py:361
↓ 1 callers
Function
main
()
test_tvpair.py:159
↓ 1 callers
Function
main
()
player.py:149
↓ 1 callers
Function
main
()
verify_history.py:54
↓ 1 callers
Function
main
()
grid_demo.py:919
↓ 1 callers
Function
main
()
bridge_player.py:830
↓ 1 callers
Function
main
()
ump_inspect.py:97
↓ 1 callers
Function
main
()
test_innertube.py:52
↓ 1 callers
Function
main
Two invocation forms: recs_pipeline.py <video_id> First batch. Prints CLEAR_RECS, then RECS_ITEM lines, then CONTINUA
recs_pipeline.py:369
↓ 1 callers
Function
main
()
ump_extract.py:107
↓ 1 callers
Function
main
()
proto_dump.py:144
↓ 1 callers
Function
main
()
tui_player.py:179
↓ 1 callers
Function
main
()
stream_player.py:377
↓ 1 callers
Function
main
()
test_logevent.py:25
↓ 1 callers
Function
main
()
protocol_dump.py:230
↓ 1 callers
Function
main
(video_url: str, wait_secs: int = 30)
probe_potoken.py:71
↓ 1 callers
Function
main
()
test_cookieexchange.py:19
↓ 1 callers
Function
main
()
test_cookieping.py:81
↓ 1 callers
Function
main
()
pr_fetch.py:652
↓ 1 callers
Function
main
Standalone test: take a dump dir, replay against its URL+req1.bin, dump each track's media bytes to <out>.h<N>.bin.
sabr.py:508
↓ 1 callers
Function
make_preview_cb
Build a frame callback bound to the snapshotted slot+layout. The closure captures the slot+layout that were valid when the preview wa
grid_demo.py:970
↓ 1 callers
Method
maybe_extend
Kick off a background fetch if none is in flight.
youthub/feed_loader.py:52
↓ 1 callers
Function
mintSessionPoToken
(visitorData)
po_minter.mjs:78
↓ 1 callers
Function
mux
ffmpeg-mux video + audio fMP4 → mp4 container (no re-encode).
player.py:105
↓ 1 callers
Function
need
(tool: str, hint: str | None = None)
player.py:38
↓ 1 callers
Function
on_loading_finished
(ev)
live_stream.py:155
↓ 1 callers
Function
packet_queue_abort
ffplay-yt/ffplay.c:655
↓ 1 callers
Function
packet_queue_get
return < 0 if aborted, 0 if no packet and > 0 if packet. */
ffplay-yt/ffplay.c:675
↓ 1 callers
Function
packet_queue_start
ffplay-yt/ffplay.c:666
↓ 1 callers
Function
pair
()
test_tvpair.py:80
↓ 1 callers
Function
parse
Return list of (type, name, length, data_preview).
ump_inspect.py:80
↓ 1 callers
Function
parseKV
(s)
sabr_bridge.mjs:565
↓ 1 callers
Function
parse_args
()
player.py:137
↓ 1 callers
Function
parse_args
()
tui_player.py:168
↓ 1 callers
Function
parse_lockup
Parse one lockupViewModel into a Video. YouTube is migrating TVHTML5 surfaces from tileRenderer to the new ViewModel architecture; search she
youthub/feed.py:154
↓ 1 callers
Function
parse_media_header
(payload: bytes)
sabr.py:105
↓ 1 callers
Function
parse_shelf
Parse one shelfRenderer into a Shelf with its videos.
youthub/feed.py:243
↓ 1 callers
Function
parse_tile
Parse one tileRenderer into a Video. Returns None if it isn't a video tile.
youthub/feed.py:84
↓ 1 callers
Function
parse_ump
Yield (type, payload_bytes) tuples, skipping malformed tails.
ump_extract.py:45
↓ 1 callers
Function
parse_ump
Yield (type, payload) for every UMP part. Stops on malformed tail.
sabr.py:73
↓ 1 callers
Function
play
Hand the muxed file to fresh mpv with kitty graphics output.
player.py:124
↓ 1 callers
Function
play_video
Live SABR stream into ffplay (no on-disk muxed file). Pipeline: sabr_bridge.mjs (curl_cffi /watch + bgutils PO Token) → ffmpeg mux → ffplay-y
grid_demo.py:165
↓ 1 callers
Function
png_stream
Yield complete PNG frames from a byte stream. Each PNG starts with the 8-byte signature and ends with the IEND chunk (`IEND` + 4-byte CRC). W
tui_player.py:72
↓ 1 callers
Function
probe
Use ffprobe to get fps and dimensions.
tui_player.py:48
↓ 1 callers
Function
queue_picture
ffplay-yt/ffplay.c:2996
↓ 1 callers
Function
record_death
Strategy got bot-walled — mark dead and advance to next alive.
pr_fetch.py:342
↓ 1 callers
Function
record_success
Strategy worked — keep it as current, bump stats. Stay sticky.
pr_fetch.py:331
↓ 1 callers
Function
refresh
(tokens: Tokens)
youthub/auth.py:145
↓ 1 callers
Function
refresh_loop_wait_event
ffplay-yt/ffplay.c:4579
↓ 1 callers
Method
relayout
(self, ts: terminal.TermSize)
grid_demo.py:747
↓ 1 callers
Function
reload_feed
Fresh fetch for the r/к reload key. Drops the home + next caches so we genuinely refetch, then reuses `load_feed_combined` so the merge/dedup
grid_demo.py:884
↓ 1 callers
Function
render_text_strip
(item: dict)
recs_pipeline.py:288
↓ 1 callers
Function
resolve_proxy
()
protocol_dump.py:38
↓ 1 callers
Function
run
(video_url: str)
protocol_dump.py:46
↓ 1 callers
Function
run_search
Run a TVHTML5 search and flatten the result into a feed snapshot.
grid_demo.py:857
↓ 1 callers
Method
sapisid_hash
YT's cookie-auth header. Format: SAPISIDHASH <unix_ts>_<sha1(unix_ts + " " + SAPISID + " " + origin)> Fresh timestamp per request
auth_cookies.py:98
↓ 1 callers
Function
saveBridgePrCache
(vid, pr)
sabr_bridge.mjs:140
↓ 1 callers
Function
setupBrowserGlobals
()
po_minter.mjs:34
↓ 1 callers
Function
shape
Print a JSON skeleton — keys + types — to make structure visible.
test_innertube.py:23
↓ 1 callers
Function
speed_glyph_index
ffplay-yt/ffplay.c:1355
↓ 1 callers
Function
sponsor_category_color
Standard SponsorBlock category palette — mirrors the colours the * browser extension uses so users with prior exposure recognise them. */
ffplay-yt/ffplay.c:1658
↓ 1 callers
Method
start
(self)
tui_player.py:140
↓ 1 callers
Function
startControlServer
()
sabr_bridge.mjs:604
↓ 1 callers
Method
start_controller
(self)
bridge_player.py:235
↓ 1 callers
Function
start_player
( video_id: str, *, window_title: str, window_w: Optional[int] = None, window_h: Optional[
bridge_player.py:618
↓ 1 callers
Method
stop
(self)
watchstats.py:143
↓ 1 callers
Method
stop
(self)
grid_demo.py:617
↓ 1 callers
Method
stop
(self)
tui_player.py:163
↓ 1 callers
Method
stop
(self)
youthub/feed_loader.py:75
↓ 1 callers
Function
stream_video
(video_id: str, *, log_path: Optional[Path] = None)
live_stream.py:252
↓ 1 callers
Function
stream_video
Bootstrap → start SABR + writers + ffmpeg + ffplay → wait.
stream_player.py:155
↓ 1 callers
Function
synchronize_audio
return the wanted number of samples to get better sync if sync_type is video * or external master clock */
ffplay-yt/ffplay.c:3634
↓ 1 callers
Method
to_dict
(self)
youthub/auth.py:43
↓ 1 callers
Method
toggle
(self)
grid_demo.py:751
↓ 1 callers
Function
toggle_mute
ffplay-yt/ffplay.c:2758
↓ 1 callers
Function
trigger_seek_overlay
---- seek overlay ---- * Triggered locally on every arrow-key seek (the overlay shows even * if the controller eventually refuses the SEEK_REQ_REL —
ffplay-yt/ffplay.c:1508
↓ 1 callers
Function
trigger_speed_overlay
ffplay-yt/ffplay.c:1274
↓ 1 callers
Function
trigger_sponsor_overlay
---- sponsorblock overlay ---- * Triggered by the SPONSOR_SKIP IPC command. Renders as a bottom- * centred pill with a category-colored accent and t
ffplay-yt/ffplay.c:1634
← previous
next →
301–400 of 516, ranked by callers