Skip to content

Instantly share code, notes, and snippets.

@djdarcy
djdarcy / 2026-01-02__additional-features-gist_previewbridge-enhancements.md
Created January 2, 2026 18:53
PreviewBridge Additional Enhancements (IS_CHANGED, content comparison, debug logging)

PreviewBridge Additional Enhancements

Context: These are additional features developed during the ComfyUI v1.34+ compatibility fix that weren't included in the minimal PR to keep the fix focused. They may be valuable for future improvements.

Original commit: 735c997 (with debug logging and content-based comparison) Minimal PR commit: 92e7173 (clean fix without these features)


1. Content-Based Cache Invalidation (IS_CHANGED)

@djdarcy
djdarcy / comfyui-workflow_fit-mask-to-image.json
Created November 2, 2025 21:47
Fit Mask to Image for ComfyUI
{
"id": "063eb380-3f11-4582-9fdc-c4ab01fb5ecb",
"revision": 0,
"last_node_id": 1098,
"last_link_id": 2788,
"nodes": [
{
"id": 1060,
"type": "Reroute (rgthree)",
"pos": [
@djdarcy
djdarcy / customtags.cfg
Last active February 13, 2024 06:38
Python wrapper for ExifTool that allows users to edit social media URLs in image metadata and can show the XMP/exif details of the image
%Image::ExifTool::UserDefined = (
'Image::ExifTool::XMP::Main' => {
socialMedia => { # This is the namespace prefix
SubDirectory => {
TagTable => 'Image::ExifTool::UserDefined::socialMedia'
},
},
},
);
Verifying that +dustind is my Bitcoin username. You can send me #bitcoin here: https://onename.io/dustind