From d75f73af2dab458a81f322f9ecc05a3624142e87 Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Sun, 21 Jun 2026 12:51:54 +0200 Subject: [PATCH] chore: scaffold ComfyUI-Datasete-Gates package Co-Authored-By: Claude Opus 4.8 --- __init__.py | 7 +++++++ gates/__init__.py | 0 gates/node.py | 3 +++ gates/routes.py | 1 + pyproject.toml | 9 +++++++++ requirements.txt | 0 tests/__init__.py | 0 web/grid_image_pool.js | 2 ++ 8 files changed, 22 insertions(+) create mode 100644 __init__.py create mode 100644 gates/__init__.py create mode 100644 gates/node.py create mode 100644 gates/routes.py create mode 100644 pyproject.toml create mode 100644 requirements.txt create mode 100644 tests/__init__.py create mode 100644 web/grid_image_pool.js diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..61aa0a0 --- /dev/null +++ b/__init__.py @@ -0,0 +1,7 @@ +"""ComfyUI-Datasete-Gates — custom nodes.""" +from .gates.node import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS +from .gates import routes # noqa: F401 (registers aiohttp routes on import) + +WEB_DIRECTORY = "./web" + +__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"] diff --git a/gates/__init__.py b/gates/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/gates/node.py b/gates/node.py new file mode 100644 index 0000000..d3d66cc --- /dev/null +++ b/gates/node.py @@ -0,0 +1,3 @@ +# gates/node.py — stub (filled in Task 9) +NODE_CLASS_MAPPINGS = {} +NODE_DISPLAY_NAME_MAPPINGS = {} diff --git a/gates/routes.py b/gates/routes.py new file mode 100644 index 0000000..91f44aa --- /dev/null +++ b/gates/routes.py @@ -0,0 +1 @@ +# gates/routes.py — stub (filled in Task 10) diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..d9cfe45 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,9 @@ +[project] +name = "comfyui-datasete-gates" +version = "0.1.0" +description = "Dataset Gates — Image Pool (Grid) node for ComfyUI" +requires-python = ">=3.10" + +[tool.comfy] +PublisherId = "ethanfel" +DisplayName = "ComfyUI Datasete Gates" diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e69de29 diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/web/grid_image_pool.js b/web/grid_image_pool.js new file mode 100644 index 0000000..aa3e0d6 --- /dev/null +++ b/web/grid_image_pool.js @@ -0,0 +1,2 @@ +import { app } from "../../scripts/app.js"; +app.registerExtension({ name: "datasete.gates.imagepool" });