/d2-memento

Preview Destiny 2 mementos, data from /u/TheLastJoaquin

Primary LanguagePythonMIT LicenseMIT

d2-memento

⚠️ /u/TheLastJoaquin is taking an indefinite break for personal matters. During this time, this project will be placed on read-only mode, and no future updates are planned.

Additionally, please respect their privacy, and refrain from making inquiries about personal matters.

It has been a pleasure so far! See you Starside.

— 13 Apr 2023

Curated by /u/TheLastJoaquin, check out the source spreadsheet!

Much thanks to all data contributors!

Development

Quick install

  1. Requirements:
    • Python 3.11.x
    • Git Bash for Windows (or just Git on Unix)
  2. Setup the Python virtual environment. (?)
  3. Run pip install -r ./script/requirements.txt
  4. Run cd script; bash ./do-all.sh
  5. Run Jekyll

In detail

There are four main scripts that do all the work:

  • import-csv.py
    • Exports the spreadsheet into XLSX, and converts the data into CSV
  • parse-csv.py
    • Parses the CSV into a JSON
  • fetch-img.py
    • Attempts to download the images into the local machine
  • put-jekyll.py
    • Copies over a compiled JSON and the images into the Jekyll folders

Images backup

Images are TAR-ed and uploaded to Backblaze.

https://f000.backblazeb2.com/file/d2-memento/images.tar