https://github.com/xframes-project/xframes-lua
GPU accelerated UI development for Lua
https://github.com/xframes-project/xframes-lua
lua luajit luajit-ffi luajit-ffi-bindings
Last synced: 3 months ago
JSON representation
GPU accelerated UI development for Lua
- Host: GitHub
- URL: https://github.com/xframes-project/xframes-lua
- Owner: xframes-project
- License: mit
- Created: 2024-12-28T20:16:32.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-02-02T19:18:10.000Z (4 months ago)
- Last Synced: 2025-02-02T20:23:13.189Z (4 months ago)
- Topics: lua, luajit, luajit-ffi, luajit-ffi-bindings
- Language: Lua
- Homepage:
- Size: 1.01 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xframes-lua
`luajit src/main.lua`
## Instructions
### Install Lua
#### Windows
You may want to use [winget](https://learn.microsoft.com/en-us/windows/package-manager/winget/)
`winget install luajit`
### Set LUA_PATH
Open a PowerShell terminal then run (replace with your username):
`[System.Environment]::SetEnvironmentVariable("LUA_PATH", "C:/Users//scoop/apps/luarocks/current/rocks/share/lua/5.4/?.lua;C:/Users//scoop/apps/luarocks/current/rocks/share/lua/5.4/?/init.lua", [System.EnvironmentVariableTarget]::Machine)`
#### Linux
The `luajit2` and `luarocks` packages should be available on Ubuntu.
### Install dependencies
- `luarocks install dkjson`
- `luarocks install array`
- `luarocks install rxlua`
- `luarocks install luv` (read below if you are on Windows)#### Linux
You likely need to run these as `sudo`.
#### Windows
Installing `luv` requires a x64 VS 2022 developer prompt.
## Packaging the app
I will eventually try to use https://github.com/ers35/luastatic to package standalone apps
## Screenshots
Windows 11

Raspberry Pi 5
