{"id":26234346,"url":"https://github.com/cykoder/deusconsole","last_synced_at":"2026-04-29T07:31:08.542Z","repository":{"id":152047617,"uuid":"415202158","full_name":"cykoder/deusconsole","owner":"cykoder","description":"A quake/source style console engine allowing for runtime modification of variables and calling of methods","archived":false,"fork":false,"pushed_at":"2025-08-31T02:47:41.000Z","size":2244,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-30T14:45:33.153Z","etag":null,"topics":["console","engine","game","game-engine","quake","source"],"latest_commit_sha":null,"homepage":"https://cykoder.github.io/deusconsole/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cykoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-10-09T04:31:29.000Z","updated_at":"2025-08-31T02:46:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"03339b9b-ff85-4611-bee5-9d6595532261","html_url":"https://github.com/cykoder/deusconsole","commit_stats":null,"previous_names":["cykoder/deusconsole"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cykoder/deusconsole","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cykoder%2Fdeusconsole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cykoder%2Fdeusconsole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cykoder%2Fdeusconsole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cykoder%2Fdeusconsole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cykoder","download_url":"https://codeload.github.com/cykoder/deusconsole/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cykoder%2Fdeusconsole/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32416145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["console","engine","game","game-engine","quake","source"],"created_at":"2025-03-13T01:30:04.305Z","updated_at":"2026-04-29T07:31:08.511Z","avatar_url":"https://github.com/cykoder.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deus Console\n\nA tiny C++17, header only quake/source style console engine allowing for runtime modification of variables and calling of methods. Useful for game engines and GUI tools.\n\nCheck out the [ImGui demo here](https://samhellawell.github.io/deusconsole/) and its [source code here](./example). You can also refer to [the tests](./test.cpp) to see usage examples.\n\n# Features\n\n- Minimal use of exceptions to allow for easy error handling\n- Static registering of exposed variables\n- Runtime registering of variables and methods as lambda functions\n- Console variable flags\n- Help/description system\n- Retrieve values as specific types\n\n# Getting started\n\nDrop the header into your project through whatever means you like and include it anywhere where you may want to define console variables/methods or process commands:\n```c++\n#include \"deus-console.h\"\n\n// Bind custom variable\nstatic TDeusStaticConsoleVariable\u003cint\u003e CVarTestInteger(\n  \"test.integer\",\n  123,\n  \"A test integer variable\"\n);\n\nint main(int argc, char* argv[]) {\n  // Get console instance and bind base commands (such as help)\n  IDeusConsoleManager* console = IDeusConsoleManager::get();\n  console-\u003ebindBaseCommands();\n\n  // Use custom variable\n  int myVar = console-\u003egetCVar\u003cint\u003e(\"test.integer\");\n  std::cout \u003c\u003c \"myVar value: \" \u003c\u003c myVar \u003c\u003c std::endl;\n  std::cout \u003c\u003c \"myVar value: \" \u003c\u003c CVarTestInteger.get() \u003c\u003c std::endl;\n\n  // Output help\n  std::cout \u003c\u003c console-\u003erunCommand(\"help\") \u003c\u003c std::endl;\n}\n```\n\nThere is no documentation (yet), but the code is pretty simple and self documenting.\n\n# Examples\n\nCurrently most of the example code is in `test.cpp`. Plan to expand with more examples if there is interest.\n\n# Testing\n\nThere is no extensive test framework or anything used, just simple if/else macros and variable comparison. To compile and run the tests with G++, you would run something like:\n\n```bash\ng++ test.cpp \u0026\u0026 ./a.out add 2 3 4\n```\n\nor\n\n```bash\nclang++ -Wall -std=c++17 test.cpp\n```\n\nAny arguments will be treated as a command to be processed, for example: `add 2 3 4` will internally call the `add` method with those arguments.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcykoder%2Fdeusconsole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcykoder%2Fdeusconsole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcykoder%2Fdeusconsole/lists"}