aee24d9492daff4622938a086b5f3673f837fe05
Added concurrency control for downloads using p-limit (max 6 simultaneous). Removed cli-progress and progress bars from downloads, as it shits the bed with concurrency. Simplified axios requests in downloadJar (removed custom headers as it was used only for cli-progress). Refactored Jenkins handling to use API JSON instead of HTML scraping. (as i had weird failing with a few jenkins servers, and this seemed to fix it completely) Removed cli-progress dependency; added p-limit dependency.
Super Cool Jar Downloader / Uploader :3
Highly customized for my use case. Not intended for the lay-person use.
Im Assuming you're experienced, can read the code and understand it.
Features
- Downloads the Latest PaperMC server version (may add more soon)
- Auto-detects download source (GitHub / Jenkins / Modrinth / Bukkit / Paper Hanger / Direct)
- Skips already downloaded files
- Password encryption for SFTP (AES-256-CBC)
- Optional SFTP upload support
- CLI progress bar for downloads
Requirements
- Node.js v20+
config.jsonin project root- Generates
secret.keyon first run (For SFTP/SSH connections to copy the jars to your server)
Releases
5
Version 1.2.0
Latest
Languages
JavaScript
100%