Export an mtg collection from a Delver Lens backup
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Holly McFarland edd786e8ae Include timestamp in generated file 1 month ago
.gitignore First commit 3 months ago
README.md First commit 3 months ago
create_data_db.py First commit 3 months ago
exporter.py Include timestamp in generated file 1 month ago
requirements.txt First commit 3 months ago

README.md

MTG Collection Exporter

The long-term goal for this project is to be able to take a backup file from the android app Delver Lens and use it to host a database of magic cards with frontend web page that makes it easy to sort and filter them. In the mean time, it instead spits out a single plaintext table.

To set up the project, install the prerequisites via requirements.txt, then acquire user.db from the Delver Lens files. This requires a rooted phone or android emulator, and the file is found in /data/data/delverlab.delverlens/databases/. Run create_data_db.py and pass it the path to user.db as the first argument to generate data.db. Then, in the same folder, run exporter.py and pass it the path to a Delver Lens backup file to generate the output.

An example output can be found here: https://hollymcfarland.com/magiccards