How hemanth2332/tuitify works
Tuitify is a keyboard-driven terminal streaming app. The main flow is user search or selection in the TUI, YouTube-backed discovery, VLC playback, and radio recommendations that can refill the listening queue. The TUI also handles playback controls, cached search results, artwork, progress, and theme preferences. The graph includes the documented artwork and theme capabilities; source excerpts are partial, so uncertain wiring is omitted.
Main entry points: tui.py TUI controller · service.py YouTube service · radio.py Radio engine · player.py VLC player
Components 13
Terminal interface
- App entry
main.py - TUI controller
src/tui/tui.py - Keybindings
src/tui/keybindings.py
Discovery and radio
- Search wrapper
src/search/searcher.py - YouTube service
src/youtube/service.py - Radio engine
src/youtube/radio.py - Track utilities
src/youtube/utils.py
Streaming playback
- VLC player
src/youtube/player.py
UI preferences
- Theme settings
src/tui/settings.json - TUI styles
src/tui/styles.tcss
Other components
- Listener
- VLC engine
- YouTube services
Connections 15
- Listener → App entry: starts
README.md - App entry → TUI controller: runs
main.py - Listener → TUI controller: controls
README.md - TUI controller → Keybindings: uses bindings
src/tui/tui.py - TUI controller → Search wrapper: searches
src/tui/tui.py - Search wrapper → YouTube service: delegates
src/search/searcher.py - YouTube service → YouTube services: searches and fetches
src/youtube/service.py - TUI controller → VLC player: starts playback
src/tui/tui.py - VLC player → YouTube service: gets stream info
src/youtube/player.py - VLC player → VLC engine: plays audio
README.md - TUI controller → Radio engine: requests next track
src/tui/tui.py - Radio engine → YouTube service: fetches recommendations
src/youtube/radio.py - Radio engine → Track utilities: cleans and ranks
src/youtube/radio.py - TUI controller → Theme settings: reads and writes
src/tui/tui.py - TUI controller → TUI styles: uses styles
README.md