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
ts
()
sabr_bridge.mjs:70
↓ 1 callers
Method
ua_for_warmup
(self)
pr_fetch.py:164
↓ 1 callers
Method
ua_for_watch
(self)
pr_fetch.py:167
↓ 1 callers
Function
update_sample_display
copy samples for viewing in editor window */
ffplay-yt/ffplay.c:3614
↓ 1 callers
Function
update_seek_overlay
ffplay-yt/ffplay.c:1513
↓ 1 callers
Function
update_sidebar_offset
Tween sidebar_offset_px toward its target; returns 1 while still * animating so video_display can request another frame. */
ffplay-yt/ffplay.c:1259
↓ 1 callers
Function
update_speed_overlay
ffplay-yt/ffplay.c:1279
↓ 1 callers
Function
update_sponsor_overlay
ffplay-yt/ffplay.c:1646
↓ 1 callers
Function
update_video_pts
ffplay-yt/ffplay.c:2820
↓ 1 callers
Function
upload_texture
ffplay-yt/ffplay.c:1042
↓ 1 callers
Function
video_audio_display
ffplay-yt/ffplay.c:1961
↓ 1 callers
Function
video_image_display
ffplay-yt/ffplay.c:1864
↓ 1 callers
Function
video_open
ffplay-yt/ffplay.c:2236
↓ 1 callers
Function
video_paths
(video_id: str)
player.py:49
↓ 1 callers
Function
video_refresh
called to display each frame */
ffplay-yt/ffplay.c:2827
Method
__enter__
(self)
youthub/innertube.py:88
Method
__enter__
(self)
youthub/terminal.py:98
Method
__exit__
(self, *exc)
youthub/innertube.py:91
Method
__exit__
(self, *exc)
youthub/terminal.py:103
Method
__hash__
(self)
sabr.py:168
Method
__init__
(self)
live_stream.py:73
Method
__init__
(self, video_id: str, get_pos_fn: Callable[[], float], shut
watchstats.py:79
Method
__init__
(self, cookies_path: Path = COOKIES_PATH)
auth_cookies.py:50
Method
__init__
(self, ts: terminal.TermSize, title: str)
grid_demo.py:603
Method
__init__
(self, ts: terminal.TermSize)
grid_demo.py:732
Method
__init__
(self, sock_path: Path)
bridge_player.py:146
Method
__init__
(self)
tui_player.py:134
Method
__init__
(self, tokens: Optional[auth.Tokens] = None)
youthub/innertube.py:69
Method
__init__
(self, initial_videos: list[feed_mod.Video], initial_shelf_of: list[str])
youthub/feed_loader.py:29
Method
__init__
(self)
youthub/terminal.py:94
Method
__init__
(self)
youthub/preview.py:75
Method
__len__
(self)
youthub/feed_loader.py:45
Method
__post_init__
(self)
sabr.py:345
Function
_close
()
bootstrap.py:198
Method
_controller_loop
(self)
bridge_player.py:312
Method
_extend_worker
(self)
youthub/feed_loader.py:107
Method
_loop
(self)
watchstats.py:201
Method
_loop
(self)
tui_player.py:148
Method
_loop
(self, video_id: str, frame_cb: FrameCb, stop_evt: threading.Event)
youthub/preview.py:121
Method
_restart_at
(self, target_sec: float, cprint)
bridge_player.py:556
Method
_run
(self)
grid_demo.py:623
Function
_xdo_focus_player
(title: str, env: dict, timeout: float = 6.0)
bridge_player.py:89
Function
_xdo_place_ffplay
Poll for ffplay window, then aggressively focus it. On tiling WMs (user has dwm) we can't really overlay onto the terminal tile — the WM puts
grid_demo.py:116
Function
addListener
()
po_minter.mjs:60
Method
all_videos
(self)
youthub/feed.py:77
Function
audio_thread
ffplay-yt/ffplay.c:3368
Function
authFetch
(url, init = {})
sabr_bridge.mjs:473
Function
browser_thread
()
live_stream.py:265
Function
clearPoTokenCache
()
po_token.mjs:202
Function
clear_screen
(out: IO[bytes] | None = None)
youthub/graphics.py:89
Method
cprint
(m: str)
bridge_player.py:314
Function
decode_interrupt_cb
ffplay-yt/ffplay.c:4075
Function
delete_all
(out: IO[bytes] | None = None)
youthub/graphics.py:77
Function
delete_image
Remove a previously transmitted image.
youthub/graphics.py:70
Method
do_GET
(self)
test_tvpair.py:56
Function
get_preview_frame_png
Return PNG bytes for the Nth preview frame (0..3). Disk + mem cached.
youthub/thumbnails.py:112
Function
get_session
Lazy singleton. Returns None if cookies file is missing or has no SAPISID (i.e. user hasn't done extract_cookies.py yet, or the Firefox sessio
auth_cookies.py:201
Function
handle_client
(reader, writer)
bootstrap.py:592
Method
height_px
(self)
youthub/terminal.py:36
Function
ipc_thread_fn
ffplay-yt/ffplay.c:2587
Function
is_enabled
()
auth_cookies.py:41
Method
is_fetching
(self)
youthub/feed_loader.py:49
Method
log_message
(self, *args, **kwargs)
test_tvpair.py:76
Function
logout
()
youthub/auth.py:177
Function
main
Called from the main */
ffplay-yt/ffplay.c:5138
Function
move_cursor
1-indexed. (1,1) is top-left.
youthub/graphics.py:83
Function
nodeEvaluate
(data, _env)
sabr_bridge.mjs:42
Function
on_data_received
(ev)
protocol_dump.py:127
Function
on_extra_request
(ev)
protocol_dump.py:107
Function
on_finished
(ev)
protocol_dump.py:133
Function
on_req
(ev)
probe_potoken.py:98
Function
on_request
(req)
bootstrap.py:233
Function
on_response
(ev)
protocol_dump.py:113
Function
on_will_be_sent
(ev)
live_stream.py:145
Function
on_will_be_sent
(ev)
protocol_dump.py:85
Function
on_winch
(signum, frame)
grid_demo.py:941
Function
opt_add_vfilter
ffplay-yt/ffplay.c:531
Function
opt_codec
ffplay-yt/ffplay.c:5013
Function
opt_duration
ffplay-yt/ffplay.c:4985
Function
opt_format
ffplay-yt/ffplay.c:4948
Function
opt_frame_pix_fmt
ffplay-yt/ffplay.c:4958
Function
opt_frame_size
ffplay-yt/ffplay.c:4930
Function
opt_height
ffplay-yt/ffplay.c:4942
Function
opt_input_file
ffplay-yt/ffplay.c:5000
Function
opt_seek
ffplay-yt/ffplay.c:4979
Function
opt_show_mode
ffplay-yt/ffplay.c:4991
Function
opt_sync
ffplay-yt/ffplay.c:4964
Function
opt_width
ffplay-yt/ffplay.c:4936
Function
parse
Parse buf as a protobuf message, recursing into LEN fields when they look like nested messages (best-effort).
proto_edit.py:80
Function
parse_home
Parse the FEwhat_to_watch response into a Feed.
youthub/feed.py:299
Function
parse_next_pivot
Parse `/next` response into a Feed using the `pivot` recommendations. TVHTML5 puts ~10 shelves of related content under contents.singleColumn
youthub/feed.py:326
Function
parse_next_request_policy
(payload: bytes)
sabr.py:143
Function
parse_search
Parse a TVHTML5 /search response into a Feed. Same shape as home — sectionListRenderer → shelfRenderer → horizontalListRenderer → tileRendere
youthub/feed.py:312
Method
player
Authenticated /player call. We use it only to get a watchtimeUrl that is server-side bound to the user's account — sabr_bridge still f
youthub/innertube.py:152
Function
prefetch
Download missing JPEGs concurrently. Useful before drawing a grid.
youthub/thumbnails.py:89
Method
process
(stream: bytes, depth: int)
sabr.py:388
Function
read_thread
this thread gets the stream from the disk or the network */
ffplay-yt/ffplay.c:4105
Function
removeListener
()
po_minter.mjs:60
Function
reset_terminal_modes
Disable mouse tracking, focus reporting, bracketed paste, show cursor. mpv and other TUIs may turn these on and not always restore them on ex
youthub/graphics.py:95
Function
run_sabr_loop
Run SABR fetching loop, mutating client.tracks[*].buf in place.
stream_player.py:46
← previous
next →
401–500 of 516, ranked by callers