{"id":22746031,"url":"https://github.com/benmcavoy/imapp","last_synced_at":"2025-03-30T05:14:30.852Z","repository":{"id":263625934,"uuid":"890973936","full_name":"BenMcAvoy/imApp","owner":"BenMcAvoy","description":"A simple wrapper around the sokol libraries to make it easier to create simple applications.","archived":false,"fork":false,"pushed_at":"2024-11-20T15:24:07.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T07:25:24.493Z","etag":null,"topics":["cpp","dear-imgui","dearimgui","imgui","sokol","template"],"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/BenMcAvoy.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-19T14:06:10.000Z","updated_at":"2024-11-19T14:50:04.000Z","dependencies_parsed_at":"2024-11-19T15:40:21.508Z","dependency_job_id":"f4894f7a-5e04-4d48-ac41-414ccc28b3dd","html_url":"https://github.com/BenMcAvoy/imApp","commit_stats":null,"previous_names":["benmcavoy/imapp"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenMcAvoy%2FimApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenMcAvoy%2FimApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenMcAvoy%2FimApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenMcAvoy%2FimApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BenMcAvoy","download_url":"https://codeload.github.com/BenMcAvoy/imApp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246277360,"owners_count":20751549,"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","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":["cpp","dear-imgui","dearimgui","imgui","sokol","template"],"created_at":"2024-12-11T02:09:58.423Z","updated_at":"2025-03-30T05:14:30.831Z","avatar_url":"https://github.com/BenMcAvoy.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imApp\n\nA simple wrapper around sokol_app, sokol_gfx, sokol_imgui, and sokol_log to make it easier to create simple applications with sokol libraries.\n\n## Clone:\n\n```bash\n\u003e git clone https://github.com/BenMcAvoy/imApp.git\n\u003e cd imApp\n```\n\n## Modify:\n```\n\u003e edit src/app.cpp # modify DrawCallback and other code\n```\n\n## Build:\n\n```bash\n\u003e cmake -B build\n\u003e cmake --build build\n```\n\n\u003e [!NOTE]\n\u003e On Linux you'll also need to install the 'usual' dev-packages needed for X11+GL development.\n\n## Build and Run WASM/HTML version via Emscripten (Linux, macOS)\n\nSetup the emscripten SDK as described [here](https://emscripten.org/docs/getting_started/downloads.html#installation-instructions).\n\nDon't forget to run `source $HOME/emsdk/emsdk_env.sh` to set up the environment.\nAnd then in the directory of your project:\n\n```\nemcmake cmake -DCMAKE_BUILD_TYPE=MinSizeRel -B build-wasm\ncmake --build build-wasm\n```\n\nTo run the compilation result in the system web browser:\n\n```\n\u003e emrun demo.html\n```\n\n## IDE Integration:\n- You must configure the project using CMake (`cmake -B build`) to get the LSP to function, this may be done automatically by some editors. The reason for this is CMake is configured to export commands to tell the LSP where the files are.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenmcavoy%2Fimapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenmcavoy%2Fimapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenmcavoy%2Fimapp/lists"}