How gaatyin/tomorrow works
This repository is a collection of TVBox/OK影视 configuration resources and provider scripts, not a media-hosting service. The documented user workflow is to subscribe to a configuration in a compatible client, use provider scripts to discover and select content, and obtain playback links from external sources. The JavaScript runtime includes the drpy engine and parsing/encoding helpers; separate JavaScript, Python, and library directories hold provider implementations. Several configuration files named in the README are not present in the supplied tree, and most provider implementations were not sampled, so those relationships are shown only where documented or marked unverified.
Main entry points: drpy2.js drpy engine · JS JS site adapters · lib Library adapters · py Python adapters
Components 14
Client and sources
- TVBox client
JavaScript runtime
- drpy engine
JS/drpy2.js - Rule templates
JS/模板.js - GBK codec
JS/gbk.js - JSEncrypt
JS/jsencrypt.js - Node RSA
JS/node-rsa.js - CryptoJS
JS/crypto-js.js - JSON5 parser
JS/json5.js - Jinja renderer
JS/jinja.js
JavaScript providers
Other providers
Other components
- Viewer
- Content sites
Connections 12
- Viewer → TVBox client: browses with
- TVBox client → JS site adapters: runs sources
- TVBox client → Library adapters: runs sources
- TVBox client → Python adapters: runs sources
- JS site adapters → Content sites: fetches listings
- Library adapters → Content sites: fetches listings
- Python adapters → Content sites: fetches listings
- Content sites → TVBox client: provides playback
- drpy engine → Rule templates: imports rules
JS/drpy2.js - drpy engine → GBK codec: encodes text
JS/drpy2.js - drpy engine → JSEncrypt: imports
JS/drpy2.js - drpy engine → Node RSA: imports
JS/drpy2.js