romm-cli

romm-cli is a tool for managing a game library through the RomM API with a scriptable CLI and an interactive TUI.

README

romm-cli

Crates.io Docs.rs License: MIT CI

Rust clients for managing a game library through the RomM API. This repository is a Cargo workspace with a shared API library and two frontends: a scriptable CLI and an interactive TUI.


Documentation

CrateGuidecrates.io / docs.rs
romm-apiAPI & configurationcrates.io · docs.rs
romm-cliCLI commands & scriptingcrates.io · docs.rs
romm-tuiTerminal UIcrates.io · docs.rs
Shared topics

Quick start

CLI (scripting and automation):

cargo install romm-cli
romm-cli init
romm-cli platforms

TUI (interactive browsing):

cargo install romm-tui
romm-tui

Library (embed romm-api in your own Rust project):

[dependencies]
romm-api = "1.0"

See docs/api.md for a minimal RommClient example.

Prebuilt binaries: GitHub Releases (romm-cli-v* ships the CLI; romm-tui-v* ships the TUI). See docs/releases.md.


What's in each crate

CrateRoleHighlights
romm-apiShared libraryRommClient, config, caching, downloads, save sync, typed errors
romm-cliScripting CLIResource–action commands, --json, shell completions, auth, sync, self-update
romm-tuiTerminal UILibrary browse, search, game detail with covers, background downloads, theming

Each crate has its own changelog and release tags. User-facing features, screenshots, and release notes live on the matching crate page—not duplicated here.


Workspace layout

romm-cli/          # workspace root (this repo)
├── romm-api/      # RommClient, endpoints, core, config, errors
├── romm-cli/      # commands, CLI binary, shell completions
└── romm-tui/      # TUI screens, event loop, romm-tui binary
  • New embedders: depend on romm-api directly.
  • Existing library consumers: romm-cli re-exports romm_api for backward compatibility.

Contributing

Issues and pull requests are welcome. See CONTRIBUTING.md for build steps, required checks, and commit conventions.

Contributor deep-dive: rust-guidelines.md.


License

This project is licensed under the MIT License.


Creation assisted with AI; content reviewed by the maintainers.