{"id":49559971,"url":"https://github.com/simonbukin/fateseal","last_synced_at":"2026-05-03T07:50:52.669Z","repository":{"id":228519356,"uuid":"774217974","full_name":"simonbukin/fateseal","owner":"simonbukin","description":"A Tabletop Simulator exporter for Magic The Gathering Commander decks.","archived":false,"fork":false,"pushed_at":"2026-04-27T00:33:56.000Z","size":48094,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-27T02:31:05.715Z","etag":null,"topics":["mtg","scryfall"],"latest_commit_sha":null,"homepage":"https://www.fateseal.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonbukin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-19T06:42:02.000Z","updated_at":"2026-04-27T00:34:01.000Z","dependencies_parsed_at":"2024-06-09T22:39:53.708Z","dependency_job_id":"de8e3dbb-d33b-4149-b3d2-8a423c982b0b","html_url":"https://github.com/simonbukin/fateseal","commit_stats":null,"previous_names":["simonbukin/fateseal"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simonbukin/fateseal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonbukin%2Ffateseal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonbukin%2Ffateseal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonbukin%2Ffateseal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonbukin%2Ffateseal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonbukin","download_url":"https://codeload.github.com/simonbukin/fateseal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonbukin%2Ffateseal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32562118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mtg","scryfall"],"created_at":"2026-05-03T07:50:50.008Z","updated_at":"2026-05-03T07:50:52.664Z","avatar_url":"https://github.com/simonbukin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fateseal\n\nThis is a simple utility website that takes an MTG decklist and exports a Tabletop Simulator compatible JSON file. That's it!\n\n## Running locally\n\nThis website is hosted at [fateseal.com](https://fateseal.com), but you can also run it locally. All that is necessary is cloning the repository and running the following commands:\n\n```shell\n\n$ npm install\n$ npm run dev\n\n```\n\nThen you just need to navigate to `localhost:3000` and the app is available to use.\n\n## Current Pipeline\n\n1. Download bulk data dump from Scryfall ('All Cards', around 2GB)\n2. Move into the `processing` directory\n3. Run `bun process.ts`\n4. Move the `processed.json` file into the `public` directory\n5. Delete the `cards.json` file, and rename the `processed.json` file to `cards.json`\n\n## Data processing with bun\n\nI previously used `jq` for quick data processing, but switched over to a script using Bun for better readability. It takes a little longer, but is much easier to maintain. Currently, the 2GB bulk data dump gets converted down into a 20MB JSON.\n\n## jq for data processing (old)\n\nI downloaded Scryfall's bulk dataset of \"Unique Cards\" as the initial JSON dump to work from. I parsed it down to to size from 187 to about 5mb with `jq`:\n\n```shell\n$ cat \"Unique Cards 20240318.json\" | jq -c '[.[] | { name: .name, id: .id, imageUrl: .image_uris.large }]' \u003e cards.json\n```\n\nHere's current pipeline:\n\n```\n$ jq '[.[] | select(.legalities.commander == \"legal\")]' \"Unique Artwork 2024.json\" \u003e filtered_output.json\n$ jq '[.[] | {name, imageUris: .image_uris, allParts: .all_parts, set, collector_number}]' filtered_output.json \u003e slimmed_output.json\n$ jq 'reduce .[] as $item ({};\n    .[$item.name] += {\n        name: $item.name,\n        cards: (.[$item.name].cards + { ($item.set + $item.collector_number): { allParts: (if $item.allParts then $item.allParts | map(select(.component != \"combo_piece\")) else null end), imageUrl: $item.imageUris.large } })\n    }\n) | map(.)' slimmed_output.json \u003e collected_output.json\n```\n\n## Acknowledgements\n\n- MTG-related SVGs courtesy of [Investigamer/mtg-vectors](https://github.com/Investigamer/mtg-vectors)\n- Holographic foil card effect inspired by [simeydotme/pokemon-cards-css](https://github.com/simeydotme/pokemon-cards-css)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonbukin%2Ffateseal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonbukin%2Ffateseal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonbukin%2Ffateseal/lists"}