feat(export): add HTML card deck export #41

Merged
lerko merged 1 commits from feat/html-card-export into main 2026-05-21 02:00:38 +00:00
Owner

Summary

  • Self-contained single-file HTML export for cards — mobile-first, dark theme, zero dependencies
  • Each card type gets interactive treatment: snippet tap-to-copy, template slot filling, checklist with progress bar, decision structured layout, link tap targets
  • Filter chips by card type, search across all cards, responsive grid on wider screens

Usage

nib export -f html -o deck.html
nib export -f html -t triage -o triage.html
nib export -f html --title "SSH Playbook" -o ssh.html

Test plan

  • All existing tests pass
  • Export 7 sample cards (all 6 types) — renders correctly
  • Tag filter (-t triage) exports only matching cards
  • Verified in mobile browser — layout, search, filter chips, copy buttons
## Summary - Self-contained single-file HTML export for cards — mobile-first, dark theme, zero dependencies - Each card type gets interactive treatment: snippet tap-to-copy, template slot filling, checklist with progress bar, decision structured layout, link tap targets - Filter chips by card type, search across all cards, responsive grid on wider screens ## Usage ``` nib export -f html -o deck.html nib export -f html -t triage -o triage.html nib export -f html --title "SSH Playbook" -o ssh.html ``` ## Test plan - [x] All existing tests pass - [x] Export 7 sample cards (all 6 types) — renders correctly - [x] Tag filter (-t triage) exports only matching cards - [x] Verified in mobile browser — layout, search, filter chips, copy buttons
lerko added 1 commit 2026-05-21 01:50:58 +00:00
feat(export): add HTML card deck export
CI / test (pull_request) Failing after 10s
564039112a
Self-contained single-file HTML export for cards. Mobile-first,
dark theme, zero dependencies. Each card type gets its own
interactive treatment: snippet tap-to-copy, template slot filling,
checklist with progress bar, decision structured layout, link
tap targets. Filter chips by type, search across all cards.

Usage: nib export -f html -o deck.html
       nib export -f html -t triage -o triage.html
lerko merged commit 8fc686ec6d into main 2026-05-21 02:00:38 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lerko/nib-v1#41