GithubHelp home page GithubHelp logo

serif-7 / obsidian-mtg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omardelarosa/obsidian-mtg

0.0 0.0 0.0 1.8 MB

A plugin for managing Magic: The Gathering decks and card lists as Obsidian notes

License: MIT License

Shell 0.04% JavaScript 1.19% TypeScript 97.87% CSS 0.90%

obsidian-mtg's Introduction

Obsidian MtG Plugin

This is a plugin to manage your Magic: The Gathering card collections and decks as Obsidian notes.

Decklists

Using the mtg-decklist syntax hint in any Markdown file, you can define your decklists as follows:

4 Delver of Secrets // Insectile Aberration
4 Haughty Djinn
3 Tolarian Terror
4 Consider
4 Essence Scatter
4 Fading Hope
4 Make Disappear # consider Negate instead
4 Slip Out the Back
3 Spell Pierce
3 Thirst for Discovery
20 Island
1 Otawara, Soaring City
1 Otherworldly Gaze
1 Reckoner Bankbuster

Sideboard:
2 Disdainful Stroke
4 Negate
4 Out of the Way
1 Reckoner Bankbuster
4 Ertai's Scorn

Which in turn renders as:

You can also copy paste directly from MTGA exports, though setlists and collector's numbers will not be shown and are not yet supported in the renderer.

Collections

This plugin expects your collection to be stored as csv files with the extension .mtg.collection.csv by default. This extension is configurable in settings:

These files are expected to be properly formed CSVs such as those generated by tools like Deckbox

Example CSV Files

Name,Count,Set
Delver of Secrets // Insectile Aberration,8,MID
"Otawara, Soaring City",4,NEO
"Rona's Vortex",2,DMU
Name,Count,Set
Delver of Secrets // Insectile Aberration,1,MID
"Otawara, Soaring City",6,NEO
"Rona's Vortex",3,DMU
Ledger Shredder,5,SNC

Note that your collection will consist of the merged result of all of your CSV files.

Contributing

See the official Obsidian plugin guidelines

obsidian-mtg's People

Contributors

omardelarosa avatar serif-7 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.