{"id":50749931,"url":"https://github.com/letsbuilda/mundane-backend","last_synced_at":"2026-06-11T00:30:49.344Z","repository":{"id":316678181,"uuid":"1064404009","full_name":"letsbuilda/mundane-backend","owner":"letsbuilda","description":"No dragons. No spells. Just Tuesday.","archived":false,"fork":false,"pushed_at":"2026-05-31T19:14:49.000Z","size":240,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-31T20:16:07.891Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://docs.letsbuilda.dev/mundane-backend/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/letsbuilda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-09-26T01:40:34.000Z","updated_at":"2026-05-31T19:14:50.000Z","dependencies_parsed_at":"2025-09-26T04:08:31.976Z","dependency_job_id":"c9126d1e-585a-493a-9016-56ad01be9e17","html_url":"https://github.com/letsbuilda/mundane-backend","commit_stats":null,"previous_names":["letsbuilda/mundane","letsbuilda/mundane-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/letsbuilda/mundane-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsbuilda%2Fmundane-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsbuilda%2Fmundane-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsbuilda%2Fmundane-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsbuilda%2Fmundane-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/letsbuilda","download_url":"https://codeload.github.com/letsbuilda/mundane-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letsbuilda%2Fmundane-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34177445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-11T00:30:48.426Z","updated_at":"2026-06-11T00:30:49.336Z","avatar_url":"https://github.com/letsbuilda.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mundane, backened\n\n*Part of https://github.com/letsbuilda/mundane*\n\nNo dragons. No spells. Just Tuesday.\n\nTwo households face off. The engine is a **referee**: a whole game is a fold over a stream of\n*actions*, and one function — `apply_action(state, action)` — validates each action against the\ncurrent state and then transitions it. Illegal moves are rejected (the state is left untouched), not\ncrashed on. The HTTP API is a thin shell that translates requests into engine actions; all the rules\nlive in the engine.\n\n## Card sets\n\nCards are **content**, not code. Each game loads its cards at creation from JSON\n[card sets](https://github.com/letsbuilda/mundane/blob/main/specs/card-sets.md) published in\n[`mundane-cards`](https://github.com/letsbuilda/mundane-cards) — a card names an *effect* from the\nengine's fixed vocabulary and supplies `params`; it cannot define new behaviour. `POST /games` takes\nan optional `{\"set_urls\": [...]}` body (default: the core set). Each URL is **allowlisted** (only the\n`mundane-cards` raw origin, matched by parsed host + path), **fetched** with hardening (https-only,\nhard timeout, size cap, content-type check), **validated** against a vendored copy of the card-set\nJSON Schema, **built** into cards (the engine rejects unknown effects, bad params, and duplicate\ncomposed ids), and **snapshotted** with a sha256 hash into the game so `GET /games/{id}/export`\nreplays self-contained. Bad input is rejected before anything is stored: non-allowlisted URL /\nschema-invalid set / unknown effect / bad params / duplicate id → **422**; fetch failure / timeout /\noversize → **502**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletsbuilda%2Fmundane-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fletsbuilda%2Fmundane-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletsbuilda%2Fmundane-backend/lists"}