{"id":17688233,"url":"https://github.com/neroist/luigi","last_synced_at":"2025-05-12T20:53:45.560Z","repository":{"id":185498656,"uuid":"673631190","full_name":"neroist/luigi","owner":"neroist","description":"Nim bindings for Luigi","archived":false,"fork":false,"pushed_at":"2025-05-01T10:34:38.000Z","size":494,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-01T11:31:46.479Z","etag":null,"topics":["bindings","essence","essence-os","gui","linux","luigi","nim","nim-lang","nimble","ui","windows","wrapper","x11"],"latest_commit_sha":null,"homepage":"https://neroist.github.io/luigi/","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/neroist.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":"2023-08-02T04:30:53.000Z","updated_at":"2025-05-01T10:34:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"637c62c5-1396-4394-9952-9f93ae4afcd3","html_url":"https://github.com/neroist/luigi","commit_stats":null,"previous_names":["neroist/luigi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neroist%2Fluigi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neroist%2Fluigi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neroist%2Fluigi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neroist%2Fluigi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neroist","download_url":"https://codeload.github.com/neroist/luigi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253822103,"owners_count":21969802,"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":["bindings","essence","essence-os","gui","linux","luigi","nim","nim-lang","nimble","ui","windows","wrapper","x11"],"created_at":"2024-10-24T11:43:52.789Z","updated_at":"2025-05-12T20:53:45.475Z","avatar_url":"https://github.com/neroist.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# luigi\n\nNim bindings for the barebones single-header GUI library for Win32, X11, and [Essence](https://gitlab.com/nakst/essence): [Luigi](https://github.com/nakst/luigi). Please do note that while Win32 and X11 have been tested, Essence has not, so it might not work using this library.\n\n## Current State of the Bindings\n\nCurrently the bindings are *kinda* low-level, but this shouldn't be a problem. However, in the future I will create high-level bindings like I have done for [uing](https://github.com/neroist/uing). Unlike uing however, these bindings do *not* support choosing how to add/link the library to your application. Static compilation is the only option currently and I plan it to stay that way, as its honestly much easier (for me atleast). In addition, Luigi isn't *fully* 100% cross-platform, as it supports Essence instead of MacOS, so you should keep that in mind.\n\n###### Though you *should* check out Essence OS: \u003chttps://nakst.gitlab.io/essence\u003e\n\nAlso Freetype support is currently being worked on; it doesn't work right now out-of-the-box.\n\n## Installation\n\nYou can install via nimble:\n\n```sh\nnimble install luigi\n\n```\n\n## Documenation\n\nAs for right now, you can read Luigi's README [here](https://github.com/nakst/luigi/tree/main#readme) as for how to get started. The function names are generally the same with the \"`UI`\" prefix removed. Also, there's a few examples in the [`examples/`](examples/) directory.\n\nAlso, side note, if you ever need to enter any data where it would be of the type `ptrdiff_t` in C (generally found on text-related funcs, usually called `bytes` or something similar), **enter a integer cast to a pointer.**\n\nLike so:\n\n```nim\nlet label = labelCreate(addr panel.e, 0, \"Label\", cast[pointer](-1))\n```\n\nIf you just need to put in `-1`, use the `castInt` const instead of casting (though it should be default on most functions).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneroist%2Fluigi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneroist%2Fluigi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneroist%2Fluigi/lists"}