* Rank exact title matches first in relevance-ordered searches Relevance only scored whether a ROM's name, filename or aliases held the search as a phrase, so a spin-off whose alias contains "Final Fantasy 7" tied with the game whose alias is exactly that, and the tie fell to title order. Searches ordered by relevance now rank an exact name or alias match first, then names starting with the search, then the phrase score. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015iCApu4gYrGBWDX8JD9JH6 * pr-ready step 2 (code-review): match escaped aliases and tidy search parsing The alias pre-check now looks for the term as the joined aliases store it, with JSON escapes, so a quoted alias (and, on MariaDB, a non-ASCII one) can rank as exact. Search phrases reuse the shared term split, the order_by API description matches the current ranking, and the dialect test's NULL row is a real SQL NULL. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015iCApu4gYrGBWDX8JD9JH6 * pr-ready step 3 (simplify): flatten the search rank and share helpers The exact-name check is one IN over the folded terms, the provider alias check has its own helper, json_titles_contain_folded folds the title itself and builds on json_array_contains_value, PostgreSQL only scans the aliases for the raw form of a term, and the running-engine dialect tests share one scratch-table helper. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015iCApu4gYrGBWDX8JD9JH6 * Rank one-word searches of three or more characters A search for an alias like "ff7" now puts the exact match first. The rule for when relevance leads (and the letter index is dropped) moves to search_relevance_leads, which the order clauses and the endpoint share: no explicit sort, and either a multi-word phrase or a term of at least three characters. Shorter terms keep the name order, since they match most of a library and ranking would sort every match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015iCApu4gYrGBWDX8JD9JH6 * Rank exact titles stored with extra spaces or accented capitals The exact and prefix tiers now collapse runs of whitespace on the stored name and alias side too, so "Final Fantasy VII" ranks as exact for "final fantasy vii". On MariaDB, which stores non-ASCII characters as \uXXXX escapes that LOWER can't fold, a non-ASCII term is checked against the aliases decoded through JSON_TABLE, and the alias pre-check goes word by word, skipping words it can't match in escaped text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015iCApu4gYrGBWDX8JD9JH6 * Rank search results against a stored, folded title column Search ranking compared the term against the name and each provider's alternative titles, which meant decoding JSON blobs per row and working around MariaDB's escaped Unicode, tabs and newlines. Store the folded name and aliases in a new `roms.search_titles` column instead, kept in sync by mapper events and `update_rom`, and backfilled by migration 0147 in batches. Ranking becomes two LIKE checks against that column. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015iCApu4gYrGBWDX8JD9JH6 * Keep fitting aliases after one that overflows the search titles cap Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015iCApu4gYrGBWDX8JD9JH6 * Rank a name prefix only where the search ends a word "final fantasy viii" starts with "final fantasy vii", so Final Fantasy VIII took the prefix rank for that search. The name now has to continue with a non-alphanumeric character after the search, which a regex checks on the rows the LIKE prefix already narrowed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015iCApu4gYrGBWDX8JD9JH6 * pr-ready code review: fix punctuation prefixes and hidden sort direction - A search ending in punctuation has already ended its word, so the name prefix rank no longer needs a further non-alphanumeric character. - Relevance has no direction: a hidden descending order no longer reverses its ties, in the order clauses or the grouped aggregate. - An alias equal to the name isn't stored twice in `search_titles`. - `update_rom` reads the stored row once instead of up to three times. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015iCApu4gYrGBWDX8JD9JH6 * pr-ready simplify: keep relevance's direction rule with its order clauses - `_gallery_order_clauses` decides once whether relevance leads and drops the direction there, rather than each caller overriding it. - The search terms are built only where the rank needs them. - The page hydration query drops a sort its rows are reordered out of. - The ranking tests share one helper. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015iCApu4gYrGBWDX8JD9JH6 --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.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
- romm-ios-app: Native iOS app by @ilyas-hallak
Desktop
- RetroArch Sync: Sync RetroArch library with RomM by @Covin90
- RomMate: Desktop app for browsing your collection by @brenoprata10
- romm-client: Desktop client by @chaun14
- Freegosy: All-in-one game manager by @abduznik
Handhelds
- DeckyRommSync: SteamOS downloader and syncer by @danielcopper
- SwitchRomM: Homebrew NRO for Switch by @Shalasere
Other
- romm-comm: Discord bot by @idio-sync
- GGRequestz: Game discovery and request tool by @XTREEMMAK
- Syncthing sync: Small tool to push a Syncthing library to RomM by @amn-96
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.
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
Supported By
These companies support us by providing their tools for free:

