Skip to content

Initial deckk implementation#1

Merged
holman merged 1 commit into
mainfrom
holman/url-to-pdf-cli
May 24, 2026
Merged

Initial deckk implementation#1
holman merged 1 commit into
mainfrom
holman/url-to-pdf-cli

Conversation

@holman
Copy link
Copy Markdown
Owner

@holman holman commented May 24, 2026

Summary

  • CLI that takes a URL, screenshots the deck via headless Chrome, writes a PDF
  • Adapter pattern (internal/adapter) for site-specific extractors
  • docsend adapter: ArrowRight + clipped element screenshots, handles cookie banner / next-arrow / email gate
  • GoReleaser + GitHub Actions for cross-platform releases and Homebrew tap auto-update on v* tags

Test plan

  • Verify build: `go build ./...`
  • Run against an ungated deck and confirm PDF matches slide aspect ratio
  • Run against a gated deck with `--email` or fallback git user.email
  • Tag a release and confirm Action publishes binaries + formula

🤖 Generated with Claude Code

CLI that takes a URL and writes a PDF. Adapter-based design so new sites
can be added by implementing one interface in internal/adapter.

- docsend adapter: drives headless Chrome via chromedp, walks slides with
  ArrowRight, captures clipped element screenshots, stitches them into a
  PDF sized to each slide's native aspect ratio. Handles cookie banners,
  next-arrow nav controls, and email gates (with git user.email fallback).
- GoReleaser config + GitHub Actions workflow for cross-platform releases
  and auto-updating the holman/homebrew-tap formula on each v* tag.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@holman holman merged commit edab61c into main May 24, 2026
@holman holman deleted the holman/url-to-pdf-cli branch May 24, 2026 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant