Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aayushdutt/modrinth-collection-downloader
Script to download mods from a Modrinth Collection
https://github.com/aayushdutt/modrinth-collection-downloader
Last synced: about 1 month ago
JSON representation
Script to download mods from a Modrinth Collection
- Host: GitHub
- URL: https://github.com/aayushdutt/modrinth-collection-downloader
- Owner: aayushdutt
- Created: 2024-03-16T06:52:19.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-08-03T15:57:28.000Z (5 months ago)
- Last Synced: 2024-08-07T14:23:32.891Z (5 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - aayushdutt/modrinth-collection-downloader - Script to download and update mods from a Modrinth Collection (Mod managers/updaters / CLI)
README
# Modrinth Collection Downloader
Script to download and update mods from a Modrinth Collection
## Requirements
- Python should be installed: https://www.python.org/downloads/
- (optional) `wget` or `curl`## How to use
```sh
wget -qO- https://raw.githubusercontent.com/aayushdutt/modrinth-collection-downloader/master/main.py | python - -v -l -c
```OR using `curl`
```sh
curl -sL https://raw.githubusercontent.com/aayushdutt/modrinth-collection-downloader/master/main.py | python - -v -l -c
```OR copy the `main.py` file locally and run
```sh
python main.py -v -l -c
```### Examples:
- `wget -qO- https://raw.githubusercontent.com/aayushdutt/modrinth-collection-downloader/master/main.py | python - -v 1.20.4 -l fabric -c 5OBQuutT`
- `wget -qO- https://raw.githubusercontent.com/aayushdutt/modrinth-collection-downloader/master/main.py | python - -v 1.20.4 -l fabric -c 5OBQuutT -d mymods -u`
- Saves the mods to mymods and updates existing ones to latest version### Options:
```
-h, --help show this help message and exit
-c COLLECTION, --collection COLLECTION
ID of the collection to download. Can be obtained from the collection URL (for
https://modrinth.com/collection/5OBQuutT collection_id is 5OBQuutT).
-v VERSION, --version VERSION
Minecraft version ("1.20.4", "1.21").
-l LOADER, --loader LOADER
Loader to use ("fabric", "forge", "quilt" etc).
-d DIRECTORY, --directory DIRECTORY
Directory to download mods to. Default: "mods"
-u, --update Download and update existing mods. Default: false
```