Skip to content

feat(i14-ui): upgrade terminal keyboard, add Docker Hub & system pages, and ship i14-web - #5

Open
brainbudt wants to merge 2 commits into
mainfrom
feat/i14-ui-keyboard-docker-dashboard
Open

brainbudt wants to merge 2 commits into
mainfrom
feat/i14-ui-keyboard-docker-dashboard

Conversation

@brainbudt

Copy link
Copy Markdown
Owner

Typing in the on-device framebuffer terminal was cramped and awkward with two thumbs, the touch UI had no way to inspect services, logs, files, or install packages/containers, and there was no browser dashboard for managing the phone over SSH.

This PR upgrades the Rust i14-ui touch interface and adds an optional loopback-only i14-web dashboard without adding any new Cargo dependencies (Cargo.lock unchanged):

  • Much better terminal typing & navigation: Multitouch rollover for two-thumb typing, key previews, long-press digits and symbols, Alt + Ctrl-lock, expanded terminal shortcut keys, spacebar trackpad, xterm-modified arrow sequences, 90° landscape rotation, 4 PTY tabs, font zoom (S/M/L), copy/paste, command snippets, and volume-key shortcuts.
  • Docker Hub & container manager: Search Docker Hub and browse tags/architectures directly from the UI, install and manage containers on a remote Docker host over SSH (docker.json, 0600), or detect local Docker/Podman with clear guidance on the stock 3.18 kernel limitation.
  • Missing on-device GUI tools: OpenRC service control, Unbound DNS policy status, CPU/RAM/temperature/HW-CAR telemetry and log viewer (Systeem), a local Alpine apk template/package installer with VPN and torch controls (Apps), and a read-only file browser/text viewer (Bestanden) that guards against reading /proc/mtk_battery_cmd/current_cmd.
  • Fail-closed web dashboard (i14-web): Optional lightweight HTTP dashboard and OpenRC service (disabled by default, loopback-only with private 0600 --token-file authentication and CSRF protection, designed for SSH port forwarding).
  • UI polish & hardening: 3×3 Home grid, scrollable Settings with HW-CAR fuel-gauge status, password visibility toggle on hidden Wi-Fi networks, explicit I14_ENABLE_TERMINAL=1 opt-in matching Python, render-gated Bluetooth pairing confirmation, and safe SYN_DROPPED cancellation.

Verification

  • ruff check . and Python host tests (test_i14_*.py, test_boot_install.py, initramfs tests): passed
  • cargo fmt --all -- --check and cargo clippy --workspace --all-targets --locked -- -D warnings: passed
  • cargo test --workspace --locked: 540 passed, 0 failed, 1 ignored (existing private-backup test)
  • cargo build --release --workspace --exclude i14-tools --exclude i14-fastboot --target aarch64-unknown-linux-musl --locked: passed (i14-ui, i14-web, i14-splash)
  • Deployed i14-ui and i14-web to the live I14 (3.18.19 aarch64) with rollback backup and verified running hashes, I14_ENABLE_TERMINAL=1, loopback-only i14-web token auth + live Docker Hub search, and Unbound local DNS health.

Created with gemini-4-neon in T3 Code (with gpt-6.2-astra subagents).

…s, and ship i14-web

Upgrade the Rust on-device framebuffer UI and add an optional loopback-only
web dashboard while keeping Cargo.lock unchanged (zero new dependencies):

- Terminal keyboard & input: multitouch rollover, key previews, long-press
  digits/symbols, Alt & Ctrl-lock, expanded shortcut bar, spacebar trackpad,
  modified arrow keys in VT, cursor-capable TextField, volume-key actions,
  and safe SYN_DROPPED cancellation.
- Terminal UX: 90-degree landscape rotation with inverse touch mapping,
  4 PTY tabs, font zoom (S/M/L), clipboard copy/paste, and command snippets.
- New GUI pages: OpenRC services/Unbound DNS/system monitor/logs, Docker Hub
  browser & remote/local container manager, local Alpine apk app store with
  VPN & torch controls, and read-only file browser/text viewer with
  current_cmd protection.
- Web dashboard: optional fail-closed i14-web binary and OpenRC service
  bound to loopback with private 0600 token-file auth.
- Core polish: 3x3 Home grid, scrollable Settings with HW-CAR info, Hidden
  Wi-Fi password toggle, explicit I14_ENABLE_TERMINAL=1 opt-in, and
  render-gated Bluetooth confirmation buttons.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant