惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 三生石上(FineUI控件)
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
Jina AI
Jina AI
博客园_首页
C
Check Point Blog
小众软件
小众软件
博客园 - 叶小钗
Blog — PlanetScale
Blog — PlanetScale
Engineering at Meta
Engineering at Meta
美团技术团队
Martin Fowler
Martin Fowler
Vercel News
Vercel News
D
Docker
罗磊的独立博客
B
Blog RSS Feed
The Cloudflare Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 聂微东
Last Week in AI
Last Week in AI
T
Tailwind CSS Blog
雷峰网
雷峰网
博客园 - Franky

Show HN

Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap GitHub - noopolis/moltnet: Self-hostable chat network for AI agents. Pre-built bridges for Claude Code, Codex, and the Claws. Rooms, DMs, history. No Slack bots, no Matrix, no glue code.
GitHub - Watari995/cc-preview: Preview images pasted into...
Watari995 · 2026-06-25 · via Show HN

cc-preview logo

GitHub release MIT License macOS

Browse and preview images pasted into Claude Code sessions — directly from your Mac.

cc-preview demo


Claude Code displays pasted images as [Image #N] placeholders. cc-preview extracts those images and lets you browse, preview, and copy them with a keyboard-driven native UI powered by Hammerspoon.

Quick Start

brew install Watari995/tap/cc-preview
cc-preview install

Then press Cmd+Shift+R in Hammerspoon to reload, and open cc-preview with Cmd+Shift+I.

Installation

Homebrew (recommended)

brew install Watari995/tap/cc-preview

Binary download

Download the latest binary for your Mac from Releases, then place it in your PATH:

# Apple Silicon
curl -L https://github.com/Watari995/cc-preview/releases/latest/download/cc-preview_darwin_arm64.tar.gz | tar xz
sudo mv cc-preview /usr/local/bin/

# Intel
curl -L https://github.com/Watari995/cc-preview/releases/latest/download/cc-preview_darwin_amd64.tar.gz | tar xz
sudo mv cc-preview /usr/local/bin/

Go install

go install github.com/Watari995/cc-preview@latest

Setup

After installing the binary, run the one-time installer:

This automatically:

  • Registers a SessionStart hook in ~/.claude/settings.json
  • Deploys the Hammerspoon script to ~/.hammerspoon/
  • Updates ~/.hammerspoon/init.lua

Then reload Hammerspoon (Cmd+Shift+R).

Requirements

Usage

Action Shortcut
Open cc-preview Cmd+Shift+I
Filter sessions / images Type to search
Preview image Enter or Space
Close preview Esc or Space
Copy image to clipboard ⌘C while previewing
Go back Esc
Close everything Click outside the window

How it works

  1. A SessionStart hook records each Claude Code session to ~/.claude-preview/sessions.json
  2. cc-preview sessions lists sessions that contain images
  3. cc-preview images <session-id> extracts base64-encoded images from the JSONL transcript and caches them under ~/.claude-preview/image-cache/
  4. The Hammerspoon script calls these commands and renders a native macOS chooser UI

Configuration

Edit the config table at the top of ~/.hammerspoon/cc-preview.lua:

local config = {
    copyMods = {"cmd"},  -- modifiers for copy shortcut
    copyKey  = "c",      -- key for copy shortcut
}

To change the global shortcut (default Cmd+Shift+I):

hs.hotkey.bind({"cmd", "shift"}, "I", showSessions)

License

MIT — see LICENSE