luddite/README.md
2025-02-21 22:51:27 -03:00

622 B

luddite

An example of a weblit app that works for both luvi and luvit, using the lit package manager on the same codebase.

Mostly this was just an experiment, and I did it to figure this out for my bigger project, napkin.

Setting it up

# Set luvi, luvit and lit up
curl -L https://github.com/luvit/lit/raw/master/get-lit.sh | sh
cp luvi luvit lit ~/.local/bin

# Get the repo
git clone https://kitsunes.dev/n/luddite
cd luvi-luvit-example

# Install dependencies
lit install

# Run with Luvit
luvit main.lua

# Run with Luvi
luvi .

# Build with luvi
luvi . -o luddite