{"id":47516120,"url":"https://github.com/derekburgess/dungen","last_synced_at":"2026-04-01T07:00:42.968Z","repository":{"id":300633201,"uuid":"1006099435","full_name":"derekburgess/dungen","owner":"derekburgess","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-22T19:35:54.000Z","size":3556,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-22T20:32:42.750Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derekburgess.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-21T13:46:45.000Z","updated_at":"2025-06-22T19:35:56.000Z","dependencies_parsed_at":"2025-06-22T20:43:12.222Z","dependency_job_id":null,"html_url":"https://github.com/derekburgess/dungen","commit_stats":null,"previous_names":["derekburgess/dungen"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/derekburgess/dungen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekburgess%2Fdungen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekburgess%2Fdungen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekburgess%2Fdungen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekburgess%2Fdungen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derekburgess","download_url":"https://codeload.github.com/derekburgess/dungen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derekburgess%2Fdungen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31269177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T06:57:45.811Z","status":"ssl_error","status_checked_at":"2026-04-01T06:57:42.389Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-03-27T13:00:30.246Z","updated_at":"2026-04-01T07:00:42.962Z","avatar_url":"https://github.com/derekburgess.png","language":"Python","funding_links":[],"categories":["\u003ca name=\"games\"\u003e\u003c/a\u003eGames"],"sub_categories":[],"readme":"![Dungen Cover](assets/cover.png)\n\n# DUNGEN!\n\nA generative zork-like dungeon explorer that dynamically creates a world of mystery, peril, and unexpected discoveries. As you descend deeper into LLM generated labyrinths, your choices will shape the story, the dangers you face, and the secrets you uncover.\n\nUses a combination of LatitudeGames/Wayfarer-12B (Narrative) and OpenAI (Assistant).\n\n\n## Updates\n\nv0.1.0 | Refactored into small files, easier for LLM's to handle and for humans to reason about.\n\n\n## SETUP!\n\nCreate an environment...\n\nSet `OPENAI_API_KEY` env variable.\n\nSet `HUGGINGFACE_API_KEY` env variable.\n\ncd `dungen`\n\n`pip install -e .`\n\n\n## USAGE!\n\nUse one of the demo settings files, `fantasy.yaml` or `cyberpunk.yaml`, or copy one and define your own theme and/or character.\n\n`dungen --settings file.yaml`\n\nThis will run the Wayfarer-12B model on your local device. Works, but slow on a 3090.\n\nPassing `--vllm` will run the Wayfarer-12B model on RunPod using a serverless vLLM endpoint.\n\nThis assumes you are familair with RunPod and setting up a serverless endpoint.\n\nSet `REQUEST_KEY` env variable. This is your RunPod API Key.\n\nUpdate the `endpoint_id` in the `config.yaml` file. This is your RunPod endpoint id.\n\n`dungen --settings file.yaml --vllm`\n\n## Experimental MapGen\n\nAn experiment using o4-mini to generate ASCII game maps from the narrative content and a fixed set of \"ASCII map tiles\"\n\nPass `--map` when running the game.\n\nAdditionally, when running the WebUI (See below), selecting MapGen in the UI, will use gpt-image-1 to generate stylistic images based on the games narrative, with the goal of generating \"map tiles\". *This is unfortunately expensive, hence \"experimental\",  and local/vllm support will be added.\n\n\n## WEBUI!\n\n`cd dungen/dungen/webui/`\n\n`npm install` *Assumes node set up...\n\n`python server.py`\n\nVisit `http://127.0.0.1:5000/`\n\n\n### Play it your way! In the console or in the browser.\n\n![Screenshot](assets/screenshot.png)\n\n*Or even on a phone... ;P","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderekburgess%2Fdungen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderekburgess%2Fdungen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderekburgess%2Fdungen/lists"}