No description
  • JavaScript 50.1%
  • CSS 39.3%
  • EJS 10.6%
Find a file
2026-04-16 14:57:07 +00:00
public Fix CSP blocking images and remove lazy loading from modal 2026-04-16 15:55:45 +01:00
routes Initial project setup with MTG Binder implementation 2026-04-16 09:47:40 +01:00
views Optimize API performance and improve security 2026-04-16 15:52:27 +01:00
.gitignore Clean up environment configuration and update documentation 2026-04-16 14:08:21 +01:00
CLAUDE.md Clean up environment configuration and update documentation 2026-04-16 14:08:21 +01:00
DESIGN.md Hide flavor div when empty 2026-04-16 10:43:18 +01:00
GEMINI.md Clean up environment configuration and update documentation 2026-04-16 14:08:21 +01:00
package.json Clean up environment configuration and update documentation 2026-04-16 14:08:21 +01:00
README.md Clean up environment configuration and update documentation 2026-04-16 14:08:21 +01:00
server.js Fix CSP blocking images and remove lazy loading from modal 2026-04-16 15:55:45 +01:00

MTG Binder

A premium web application that displays Magic: The Gathering cards in a curated "Digital Vault" experience.

Features

  • The Premium Collector's Digital Vault: A high-end editorial archive aesthetic with a Noir-inspired color palette.
  • Responsive 3x3 Grid: Displays 9 random MTG cards utilizing Scryfall's high-quality art crops.
  • Atmospheric Depth: Interactive modal views with Glassmorphism and Backdrop Blur effects.
  • Clean Typography: Combines the geometric authority of Manrope for headlines with the technical precision of Inter for card data.

Prerequisites

  • Node.js (v14 or higher)
  • npm (Node Package Manager)

Getting Started

  1. Install dependencies

    npm install
    
  2. Start the server

    npm start
    
  3. Open in browser

API & Configuration

This app uses the Scryfall API to fetch card data. Scryfall is free to use and does not require an API key for basic usage.

Project Structure

mtg-binder/
├── public/
│   ├── css/
│   │   └── styles.css       # Noir-palette & Glassmorphism styling
│   └── js/
│       └── card-modal.js    # Modal logic & Scryfall integration
├── routes/
│   └── index.js             # Route handlers (currently stubbed)
├── views/
│   └── home.ejs             # Main EJS template (3x3 grid)
├── package.json             # Scripts & dependencies
└── server.js                # Core Express application

Credits