CardForge Dev Log

CardForge V2 — Dev Log

Full feature set, architecture, and technical rundown

Overview

CardForge V2 is a production-ready, browser-based toolkit for designing, editing, and sharing collectible RPG-style identity cards. Built with vanilla JavaScript and powered by Azure Static Web Apps + Azure Functions.

The modular design engine supports nearly 40 million unique visual card combinations through a 6-tier hierarchical system of layouts, palettes, containers, effects, and alignment options.

Version

v2.2 — Production

Platform

Azure Static Web Apps + Azure Functions (Node.js 18)

Deployment

CI/CD via GitHub Actions — auto-deploys on push to master

Combinations

~40 million unique card designs from modular tiers

Architecture

Frontend

Backend — Azure Functions (14 Endpoints)

Storage

6-Tier Modular Design System

The core of CardForge — a hierarchical design engine that provides granular control over card appearance through progressive disclosure.

Tier 1: Layout Style

Hero, Split, Minimal, Overlay, Stack, Frame — each with large/small variants. Controls the fundamental card structure.

Tier 2: Content Alignment

3-level hierarchy: Alignment Type (Left, Center, Right) × Weight Distribution (Top Heavy, Balanced, Bottom Heavy) × Style Variants (Minimal, Padded, Compact, Ultra-Compact, Elegant, Narrow). Creates 27+ combinations with progressive disclosure.

Tier 3: Visual Weight

Controls content distribution and emphasis — Top Heavy, Balanced, Bottom Heavy.

Tier 4: Color Palette

Palette Families: Neon, Earth, Ocean, Sunset, Monochrome — each with Light and Dark variants.

Tier 5: Image Container

Container Types: Masked (Circle, Hex), Framed (Modern, Ornate), Raw (Rounded), Full Bleed — with type-specific variants.

Tier 6: Image Effects

Effect Types: Filters, Borders (Glow, Solid), Overlays — with effect-specific variants.

Card Editor (The Forge)

The editor uses a vertical step-based navigation rail with 8 editing steps:

Card Features

Preset System

5 curated presets with complete modular configuration and sample character data:

Roll Random — Generates a completely random card: random modular tiers, random name/class/stats from built-in pools, random image from the character image pack.

My Cards & Deck Manager

My Cards

Deck Manager

Gallery

Card Gallery

Deck Gallery

Social Media Sharing

Added February 2026 — enables rich link previews when cards and decks are shared on social platforms.

Card Sharing

Deck Sharing

Download as PNG

Theming

3 Themes

2 UI Accent Variants

Theme selection via Settings modal with visual preview swatches. CSS variable system (--aura-*, --mood-*, --card-* tokens). Persistent via localStorage.

Settings & Authentication

Settings Modal (4 Tabs)

Authentication

UI/UX Features

File Structure

Frontend — /cardforge/

  • index.html — Main app (80KB)
  • deck.html — Standalone deck viewer (13KB)
  • devlog.html — This page
  • css/ — 11 files (~300KB+): cardforge-base, cardforge-card, cardforge-ui-components, cardforge-ui, cardforge-gallery, cardforge-modular, cardforge-forms, cardforge-icons, and more
  • js/ — 17 files (~400KB+): config, card-forge-editor (168KB), cardforge-forge-actions (105KB), cardforge-lightbox, cardforge-publish, cardforge-modals, ui-utils, and more

Backend — /api/

  • cardforgepublish/ — Card publishing
  • cardforgeloadcards/ — Gallery card loading
  • cardforgedeletecard/ — Card deletion
  • cardforgesavecards/ — Cloud card save
  • cardforgetemplate/ — Template loading
  • cardforgedeckpublish/ — Deck publishing
  • cardforgedeckload/ — Deck loading
  • cardforgedeckdelete/ — Deck deletion
  • cardshare/ — Card OG social share
  • deckshare/ — Deck OG social share

Roadmap — Labs (Coming Soon)

AI Image Generation

Generate character/scene artwork via AI prompts directly inside CardForge.

AI Assist

Card name, flavor text, archetype, and stat suggestions powered by AI.

Image Filters & Effects

Cinematic filters, color grading, and stylistic effects for card artwork.

Design Grid Overlay

Alignment and spacing guides for precision card layouts.

Auto-Save Engine

Background saving with recovery and safety snapshots.

Version History

Restore previous saved versions of a card.

Advanced Export

Print-ready PDFs, social formats, and layout presets.

Server-Side Card Rendering

Full card image as og:image for richer social media link previews.

Credits

CardForge V2 is built and maintained by Chad Martin (Pixelpusher) at Ambient Pixels.

Powered by Azure Static Web Apps, Azure Functions, Azure Blob Storage, and vanilla JavaScript.

© 2025–2026 Ambient Pixels — CardForge Team