Overview
Lown is a CLI tool for compiling and installing user-space binaries directly from Git repositories or local source paths.
Execution Flow
- Fetch: Clones the source repository into
~/.lown/apps/<package-name>/. - Inspect: Parses
lown.tomlat the repository root. - Build:
- If
language = "go": Runsgo build -o ~/.lown/bin/<executable> . - If
language = "rust": Runscargo build --releaseand copies target binary to~/.lown/bin/<executable> - Fallback: Runs
scripts.installwithLOWN_BINandLOWN_APP_ROOTenvironment variables set.
- If
- Register: Writes package metadata to
~/.lown/inventory.json.
Installation
Via Go:
go install github.com/iamvxrn/lown@latest
Via Git source:
git clone https://github.com/iamvxrn/lown.git
cd lown
go build -o lown main.go
mv lown ~/.lown/bin/
Environment check:
lown doctor