* feat(tools): time the two statements behind one gallery window Builds the page-ids and load-by-id statements the way GET /api/roms does, runs each under EXPLAIN (ANALYZE) in a read-only transaction, and prints the execution time with the plan nodes that spend the most of it. PostgreSQL only. Baseline on a 100,000-rom seed, grouping on, window 0+72, median of 3: page ids 1490.6 ms (hash join 441, roms_pkey scan 371, sort 302) load rows 892.3 ms (hash join 467, sort 318) total 2382.9 ms Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * perf(roms): load a window's rows by id without re-running the sibling grouping The ids a window loads were already picked by the grouped query, so the load re-ranked the whole library only to confirm them. It now builds its select from filter_roms with no filters (same loader options, file stats and hidden-roms check) and narrows it to the page's ids. Measured on a 100,000-rom seed, grouping on, window 0+72, median of 3: load rows by id 892.3 ms -> 1.3 ms both statements 2382.9 ms -> 1481.9 ms Page ids are unchanged at about 1.48 s. The new tests compile the SQL only and were not run here: they need the test database. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * perf(roms): rank pre-releases with one regex instead of six LIKEs The sibling-dedup window evaluated six leading-wildcard ILIKEs on every rom's filename. One case-insensitive regex over the same tags matches the same names and reads each name once. The pattern is built from PRERELEASE_FILENAME_TAGS so the tag list stays the only place a tag is named. Measured on a 100,000-rom seed, grouping on, window 0+72, page-ids statement: median 1480.6 ms -> 1243.5 ms hash join under the sort, own time 455 ms -> 182 ms The new tests check the pattern against the old rule on sample filenames and that both dialects compile to a single match; they were not run here (they need the test database). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * feat(tools): time searches and filters with --filters on the gallery timing tool Takes RomFilterParams as JSON, so a search term, a platform or any filter can be timed the way the plain gallery is. On a 100,000-rom seed a search costs 26 to 220 ms for a window's ids, and the broad filters (matched, verified, a status) cost 430 to 1,145 ms because the sibling ranking covers almost every rom. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(roms): keep the status filter when loading a window's rows by id A page picked with statuses=hidden was reloaded under the default that hides hidden roms, so its items came back empty while the total stayed non-zero. The row load now carries the request's statuses and statuses_logic, and nothing else. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(tools): time searches as the endpoint runs them and accept group_by_meta_id in --filters The timing tool now passes the search term to the query and defaults to the endpoint's empty sort, so a search is timed with its relevance ordering. The JSON filters merge over the grouped default (--ungrouped still wins), so a full RomFilterParams can be pasted without a duplicate keyword. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * docs(roms): cut change rationale from the new docstrings and test headers Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * test(roms): type the hidden-status page test Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * test(roms): satisfy the CI mypy config in the hidden-status page test Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * refactor(roms): load a window's rows with loader options only The by-id row load reused filter_roms with a statuses-only RomFilterParams, which tied its correctness to knowing which predicates apply by default. Split the loader options out of filter_roms into _with_rom_loaders, and have get_page_rows_query apply only those plus the id list and the visibility clauses (the cached id index's key does not carry visibility). Keep the six ILIKEs for the pre-release rank on PostgreSQL, where they measured ~13% faster than the regex on whole-library windows (100k roms), and use the regex on MariaDB, where it measured ~25% faster. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(roms): apply code-review findings on the window row load pr-ready step 2 (code-review xhigh --fix): drop the dead loader flags from the ids query, align the timing tool's sort args and --repeat with the endpoint, tighten comments, and stop the hidden-status test inserting a RomUser twice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(roms): drop filter_roms loader flags no caller sets pr-ready step 3 (simplify): the gallery card loaders moved to get_page_rows_query, so filter_roms no longer takes include_file_stats, include_siblings or include_notes. The page-rows test compiles through the shared compile_sql helper. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(roms): trim the pre-release pattern comment pr-ready step 4 (review-polish). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(roms): plainer docstring on the grouped-query yardstick test pr-ready step 5 (humanizer). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(roms): build every rom card loader from one list with_details, with_simple_details and filter_roms each kept their own copy of the SimpleRomSchema loads, and the copies had drifted: the filter_roms siblings skipped load_only. All three, and the gallery's page-row load, now build from _rom_card_loaders. Feeds still skip the track and doc metadata they never read. The real-row pre-release test pins the accent-sensitive match on both PostgreSQL and MariaDB. The timing tool now applies the user's rom visibility, times the eager loads the row query triggers, and keeps parallel plan nodes in wall-clock time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com> Co-authored-by: Georges-Antoine Assi <contact@me.gantoine.com>
Overview
Scan, enrich, browse and play your ROM collection from one beautiful & free self-hosted app. Metadata from 10+ providers, save sync across your devices, and support for over 400 platforms. RomM is a must-have for anyone who plays on emulators.
Features
- Play in your browser with EmulatorJS and RuffleRS, no setup required
- Keep saves and states in sync across your devices, with conflict resolution
- Scan and enrich your library with metadata from IGDB, Screenscraper, LaunchBox and MobyGames
- Fetch custom artwork from SteamGridDB and track your achievements from Retroachievements
- Metadata available for 400+ platforms, plus multi-disk games, DLCs, mods, hacks and manuals
- Apply romhacks and translations on the fly with the built-in ROM patcher
- Share your library with granular per-user permissions and OIDC single sign-on
- Official apps for Playnite, Android and CFWs
- Free forever: AGPL-3.0, no tracking, no paid features, and total control of your data
Installation
The easiest way to start is with the Quick Start Guide in the docs. If you're having trouble with setup, please review the page for troubleshooting steps.
Prefer a hosted deploy over wiring up the stack yourself?
Starting at $6.49/mo · Setup guide
Deployment and infrastructure support for this install is handled by Hostinger. Prices are indicative and may not reflect current offerings. Signups through the link above send a share of the revenue back to us, which helps fund the project.
Official apps

Playnite plugin
Effortlessly integrate your retro game collection into Playnite, the open-source game library manager that provides a unified interface for all of your games on PC.
Windows Desktop QR pairing
by @gantoine

Argosy
Sync your library, download games on demand and track your achievements, from a gamepad-first interface designed for Anbernic, Retroid Pocket, Odin, and similar devices.
Android Handhelds QR pairing Save sync
by @tmgast

Grout
A lightweight client for your favorite handheld custom firmwares*. Download games, box art and BIOS files wirelessly, and sync your saves automatically as you play.
Linux Handhelds Save sync
*Supports Allium, Batocera, Knulli, MinUI, muOS, NextUI, Onion, ROCKNIX, Spruce and TrimUI.
Community
Here are some cool projects maintained by members of our community. Please note that our team does not regularly review their source code.
Mobile and TV
- R-Shop: Controller-first game manager for Android handhelds and TVs by @AverageConsumer
- romm-ios-app: Native iOS app by @ilyas-hallak
- RomMMobile: Android app that downloads games into your existing frontend's folders by @pippopapera
- RomMulus: Android TV app with built-in emulator cores and save sync by @DEV-DUFORD
Desktop
- Freegosy: Cross-platform game manager with save sync by @abduznik
- RetroVault: Native macOS library and player by @kennethreitz
- romm-client: Desktop client by @chaun14
- RomMate: Desktop app for browsing your collection by @brenoprata10
Handhelds and Steam Deck
- Gameflow Deck: Controller-first frontend for handhelds by @simeonradivoev
- KONSORU: Home screen launcher for the AYN Thor with a themed UI per console by @FabianZettl
- RomMix: Big Picture-style frontend for Linux and Steam Deck by @leclercb
- Tender: Decky Loader plugin with library and save sync for Steam Deck by @danielcopper
- Vita RomM: PS Vita homebrew client for browsing and downloading games by @denkacn
Sync
- RetroArch Sync: Sync RetroArch library with RomM by @Covin90
- Syncthing sync: Small tool to push a Syncthing library to RomM by @amn-96
Integrations
- GGRequestz: Game discovery and request tool by @XTREEMMAK
- romm-comm: Discord bot by @idio-sync
Support the project
Consider supporting this project on Open Collective. Funds cover hosting, development, and maintenance, and we pass some along to community projects to nurture a healthy ecosystem of apps.
Corporate Sponsors
These companies support us by providing their tools for free:
Our Friends
Here are a few projects that we think you might like:
- Lutris: Open gaming platform for Linux
- Cocoon: Controller-first Android frontend for retro handhelds
- muOS: Custom firmware for Anbernic and other handhelds
- RetroDECK: Retro gaming on SteamOS and Linux
- Steam ROM Manager: An app for managing ROMs in Steam
- Hasheous: Hash lookup service that maps ROMs to game metadata
- Gaseous: Another ROM manager with web-based emulator
- Playmatch: Microservice for matching ROM hashes to games
- EmulatorJS: An embeddable, browser-based emulator
- PortMaster: Native game ports for Linux handhelds
- MelonLoader: Universal mod loader for Unity games
- NextUI: MinUI-based custom firmware for TrimUI handhelds
- RetroAchievements: Achievements for retro games

