#io #version #fetch-paper-api

app fetch-paper

cli that download latest build from papermc.io

2 releases

0.1.2 Mar 16, 2025
0.1.1 Oct 12, 2024
0.1.0 Oct 12, 2024

#92 in #version

Download history 4/week @ 2024-12-04 4/week @ 2024-12-11 25/week @ 2025-02-12 112/week @ 2025-03-12 14/week @ 2025-03-19

126 downloads per month

MIT and LGPL-3.0

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

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