Rummage
A self-hosted app for trading Magic: The Gathering cards within a playgroup. Everyone imports their collection, and Rummage finds fair trades between friends.
Most Magic players have a binder of cards they aren’t using, and a list of cards they’d like. Somewhere in their playgroup, a friend has the opposite. Finding those trades usually means flipping through each other’s binders before a game and doing the math on a phone.
Rummage does the flipping for you. Everyone in the group imports their collection and lists the cards they want. Rummage finds which of your cards your friends want and which of theirs you want, then suggests trades of about equal value. You agree on a trade in the app and swap the cards in person, with no shipping and no storefront. It runs on the TrueNAS server in my house, and it’s in a closed beta with a single playgroup.
The screenshots here are from a demo playgroup with made-up collections, not anyone’s real binder.
Bring your collection
Nobody wants to type in a collection, so Rummage imports one. It reads CSV exports from ManaBox, Moxfield, Archidekt, Deckbox, and Dragon Shield, or a pasted list like 4 Lightning Bolt or 1 Sol Ring (C21) 263 *F*, and works out the format on its own. Card details, images, and prices come from Scryfall, refreshed every day, and a card’s condition lowers its value: lightly played is worth 85% of near mint, and heavily played 50%.
Instead of making a list of cards to trade, everything is up for trade except what you hold back. You can hold back the cards in your deck binders, the copies your decklists need, a set number of each card, or cheap bulk. Single cards can be marked “always trade” or “never trade”. If you’d rather pick, there’s a trade-list-only mode too.

Fair trades
The interesting part is the matching. For each friend, Rummage looks at the cards of theirs on your want list and the cards of yours on theirs, and picks the combination that moves the most of what both of you want while keeping the two sides close in value. By default, close means within 10% or $3, whichever is larger, and each group can set its own. Any gap left over can be made up in cash.
Picking the best combination is a version of the knapsack problem: each card nudges the difference between the two sides up or down, and the goal is to end up near zero while moving as many wanted cards as possible. Rummage solves it with dynamic programming, the classic approach to knapsack problems.
The trade itself
From a suggestion, or from a friend’s binder, you build an offer and send it. The prices are locked in when you send it, so a price spike overnight doesn’t change the deal. Your friend can accept it, decline it, or send a counter-offer, and there’s a conversation on each trade for working out when and where to meet.

Once the cards have changed hands, both of you mark the trade as done, and both collections update. Most people keep their real collection in an app like ManaBox or Moxfield, though, so Rummage lists exactly what to add and remove there, with a CSV to download. Re-import your collection later and Rummage clears whatever the new import already reflects.

Keeping it small
Rummage is built for one group of friends, not the whole internet. Sign-up is by invite link only, accounts use a username and password, and the admin resets forgotten passwords by hand, since there’s no email. It can also post to a Discord channel when trades happen. You can browse each friend’s binder, search the whole group for a card, and see what your collection is worth, which is half the fun.
Rummage is unofficial Fan Content permitted under the Wizards of the Coast Fan Content Policy. Not approved or endorsed by Wizards. Portions of the materials used are property of Wizards of the Coast. ©Wizards of the Coast LLC. Card data and images are provided by Scryfall.