New
Apps 6,215Makers 6,194This week 13
Promote your app−30%
Sleepy Pokémon Cards screenshot 1
6views in
the last 30 days

Sleepy Pokémon Cards

A hand-curated collector's catalog and guide to Pokémon cards

Built with Claude Code

by comet4940 · Unclaimed · from USUnited States · added Oct 29, 2026
no ratings0 comments

☾ Sleepy Pokémon Cards

A hand-curated collector’s catalog and editorial guide dedicated exclusively to Pokémon cards caught napping.

Live site: sleepypokemon.com


✦ About the Project

Sleepy Pokémon Cards is a cozy, human-curated archive celebrating the quietest, most peaceful artwork in the Pokémon Trading Card Game.

Unlike automated scrapers or speculative financial trackers, this project is built around curation, character, and binder aesthetics:

  • Art-First Curation: Every card in the catalog is chosen by hand for its restful illustration, cozy environment, or subtle sleeping cameo.
  • Zero Ads or Spam: No paywalls, no sponsored affiliate spam, no pop-up ads, and no algorithmically generated fluff.
  • Collector Context: Real notes on why each card belongs, where the nap takes place, and how sleepy the subject really is.

✨ Key Features

  • Handmade Nap Moods: Each card carries hand-picked moods for specific, visible things in the art, such as Belly Up, Nap Watch (awake Pokémon around the sleeper) or Snow Naps, plus a curator's note on why it belongs. A mood is only tagged when it truly shows; moods are optional and the full list lives in scripts/moods.mjs.
  • Interactive Browsing & Search:
    • Search across Pokémon and card names, sets, numbers, rarity, artist, moods and the curator's note. Every word must match, accents don't matter ("pokemon go" finds Pokémon GO), and a no-results search offers Show all sleepers.
    • Filter by Moods (Group Naps, Nap Watch, Dream Sequence, Cameo Sleepers, Sleepy Trainers, Food Coma, Belly Up, Face-Plant, Propped Up, Hug Buddy, Pokémon Pillow, Drool & Snore, Bedtime, Couch & Cushion, Study Break, Flower Beds, Treetop Naps, Water Naps, Beach Naps, Snow Naps, Autumn Leaves, Sunbeam Naps, Moonlit Naps, Town Naps, Handmade).
    • A filter drawer (a bottom sheet on phones, a side drawer on desktop) with live counts on every option: moods, rarity groups (Common, Uncommon, Rare & Holo, Illustration Rare, Ultra & Secret, Trainer Gallery, Promo), searchable sets (newest first), language, price (under $5 to under $50) and sort (shuffle, newest sets, price, set or Pokémon A–Z).
    • Shareable views: the collection URL carries every active filter and the search (e.g. /collection/?mood=belly-up&rarity=promo&maxPrice=10), so links, reloads and the browser's Back/Forward all show the same view.
    • Featured sleeper: the homepage's featured card changes every Sunday night from the curator's batches in docs/featured.json (see DATA-MODEL.md); clicking it opens the card.
    • Artist links: the artist's name on a card page or in the lightbox opens the collection filtered to every sleepy card by that artist (/collection/?artist=sui), with an Art by … chip to clear it.
  • Themed Collector Guides: Editorial lists highlighting standout cards, cameos, and curated sub-themes (e.g. Best Sleepy Pokemon Cards, The Sleepiest of Pikachus, Sleepy Cat Pokemon Cards).
  • Set Pages: /sets/<set>/ for every set with 5 or more sleepy cards (built automatically as sets reach the threshold), each with a curator intro and the cards with the first sentence of their notes. /sets/ lists them all, and card pages and the lightbox link to a card's set page. The threshold and intros live in docs/sets.json.
  • Standalone Card Detail Pages: Over 150 crawlable, standalone pages (/cards/<slug>/) with high-resolution imagery, release information, current market prices, and JSON-LD structured data for search engines.
  • Community Suggestions: Integrated submission modal allowing visitors to suggest unlisted sleepy cards to the review queue.
  • Responsive & Accessible: Optimized for mobile Safari (iOS WebKit) and Chrome Mobile (Android Blink), with full orientation-change resilience and WCAG-compliant touch targets (≥ 44×44px).

🏗️ Technical Architecture

The entire site is static and hosted on GitHub Pages directly from the docs/ directory. There are zero production build steps, Node.js dependencies, or client-side runtime frameworks.

  • Frontend: Vanilla HTML5, modern CSS3 (Custom Properties, Grid, Flexbox, responsive viewports), and standard ES modules (docs/app.js).
  • Data Source: Canonical card entries are stored in data/cards.json, outside the published site (every field and curation rule is documented in DATA-MODEL.md). The generators write docs/published-cards.json and per-page cards.json files with only the fields the browser uses, while editorial guides live in docs/guides.json.
  • SEO & Schema: Pre-rendered static HTML pages for every card and guide, complete with OpenGraph tags, Twitter Cards, and Schema.org ItemPage / CollectionPage JSON-LD.
  • Analytics Contract: Privacy-conscious Google Analytics 4 telemetry adhering strictly to the documented schema in ANALYTICS.md. Does not log search queries, user notes, or personal data.

📁 Repository Structure

sleepy-pokemon/
├── docs/                        # Static website published to GitHub Pages
│   ├── index.html               # Homepage (Hero, freshly tucked in, guide preview)
│   ├── collection/              # Full catalog browsing & filter interface
│   ├── guides/                  # Themed collector guides directory & individual guide pages
│   ├── cards/                   # Crawlable static pages for each curated card
│   ├── assets/                  # Favicons, icons, and brand graphics
│   ├── app.js                   # Client-side filtering, search, modal & routing
│   ├── styles.css               # Global theme, typography, buttons & base layout
│   ├── home-v3.css              # Grid layout, collection controls & card tiles
│   ├── card-detail-v3.css       # Lightbox modal & standalone card page styling
│   ├── guides.css               # Editorial guide layouts & hero stacks
│   ├── published-cards.json     # Card data for browsers, generated from data/cards.json
│   ├── prices.json              # Market prices by card, written by the daily refresh
│   ├── prices.js                # Fills prices into pages from prices.json
│   ├── guides.json              # Guide definitions & card slug references
│   ├── sets.json                # Set page threshold (minCards) & curator intros by set name
│   └── sitemap.xml              # Search engine sitemap
├── data/
│   └── cards.json               # Canonical card data (all fields incl. notes); not published
├── scripts/                     # Node / Deno automation scripts
│   ├── sync-seo-index.mjs       # Generates docs/cards/ pages & crawls indexes
│   ├── sync-guides.mjs          # Generates docs/guides/ pages & updates homepage
│   ├── refresh-prices.mjs       # Daily TCGplayer market prices from TCGCSV into docs/prices.json
│   ├── match-tcgplayer.mjs      # Links cards to their TCGplayer product (run when adding a card)
│   ├── tcgcsv.mjs               # Polite TCGCSV client shared by the two scripts above
│   ├── validate-analytics.mjs   # Verifies GA4 telemetry across all 156+ static pages
│   ├── card-identity.mjs        # Shared card ID used by guide pages and validation
│   ├── site-header.mjs          # Shared topbar header template
│   └── site-footer.mjs          # Shared site footer template
├── brand-kit/                   # Visual brand deck, logo assets, and design tokens
├── ANALYTICS.md                 # GA4 instrumentation and telemetry specification
├── DATA-MODEL.md                # Card fields, curation rules and how to add a card
└── README.md

🚀 Local Development

Because the site uses standard web standards and relative paths, you can run and test the frontend with any static HTTP server:

Using Python:

# Serve the docs/ directory on port 8000
python3 -m http.server -d docs 8000

Using Node / npx:

npx serve docs

Using Deno:

deno run --allow-net --allow-read jsr:@std/http/file-server docs

Once running, open http://localhost:8000 (or the port indicated) in your browser.


🛠️ Maintenance & Generator Scripts

All automation scripts are written in standard ES modules and can be executed with either node (v18+) or deno run -A:

1. Sync Card Pages (rebuilds everything)

Generates all individual /cards/<slug>/index.html pages from data/cards.json and updates the crawlable card indexes, then runs sync-guides.mjs below, so this one command rebuilds every generated page:

node scripts/sync-seo-index.mjs

2. Sync Guides, About Page & Sitemap

Compiles guide pages in /guides/ from docs/guides.json, set pages in /sets/ from docs/sets.json, the About page, the homepage guide directory, and docs/sitemap.xml (the only sitemap writer):

node scripts/sync-guides.mjs

Both generators share scripts/build-helpers.mjs: card page slugs, escaping, the page <head>, sitemap helpers, and ASSET_VERSIONS. To cache-bust a CSS or JS file, bump its number in ASSET_VERSIONS and run the generators; generated pages and the hand-written homepage and collection page all update.

3. Validate Analytics Contract

Ensures all static HTML pages (home, collection, card pages, and guides) strictly conform to the GA4 contract. It also loads docs/app.js in a Node sandbox to check that its card IDs match scripts/card-identity.mjs and that each checklist download sends the expected analytics event. It also checks every card in data/cards.json against the field table in DATA-MODEL.md, that docs/published-cards.json is up to date, and that the fields browsers get match what app.js reads:

node scripts/validate-analytics.mjs

4. Refresh Market Prices

Reads TCGplayer market prices from TCGCSV, a free daily mirror of TCGplayer's price data, for every card with a tcgplayerProductId, and writes them to docs/prices.json; pages fill prices in from that file in the browser (docs/prices.js), so a refresh regenerates no pages. refresh-prices.yml runs it every day at 21:33 UTC, after TCGCSV updates, and posts a summary on the run page; the run turns red if TCGCSV can't be reached or more than 20% of cards fail. See "Prices" in DATA-MODEL.md.

node scripts/refresh-prices.mjs            # skips the run if TCGCSV hasn't changed
node scripts/refresh-prices.mjs --force    # refresh anyway
node scripts/refresh-prices.mjs --dry-run  # report only

💌 Suggesting a Sleepy Card

Know a card that belongs in the sleepy stack?

  1. On the Website: Click "Suggest a sleepy card" in the footer or homepage on sleepypokemon.com.
  2. On GitHub: Open an Issue labeled new card with the Pokémon name, set, number, and why you believe it qualifies.

What qualifies as "Sleepy"?

  • Primary Nap: The featured Pokémon is noticeably asleep, curled up, dozing off, or snoring.
  • Cameo / Background Nap: Another Pokémon or human in the artwork is sound asleep (e.g. sleeping baby Stunky in Skuntank V's burrow, or sleeping Pidoves in Munna's tree).
  • Restful Atmosphere: Artwork that clearly depicts naptime, dreaming, sleep-inducing attacks (like Rest or Yawn), or tranquil exhaustion.

🎨 Creative Direction & Palette

The visual identity uses a warm, cozy twilight palette inspired by bedroom lamps and dusk skies:

Swatch Name Hex Usage
#0e0e17 Ink #0e0e17 Deep night background
#171724 Night Surface #171724 Card panels, topbar & dialog surfaces
#fff7e8 Cream #fff7e8 Primary text & headings
#b9b6c7 Muted Cream #b9b6c7 Secondary labels & metadata
#f36b9b Soft Pink #f36b9b Accent highlights & active chips
#f4d35e Candle Yellow #f4d35e Stars, sparkles & action prompts
#b3c5ff Lavender #b3c5ff Brand lockup cards & guide accents

Typography is paired with Fredoka for friendly, rounded headings and Inter for crisp, legible metadata. See brand-kit/ for the full creative direction deck.


☕ Creator & Credits

  • Curated and maintained with ♥ by Comet at Semi Serious Labs.
  • Support the project on Buy Me a Coffee.
  • Disclaimer: Pokémon and Pokémon character names are trademarks of Nintendo, Creatures Inc., and GAME FREAK Inc. Card artwork belongs to their respective illustrators and The Pokémon Company. Sleepy Pokémon Cards is an unofficial, non-commercial fan project created for card enthusiasts and collectors.

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#pokemon · #catalog · #collectibles