A small package of useful things

Route index.

The live map of every door in Pretpakket.

The live JSON route map, presented inside the shared shell.

{
  "/": "Generate an open graph image for an OpengraphRequest.",
  "/admin": null,
  "/auth/github": "Send the browser to GitHub to log in.",
  "/auth/github/callback": "Finish the GitHub round trip: check the state, the account, keep the token.",
  "/debug": "Push the newest task result to Notion and return the result.",
  "/deepswe/": "Render the DeepSWE score-vs-cost chart page.",
  "/deepswe/data": "Return the upstream leaderboard JSON from a short-lived in-memory cache.",
  "/docs": "",
  "/docs/oauth2-redirect": "",
  "/execute/": "List all active jobs (with URL to execute the job from the web).",
  "/execute/test-discord": "Send a test notification to Discord, to check the bot token and channel.",
  "/execute/{job}": "Execute a scheduled job and handle its result or exceptions.",
  "/food-regenerate": "Manually run the 'daily fridge' task.",
  "/generate": "Generate an open graph image for an OpengraphRequest.",
  "/jobs": "List all jobs and its next execution time.",
  "/jobs/{job_id}": "Get task info about a specific job id.",
  "/login": "Show the login page, or bounce on when already logged in.",
  "/logout": "Forget the session. The stored GitHub token stays: background syncing should",
  "/ollama/": "Render the \"which Ollama models fit my GPU\" page.",
  "/ollama/bench": "Create a target, or update the one that already has this model+tag.",
  "/ollama/bench/": "Create a target, or update the one that already has this model+tag.",
  "/ollama/bench/lookup": "Resolve a model+tag to its target.",
  "/ollama/bench/missing": "Catalogue models that fit in VRAM and have never been benchmarked.",
  "/ollama/bench/{target_id}": "Remove a target and everything measured for it.",
  "/ollama/bench/{target_id}/measurement": "Forget one language of one run.",
  "/ollama/catalogue": "List every published model, from an hourly cache of ollama.com/library.",
  "/ollama/variants": "Return the tags and download sizes of up to a dozen models.",
  "/openapi.json": "",
  "/opengraph/demo": "Generate a demo opengraph image.",
  "/opengraph/generate": "Generate an open graph image for an OpengraphRequest.",
  "/ping": "Endpoint for Health check",
  "/python/package/{package}": "Retrieve information about a specific package on PyPI, including its supported Python versions.",
  "/python/supported": "Retrieve a list of officially supported Python versions.",
  "/python/user/{username}": "Retrieve information about packages associated with a specific user on PyPI.",
  "/redoc": "",
  "/results": "Get all results for all jobs.",
  "/results/{job_id}": "Get all results for a specific job id.",
  "/savings-graph": "Route that serves a savings graph image. It checks a cache for a fresh     image and generates a new one if needed.",
  "/stalemate/": "Render the overview.",
  "/stalemate/dashboard": "The page; it loads its data from /stalemate/dashboard/data.",
  "/stalemate/dashboard/": "The page; it loads its data from /stalemate/dashboard/data.",
  "/stalemate/dashboard/action": "Queue a stalemate action. The worker does not run these yet; they show as",
  "/stalemate/dashboard/action/{job_id}/cancel": "Withdraw a queued action.",
  "/stalemate/dashboard/branch/delete": "Delete one of my branches on GitHub, typically one whose PR was merged.",
  "/stalemate/dashboard/data": "Every work item, plus what the pickers need (tasks, projects, repositories).",
  "/stalemate/dashboard/link": "Link (or explicitly unlink, with an empty target) a branch or repository.",
  "/stalemate/dashboard/link/reset": "Undo a manual link or unlink.",
  "/stalemate/dashboard/merge": "Merge a pull request with the logged-in account's token.",
  "/stalemate/dashboard/order": "Store the order items were dragged into, for the custom sort.",
  "/stalemate/dashboard/park": "Snooze or hide an item, a repository or a project.",
  "/stalemate/dashboard/plan": "Set when an item is meant to happen: an own deadline, a stretch on the timeline, or both.",
  "/stalemate/dashboard/refresh": "Sync with GitHub and Odoo now, instead of waiting for the next ten minutes.",
  "/stalemate/dashboard/unpark": "Bring a snoozed or hidden thing back.",
  "/stalemate/data": "The same state as JSON, for anything that would rather not scrape the page.",
  "/stalemate/exclude/{owner}/{repo}": "Leave one repository out of future scans and fixes.",
  "/stalemate/include/{owner}/{repo}": "Include an excluded repository in the next scan.",
  "/stalemate/log/{job_id}": "The tail of one job's agent transcript.",
  "/stalemate/run/{task}/{owner}/{repo}": "Hand one task on one repository to an agent now.",
  "/stalemate/scan": "Rescan every repository now, instead of waiting for Monday.",
  "/static": null,
  "/tts/": "Home route for the TTS (Text-to-Speech) service.",
  "/tts/b58/{encoded_text}": "Route to generate TTS from base58 encoded text.",
  "/tts/b64/{encoded_text}": "Route to generate TTS from base64 encoded text.",
  "/tts/raw/{text}": "Route to generate TTS from raw (unencoded) text.",
  "/tts/{text}": "Route to generate TTS based on the provided text.",
  "/youtube/": "Handles the GET request to the '/youtube' endpoint.",
  "/youtube/stream": "Proxy an extracted Google video stream so its signed URL stays server-side.",
  "/youtube/watch": "Handles the GET request to the '/youtube/watch' endpoint. It takes an optional URL parameter.",
  "/youtube/watch/{url}": "Handles the GET request to the '/youtube/watch' endpoint. It takes an optional URL parameter."
}