{"id":13427290,"url":"https://github.com/yglukhov/nimx","last_synced_at":"2025-10-19T12:34:50.917Z","repository":{"id":25168999,"uuid":"28592033","full_name":"yglukhov/nimx","owner":"yglukhov","description":"GUI library","archived":false,"fork":false,"pushed_at":"2024-12-05T08:39:48.000Z","size":3976,"stargazers_count":1113,"open_issues_count":48,"forks_count":76,"subscribers_count":45,"default_branch":"master","last_synced_at":"2025-01-28T18:51:14.416Z","etag":null,"topics":["nim","ui"],"latest_commit_sha":null,"homepage":"","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/yglukhov.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2014-12-29T12:47:06.000Z","updated_at":"2025-01-27T17:18:04.000Z","dependencies_parsed_at":"2024-01-06T01:04:28.214Z","dependency_job_id":"ccd21d1c-8fbb-4ddb-b4bb-9e686d436a71","html_url":"https://github.com/yglukhov/nimx","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/yglukhov%2Fnimx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yglukhov%2Fnimx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yglukhov%2Fnimx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yglukhov%2Fnimx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yglukhov","download_url":"https://codeload.github.com/yglukhov/nimx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245104463,"owners_count":20561377,"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":["nim","ui"],"created_at":"2024-07-31T00:01:58.809Z","updated_at":"2025-10-19T12:34:45.405Z","avatar_url":"https://github.com/yglukhov.png","language":"Nim","funding_links":[],"categories":["Nim","Development","GUI","👓 Alternatives to the [Electron.js](https://electronjs.org) ⚛","User Interface"],"sub_categories":["Programming","Byte Size","Nim","GUI"],"readme":"===========\nnimx |travis| |nimble|\n===========\n\n.. |travis| image:: https://travis-ci.org/yglukhov/nimx.svg?branch=master\n    :target: https://travis-ci.org/yglukhov/nimx\n\n.. |nimble| image:: https://raw.githubusercontent.com/yglukhov/nimble-tag/master/nimble_js.png\n    :target: https://github.com/yglukhov/nimble-tag\n\nCross-platform GUI framework in `Nim \u003chttps://github.com/nim-lang/nim\u003e`_.\n\n`Live demo in WebGL \u003chttp://yglukhov.github.io/nimx/livedemo/main.html\u003e`_\n\n\n.. image:: ./doc/sample-screenshot.png\n\nUsage\n------------\n.. code-block:: nim\n\n    # File: main.nim\n    import nimx/window\n    import nimx/text_field\n\n    proc startApp() =\n        # First create a window. Window is the root of view hierarchy.\n        var wnd = newWindow(newRect(40, 40, 800, 600))\n\n        # Create a static text field and add it to view hierarchy\n        let label = newLabel(newRect(20, 20, 150, 20))\n        label.text = \"Hello, world!\"\n        wnd.addSubview(label)\n\n    # Run the app\n    runApplication:\n        startApp()\n\nRunning\n------------\n\n.. code-block:: sh\n\n    nim c -r --threads:on main.nim\n\nSupported target platforms\n------------\nNimx officially supports Linux, MacOS, Windows, Android, iOS and WebAssembly (with Nim C backend and `Emscripten \u003chttp://emscripten.org\u003e`_, and Emscripten-less compilation is experimental).\n\nTroubleshooting\n------------\nNimx is tested only against the latest devel version of Nim compiler. Before reporting any issues please verify that your Nim is as fresh as possible.\n\nRunning nimx samples\n====================\n.. code-block:: sh\n\n    git clone https://github.com/yglukhov/nimx\n    cd nimx\n    nimble install -dy\n    nake # Build and run on the current platform\n    # or\n    nake js # Build and run in default web browser\n\nReference\n====================\nSee `the docs \u003c./doc\u003e`_ for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyglukhov%2Fnimx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyglukhov%2Fnimx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyglukhov%2Fnimx/lists"}