{"id":18738653,"url":"https://github.com/dantevg/moonbox-c","last_synced_at":"2025-11-18T05:30:17.455Z","repository":{"id":39896111,"uuid":"292323517","full_name":"Dantevg/MoonBox-C","owner":"Dantevg","description":"Mostly just me learning about C and Lua's C API","archived":false,"fork":false,"pushed_at":"2022-06-25T08:44:54.000Z","size":713,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T17:34:35.324Z","etag":null,"topics":["lua"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dantevg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-02T15:36:09.000Z","updated_at":"2023-05-21T14:31:38.000Z","dependencies_parsed_at":"2022-09-12T00:11:53.287Z","dependency_job_id":null,"html_url":"https://github.com/Dantevg/MoonBox-C","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/Dantevg%2FMoonBox-C","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dantevg%2FMoonBox-C/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dantevg%2FMoonBox-C/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dantevg%2FMoonBox-C/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dantevg","download_url":"https://codeload.github.com/Dantevg/MoonBox-C/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239614298,"owners_count":19668706,"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":["lua"],"created_at":"2024-11-07T15:29:54.373Z","updated_at":"2025-11-18T05:30:15.794Z","avatar_url":"https://github.com/Dantevg.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MoonBox\nMoonBox is my idea of an extensible Lua environment / \"ecosystem\" for creating\ncross-platform applications. At the moment, it is mostly just my playground\nfor learning about C, Lua's C API and creating native applications in\ngeneral. The mindset of this project is to keep things reasonably lightweight,\nand to write most of the code myself, even though others might do a better\njob (it's also about the learning aspect).\n\nAt this point, MoonBox is far from being complete. I will keep working on\nthis, and maybe some time this will turn out to be a valuable project for not\njust me. The project does already contain some very useful modules,\nthough - I especially like my interactive Lua command-line interface.\n\n### Features / half-implemented\n- Callback-based event system\n- C modules for SDL2 input and basic graphics, basic terminal graphics, basic\n\tthreads, terminal input with autocompletion and arbitrary data buffers\n- Includes some Lua modules (some of which I really like) for GUIs, streams,\n\tANSI terminal colours and autocompletion\n\n### Ideas\nThese are (in no particular order) some big ideas I have planned for this\nproject. (Also includes some notes)\n- Packages (zip format for easy downloading/sharing)\n\t- [libarchive](https://github.com/libarchive/libarchive) /\n\t\t[lua-archive](https://github.com/brimworks/lua-archive),\n\t\t[zziplib](https://github.com/gdraheim/zziplib) /\n\t\t[luazip](https://github.com/mpeterv/luazip),\n\t\t[libzip](https://github.com/nih-at/libzip)\n\t- Sandboxing (just like my other\n\t\t[quite similarly named project](https://github.com/Dantevg/MoonBox))\n\t- Permissions (writing to file system, loading other modules, etc.)\n\t- Capabilities (e.g. package needs display, network. Things that need to\n\t\tbe available, but don't necessarily need to be permitted)\n- Good back-end system (SDL2 vs something else, window output, event input,\n\tmultiple back-ends)\n- OS-like concepts (these might be far-fetched / weirdly specific / not useful)\n\t- Processes / threads / multiple Lua states (threads are already\n\t\thalf-implemented)\n\t- Custom file systems? Might be nice to play around with\n- Display: SDL2 (currently), OpenGL, Cairo with SDL2/OpenGL?\n\n### Contributing\nI don't expect anybody to be interested, but if you want to contribute,\nplease do! This has been a solo learning project since the start, so any\nfeedback or contribution is welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdantevg%2Fmoonbox-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdantevg%2Fmoonbox-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdantevg%2Fmoonbox-c/lists"}