Skip to content

About

Self-hosted manager for Pokémon ROM-hack libraries and HackDex catalog integration

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

HackDex Manager

HackDex Manager

HackDex Manager is a self-hosted web application for managing a local Pokémon ROM-hack library alongside the HackDex catalog.

It scans your existing libraries, identifies installed hacks, matches them with HackDex, tracks available updates, verifies Base ROM readiness, and provides Download, Update, Reinstall, and library-management workflows from a browser.

Features

  • HackDex catalog synchronization
  • Automatic ROM-hack library scanning
  • Installed, Missing, Update, and Needs Review states
  • Automatic matching with manual review for uncertain matches
  • Base ROM discovery and verification
  • Download, Install, Update, and Reinstall workflows
  • Patch readiness validation
  • Library Health diagnostics
  • Backup and restore utilities
  • Light and dark modes
  • Docker deployment
  • No commercial ROM or Base ROM files included

Screenshots

HackDex Manager Library dashboard in dark mode HackDex Manager Library dashboard in light mode

Library dashboard in dark and light themes.

HackDex Manager catalog browser HackDex Manager Base ROM inventory

Browse the HackDex catalog and verify Base ROM readiness.

HackDex Manager download and naming settings

Download, packaging, and naming preferences.

Quick Start

Docker Compose is the recommended installation method.

Create a compose.yaml file:

services:
  hackdex-manager:
    image: ghcr.io/seadogsbooty/hackdex-manager:latest
    container_name: hackdex-manager
    restart: unless-stopped

    user: "1000:1000"

    ports:
      - "8095:8080"

    volumes:
      - /path/to/hackdex-manager/data:/data
      - /path/to/hackdex-manager/staging:/staging
      - /path/to/hackdex-manager/backups:/backups
      - /path/to/roms:/roms:ro
      - /path/to/hacks:/hacks

Change the paths on the left side of each volume to match your Docker host.

Change 1000:1000 if your Docker user uses a different PUID and PGID.

Start HackDex Manager:

docker compose up -d

Open:

http://your-server-ip:8095

Library Scanning

You do not need to manually configure every system folder in your collection.

During first-run setup, HackDex Manager scans the mounted /roms and /hacks locations and identifies only the supported folders it needs.

When selecting a ROM-hack library during setup, you can choose a top-level parent folder instead of adding each individual hack-library folder. HackDex Manager scans beneath the selected location and automatically detects only supported ROM-hack library folders. Unrelated systems and folders are ignored.

The scan locates:

  • supported Base ROM locations
  • supported ROM-hack library locations

Unrelated systems and folders are ignored.

This means /roms can point to your existing multi-system ROM collection, while /hacks can point wherever you already store ROM hacks.

HackDex Manager handles the supported-folder detection during setup.

Volume Reference

Mount Purpose
/path/to/hackdex-manager/data:/data Database, settings, logs, and persistent application state
/path/to/hackdex-manager/staging:/staging Temporary patch and download workspace
/path/to/hackdex-manager/backups:/backups Persistent application-managed backups
/path/to/roms:/roms:ro Existing ROM collection, mounted read-only
/path/to/hacks:/hacks Writable ROM-hack library root

PUID and PGID

The example uses:

user: "1000:1000"

The first number is the PUID and the second is the PGID.

Run:

id

on your Docker host to find the UID and GID you want HackDex Manager to use.

The selected user must have write access to:

  • /data
  • /staging
  • /backups
  • configured writable hack-library folders

The general /roms mount remains read-only.

Optional Environment Variables

The basic YAML example does not require an environment: section.

Add one only if you want to override the defaults:

environment:
  TZ: America/New_York
  LOG_LEVEL: DEBUG
Variable Default Purpose
TZ UTC Container timezone
LOG_LEVEL INFO Application logging level

Supported logging levels are:

  • DEBUG
  • INFO
  • WARNING
  • ERROR
  • CRITICAL

Advanced provider overrides are documented in ENVIRONMENT.md. Normal users do not need them.

Using an .env File

An .env file is optional.

If you prefer keeping deployment values outside the Compose file:

git clone https://github.com/SeadogsBooty/HackDex-Manager.git
cd HackDex-Manager
cp .env.example .env
docker compose up -d

The supplied compose.yaml works with or without an .env file.

First-Run Setup

A new installation opens the Setup Guide automatically.

Setup will:

  1. verify application storage
  2. detect supported ROM-hack library locations
  3. synchronize the HackDex catalog
  4. discover and verify supported Base ROMs
  5. scan installed ROM hacks
  6. match installed games to HackDex
  7. prepare patch readiness information

After setup completes, the normal Library interface becomes available.

ROM Safety

HackDex Manager does not include or distribute commercial ROMs or Base ROM files.

The general /roms library is mounted read-only by default.

Writable game operations are restricted to explicitly configured ROM-hack libraries and HackDex Manager's staging workspace.

Download, Update, and Reinstall operations validate their source and destination before replacing an installed hack.

Users are responsible for supplying and managing their own game files.

Updating

For the standard Compose deployment:

docker compose pull
docker compose up -d

Persistent application state remains in /data.

Backup and Restore

Create an application-state backup:

./scripts/backup.sh

Restore a backup:

./scripts/restore.sh /path/to/hackdex-manager-backup.tar.gz

ROM and game files are not included in HackDex Manager backups.

Health Check

HackDex Manager exposes:

/health

Example:

curl http://localhost:8095/health

A healthy instance returns:

{"status":"ok"}

Configuration

See ENVIRONMENT.md.

Security

See SECURITY.md.

Contributing

See CONTRIBUTING.md.

License

HackDex Manager is released under the MIT License.

See LICENSE.

Windows

HackDex Manager is available as a native Windows desktop application in addition to the Docker deployment.

Windows installation

Download HackDex.Manager.Setup.exe from the latest HackDex Manager release and run the installer.

The default installation location is:

%USERPROFILE%\HackDex-Manager\
|-- HackDex Manager.exe
|-- _internal\
|-- Data\
|-- Staging\
|-- Logs\
`-- Backups\

The installation directory can be changed during setup.

HackDex Manager stores its Windows runtime data beside the application:

  • Data - database and application data
  • Staging - temporary patch/install transaction data
  • Logs - application logs
  • Backups - application-managed backups

Windows requirements

  • Windows 10 or Windows 11, 64-bit
  • Microsoft Edge WebView2 Runtime
  • Read/write access to the selected HackDex Manager installation folder
  • Access to the ROM and Base ROM locations configured in HackDex Manager

Python, Docker, PowerShell, and a web browser are not required to run the packaged Windows application.

Windows security note

Current Windows release binaries are not Authenticode-signed. Windows may therefore display an Unknown Publisher or Microsoft Defender SmartScreen warning when first launching the installer.

SHA-256 hashes are published with the Windows release assets so downloaded binaries can be verified.

Docker

HackDex Manager continues to support Docker deployment.

The Docker edition uses the same core application UI, matching engine, readiness logic, patch workflow, and HackDex Manager branding as the Windows edition.

Existing Docker users can continue using the published container image and their current persistent data volumes. The Windows desktop edition is an additional deployment option; it does not replace Docker support.

Local-only mode (v1.1.4)

By default, automated HackDex catalog/registry requests and uncached patch downloads are disabled. Existing catalog and registry data remain available, permitted cached patches can still be applied, and completed ROMs from the official website can be imported. Direct-download permission is independent of authorization to automate access. Set HACKDEX_UPSTREAM_ACCESS=authorized only after obtaining the required permission. A fresh installation without catalog/registry data cannot complete full catalog setup in local-only mode; use an existing data directory when upgrading. Browser-rendered artwork and user-opened official website links may still access the web. This setting does not disable unrelated application update checks.

Release-candidate tags (for example v1.1.4-rc.1) publish versioned container images without changing latest. Only stable version tags update latest. The stable update feed is promoted only after the versioned release assets are published and verified. Live automated upstream access remains disabled pending authorization.

About

Self-hosted manager for Pokémon ROM-hack libraries and HackDex catalog integration

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages