fetchy-pkgs

Crates.iofetchy-pkgs
lib.rsfetchy-pkgs
version0.4.0
sourcesrc
created_at2023-04-22 19:01:44.885623
updated_at2023-05-04 15:06:13.356895
descriptionQuick packages installer
homepage
repositoryhttps://github.com/ClementNerma/Fetchy
max_upload_size
id846116
size116,848
Clément Nerma (ClementNerma)

documentation

README

Fetchy

Fetchy is a small package manager designed to be with simple packages and be blazingly fast at it.

It's designed to be as easy-to-use but customizable as possible.

How does it work?

Basically, it works with a system of very small manifests where the binaries are hosted on other platforms, such as GitHub.

In a package's manifest, you can for instance specify that it's located on a GitHub repository, and that the binary to download is the file in the release following a specific pattern (regex).

This means that manifests don't need to be updated when the package itself is, but the downside is that this can break. It only works reliably for releases following a pattern, which is the very big limitation of this tool.

On the other hand, this means the manifests are extremely small, and that installation simply consists in downloading a binary. Archives such as ZIPs or tarballs are also supported.

All binaries are hosted on a separate directories and must be put in your path.

Usage

Installation is currently made from source, requiring the Rust toolchain to be installed on your machine.

Then, run:

git clone https://github.com/ClementNerma/Fetchy
cd Fetchy
cargo install --path .

# Check if everything works correctly
fetchy -V

Before installing packages, you need to add a repository. These are small files that contain a list of packages to install.

Commit count: 100

cargo fmt