r/lua • • Jan 21 '26

I'm making a tool for making and distributing terminal apps that use Lua, what are your thoughts?

Hey guys! Right now I am making a tool for terminal apps distribution that heavily relies on Lua (since it's the language for coding these apps), will anyone need it? should I give up on it and do something else or should I continue working on it?

Basically, it's sandboxed Lua with some additional modules provided using C# (Lua CSharp), like those for using assets, calling other scripts, permissions even (so that some sensitive functions like system.read_file_str require getting permission from user first (and yes, I removed io/os modules because sandboxing))

For more info, check the documentation for the tool's API: https://github.com/Ict00/TtyPack/blob/master/docs/main.md

I really hope to get at least some feedback, because right now I'm kinda blind and don't know what exactly do I do. :D

15 Upvotes

9 comments sorted by

View all comments

6

u/ineedanamegenerator Jan 21 '26

I too use Lua a lot for writing small terminal applications so this intrigued me. For me the security features of your tool make it unworkable unfortunately.

I would love to be able to package a Lua application into a single, standalone executable though. It's always a mess setting up a full Lua environment on a new PC (I use copas, sockets, etc... in some of my more complex tools).

So your current tool adds too many limits for me, but good work nonetheless.

1

u/Beautiful_Weather238 Jan 21 '26

Thanks for feedback! :D

Basically, I could add an option for manifest so that there are no real restrictions on lua (but the user will be warned ofc; for security reasons)