bijinfeng

hongguo-tv

bijinfeng

Hongguo NSH delivers the same short-drama client to Web, desktop, and Android TV, sharing business and UI components across an NSH TSX and Rust workspace.

v0.1.4
Published at
3d ago
0
Stars
65
Download
Synced at
2d ago

Latest release

v0.1.4Nov 23, 2026, 04:39 PM
Downloads slow? Switch the source anytime above

README

Project Overview

Hongguo NSH serves one short-drama codebase to a browser, a desktop app, and Android TV: the UI is written in NSH TSX, business logic and base components live in shared packages, and keyboard/mouse and remote-control input each get their own adaptation. Desktop and TV bundle Rust locally, while the web build talks to a Rust HTTP service.

Item Value
Version 0.1.4
Targets Web, desktop, Android TV
Stack NSH TSX + Rust, pnpm and Cargo workspaces
Artifacts hongguo-tv-0.1.4-android-arm64.apk, hongguo-desktop-0.1.4-macos-aarch64.tar.gz
Status MVP not finished

One business layer, three screen shapes, each with matching input.

Key Features

  • Shared business layer: drama data, state, and request logic live in workspace packages
  • Input adaptation: keyboard and mouse on desktop, D-pad and OK on TV
  • Bundled Rust runtime: desktop and TV ship the Rust program inside the package
  • Web service: the browser build fetches data through a Rust HTTP API
  • Signed update manifests: releases include latest.json with a matching .sig
  • Checksums: every target publishes SHA256SUMS for verification

Platform Differences

Target Distribution How it runs
Web Rust HTTP service plus front-end assets Browser reaches the service port
Desktop macos-aarch64.tar.gz Bundled Rust binary, launch directly
Android TV android-arm64.apk Sideload and drive with a remote

Install and Run

  1. Download hongguo-tv-0.1.4-android-arm64.apk and install it to a TV box via USB or ADB
  2. Unpack hongguo-desktop-0.1.4-macos-aarch64.tar.gz and run the contained executable
  3. Download the matching SHA256SUMS and verify the files
  4. For the web form, start the Rust HTTP service as described in the docs and open it in a browser

System Requirements

Item Requirement
Android TV arm64 device
Desktop macOS on Apple silicon (current artifact)
Dev environment Rust with rustup, Node with pnpm, NSH CLI
Version pins .node-version, package.json#packageManager, .nsh-version, rust-toolchain.toml

Notes

  • Completeness: the MVP is unfinished; treat docs/feature-ledger.md as the source of truth
  • Platform coverage: the current desktop artifact is macOS arm64 only
  • TV installation: Android TV requires allowing unknown sources, and only an arm64 package is published
  • Building locally: missing tools fail the build instead of silently degrading
  • Update verification: manifests are signed, and files should be checked against SHA256SUMS before manual replacement

Release history

Sort