diff --git a/README.md b/README.md index 9b810b513..da87b4ff1 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,57 @@ Find games, verify ROMs, and import them into your library. **[Install](#install)** · **[First setup](docs/GETTING-STARTED.md)** · **[Discord](https://discord.gg/ywNFceuAd)** · **[Open Collective](https://opencollective.com/romarr)** · **[GG Requestz](https://github.com/XTREEMMAK/ggrequestz)** · **[RomM](https://github.com/rommapp/romm)** · **[r/romm](https://www.reddit.com/r/romm)** · **[r/arr](https://www.reddit.com/r/arr)** · **[Android App & APK](docs/ANDROID.md)** · **[Unraid App](https://ca.unraid.net/apps/romarr-04jslct0riva81?q=romarr)** · **[Plugins](docs/PLUGINS.md)** · **[Roadmap](ROADMAP.md)** · **[Releases](https://github.com/BlizzHacker/romarr/releases)** · **[Submit Package](docs/SUBMISSIONS.md)** · **[Privacy](docs/PRIVACY.md)** +## Install in one line + +**Docker** (Linux, macOS, Windows, most NAS boxes), then open `http://localhost:6868`: + +```bash +mkdir -p romarr/config romarr/roms romarr/downloads && docker run -d --name romarr --restart unless-stopped -p 6868:6868 -e PUID=$(id -u) -e PGID=$(id -g) -e LIBRARY_KIND=folder -e LIBRARY_PATH=/roms -v "$PWD/romarr/config:/config" -v "$PWD/romarr/roms:/roms" -v "$PWD/romarr/downloads:/downloads" ghcr.io/blizzhacker/romarr:latest +``` + +**Proxmox VE** (creates a Debian LXC; run as root on the host): + +```bash +bash -c "$(curl -fsSL https://raw.githubusercontent.com/BlizzHacker/romarr/main/proxmox/ct/romarr.sh)" +``` + +| Platform | Install | +|---|---| +| **Windows 10/11** | `winget install MoveWeight.ROMarr`, or the [ZIP / MSIX](https://github.com/BlizzHacker/romarr/releases/latest) | +| **macOS & Linux** (Homebrew) | `brew install blizzhacker/romarr/romarr` | +| **Android** phones, tablets, handhelds | [APK from the latest release](https://github.com/BlizzHacker/romarr/releases/latest) or the [Google Play beta](https://play.google.com/apps/internaltest/4700888732790045566) | +| **Unraid** | Apps → search **ROMarr** ([listing](https://ca.unraid.net/apps/romarr-04jslct0riva81?q=romarr)) | +| **TrueNAS SCALE** | Apps → Discover → **ROMarr** (Community train) | +| **Synology, QNAP, Asustor** | `.spk`, `.qpkg` and `.apk` packages on the [latest release](https://github.com/BlizzHacker/romarr/releases/latest); [NAS guide](docs/NAS.md) | + +More choices, Docker Compose and first-run steps are under [Install](#install) below. + +## A quick look + +![ROMarr tour: Games, Interactive Search, Wanted, Plugins and Friends](docs/img/tour/tour.gif) + +| Games | Interactive Search | Wanted | +|---|---|---| +| [![Games: cover grid filtered to one platform](docs/img/tour/games.jpg)](docs/img/tour/games.jpg) | [![Interactive Search: every release scored, with the reasons beside it](docs/img/tour/interactive-search.png)](docs/img/tour/interactive-search.png) | [![Wanted: monitored games and why each search came back empty](docs/img/tour/wanted.png)](docs/img/tour/wanted.png) | +| **Plugins** | **Friends** | | +| [![Plugins: ROM Hub sources, guides and mods](docs/img/tour/plugins.png)](docs/img/tour/plugins.png) | [![Friends: share a library by invitation and match netplay by hash](docs/img/tour/friends.png)](docs/img/tour/friends.png) | | + +## Why ROMarr? + +If you already run Radarr or Sonarr, you know the loop: add what you want, let it search, grab the best release and file it with the right name. ROMarr runs that loop for games, plus the checks a ROM collection needs: + +| In Radarr / Sonarr | In ROMarr | +|---|---| +| Movies / Series | Games across 70+ platforms, from Atari 2600 to Switch, PS3 and PC | +| Quality profiles | Profiles with preferred regions (or region-strict), NTSC/PAL, size limits and preferred file formats per platform | +| Release scoring | A score per release, **with the reasons printed beside it**, so you can see why one outranked another | +| Import and rename | Import **verified against No-Intro and Redump DATs**: verified, bad dump or unknown; renamed to the DAT name when it matches | +| Plex / Jellyfin library | A plain folder, or RomM, Gaseous and Retrom; exports for ES-DE, RetroPie, Batocera, Steam Deck and Android handhelds | +| Prowlarr, qBittorrent, SABnzbd, NZBGet | The same, plus built-in Usenet and direct downloads and sandboxed ROM Hub source plugins | +| Collections | DAT set comparison with 1G1R: what a set has that your library is missing, with staged downloads from a set torrent | + +ROMarr is not the only *arr for games, and the others are good at different things: [Questarr](https://github.com/Doezer/Questarr) for PC game discovery and backlogs, [Gamarr](https://github.com/gamarr-app/Gamarr) for Radarr-style tracking of PC and console versions, updates and DLC, and [RetroArr](https://github.com/RiDDiX/RetroArr) for a library with in-browser emulation. Choose ROMarr when you want each file checked against a known-good dump, set-completion reports, and RomM or emulator-frontend libraries. + > [!NOTE] > **Community & Support:** > Join the official **[ROMarr Discord](https://discord.gg/ywNFceuAd)**, follow or sponsor the project on **[Open Collective](https://opencollective.com/romarr)**, or hang out on Reddit in **[r/romm](https://www.reddit.com/r/romm)** and **[r/arr](https://www.reddit.com/r/arr)**. Connect companion game request workflows via **[GG Requestz](https://github.com/XTREEMMAK/ggrequestz)** and frontend setups via **[RomM](https://github.com/rommapp/romm)**. diff --git a/docs/img/tour/friends.png b/docs/img/tour/friends.png new file mode 100644 index 000000000..ccbceb70a Binary files /dev/null and b/docs/img/tour/friends.png differ diff --git a/docs/img/tour/games.jpg b/docs/img/tour/games.jpg new file mode 100644 index 000000000..57a859d3a Binary files /dev/null and b/docs/img/tour/games.jpg differ diff --git a/docs/img/tour/interactive-search.png b/docs/img/tour/interactive-search.png new file mode 100644 index 000000000..81b436873 Binary files /dev/null and b/docs/img/tour/interactive-search.png differ diff --git a/docs/img/tour/plugins.png b/docs/img/tour/plugins.png new file mode 100644 index 000000000..0795a9f55 Binary files /dev/null and b/docs/img/tour/plugins.png differ diff --git a/docs/img/tour/tour.gif b/docs/img/tour/tour.gif new file mode 100644 index 000000000..e72643426 Binary files /dev/null and b/docs/img/tour/tour.gif differ diff --git a/docs/img/tour/wanted.png b/docs/img/tour/wanted.png new file mode 100644 index 000000000..1887af967 Binary files /dev/null and b/docs/img/tour/wanted.png differ diff --git a/packaging/proxmox/PR.md b/packaging/proxmox/PR.md index b6482e0d3..c350133f4 100644 --- a/packaging/proxmox/PR.md +++ b/packaging/proxmox/PR.md @@ -2,7 +2,7 @@ ## ✍️ Description -ROMarr is the *arr for games: it searches indexers through Prowlarr, sends releases to qBittorrent, SABnzbd or NZBGet, and files the verified game into RomM, Gaseous, Retrom or a folder tree. Standard pattern: release tarball via `fetch_and_deploy_gh_release`, Python 3.13 via `setup_uv`, one systemd service, all state in `/opt/romarr_data`. One deviation: there is no `pyproject.toml`, so dependencies go in with `uv venv` + `uv pip install -r requirements.txt` instead of `uv sync`. Tested unattended on Proxmox VE 8.4.21 (install, then the update path from 1.9.3 to 1.10.0 with data kept). Drafted with Claude Opus 5.5 (high reasoning) following `AGENTS.md` and `pve-script-creator.agent.md`, then reviewed and tested by the author. +ROMarr is the *arr for games: it searches indexers through Prowlarr, sends releases to qBittorrent, SABnzbd or NZBGet, and files the verified game into RomM, Gaseous, Retrom or a folder tree. Standard pattern: release tarball via `fetch_and_deploy_gh_release`, Python 3.13 via `setup_uv`, one systemd service, all state in `/opt/romarr_data`. Two deviations: there is no `pyproject.toml`, so dependencies go in with `uv venv` + `uv pip install -r requirements.txt` instead of `uv sync`; and the ROM Hub plugin host has no releases, so the script installs the commit that the same ROMarr release pins in its own `Dockerfile` (one commented line). Tested unattended on Proxmox VE 8.4.21 with ROMarr 1.16.1 (install, then the update path from 1.16.0 to 1.16.1 with `romarr.json` unchanged). Drafted with Claude Opus 5.5 (low reasoning effort) following `AGENTS.md` and `pve-script-creator.agent.md`, then reviewed and tested by the author. ## 🔗 Related PR / Issue @@ -78,7 +78,7 @@ There is no default credential: the first visit to the web UI sets the password - [ ] The application is **at least 6 months old** - [x] The application is **actively maintained** -- [ ] The application has **1,000+ GitHub stars** +- [ ] The application has **1,000+ GitHub stars** - [x] Official **release tarballs** are published - [x] I understand that not all scripts will be accepted due to various reasons and criteria by the community-scripts ORG @@ -93,4 +93,4 @@ https://github.com/BlizzHacker/romarr - [ ] **No AI used** – Scripts were written without AI assistance. - [x] **AI was used** – I confirm the scripts were built using [`AGENTS.md`](https://github.com/community-scripts/DevScripts/blob/main/AGENTS.md) and [`.github/agents/pve-script-creator.agent.md`](https://github.com/community-scripts/DevScripts/blob/main/.github/agents/pve-script-creator.agent.md) as guidance, and the output has been reviewed and corrected to match those guidelines. -Claude Opus 5.5, high reasoning, drafted all three files from the agent guide and the Floppy script as a reference, then ran them on a Proxmox VE 8.4.21 host (fresh install and the update path). +Claude Opus 5.5 drafted all three files from the agent guide (high reasoning on 2026-11-15; ROM Hub and retest added on 2026-11-28 with low reasoning effort), then ran them on a Proxmox VE 8.4.21 host (fresh install and the update path). diff --git a/packaging/proxmox/README.md b/packaging/proxmox/README.md index b1572faf3..ff517e106 100644 --- a/packaging/proxmox/README.md +++ b/packaging/proxmox/README.md @@ -20,6 +20,22 @@ What the community version does: clean reinstall of `/opt/romarr` never touches it. Games are filed to `/mnt/roms`. - `update_script` re-deploys only when GitHub has a newer release. +## Validation (2026-11-28) + +- ROM Hub added: the install and update paths now install the `rom-hub` commit + that the same release pins in `Dockerfile`, plus `git` (ROM Hub installs plugins + from git). Before this, the Plugins tab reported ROM Hub as not installed. +- `bash -n` clean; `shellcheck -S warning` reports only SC1090 on the standard + engine-loading header every DevScripts script shares. +- Real install on Proxmox VE 8.4.21 (Slimmm) with `community-scripts/core` at + `e974fca`, unattended: ROMarr 1.16.1 active, `/api/health` ok from the LAN, + `import rom_hub` ok, `/api/v1/hub/plugins` lists plugins. 512 MB RAM, 933 MB of + the 4 GB disk used. +- Update path: `~/.romarr` set to 1.16.0, CT script run inside the container: + `Update available: romarr 1.16.0 -> 1.16.1`, redeployed and restarted; + `/opt/romarr_data/romarr.json` unchanged (same md5) and ROM Hub still present. +- Test container 9182 destroyed afterwards. + ## Validation (2026-11-15) - `bash -n` (their CI) and `shellcheck -S warning` are clean. @@ -43,7 +59,7 @@ DIAGNOSTICS=no mode=default var_ctid=9182 var_container_storage=local-lvm \ community-scripts only accepts applications that are **at least 6 months old** and have **1,000+ GitHub stars**. ROMarr was created on 2026-07-28 (eligible on -**2027-01-28**) and has 371 stars as of 2026-11-15. A PR opened earlier is +**2027-01-28**) and has 459 stars as of 2026-11-28 (371 on 2026-11-15). A PR opened earlier is labelled "requirements missing" and auto-closed after 7 days. When both are met: diff --git a/packaging/proxmox/ct/romarr.sh b/packaging/proxmox/ct/romarr.sh index 8a62b6f43..4e49b26e0 100755 --- a/packaging/proxmox/ct/romarr.sh +++ b/packaging/proxmox/ct/romarr.sh @@ -42,7 +42,7 @@ function update_script() { msg_info "Updating ROMarr" $STD uv venv --python 3.13 /opt/romarr/.venv - $STD uv pip install --python /opt/romarr/.venv/bin/python -r /opt/romarr/requirements.txt + $STD uv pip install --python /opt/romarr/.venv/bin/python -r /opt/romarr/requirements.txt "$(grep -om1 'rom-hub @ https://[^"]*' /opt/romarr/Dockerfile)" cat </opt/romarr/romarr/_version.py __version__ = "$(cat ~/.romarr)" EOF diff --git a/packaging/proxmox/install/romarr-install.sh b/packaging/proxmox/install/romarr-install.sh index 38ca88d0f..1eb5a6045 100755 --- a/packaging/proxmox/install/romarr-install.sh +++ b/packaging/proxmox/install/romarr-install.sh @@ -14,7 +14,9 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt install -y libarchive-tools +$STD apt install -y \ + libarchive-tools \ + git msg_ok "Installed Dependencies" fetch_and_deploy_gh_release "romarr" "BlizzHacker/romarr" "tarball" @@ -22,7 +24,8 @@ PYTHON_VERSION="3.13" setup_uv msg_info "Installing Python Dependencies" $STD uv venv --python 3.13 /opt/romarr/.venv -$STD uv pip install --python /opt/romarr/.venv/bin/python -r /opt/romarr/requirements.txt +# ROM Hub has no releases; use the commit this ROMarr release's Docker image pins +$STD uv pip install --python /opt/romarr/.venv/bin/python -r /opt/romarr/requirements.txt "$(grep -om1 'rom-hub @ https://[^"]*' /opt/romarr/Dockerfile)" cat </opt/romarr/romarr/_version.py __version__ = "$(cat ~/.romarr)" EOF diff --git a/proxmox/ct/romarr.sh b/proxmox/ct/romarr.sh index 6ddaefdb0..817241834 100644 --- a/proxmox/ct/romarr.sh +++ b/proxmox/ct/romarr.sh @@ -217,7 +217,9 @@ pct exec "$CTID" -- bash -c " cd /opt/romarr python3 -m venv .venv ./.venv/bin/pip install --quiet --upgrade pip - ./.venv/bin/pip install --quiet -r requirements.txt + # ROM Hub, the plugin host behind the Plugins tab, has no releases; install the + # commit this build's Dockerfile pins, so the LXC matches the Docker image. + ./.venv/bin/pip install --quiet -r requirements.txt \"\$(grep -om1 'rom-hub @ [^\"]*' Dockerfile)\" " || die "Python environment setup failed." msg "Virtualenv ready" diff --git a/proxmox/ct/update.sh b/proxmox/ct/update.sh index 0ab7d9a64..2d703c251 100644 --- a/proxmox/ct/update.sh +++ b/proxmox/ct/update.sh @@ -119,7 +119,16 @@ done msg "Unpacked" info "Updating dependencies" +# Installs made before ROM Hub was part of the LXC have no git, and ROM Hub +# installs plugins from git. Add it once; later updates skip this. +if ! command -v git >/dev/null 2>&1; then + { DEBIAN_FRONTEND=noninteractive LC_ALL=C.UTF-8 apt-get update -qq \ + && DEBIAN_FRONTEND=noninteractive LC_ALL=C.UTF-8 apt-get install -y -qq git >/dev/null; } \ + || die "Could not install git. State is in ${BACKUP}." +fi +# ROM Hub has no releases; install the commit this build's Dockerfile pins. "${ROOT}/.venv/bin/pip" install --quiet --upgrade -r "${ROOT}/requirements.txt" \ + "$(grep -om1 'rom-hub @ [^"]*' "${ROOT}/Dockerfile")" \ || die "Dependency update failed. State is in ${BACKUP}." msg "Dependencies updated" diff --git a/proxmox/install/romarr-install.sh b/proxmox/install/romarr-install.sh index 976ab695b..6358c6f1e 100644 --- a/proxmox/install/romarr-install.sh +++ b/proxmox/install/romarr-install.sh @@ -17,7 +17,8 @@ msg_info "Installing Dependencies" # libarchive-tools provides bsdtar, which reads the .7z and .rar archives the # disc platforms ship as. Without it every PlayStation, PS2 and Wii import # fails on a format it cannot open. Debian's GNU tar is not a substitute. -$STD apt-get install -y python3-venv libarchive-tools +# git: ROM Hub installs plugins from their git repositories. +$STD apt-get install -y python3-venv libarchive-tools git msg_ok "Installed Dependencies" fetch_and_deploy_gh_release "romarr" "BlizzHacker/romarr" "tarball" "latest" "/opt/romarr" @@ -39,7 +40,8 @@ msg_info "Setting up ROMarr" cd /opt/romarr $STD python3 -m venv .venv $STD /opt/romarr/.venv/bin/pip install --upgrade pip -$STD /opt/romarr/.venv/bin/pip install -r requirements.txt +# ROM Hub has no releases; install the commit this build's Dockerfile pins. +$STD /opt/romarr/.venv/bin/pip install -r requirements.txt "$(grep -om1 'rom-hub @ [^"]*' Dockerfile)" # ROMarr talks to three services and stores nothing else. Every value here is # blank on purpose: it starts and serves its UI with none of them reachable,