2 releases
0.1.2 | Mar 16, 2025 |
---|---|
0.1.1 | Oct 12, 2024 |
0.1.0 |
|
#92 in #version
126 downloads per month
26KB
269 lines
fetch-paper-api
It is a simple command tool, written in rust, designed to download jar file from papermc.io/api/v2 with different projects, versions and builds.
Brief Guide
Requirements
- a good network
- cargo
Install
Simply type cargo install fetch-paper
in your terminal.
Example(TL;NR)
I want to download build 100 of papermc 1.18.1, using:
fetchpaper paper -v 1.18.1 -b 100
I want to download latest build of velocity 3.1.1, and save to ~/Downloads, using:
fetchpaper velocity -p ~/Downloads -v 3.1.1
I want to download latest version and latest build of velocity, using:
fetchpaper paper
Usage
fetchpaper [OPTIONS] <PROJECT>
Arguments:
<PROJECT> project_id
Options:
-p, --path <VER> path to download file, default will use "./target.jar" [default: ./target.jar]
-v, --version <VER> version id, default will use latest
-b, --build <BUILD> build id, default will use latest
--skip-checksum
-h, --help Print help
Python version
Python version is end-of-support now!
Rust provides powerful cargo tools to do all of those annoying versions and requirements things. Cheers!
Dependencies
~8–20MB
~265K SLoC