{"id":21457766,"url":"https://github.com/dinau/neluaimgui","last_synced_at":"2025-04-22T13:38:14.372Z","repository":{"id":263260644,"uuid":"889745018","full_name":"dinau/neluaImGui","owner":"dinau","description":"ImGui / CImGui with NeLua language","archived":false,"fork":false,"pushed_at":"2025-03-08T00:15:13.000Z","size":3418,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T15:34:38.218Z","etag":null,"topics":["cimgui","glfw","imgui","lua","nelua","opengl3"],"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/dinau.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-17T05:35:54.000Z","updated_at":"2025-03-08T00:15:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"303ac38c-f32e-4cb5-b194-e1be2baa5675","html_url":"https://github.com/dinau/neluaImGui","commit_stats":null,"previous_names":["dinau/neluaimgui"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinau%2FneluaImGui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinau%2FneluaImGui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinau%2FneluaImGui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinau%2FneluaImGui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dinau","download_url":"https://codeload.github.com/dinau/neluaImGui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250249740,"owners_count":21399510,"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":["cimgui","glfw","imgui","lua","nelua","opengl3"],"created_at":"2024-11-23T06:06:54.423Z","updated_at":"2025-04-22T13:38:14.364Z","avatar_url":"https://github.com/dinau.png","language":"C","readme":"\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n- [NeluaImGui](#neluaimgui)\n  - [Prerequisites](#prerequisites)\n  - [Build and run](#build-and-run)\n  - [Examples](#examples)\n    - [glfw_opengl3, sdl2_opengl3](#glfw_opengl3-sdl2_opengl3)\n    - [iconFontViewer](#iconfontviewer)\n    - [glfw_opengl3_jp](#glfw_opengl3_jp)\n  - [SDL2 / GLFW / STB headers for Nelua](#sdl2--glfw--stb-headers-for-nelua)\n  - [My tools version](#my-tools-version)\n  - [History](#history)\n  - [Other ImGui / CImGui project](#other-imgui--cimgui-project)\n  - [SDL game tutorial Platfromer project](#sdl-game-tutorial-platfromer-project)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n### NeluaImGui\n\nImGui / CImGui with NeLua language\n\nMy experiment project for NeLua and ImGui / CImGui libraries.\n\nNow work in progress.\n\nImGui / CImGui 1.91.8 (2025/03) \n\n#### Prerequisites\n\n---\n\n- Install [MSys2/MinGW](https://www.msys2.org/) (Windows OS)\n- Install [NeLua](https://nelua.io/installing/)\n- Windows OS 10 or later\n   1. Install libraries\n   \n      ```sh\n      pacman -S mingw-w64-x86_64-{glfw,pkgconf,SDL2,SDL2_image} make\n      ```\n\n- Linux: Ubuntu / Debian families  \n   1. Install libraries\n\n      ```sh\n      $ sudo apt install xorg-dev libopengl-dev libgl1-mesa-dev make\n      ```\n\n      and for glfw3 and sdl2,\n\n      ```sh\n      $ sudo apt install libglfw3 libglfw3-dev\n      $ sudo apt install libsdl2-dev\n      ```\n- C/C++ Compiler  \nGCC\n\n#### Build and run\n\n---\n\n1. Download this project.\n\n   ```sh\n   git clone --recurse-submodules https://github.com/dinau/neluaImGui\n   ```\n1. Go to one of the examples folder,\n\n   ```sh\n   cd neluaImGui/examples/glfw_opengl3\n   ```\n\n1. Build and run \n\n   ```sh\n   make run \n   ```\n\n####  Examples\n\n---\n\n##### glfw_opengl3, sdl2_opengl3\n\n---\n\n[glfw_opengl3.nelua](examples/glfw_opengl3/glfw_opengl3.nelua), \n[sdl2_opengl3.nelua](examples/sdl2_opengl3/sdl2_opengl3.nelua)\n\n1. Icon fonts\n1. Image loader and saving [jpg, bmp, png, tga]\n1. Magnifying glass  \n1. glfw_opengl3: Static link [^dllWindows]\n1. sdl2_opengl3: Dynamic link\n\n   ![glfw_opengl3.png](https://github.com/dinau/neluaImGui/raw/main/img/glfw_opengl3.png)\n\n##### iconFontViewer \n\n---\n\n[iconFontViewer.nelua](examples/iconFontViewer/iconFontviewer.nelua) \n\n1. Icon fonts\n1. Magnifying glass  \n1. Static link [^dllWindows]\n\n   ![iconFontViewer.png](https://github.com/dinau/neluaImGui/raw/main/img/iconFontViewer.png)\n\n[^dllWindows]: Only Windows executables (without .dll dependencies)\n\n##### glfw_opengl3_jp\n\n---\n\nShowing multibyte fonts(UTF-8, CJK fonts) and IME(Input method)\n\n[glfw_opengl3_jp.nelua](examples/glfw_opengl3_jp/glfw_opengl3_jp.nelua) \n\n![glfw_opengl3_jp.png](https://github.com/dinau/neluaImGui/raw/main/img/glfw_opengl3_jp.png)\n\n\n#### SDL2 / GLFW / STB headers for Nelua\n\n---\n\nThese header files [libs/nelua/glfw](libs/nelua/glfw), [libs/nelua/sdl2](libs/nelua/sdl2), [libs/nelua/stb](libs/nelua/stb) have thankfully been copied form [nelua-decl libraries project](https://github.com/edubart/nelua-decl).\n\n#### My tools version\n\n---\n\n- Nelua-0.2.0-dev\n- Gcc.exe (Rev1, Built by MSYS2 project) 14.2.0)\n- Git version 2.46.0.windows.1\n- Make: GNU Make 4.4.1\n\n#### History\n\n---\n\n- Started project at 2024/11 from NeLua-0.2.0-dev : ImGui/CImGui 1.91.4\n\n#### Other ImGui / CImGui project\n\n---\n\n\n| Language [^order]    |          | Project                                                                                                                                         |\n| -------------------: | :---:    | :----------------------------------------------------------------:                                                                              |\n| **Lua**              | Script   | [LuaJITImGui](https://github.com/dinau/luajitImGui)                                                                                             |\n| **NeLua**            | Compiler | [NeLuaImGui](https://github.com/dinau/neluaImGui)                                                                                               |\n| **Nim**              | Compiler | [ImGuin](https://github.com/dinau/imguin), [Nimgl_test](https://github.com/dinau/nimgl_test), [Nim_implot](https://github.com/dinau/nim_implot) |\n| **Python**           | Script   | [DearPyGui for 32bit WindowsOS Binary](https://github.com/dinau/DearPyGui32/tree/win32)                                                         |\n| **Ruby**             | Script   | [igRuby_Examples](https://github.com/dinau/igruby_examples)                                                                                     |\n| **Zig**, C lang.     | Compiler | [Dear_Bindings_Build](https://github.com/dinau/dear_bindings_build)                                                                             |\n| **Zig**              | Compiler | [ImGuinZ](https://github.com/dinau/imguinz)                                                                                                     |\n\n\n#### SDL game tutorial Platfromer\n\n---\n\n![ald](https://github.com/dinau/nelua-platformer/raw/main/img/platformer-nelua-sdl2.gif)\n\n\n| Language    [^order] |          | SDL         | Project                                                                                                                                               |\n| -------------------: | :---:    | :---:       | :----------------------------------------------------------------:                                                                                    |\n| **LuaJIT**           | Script   | SDL2        | [LuaJIT-Platformer](https://github.com/dinau/luajit-platformer)\n| **Nelua**            | Compiler | SDL2        | [NeLua-Platformer](https://github.com/dinau/nelua-platformer)\n| **Nim**              | Compiler | SDL3 / SDL2 | [Nim-Platformer-sdl2](https://github.com/def-/nim-platformer)/ [Nim-Platformer-sdl3](https://github.com/dinau/sdl3_nim/tree/main/examples/platformer) |\n| **Ruby**             | Script   | SDL3        | [Ruby-Platformer](https://github.com/dinau/ruby-platformer)                                                                                           |\n| **Zig**              | Compiler | SDL2        | [Zig-Platformer](https://github.com/dinau/zig-platformer)                                                                                             |\n\n[^order]: Alphabectial order\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinau%2Fneluaimgui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinau%2Fneluaimgui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinau%2Fneluaimgui/lists"}