- Python 74.1%
- HTML 19.3%
- CSS 4.1%
- JavaScript 1.7%
- Dockerfile 0.5%
- Other 0.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .claude | ||
| app/whelpr | ||
| tests | ||
| tools | ||
| .dockerignore | ||
| .gitignore | ||
| CHANGELOG.md | ||
| DESIGN.md | ||
| docker-compose.yml | ||
| Dockerfile | ||
| LICENSE | ||
| pytest.ini | ||
| README.md | ||
| requirements-dev.txt | ||
| requirements-lab.txt | ||
| requirements.txt | ||
| run-dev.sh | ||
| VENDORED.json | ||
Whelpr
The maker's bench for Handlr — design playsets, events, personas, app themes and share looks; check them exactly the way the game does; ask the Kennel Hand when you're stuck. An accessory to Handlr, not a part of it: it writes the files Handlr already accepts and never reaches into a running game.
🐣 P1b runs (2026-11-06): the drop-zone check, the playsets lane (manifest, tables, badges, event + calendar, persona, and the spec 3 tables —
[program]with its[[program.plan]]grid,[[vices]],[quest]), export as the catalogue's zip +index.jsonentry, all checked by Handlr's own validator vendored at v0.50.5. P2 has started (2026-11-10, unreleased): the themes lane — header and colours as forms, a contrast meter, Handlr's own theme check, export as the file — and the looks composer, a share preset that leaves as the/share?…address — and the preview lab, a throwaway Handlr on the demo seed to see a draft in. The Kennel Hand is still to come;DESIGN.mdis the plan, issues are the roadmap. Public home: https://forge.boyslop.dev/lockedtrainee/whelpr (a mirror — every push lands there).
Run it
./run-dev.sh # makes .venv (uv, Python 3.12), vendors Handlr, serves http://127.0.0.1:8780
python -m pytest -q # 119 tests against the vendored validators (two boot a real lab: ~20 s)
PYTHONPATH=app python -m whelpr check path/to/playset.zip # or a playset.toml, a playset folder, a theme's .css, a look's .json
docker compose up -d --build # one container, one volume, port 8780; no network call at runtime
The first run clones the public Handlr repository once, at the tag VENDORED.json names, into
_vendor/handlr/ (a build product, not committed). The app refuses to start, and the tests fail, when
that tree and the pin disagree — so every result that says checked as Handlr v0.50.5 means it.
Caution
Whelpr has no login of its own, like Handlr.
run-dev.shlistens on127.0.0.1only; the compose file publishes port 8780 on every interface, where it is open to anyone who can reach the host. Bind it to the machine (127.0.0.1:8780:8000) or put your reverse proxy's login in front. It holds your drafts, never your play data, and never talks to a Handlr.
What it does today, and what it will do
| Lane | You make | Handlr takes it on |
|---|---|---|
| 🎁 Playsets ✅ | training, Handler lines, wheel segments, habits, badges from the six-rule menu, trance scores by file — one playset.toml, optional art and README, zipped with its catalogue entry |
/playsets → Install |
| 🎃 Events ✅ | a playset with a window, a sign, a voice and day-by-day training laid on a month grid | the dashboard card → Join |
| 🐾 Personas ✅ | a playset that is a whole Handler: name, strictness, opener, how the AI talks | Playsets → 🦴 Collar me |
| 🏁 Programs ✅ | a playset that starts when the pup does: [program] (length, sign, voice, what it assumes about the lock), the day-by-day plan on a week grid, [[vices]] Leave it rows from a template, a suggested [quest] the pup edits and saves — or doesn't (spec 3, Handlr 0.40.0) |
the playset card → ▶ Start |
| 🎨 App themes ✅ (unreleased) | one CSS file with the handlr-theme 1 header: the header and the colour variables as forms, the 7:1 / 4.5:1 rule drawn as a meter while you type, the whole file as text; exported as <name>.handlr-theme.css |
Settings → Look → Add a theme |
| 📸 Share looks ✅ (unreleased) | a share preset — kind, layout, card theme, shape, the stats on the grid in order, the post's style, template, hashtags and content warning; never the photo, the location switch, the badge or the moment | open the /share?… address on your own Handlr, save it there as a preset (Handlr takes no preset file today) |
| 🔬 The preview lab ✅ (unreleased, dev runs) | nothing — See it in the lab on a draft's page starts the pinned Handlr on this machine's loopback, seeded with Handlr's demo, the draft installed the way Handlr installs it; open it in a tab. Its data is deleted when it stops. Off in the container | — |
| ✅ Check ✅ | drop any of the above and read the game's own refusals, in its own words; also python -m whelpr check |
— |
| 🧑🔧 The Kennel Hand ⏳ P3 | a local language model that knows the guide and the formats, helps you write, fix and understand — and never sees your play data | — |
A playset is data, never code — Handlr's rule, and Whelpr makes nothing that would break it. The checks are Handlr's own validators, pinned to one Handlr version and named on every result.
Status
See DESIGN.md and CHANGELOG.md.
Licence
Free software under AGPL-3.0-or-later, © Lockedtrainee — the same licence as Handlr, for the same reason: a tool that argues you can see what it does has to stay open. Content you make with it is yours, under whatever licence you pick when you export it.