Sign In

Dataset Tools Returns to Civitai (Soon)

0

Dataset Tools Returns to Civitai

Before you get reading feel free to check the current build here: https://github.com/Ktiseos-Nyx/Dataset-Tools

BE AWARE: There are major file system bugs on this branch, but we're working hard on finding what they are before hallucinating a fix. We believe in human-led coding even if there's assistance from an agent. The next release will be 0.97 and will have more security in the ENV with encryption, as well as better file watching.

Introduction

Good afternoon dear Civitai nerds!

  • Dataset Tools! Our gold standard Metadata Reader Inspired by SD Prompt Reader is now up to date mostly!

  • We're still working on squashing bugs.

What the Application Does Best!

Dataset Tools NextJS Edition is a local-first web application for viewing EXIF metadata from AI-generated images and camera photos, including the software used to create AI images and the camera details embedded in photos.

Current Capabilities for Web Interface, Desktop Executable and Portable:

Feature Status Details

  • Metadata Parsing ✅ Graph-tracing engine for ComfyUI, field-based detection for A1111/Forge/NovelAI.

  • Image Viewing ✅ PNG, JPG, JPEG, WebP. Zoom (25-400%), rotation, fit-to-container.

  • File Browsing ✅ Desktop: recursive tree of any folder. Web build: browser-local folder access (File System Access API) for images + safetensors. Subfolder navigation & handle persistence in progress — #220.

  • Drag & Drop ✅ Drop an image to extract metadata.

  • Thumbnails ✅ Sharp-powered WebP thumbnails with disk cache (.thumbcache/).

  • Sorting ✅ Sort by name, date modified, or file size in both file tree and thumbnail viewport.

  • Accent Colors ✅ 7 color themes (zinc, red, orange, green, blue, violet, pink) with dark mode support.

  • WebP Viewing ✅ Viewing works for static and animated WebP files. Metadata extraction is format-dependent.

  • ComfyUI Workflows ✅ 3-phase extraction + ComfyUI ≥1.26 provenance (cnr_id/aux_id). Node graph tracing, custom node resolution, service detection.

  • GitHub Lookup ✅ Fallback search for unknown ComfyUI custom nodes via GitHub code search.

  • Safetensors Metadata ✅ Full metadata extraction for LoRA and model files — rank, alpha, training params, dataset tags.

  • Metadata Editing ✅ Edit prompts and parameters in PNG files, write changes back to disk.

  • Current Capabilities for Vercel Demo:

  • Feature Status Details

  • Metadata Parsing ✅ Graph-tracing engine for ComfyUI, field-based detection for A1111/Forge/NovelAI.

  • Image Viewing ✅ PNG, JPG, JPEG, WebP. Zoom (25-400%), rotation, fit-to-container.

  • Drag & Drop ✅ Drop an image to extract metadata.

  • Accent Colors ✅ 7 color themes (zinc, red, orange, green, blue, violet, pink) with dark mode support.

  • WebP Viewing ✅ Viewing works for static and animated WebP files. Metadata extraction is format-dependent.

  • ComfyUI Workflows ✅ 3-phase extraction + ComfyUI ≥1.26 provenance (cnr_id/aux_id). Node graph tracing, custom node resolution, service detection.

Supported Formats

  • A1111 / Forge — PNG tEXt chunks, JPEG EXIF

  • ComfyUI — JSON workflow with node graph resolution

  • NovelAI — PNG metadata

  • Civitai — UTF-16-LE JPEG UserComment

  • Standard EXIF/IPTC/XMP — All image formats

  • Safetensors — LoRA rank/alpha, training parameters, dataset tags, base model info

  • PNG as JPEG - Magic Byte Detection: files with a .png extension that are actually JPEG-encoded are detected by magic bytes and parsed anyway.

Tech Stack

  • Framework: Next.js 16 (App Router), React 19, TypeScript 5

  • UI: shadcn/ui + Radix UI + Base UI, Lucide icons, Tailwind CSS v4 (OKLch color space)

  • Thumbnails: Sharp (libvips) with WebP disk caching

  • Metadata: Pure JS parsing — PNG chunks, JPEG EXIF (exif-parser), ComfyUI graph traversal with node provenance

  • Node Resolution: ComfyUI Node Finder port (extension-node-map registry + GitHub code search fallback)

Installation

Production mode (See the Repo for Dev mode details)

Requires Node.js 20.9+ to run the application.

git clone https://github.com/Ktiseos-Nyx/Dataset-Tools.git

cd Dataset-Tools

npm install

npm run build

npm start

Open http://localhost:3000.

Desktop App (Windows)

A standalone .exe lives on the Releases page — no Node.js, no browser, no npm. It bundles Next.js and runs the same metadata engine as the web build, but against any folder on your machine. This comes in TWO flavors: Portable and NSIS based installer.

Portable works great for travel, or lower end machines that don't want to fuss with the full installation.


Smart Screen Issues

"Windows protected your PC"?

On first launch Windows will probably throw up a SmartScreen warning. That's not malware — it's because the exe isn't signed with a commercial code-signing certificate, which costs a few hundred dollars a year. Same thing every unsigned open-source desktop app deals with.

To run it:

  1. Click More info

  2. Click Run anyway

Two ways to check it yourself before running:

  • Every release ships a VirusTotal scan link so you can see the file checked against 70+ antivirus engines. You'll occasionally see 1–2 "generic heuristic" flags on a fresh Electron build — that's normal for unsigned apps, not a real detection.

  • The whole app is open source — the source and the build configuration are all here, so you can inspect exactly how the exe is produced.

But I hate SmartScreen!

  • A portable windows exe with no requirements to install is now available on the most recent releases.

  • Future versions for Linux are coming

  • This portable edition provides no requirements (as far as we're aware) and can be more useful than installing, but be aware it may not cache your settings.

Security Updates

  1. Early 2026 it moved to NextJS.

  2. You saw the Vercel demo!

Here's the fun part: We're NOW About to pull a 0.96 release with both LINUX and Windows executables (Aka Appimage and EXE)

What we need to warn Linux users is:
Rented GPUs can't handle it, we're not built for docker containers YET

What got cut recently and why this is important:
Vercel STILL HAS this issue and we're not done porting the fixes yet - but the Desktop/EXE and Appimage that are getting sent in TODAY: We removed the workflow tab to service an issue with ComfyUI's litegraph. One that isn't an issue for EVERYONE using ComfyUI just DATASET TOOLS AT THE TIME IT WAS USING THE TAB for the specifics we were using it for.

This specific issue was due to the fact a rogue workflow read by the images EXIF data could expose an audio node that executed code that could cause an XSS attack. The workflow tab BARELY worked and hardly had any relevant data to pull from it, so the security risk was easier to mitigate by just removing the tab.

PLEASE NOTE: This application DOES NOT generate images for you, it is an EXIF reader. It is NOT for generating images. You CAN edit your metadata, but it may not work as intended yet - please service all queries and issues on the GITHUB if at all possible as we won't be checking Civit that often. (NOT because we don't appreciate any nerds using this but we don't want to get stuck back in the rut that we were in. )

0

Comments