Quick Start
Requirements
Node.js 22.18+ (22.x) or Node.js 24+ is required.
Start the site
The dev server prints a local URL, and the browser refreshes when you edit a .md file.
Build and preview
pnpm build writes the static site to doc_build/; pnpm preview serves that build locally. Deployment only needs the files in doc_build/ — no Node.js server, worker or database.
Tip
Override the deployed domain or path at build time with SITE_URL, for example SITE_URL=https://kukuqi666.github.io/TV/ pnpm build. Changing the path requires a rebuild.
Project layout
Two config files per directory
_nav.json: top navigation, placed in each locale root such asdocs/zh/_nav.json._meta.json: sidebar order and grouping, placed in each directory.
After adding a new .md page, add an entry to the _meta.json of its directory or it will not appear in the sidebar.
Deploy to GitHub Pages
- Open Settings → Pages → Build and deployment → Source and choose GitHub Actions.
- Push changes under
website/tvbox-docs/or the matching workflow tofongmi. - The workflow installs dependencies, builds the static site and publishes
doc_build/.
Next
- See how a spider is loaded, or jump to the three-language demo.
- Look up fields in the configuration reference.
- Control playback from scripts with the local API.