Fast, quirky and experimental like Luna Lovegood
Requirements: Zsh as the shell, python3 (3.10+), pip, wget, git, all the stuff needed to compule the software you install (cmake, swift, cargo, go and so on)
How to install:
Kinda simple: Just run
curl https://raw.githubusercontent.com/Neonwave175/Luna/refs/heads/main/setup.sh | zsh
luna install <package name>: installs the package or lunfileluna remove <package name>: removes the package nameluna add <package name> <git url> <compile command> <configure command> <install command>: adds the originfile for a new packageluna list: lists all packagesluna update: updates all packagesluna-update: alias to update luna itself
launch from the terminal by using luna-gui
This is self-explanatory hopefully
If not, don't use it
NOTE SwiftUI based GUI comming in the future, that is the reason for the C API
Python
from luna import lunaapi as luna
packagelist = luna.list_packages() #returns a list
luna.install("neovim", log_cb=print) #Installs
luna.add("tokei", "https://github.com/XAMPPRocky/tokei.git", "cargo build --release", "mkdir -p ~/.local/luna && cp target/release/tokei ~/.local/luna/") #adds originfile
luna.remove("cmatrix") #removes
btop = luna.get("btop") #returns info
commitofbtop = luna.get_remote_commit(btop["url"]) #takes in URL
checkupdate = luna.needs_update("argon2") #Yes the hashing algorithm, returns false of not on the latest version
luna.update_all() #updates all
luna.version() #returns the current verion