indifferentketchup 37e01beeca merge: conflict-blocklist filenames + path-based vehicle signal
Bring in two narrow additions previously sitting on a feature branch:

- api/diagnostics.py: \_IGNORED_FILENAMES skip-list for /api/conflicts.
  PZ engine-concatenated and framework-hook files (sandbox-options.txt
  etc.) ship with intentionally distinct sha1s across mods; they are
  not real conflicts. Live cache had 33 providers of sandbox-options.txt
  with 31 distinct hashes generating false-positive conflict rows.

- worker/build_manifest_and_types: extend the path-based Vehicles signal
  to include models_x/vehicles/ and models/vehicles/, catching mods that
  ship 3D vehicle assets without scripts. Existing mods need their
  manifest rebuilt before mod_types reflects the new signal.
2026-05-06 21:35:35 +00:00
2026-05-06 05:10:19 +00:00

sortof

Project Zomboid mod load-order sorter for dedicated servers. Paste workshop IDs or a collection URL; get back the WorkshopItems=, Mods=, and Map= lines for servertest.ini.

Stack

  • FastAPI + asyncpg, Python 3.12.
  • Postgres 16 (Docker).
  • DepotDownloader for fetching mod.info / map.info from each cached workshop item.
  • Vanilla JSX + index.html, no build step (Babel-standalone in-browser).

Setup

docker compose up -d sortof_db

python3.12 -m venv api/.venv
api/.venv/bin/pip install -r api/requirements.txt

python3.12 -m venv worker/.venv
worker/.venv/bin/pip install -r worker/requirements.txt

.env next to docker-compose.yml:

POSTGRES_USER=sortof
POSTGRES_PASSWORD=<random>
POSTGRES_DB=sortof
SORTOF_CORS_ORIGINS=http://127.0.0.1:8801

Set DD_PATH to the DepotDownloader binary, then:

api/.venv/bin/uvicorn app:app --host 127.0.0.1 --port 8801
worker/.venv/bin/python drain.py

Layout

api/      FastAPI service, sort engine, response adapters
worker/   drain worker (DepotDownloader + mod.info parser)
frontend/ index.html + JSX
init/     Postgres bootstrap migrations (run on first boot)
data/     checked-in JSON config (e.g., pz_versions.json)
docs/     specs, plans
Description
No description provided
Readme 1.4 MiB
Languages
Python 58.1%
JavaScript 28%
HTML 12.4%
PLpgSQL 1.5%