{"id":13579632,"url":"https://github.com/tilkinsc/LuaConsole","last_synced_at":"2025-04-05T23:32:01.953Z","repository":{"id":46222564,"uuid":"89972849","full_name":"tilkinsc/LuaConsole","owner":"tilkinsc","description":"A next-gen, Cross-Platform [Lua-5.1.x, LuaJIT-2.0, Lua-5.2.x, Lua-5.3.x, Lua-5.4.x]-supporting CLI made to supersede PUC-Lua and LuaJIT CLI","archived":false,"fork":false,"pushed_at":"2023-02-22T20:03:06.000Z","size":542,"stargazers_count":65,"open_issues_count":11,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-05T18:47:06.706Z","etag":null,"topics":["bash","c","cli","cmd","cross-platform","linux","lua","lua51","lua52","lua53","lua54","luaconsole","luajit","luajit-interpreter","luarocks","puc-lua","puc-lua-interpreter","repl","terminal","windows"],"latest_commit_sha":null,"homepage":"http://tilkinsc.github.io/LuaConsole/","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/tilkinsc.png","metadata":{"files":{"readme":"README.chinese.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"tilkinsc","custom":"https://www.paypal.com/donate?business=RCR8HT8GDC5XC\u0026item_name=Free+Software\u0026currency_code=USD"}},"created_at":"2017-05-01T23:51:43.000Z","updated_at":"2024-08-29T09:38:35.000Z","dependencies_parsed_at":"2024-01-16T20:29:31.586Z","dependency_job_id":null,"html_url":"https://github.com/tilkinsc/LuaConsole","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilkinsc%2FLuaConsole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilkinsc%2FLuaConsole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilkinsc%2FLuaConsole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilkinsc%2FLuaConsole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tilkinsc","download_url":"https://codeload.github.com/tilkinsc/LuaConsole/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415783,"owners_count":20935383,"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":["bash","c","cli","cmd","cross-platform","linux","lua","lua51","lua52","lua53","lua54","luaconsole","luajit","luajit-interpreter","luarocks","puc-lua","puc-lua-interpreter","repl","terminal","windows"],"created_at":"2024-08-01T15:01:41.444Z","updated_at":"2025-04-05T23:31:56.926Z","avatar_url":"https://github.com/tilkinsc.png","language":"C","funding_links":["https://github.com/sponsors/tilkinsc","https://www.paypal.com/donate?business=RCR8HT8GDC5XC\u0026item_name=Free+Software\u0026currency_code=USD"],"categories":["C"],"sub_categories":[],"readme":"# LuaConsole\n\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n[![License](https://img.shields.io/github/license/tilkinsc/LuaConsole.svg)](https://github.com/tilkinsc/LuaConsole/blob/master/LICENSE) [![Codecov](https://codecov.io/gh/tilkinsc/LuaConsole/coverage.svg?branch=master)](https://codecov.io/gh/tilkinsc/LuaConsole) [![Gitter.im](https://badges.gitter.im/tilkinsc/LuaConsole.png)](https://gitter.im/LuaConsole) [![travis-ci](https://travis-ci.org/tilkinsc/LuaConsole.svg?branch=master)](https://travis-ci.org/tilkinsc/LuaConsole) [![Build status](https://ci.appveyor.com/api/projects/status/3rqh0vn8a0lm8itg?svg=true)](https://ci.appveyor.com/project/Hydroque/luaconsole)\n\n[![English](https://user-images.githubusercontent.com/7494772/109406669-0a75d500-7949-11eb-87fa-b56ee60e2afd.png)](https://github.com/tilkinsc/LuaConsole/blob/master/README.md)\n[![Spanish](https://user-images.githubusercontent.com/7494772/109406678-24171c80-7949-11eb-94d7-83afe3befae0.png)](https://github.com/tilkinsc/LuaConsole/blob/master/README.espanol.md)\n[![German](https://user-images.githubusercontent.com/7494772/109406691-3002de80-7949-11eb-83ee-95967d986e99.png)](https://github.com/tilkinsc/LuaConsole/blob/master/README.german.md)\n[![Portuguese](https://user-images.githubusercontent.com/7494772/109406785-e49d0000-7949-11eb-8b36-793272d7821e.png)](https://github.com/tilkinsc/LuaConsole/blob/master/README.portugues.md)\n[![Russian](https://user-images.githubusercontent.com/7494772/109406798-f5e60c80-7949-11eb-9467-947936c47188.png)](https://github.com/tilkinsc/LuaConsole/blob/master/README.russian.md)\n[![Chinese](https://user-images.githubusercontent.com/7494772/109406811-0c8c6380-794a-11eb-82dc-c06a322448ff.png)](https://github.com/tilkinsc/LuaConsole/blob/master/README.chinese.md)\n\n[![Paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/donate?business=RCR8HT8GDC5XC\u0026item_name=Free+Software\u0026currency_code=USD)\n\n[LuaConsole](https://github.com/tilkinsc/LuaConsole) 下一代跨平台\\[Lua-5.1.x，LuaJIT-2.0，Lua-5.2.x，Lua-5.3.x，Lua-5.4.x\\]支持的CLI取代了PUC-Lua和LuaJIT CLI\n\n有关更多信息，请访问[LuaConsole Github网站](https://tilkinsc.github.io/LuaConsole)和[LuaConsole Wiki](https://github.com/tilkinsc/LuaConsole/wiki)！\n\n## 目标\n\n* 比PUC-Lua/LuaJIT更好的CLI应用程序\n* 支持与PUC-Lua和LuaJIT兼容的所有内容\n* 防止混乱的代码\n* 依赖CLI且独立\n\n## 构建源代码\n\n[Windows/Linux Build Instructions](https://github.com/tilkinsc/LuaConsole/wiki/Build-Instructions)  \n\n## 与LuaRocks一起使用\n\n[LuaRocks Support](https://github.com/tilkinsc/LuaConsole/wiki/LuaRocks-Support)  \n\n## 与LuaDIST一起使用\n\n[LuaDist Support Windows, Linux, MacOS](https://github.com/tilkinsc/LuaConsole/wiki/LuaDist-Support-Windows,-Linux,-MacOS)  \n\n## 测试\n\n### Linux\n\n```bash\n# Help command\nluaw --help /? -?\n\n# REPL Mode\nluaw\nluaw -p\n\n# From the command\nluaw res/testing.lua -Dtest=5 -n a b c\nluaw -lres/testing.lua -Dtest=5 -n a b c\nluaw -Dtest=5 -n a b c - \u003c res/testing.lua\n\n# With Shebang enhancements found below\nres/testing.lua -Dtest=5 -n a b c\n\n# Using cat\ncat res/testing.lua | luaw -Dtest=5 -n a b c -\n\n# From inside Lua\nluaw -e \"dofile('res/testing.lua')\" -Dtest=5 -n a b c\nluaw -e \"dofile('testing.lua')\" -s res -Dtest=5 -n a b c\n\n# stdin\nluaw -\ndofile('res/testing.lua')\n\u003cCtrl + d\u003e\n\u003cEnter\u003e\n```\n\n### Windows\n\n```batch\nREM Help command\nluaw --help /? -?\n\nREM REPL Mode\nluaw\nluaw -p\n\nREM From the command\nluaw res/testing.lua -Dtest=5 -n a b c\nluaw -lres/testing.lua -Dtest=5 -n a b c\nluaw -Dtest=5 -n a b c - \u003c res/testing.lua\n\nREM With Windows Registry enhancements found below\nres\\testing.lua -Dtest=5 -n a b c\nres\\testing -Dtest=5 -n a b c\n\nREM Using type\ntype res\\testing.lua | luaw -Dtest=5 -n a b c -\n\nREM From inside Lua\nluaw -e \"dofile('res/testing.lua')\" -Dtest=5 -n a b c\nluaw -e \"dofile('testing.lua')\" -s res -Dtest=5 -n a b c\n\nREM stdin\nluaw -\ndofile('res/testing.lua')\n\u003cCtrl + z\u003e\n\u003cEnter\u003e\n```\n\n## 附加功能\n\n* [Windows Bonus - Flashy Icons \u0026 Registry Enhancements](https://github.com/tilkinsc/LuaConsole/wiki/Windows-Bonus----Flashy-Icons-\u0026-Registry-Enhancements)  \n* [Linux Bonus - Shebangs \u0026 Desktop Files](https://github.com/tilkinsc/LuaConsole/wiki/Linux-Bonus---Shebangs-\u0026-Desktop-Files)\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://darkwiiplayer.com\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/1252859?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eDarkWiiPlayer\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/tilkinsc/LuaConsole/commits?author=DarkWiiPlayer\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftilkinsc%2FLuaConsole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftilkinsc%2FLuaConsole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftilkinsc%2FLuaConsole/lists"}