Skip to content

KidiXDev/stable-parser

Repository files navigation

Stable Parser

License: GPL v2 GitHub downloads count total

An Electron application for parsing and extracting metadata from StableDiffusion AI-generated images, built with React and TypeScript.

Stable Parser Logo

Features

  • 🖼️ Image Metadata Extraction: Extracts prompt, negative prompt, and generation parameters from AI-generated images.
  • 🖱️ Drag and Drop Interface: Simple drag-and-drop functionality for image files.
  • 📋 Copy to Clipboard: Easily copy prompts and parameters with a single click.
  • 📊 Image Information: View detailed image information including resolution, format and size.
  • 🎨 Modern UI: Clean, responsive interface.

Installation

Prerequisites

  • Node.js (v16 or higher recommended)
  • yarn

Setup

  1. Clone the repository:
git clone https://github.com/kidixdev/stable-parser.git
cd stable-parser
  1. Install dependencies:
yarn install
  1. Run the development server:
yarn dev

Supported Image Types

  • JPEG (.jpg, .jpeg)
  • PNG (.png)

Supported AI Tools

Currently optimized for images generated by:

  • Stable Diffusion WebUI (A1111)
  • (Support for additional AI image generators may be added in future versions)

Technologies Used

Development

Project Structure

stable-parser/
├── build/                # Build assets
├── resources/            # Application resources
├── src/
│   ├── main/            # Electron main process code
│   ├── preload/         # Preload scripts
│   └── renderer/        # React frontend code
│       ├── public/      # Public assets
│       └── src/
│           ├── components/  # React components
│           ├── pages/       # Application pages
│           └── assets/      # Frontend assets
├── electron-builder.yml  # Electron builder config
└── package.json         # Project dependencies and scripts

License

This project is licensed under the GNU General Public License v2.0 - see the LICENSE file for details.

About

Extract prompts and parameters from StableDiffusion WebUI images

Topics

Resources

License

Stars

Watchers

Forks