* perf(metadata): serve the metadata dumps and fixtures from SQLite files
The LaunchBox and Switch TitleDB stores sat in valkey, which keeps every
byte resident: about 300MB on an instance with both imported, against
roughly 1MB for an empty server. Every read is an exact-key lookup and
nothing writes between imports, so they now live in read-only SQLite
files under RESOURCES_BASE_PATH/metadata, where the OS page cache holds
only the pages lookups touch.
A build writes a temporary file and renames it over the previous one,
so readers see the old store or the new one and never a partial import.
That replaces the initial-import flag and the schema stamp: the store
revision is part of the file name. A failed import keeps serving the
previous file.
The startup fixture indexes (MAME, ScummVM, Sony serials, known BIOS)
no longer get copied into valkey on every boot. They build on first use
into a file under the cache path, named after a hash of the JSON.
Startup deletes the old valkey keys and any file of an older revision,
and queues a rebuild when a store had data, so an upgrade refills
LaunchBox and TitleDB on its own. nginx returns 404 for the metadata
folder, since /assets/romm/resources is otherwise served without auth.
Measured against the real dumps: LaunchBox builds in 22s into 263MB on
disk, TitleDB in 1.2s into 54MB, the fixtures in 0.2s into 8MB. A hit
costs 10-23us including decompression, a miss about 7us.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* pr-ready: code-review
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* pr-ready: simplify
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* pr-ready: review-polish
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* pr-ready: prose
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* pr-ready: prose (code-review fixes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Keep the previous metadata store when a dump comes out empty
A LaunchBox or TitleDB build that writes no rows to its main table now
fails with EmptyDumpError instead of swapping an empty store over a
populated one.
Each store keeps one connection per process behind a lock instead of one
per thread. A build closes it once it swaps the file in, and any other
process closes its own on its next lookup, so a replaced file's disk
space is released instead of held by idle threads.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Address Greptile review: trim DumpStore comments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Restore valkey's own snapshot policy by default
The hourly default (48259b3a9, #3980) kept valkey from rewriting the
hundreds of MB of LaunchBox and TitleDB data it held. With those moved to
SQLite files, a snapshot holds only sessions, queues and query caches, so
an unset REDIS_SAVE_POLICY now leaves valkey's stock policy in place and
loses less on a crash. An empty value still disables snapshots.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
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 |
Starting at $2.30/mo · Setup guide |
Deployment and infrastructure support for these installs is handled by Hostinger and CoreHost. Prices are indicative and may not reflect current offerings. Both 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 @abduznik1
- RetroVault: Native macOS library and player by @kennethreitz
- romm-client: Desktop client by @chaun14
- RomMate: Desktop app for browsing your collection by @brenoprata10
- RomP: Desktop player for Windows, macOS and Linux that runs each game in its own sandbox by @RompEmu
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
Consoles
- RommPS: Client for jailbroken PS5s with game downloads and save sync by @s0liton
- SwitchRomM: Homebrew Switch client for browsing and downloading from your RomM server by @Shalasere
Sync
- RetroArch Sync: Sync RetroArch library with RomM by @Covin90
- Syncthing sync: Docker service that pushes 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
Disclaimer
Note
RomM is a library manager and player. It does not include, distribute, or link to ROMs, BIOS, firmware, or decryption keys.
- Only use files you have the right to use, such as your own dumps, homebrew, or freeware, and follow the laws where you live.
- The project does not condone piracy. Requests for or links to copyrighted material are not allowed in any project space.
- All trademarks belong to their respective owners and are used only to describe compatibility.

