Skip to content

Add pyproject.toml for Custom Node Registry - #1

Open
robinjhuang wants to merge 1 commit into
NidAll:mainfrom
ComfyNodePRs:pyproject
Open

robinjhuang wants to merge 1 commit into
NidAll:mainfrom
ComfyNodePRs:pyproject

Conversation

@robinjhuang

Copy link
Copy Markdown

Hey! My name is Robin and I'm from comfy-org! We would love to have you join the Comfy Registry, a public collection of custom nodes which lets authors publish nodes by version and automate testing against existing workflows.

The registry is already integrated with ComfyUI-Manager, and we want it to be the default place users install nodes from eventually. We do a security-scan of every node to improve safety. Feel free to read up more on the registry here

  • The documentation scaffolding? You can just add the example markdown here into web/docs/MyNode.md

Action Required:

  • Go to the registry. Login and create a publisher id (everything after the @ sign on your registry profile).
  • Add the publisher id into the pyproject.toml file.
  • Merge the separate Github Actions PR, then merge this PR.

If you want to publish the node manually, install the cli by running pip install comfy-cli, then run comfy node publish

Otherwise, if you have any questions, please message me on discord at robinken or join our server!

@NidAll

NidAll commented Mar 7, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1a411f2568

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread pyproject.toml
[project]
name = "promptstyler"
description = "PromptStyler is a custom ComfyUI node that helps you keep your prompts consistent by applying a selected style template to your positive prompt, then outputting CONDITIONING for KSampler."
version = "1.0.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Align pyproject version with released node version

Setting project.version to 1.0.0 here introduces a second, conflicting version source immediately, because this repo’s documented release version is tracked in VERSION/__init__.py (currently 0.3.1) and the release automation config does not bump pyproject.toml; that mismatch will make registry metadata diverge from actual releases and can block subsequent publishes when the registry sees stale or duplicate version numbers.

Useful? React with 👍 / 👎.

Comment thread pyproject.toml
"Bug Tracker" = "https://github.com/NidAll/ComfyUI_PromptStyler/issues"

[tool.comfy]
PublisherId = ""

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Populate required registry PublisherId before merging

Leaving PublisherId as an empty string makes the new registry metadata incomplete, so any publish flow that validates ownership against a publisher account cannot succeed from this commit as-is; this should be filled with the project’s actual registry publisher handle before the file is considered ready.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants