A Stable Diffusion Prompt Reader designed for macOS and Windows with a dark-themed UI.
- Drag & Drop: Easily load images by dragging them into the app.
- Broad Format Support: Reads metadata from PNG, JPEG, and WebP files.
- Workflow Support: Native compatibility for Automatic1111 and ComfyUI generation data.
- Smart View Modes:
- Rendered: View the final prompt with wildcards resolved.
- Source: View the original dynamic template.
- One-Click Copy: Quickly copy positive prompts, negative prompts, or generation attributes.
- Clean UI: Modern dark mode interface.
Ensure you have Node.js installed.
# Clone the repository
git clone https://github.com/azyu/sd-prompt-viewer.git
# Go into the app directory
cd sd-prompt-viewer
# Install dependencies
npm installnpm startnpm run makeThis repository uses GitHub Actions to automatically build for:
- Windows (
.exe,.zip) - macOS (
.zip) - Linux (
.deb,.rpm,.zip)
Artifacts are generated on every push to main and can be downloaded from the "Actions" tab in GitHub.
- Electron: Cross-platform desktop framework.
- Vanilla JS: Lightweight core logic.
- CSS3: Modern flexbox/grid layouts and variables for styling.
ISC
On macOS, locally built unsigned apps may be blocked by Gatekeeper. To fix this, remove the quarantine attribute:
xattr -cr out/sd-prompt-viewer-darwin-arm64/SD\ Prompt\ Viewer.app
# OR
xattr -cr /path/to/your/SD\ Prompt\ Viewer.appThis application was created by me and Antigravity (Gemini 3 Pro). Please do not expect the highest code quality in this repo (yet).
This project isn't endorsed by Google and doesn't reflect the views or opinions of Google or anyone officially involved in producing or managing Google/Antigravity properties.
