Hostile 99% comfyui Download

comfyui-camera-prompt-presets 0.1.0

Legitimate ComfyUI node

Basename is uppercase README.mdPython JSON parsing or serialization reference
SHA-256d443e490198a29776e7cd93021e0543dd9fb368bda3c2f17cbe741ecb5f61cc2

Evidence

GitHub raw-content URL README.md · lines 1–7
1:16… mera Prompt Presets — ComfyUI
2
3<p align="center">
4 <img src="https://raw.githubusercontent.com/cyberdeliaAI/comfyui-cyberdelia-metadata/main/assets/icon.png" alt="Cyberdelia AI Lab" width="200">
5</p>
6
7[![Tests](https://github.com/cyberdeliaAI/ComfyUI-Camera-Prompt-Presets/actions/workflows/tests.yml/badge.svg)](https://github.com/cyberdeliaAI/ComfyUI-Camer …
At least four Markdown section headings README.md · lines 10–26
10:85… blishers/cyberdelia)
11
12Choose a **JSON library** and a **named camera or photographic-process preset** from a dropdown. The node appends the selected camera suffix, or leaves the base prompt unchanged when **None (no camera prompt)** is selected.
13
14## Installation
15
161. With GitHub access to this private repository, open a terminal in your ComfyUI `custom_nodes` directory.
172. Clone the repository:
18
19 ```bash
20 git clone https://github.com/cyberdeliaAI/ComfyUI-Camera-Prompt-Presets.git
21 ```
22
23 Or download ZIP via GitHub **Code → Download ZIP** and extract the folder into `ComfyUI/custom_nodes/`. For a private repository, GitHub authentication is required.
243. Restart ComfyUI and refresh the browser (hard refresh if needed).
254. Add node **prompt → camera → Camera Prompt Presets (JSON)**.
265. …
imports web from aiohttp nodes.py · lines 4–22
4:45… put/camera_prompt_presets.
5"""
6
7from __future__ import annotations
8
9import hashlib
10import json
11import os
12import re
13import tempfile
14from pathlib import Path
15
16import folder_paths
17from aiohttp import web
18from server import PromptServer
19
20NODE_FOLDER = Path(__file__).resolve().parent
21BUNDLED_FOLDER = NODE_FOLDER / "libraries"
22UPLOAD_FOLDER = Path(folder_paths.get_input_director …
Parses JSON data with Python nodes.py · lines 50–55
50:34… ES:
51 raise ValueError("JSON file exceeds the 2 MB limit")
52 try:
53 raw = json.loads(data.decode("utf-8-sig"))
54 except (UnicodeError, json.JSONDecodeError) as exc:
55 raise ValueError(f"Invalid UTF-8 JSON …
Python set() construction nodes.py · lines 61–67
61:37… ains more than {MAX_PRESETS} presets")
62
63 normalized = []
64 seen = set()
65 for i, item in enumerate(raw, start=1):
66 if not isinstance(item, dict):
67 raise ValueError(f"Preset #{i} m …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.