Skip to content
This repository has been archived by the owner on May 8, 2022. It is now read-only.
/ mtg-browser Public archive

Convert MTG Card-Scanner (DelverLens) exports into a simple website with plain image files

License

Notifications You must be signed in to change notification settings

shagu/mtg-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mtg-browser

A small node.js project that allows to export scans of your Magic: The Gathering card collection to plain images and a simple and responsive html-site to browse, filter and search for specific cards. One of the goals is, to make it easier to build decks out of your local collection and to keep track of your cards. This is the successor of delver-export and a partial rewrite from Lua to Node.js. Please bear with me, you will see many bad coding habits, I'm a JS novice and learning by doing.

Preview

To see the mtg-browser frontend in action, visit the MTG Browser Demo Website. The page is showcasing an example output of the make www command, using a subset of some of my legacy cards, that was then uploaded to GitHub Pages.

preview.jpg

How-To-Use

  1. Scan your cards with DelverLens
  2. Inside the app, export your collection ("Create Backup File")
  3. On your PC, Install mtg-browser:
git clone https://github.com/shagu/mtg-browser
cd mtg-browser
npm install
  1. Now place the backup file and the latest DelverLens APK into the "input" directory
  2. To run the mtg-browser tool, type:
make
  1. Open the index.html, done!

Make targets

Possible make targets are:

make            - Runs update, clean and core
make update     - Download MTGJSON data, extract Delver's built-in database and prepares your backup
make core       - Only run the main programm
make clean      - Clean the `./collection` folder
make distclean  - Clean the `./collection` folder and reset everything done by `make update`
make www        - Runs update, clean, core and copies website related files into the `www/` folder

Supported Card Scanners

Thanks

  • MTGJSON The MTGJSON Project is a community driven database, containing nearly all MTG cards and their informations, such as card texts, colors and so on. All metadata that is used in mtg-browse is obtained from this database.

  • Delver Lens It's by far the best card scanner and organizer out there - even without being opensource (maybe one day?). If you have an Android-Phone and no card scanner yet, get it now! I have tried many apps, but delver lens stands out for its good organized interface, the card detection algorithm and especially the clean sqlite-export of collections.

About

Convert MTG Card-Scanner (DelverLens) exports into a simple website with plain image files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published