{"id":13728213,"url":"https://github.com/nim-lang/ui","last_synced_at":"2025-06-30T11:36:27.809Z","repository":{"id":42449437,"uuid":"60523507","full_name":"nim-lang/ui","owner":"nim-lang","description":"Beginnings of what might become Nim's official UI library.","archived":false,"fork":false,"pushed_at":"2023-01-25T19:13:14.000Z","size":84,"stargazers_count":240,"open_issues_count":18,"forks_count":32,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-23T18:40:08.011Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nim","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/nim-lang.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}},"created_at":"2016-06-06T11:42:37.000Z","updated_at":"2025-02-28T14:24:56.000Z","dependencies_parsed_at":"2023-02-14T10:45:35.125Z","dependency_job_id":null,"html_url":"https://github.com/nim-lang/ui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nim-lang%2Fui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nim-lang%2Fui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nim-lang%2Fui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nim-lang%2Fui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nim-lang","download_url":"https://codeload.github.com/nim-lang/ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065901,"owners_count":21041995,"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":[],"created_at":"2024-08-03T02:00:38.704Z","updated_at":"2025-04-09T16:23:37.488Z","avatar_url":"https://github.com/nim-lang.png","language":"Nim","funding_links":[],"categories":["👓 Alternatives to the [Electron.js](https://electronjs.org) ⚛","User Interface"],"sub_categories":["Nim","GUI"],"readme":"# UI\n\nThis package wraps the [libui](https://github.com/andlabs/libui) C library. It\nalso provides a high-level Nim binding for it.\n\nTo get started, install using Nimble:\n\n```bash\nnimble install ui\n```\n\nor add it to your project's Nimble file:\n\n```nim\nrequires \"ui\"\n```\n\n### Dependencies\n- `gtk+-3.0`\n\nLinux: `$ sudo apt-get install libgtk-3-dev`\n\nOSX: `$ brew install gtk+3`\n\n\nYou should then be able to compile the sample code in the\n[``examples/``](https://github.com/nim-lang/ui/tree/master/examples)\ndirectory successfully.\n\n## Static vs. dynamic linking\n\nThis library installs the C sources for libui and statically compiles them\ninto your application.\n\nStatic compilation is the default behaviour, but if you would prefer to depend\non a DLL instead, pass the ``-d:useLibUiDll`` to the Nim compiler. You will\nthen need to bundle your application with a libui.dll, libui.dylib, or libui.so\nfor Windows, macOS, and Linux respectively.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnim-lang%2Fui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnim-lang%2Fui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnim-lang%2Fui/lists"}