{"id":16906612,"url":"https://github.com/rsms/cgui","last_synced_at":"2025-08-13T23:09:14.878Z","repository":{"id":66105764,"uuid":"418261005","full_name":"rsms/cgui","owner":"rsms","description":"super duper simple gui for C, wrapping imgui and stb","archived":false,"fork":false,"pushed_at":"2021-10-18T20:49:16.000Z","size":2350,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-08T07:41:43.077Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","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/rsms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2021-10-17T21:34:22.000Z","updated_at":"2025-06-27T14:33:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"87049f45-6fef-471e-94be-af30e60e6148","html_url":"https://github.com/rsms/cgui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rsms/cgui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fcgui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fcgui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fcgui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fcgui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsms","download_url":"https://codeload.github.com/rsms/cgui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsms%2Fcgui/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270330595,"owners_count":24565816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"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":"2024-10-13T18:43:34.126Z","updated_at":"2025-08-13T23:09:14.872Z","avatar_url":"https://github.com/rsms.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"super duper simle gui for C, wrapping imgui and stb\n\nYou can use it as a static library with cmake.\nSee the `example` directory for a complete example.\n\nExample:\n\n```c\n#include \u003cstdio.h\u003e\n#include \u003cassert.h\u003e\n#include \u003cgui.h\u003e\n\nstatic void render_frame(gui_t* g) {\n  ImGuiIO* io = igGetIO();\n  igBegin(\"window\", NULL, ImGuiWindowFlags_NoTitleBar); {\n    static float f = 0.0f;\n    igText(\"Hello World!\");\n    igSliderFloat(\"float\", \u0026f, 0.0f, 1.0f, \"%.3f\", 0);\n    if (g-\u003eisAnimating) {\n      igText(\"Render: %.2f ms, Frame: %.1f ms (%.0f FPS)\",\n        g-\u003eavgRenderTime * 1000.0,\n        1000.0f / io-\u003eFramerate,\n        io-\u003eFramerate);\n    } else {\n      igText(\"Render: %.2f ms\", g-\u003eavgRenderTime * 1000.0);\n    }\n  } igEnd();\n  igShowDemoWindow(NULL);\n}\n\nvoid gui_start(gui_t* g) {\n  g-\u003eonRenderFrame = render_frame;\n  gui_win_set_title(g-\u003emainWindow, \"Example\");\n}\n```\n\nTry it: `cd example \u0026\u0026 ../ext/ckit/bin/ckit watch -run example`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsms%2Fcgui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsms%2Fcgui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsms%2Fcgui/lists"}