moodle-tui
v1.0.0
Published
Terminal UI for Moodle, distributed as a prebuilt Rust binary.
Readme
moodle-tui
Terminal UI for Moodle, written in Rust with ratatui.
Port of the Bun + Ink moodle-tui reference app.
Run
cargo run # production
cargo run -- --demo # offline demo data, no network, no disk writesConfig & cache live in ~/.config/tui-moodle/ (override via TUI_MOODLE_CONFIG_DIR).
The Rust port reads & writes the same JSON layout as the TS version, so existing creds carry over.
Install (npm wrapper, after first GitHub release)
npm install -g moodle-tui
moodleDemo via Docker + ttyd
docker build -f Dockerfile.demo -t moodle-tui-demo .
docker run --rm -p 7681:7681 moodle-tui-demo
# open http://localhost:7681Develop
cargo check
cargo test
cargo build --releaseStatus
This is the Rust port. UI fidelity is in progress — the spine (login, dashboard list, course page, finder/modal scaffolds, settings/help) is in place; tree expand/collapse, detailed assignment modal contents, and the polished overlay lists are still being ported from the TS source one screen at a time.
