ITADN
coderaiser/palabra
README.md

民 Palabra License NPM version Build Status Coverage Status

Install packages easier than ever before. Palabra install packages named letras, each letra is a set of commands, written in declarative form, and compiled during install to bash script.

image

Install

npm i palabra -g

Usage

First thing you should do is create .palabra.json with soft you want to install, like this:

{
    "directorio": "~/.local/src",
    "letras": {
        "fasm": "*"
    }
}

Then run:

palabra

(i)nstall

You can also use interactive mode:

palabra install bun node deno rust go nvim fasm -d /usr/local/src

You can also pass version:

palabra i nvim@0.11

Default installation directory is ~/.local/src.

(l)ist

To list all packages that can be installed use l:

$ palabra l
amber bin bun deno f4 fasm gdu go mwget node nvchad nvim nvm oxker rizin rust yara zero

(r)emove

palabra r mwget

Env variables

Use PALABRA_DIR or XDG_DATA_HOME to override default installation path ~/.local/share.

That's it!

Types of letras

There is a different types of letras. Each author release in one of next ways.

Single binary

Provided url to executable, that should be downloaded and set chmod +x, and then copy to directory $PALABRA_DIR and make symlinks.

Single Binary archive

Provided url to archive with single executable, that should be downloaded, and then copy to directory $PALABRA_DIR and made symlinks.

Nested archive

Provided url to archive with nested directory structure, that should be downloaded, extracted and then copied to directory $PALABRA_DIR and made symlinks.

Root archive

Provided url to archive with all files located on top level, that should be downloaded, extracted and then copied to directory $PALABRA_DIR and made symlinks.

Script

Provided url to script that should be downloaded and executed

License

MIT