r/lua • • 13d ago

Project i made a backup utility in lua

https://github.com/wak6817/but

leave some feature requests if ya want

okthxbye

2 Upvotes

4 comments sorted by

5

u/VictoryMotel 13d ago

I don't think I'm going to be backing up data with some vibe slop that you generated a few hours ago. okthxbye

1

u/wak6817-2 10d ago

but i didnt vibe code it? wanted feedback bro

1

u/aceinet 9d ago

What made you think it was vibe slop?

1

u/no_brains101 5d ago edited 5d ago

It does not look like vibe slop.

However it does indeed look like someone with absolutely no clue what they are doing

All it does is zip a directory in one place and put it in another place, and it doesn't even look like you can set the location it copies to without overriding $HOME?

Basically, feature requests needed would be basically everything you would expect from a backup utility someone else made.

I know this because in the 4 files, there is actually only really 1 of them that does anything, and it is under 50 lines so I read it.

I think my favorite part is the run.lua

os.execute("lua -e 'package.path = \"src/?.lua;\" .. package.path' src/main.lua")

It needs to be in lua to call os.execute. If it is already in lua, why not just set package.path? What is this?