Commit Graph

5 Commits

Author SHA1 Message Date
Jeff Emmett cdd6e6bb99 fix: center slides with uniform margins and prevent image cropping
Images were getting cut off because the web layout used fit: "cover"
(which crops) instead of fit: "contain" (which scales to fit). Also
changed margins from inner-edges-only to uniform 0.125" on all sides
so each slide is properly centered in its 1/8th panel.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 02:26:46 +00:00
Jeff Emmett ad135ed75e feat: edge-to-edge layout with inner gutters + B&W mode
- Margins now only between panels (0.125" gutters), not on page edges
- Content fills to outer edges of 8.5x11" page
- Added --bw flag for high-contrast black & white output
- Added --threshold option for B&W conversion (0-255)
- Optimized for zero-ink thermal printing

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 15:09:46 +01:00
Jeff Emmett 0c85c840a6 fix: use lazy initialization for Gemini SDK to use runtime env vars
The SDK was being initialized at module load time with the build-time
env var (empty string), instead of the runtime env var. Changed to
lazy initialization pattern that creates the client on first use.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 20:07:27 -05:00
Jeff Emmett b001e4eec8 fix: update Gemini model from 1.5-flash to 2.0-flash
The gemini-1.5-flash model is not available in the v1beta API.
Updated to gemini-2.0-flash for outline generation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 19:11:34 -05:00
Jeff Emmett efc6b8158b feat: add prompt-to-print web app at zine.jeffemmett.com
Full-stack Next.js 15 web application for creating mycro-zines:

Features:
- Text or voice input for concept description
- Style/tone selection (punk-zine, minimal, collage, etc.)
- AI-powered outline generation via Gemini
- 8-page image generation with refinement loop
- Print-ready PNG download (300 DPI)
- Shareable zine URLs (/z/[id])

Tech stack:
- Next.js 15 with App Router
- Tailwind CSS v4 + Radix UI
- Gemini API for text and image generation
- Sharp for print layout assembly
- Docker + Traefik for deployment

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 17:55:39 -05:00