ludex
beets for games. A headless, scriptable, local-only library of the games you own across stores. Linux first, Python 3.11+, SQLite.
The problem
Your games are spread over Steam, Epic, Heroic sideloads and folders on a drive. Which games do you own, which store has them, and which are installed on this machine? ludex imports ownership from each store into one local database you can search, script and export, then launches or installs a game through the store that owns it.
Status: early development.
Features
- Sources (bundled plugins):
steam(Web API with your own key, or the local Steam folder),shortcuts(non-Steam shortcuts in Steam),epic(Legendary's on-disk library cache),heroic(Heroic sideloaded games),local(every subfolder of a directory or glob is a game). - Library:
import,ls(query,--store,--account,--installed,--removed),show,find(search store catalogs),export(JSON or CSV),reviewandmergefor title matches that need a decision. - Launch:
launchstarts a game through its store's client; Windows games run viaumu-runwith Proton builds found byrunners. Per-game runner, prefix, executable, arguments and environment viagame set(orein the TUI, which offers the executables it finds in the game folder;game exes GAMElists them). A game ludex starts itself (a local folder) runs as a background job with its output in a log:launch --status,launch --stop. Games started through Steam or Heroic belong to that client and are not tracked. - Install:
installasks the owning store's client to install a game (Epic goes through Legendary). Started installs run as background jobs:install --status,install --stop. - Metadata:
metadatashows description, genres and developer, asked of the plugin once and then kept;matchpicks a game-database entry (bundled:rawg, needs your own API key).metadata --allfetches it for every game, thengenreslists the genres andls --genre NAMEfilters by one (fanddin the TUI, a genre box in the GUI). - Downloads and jobs:
ion a Search hit of a plugin that downloads games (it hasacquire) asks for a folder and downloads there in the background (ludex download STORE ID,--status,--stop); the Jobs tab lists installs, downloads and games ludex started, with progress (a bar and time left when the plugin reports numbers), andxstops one; the folder is remembered asdownload_dir(ludex config download_dir, default~/Games).ludex acquire STORE IDuses it when--tois left out. Stores with their own client (Steam, Heroic) still open that client, which asks for its own library. - Play time:
showandls --sort played|recentreport how long you played, from what Steam and Heroic (Epic and sideloads) recorded on this machine, plus the games ludex started itself. The TUI shows it in Detail andochanges the order. - TUI:
ludex tuibrowses, searches and launches games in the terminal. It imports every account when it starts and again onr(in the background;ludex config auto_refresh noturns the startup import off). - GUI:
pip install ludex-gui(oruv tool install ludex-games --with ludex-gui), thenludex guiopens a game launcher (cover-art grid, game pages with Play or Install, launch options and title matching, search, jobs, settings with accounts and plugins, and a sidebar page for every plugin view). Covers come from the Steam and RAWG plugins and are fetched only for games on screen whileludex config auto_detailsis on. It is separate fromludex-gamesbecause it brings Qt. A game controller drives it when installed withludex-gui[gamepad](uv tool install ludex-games --with "ludex-gui[gamepad]"): D-pad or left stick move, A selects, B goes back, X plays or installs, LB and RB switch pages, Y jumps to search, Start opens a menu with Quit and a switch between desktop and console mode (F11and the sidebar do too; the launcher restarts in the other mode) (keyboard:Ctrl+P,Ctrl+PgUp,Ctrl+PgDown). The controller only acts while the launcher window has focus,ludex gui --console(orludex-gui --console) opens it fullscreen and 25% larger in a living-room layout (a tab row instead of the sidebar, big covers, the Play button focused on a game, button hints in the status bar), for a TV or a handheld (QT_SCALE_FACTORoverrides the size);ludex gui --install-desktopadds "Ludex" and "Ludex Console" (with an icon) to the application menu, for example to add them to Steam as non-Steam games;--uninstall-desktopremoves them. On a text field A opens an on-screen keyboard (Shift, 123 for symbols, Left/Right to move the cursor, Delete, Clear; Done submits, B closes it). - Scripting:
ludex --json <command>prints{"ok": ..., "data": ...}(errors go to stderr). - Plugins:
plugin add/ls/view/rm/enable/disable/update(plugin viewlists the tables and panels plugins contribute, which the TUI shows as extra tabs);updateupdates ludex from its release channel.
Install
uv tool install ludex-games
# Or: pipx install ludex-games
The package is ludex-games; the command is ludex. It bundles ludex-core (library and plugin API), ludex-cli and ludex-tui, which can also be installed on their own (ludex-cli alone has no terminal UI; ludex tui says so). Each release is tagged vX.Y.Z on the releases page. A rolling pre-release (beta) is built from develop:
uv tool install https://github.com/hikaps/ludex/releases/download/beta/ludex.tar.gz
Quick start
Use a scratch directory first if you only want to try it: export LUDEX_HOME=$(mktemp -d).
ludex providers # bundled and installed plugins
ludex account add local games --set path='/mnt/games/*'
ludex import --all
ludex ls --installed
ludex show "Some Game"
ludex launch "Some Game" --dry-run # show the command, don't start it
ludex --json ls --limit 500 | jq -r '.data.games[].title'
ludex export --format csv > library.csv
ludex setup walks through adding an account and importing it.
Plugins
A plugin is a Provider instance exported from a Python entry point in the group ludex.providers. It declares the capabilities it supports (owned games, launch, install, installed, search, metadata, acquire, commands, views) and the core only calls what is declared. Plugins report whether an ownership result is complete; the core removes missing games only then. Install one with ludex plugin add <package, URL or path>; it runs with your permissions. The contract, including the API_VERSION rules, is documented in the docstrings of packages/core/src/ludex/plugins.py.
Privacy and scope
- No telemetry and no hosted component; everything lives in a local SQLite database (
LUDEX_HOME, default$XDG_DATA_HOME/ludex). - The core never provides or endorses content; it records what you own.
- The core makes no store requests itself. Network access happens inside plugins (for example the Steam Web API, RAWG,
find), only when you run a command that needs it.
How it differs
Lutris, Heroic, Playnite and GOG Galaxy are full game launchers with graphical interfaces, and they do many things ludex does not. ludex has a narrower focus: a command-line library you can script (--json, export), a documented plugin API, and local-only data, with no GUI launcher to run. It can sit alongside them; it reads Heroic's sideload list and Legendary's cache, and starts games through the store clients.
Contributing
See CONTRIBUTING.md.
License
GPL-3.0-or-later.
Metadata
Release files for ludex-games 0.63.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ludex_games-0.63.0.tar.gz | 82.6 kB | With provenance | Details for ludex_games-0.63.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ludex_games-0.63.0-py3-none-any.whl | Python 3 | none | any | Details for ludex_games-0.63.0-py3-none-any.whl |
Total release size: 100.2 kB
Release files / ludex_games-0.63.0.tar.gz
| Download URL | ludex_games-0.63.0.tar.gz |
|---|---|
| Size | 82.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c629534019a5213e660398302229d10d1690400cb57ec40603e01a2555fda7c7
|
|
BLAKE2b-256 checksum How to use checksums |
afc2fbbca8fd202afa70c490fba819d5615df7b05b66f722c580c4460d519659
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logRelease files / ludex_games-0.63.0-py3-none-any.whl
| Download URL | ludex_games-0.63.0-py3-none-any.whl |
|---|---|
| Size | 17.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2f98e4b6af63ddffc4994e855ba8e222af6621e67903e45d8bfb1b8e45f79d6
|
|
BLAKE2b-256 checksum How to use checksums |
300d79aaa70811f60dfa4bad962b1de998bd1adb70c74bb6024b444389e9e5dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logSecurity for ludex-games 0.63.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ludex_games-0.63.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.