Skip to content

cmd8/copyshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

copyshot

Claude Code can /copy text or /export a chat, but sharing a single response as an image means screenshotting your terminal. /copyshot renders the last response as a PNG with syntax highlighting and copies it to your clipboard.

Examples

TUI screenshot /copy /copyshot
TUI screenshot /copy /copyshot

Install (macOS only)

curl -fsSL https://raw.githubusercontent.com/cmd8/copyshot/main/scripts/install.sh | bash

Installs dependencies via Homebrew, downloads fonts, and adds the /copyshot command to Claude Code.

Usage

/copyshot

How It Works

How copyshot works

Dependencies

  • glow — markdown renderer
  • resvg — SVG to PNG rasterizer
  • bun — TypeScript runtime and package manager

License

MIT

About

Screenshot Claude Code responses as styled PNG images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors