Crates.io | fetchy-pkgs |
lib.rs | fetchy-pkgs |
version | 0.4.0 |
source | src |
created_at | 2023-04-22 19:01:44.885623 |
updated_at | 2023-05-04 15:06:13.356895 |
description | Quick packages installer |
homepage | |
repository | https://github.com/ClementNerma/Fetchy |
max_upload_size | |
id | 846116 |
size | 116,848 |
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.
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.
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.