cf-pack-export-to-md

A project that allows for the easy conversion from a curseforge minecraft modpack export into a customizable text based list.

If the output you want can be expressed as a list of lines in a text file you would be able to modify the format and saving to allow for any export style you want {.md, .html, .csv}

Installation

git clone https://github.com/0mega24/cf-pack-export-to-md.git
pip install -r requirements.txt
  • Install python 3.11.8 or have a .venv setup
  • You must also create a .env file somewhere inside of the project
  • Make sure to get your own Imgur API key.
  • Once you have gotten it include the line - filling in your API key
IMGUR_API_KEY=Client-ID xxxxxxxxxxxxxxx

Running

python app.py [--log <log_level>]
  • Use the --log argument to specify the logging level if needed. Available options are DEBUG, INFO, WARNING, ERROR, and CRITICAL with a default of WARNING.

Libraries Used

  • tkinter - For the filedialog
  • selenium - For the webscraping of curseforge links
  • selenium_stealth - For browser environment spoofing
  • requests - For Imgur API calls
  • dotenv - For .env file support for environment variables
  • typing - For comprehensive type hinting
  • bs4 - For web parsing
  • tqdm - For the loading bars

Example Output

Icon Summary Details
World Stripper World-Stripper-1.6.0-1.12.2.jar by EwyBoy MIT License
Strips away blocks to reveal the underground world gen. A must have tool for all devs. dev ore map strip world
Project:250603
File:2635454
IC2 Tweaker ic2-tweaker-0.2.1+build.4.jar by tttusk Public Domain
CraftTweaker (for Minecraft 1.12.+) support for IC2-experimental
Project:311846
File:4136686
Sit sit-1.12.2-v1.3.jar by bl4ckscor3 MIT License
Allows you to sit on slabs and stairs.
Project:278717
File:2848862
LittleTiles LittleTiles_v1.5.68_mc1.12.2.jar by CreativeMD GNU Lesser General Public License version 2.1 (LGPLv2.1)
#BuildItYourself
Project:257818
File:4399700
Oxygen: Market oxygen-market-1.12.2-0.11.2.jar by austeretony All Rights Reserved
Global market for players to buy and sell items.
Project:342390
File:2983953

Format used for the example is on line 193 of app.py

License

This project is licensed under the MIT License - see the LICENSE file for details.