{"id":16985528,"url":"https://github.com/zenith391/lukyt","last_synced_at":"2025-03-17T09:30:28.652Z","repository":{"id":133134412,"uuid":"245775216","full_name":"zenith391/lukyt","owner":"zenith391","description":"Small Java 8 JVM made in Lua","archived":false,"fork":false,"pushed_at":"2020-08-05T12:15:01.000Z","size":616,"stargazers_count":104,"open_issues_count":1,"forks_count":6,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-27T21:49:55.349Z","etag":null,"topics":["java","jvm","lua","luajvm","opencomputers","toy"],"latest_commit_sha":null,"homepage":"","language":"Java","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/zenith391.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":"2020-03-08T08:03:45.000Z","updated_at":"2025-02-22T02:22:10.000Z","dependencies_parsed_at":"2023-06-28T18:16:28.577Z","dependency_job_id":null,"html_url":"https://github.com/zenith391/lukyt","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/zenith391%2Flukyt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenith391%2Flukyt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenith391%2Flukyt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenith391%2Flukyt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zenith391","download_url":"https://codeload.github.com/zenith391/lukyt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243858131,"owners_count":20359253,"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":["java","jvm","lua","luajvm","opencomputers","toy"],"created_at":"2024-10-14T02:43:41.326Z","updated_at":"2025-03-17T09:30:28.647Z","avatar_url":"https://github.com/zenith391.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lukyt\nLukyt is a toy project, a small JVM made in Lua supporting Java 6.\nThe most important reason i made it (other than being a toy project) was to run it on the [OpenComputers](https://github.com/MightyPirates/OpenComputers) mod. I am currently porting AWT to it to use Java software on OpenComputers.\n\nThis also supports a OpenComputers Java API shared with OCJ (link to come, will be released by [@TYKUHN2](https://github.com/TYKUHN2)), this way programs are compatible for both way of running Java on OC, its javadoc is available on [my website](https://bwsecondary.ddns.net/jd/cil/li/oc/package-summary.html), Lukyt also have a Lua interop, which also haves a [javadoc](https://bwsecondary.ddns.net/jd/lukyt/package-summary.html).\n\nNote that unlike Luje, this is aimed towards features: OC and Lua interoptability.\n\n[Roadmap](https://github.com/zenith391/lukyt/projects/1)\n\n## How to use?\nThe JVM itself can be used by any program and is independent from the command-line program.\n\nThe command line program allows to execute classes.\n\nTo launch the HelloWorld test, just do:\n```sh\nlua lukyt.lua --classpath=test HelloWorld\n```\n\n## Examples\n\nHere is an example of the OC integration:\n```java\nimport cil.li.oc.Components;\nimport cil.li.oc.proxies.GPUProxy;\n\npublic class ComponentTest {\n\n\tpublic static void main(String[] args) {\n\t\tGPUProxy gpu = Components.getPrimary(\"gpu\");\n\t\tgpu.setBackground(0x2D2D2D);\n\t\tgpu.fill(1, 1, 160, 50, ' ');\n\t\tSystem.out.println(\"Filled screen with color 0x2D2D2D\");\n\t}\n\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenith391%2Flukyt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzenith391%2Flukyt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenith391%2Flukyt/lists"}