This PR adds a Github Action (publish-node-action) that will run whenever the pyproject.toml file changes. The pyproject.toml defines the custom node version you want to publish (added in another PR). Action Required: - [x] Make sure the trigger branch (`master` or `main`) in `publish.yaml` matches the branch you want to use as the publishing branch. It will only trigger when the pyproject.toml gets updated on that branch. - [x] Create an api key on the Registry for publishing from Github. [Instructions](https://docs.comfy.org/registry/overview#create-an-api-key-for-publishing). - [x] Add it to your Github Repository Secrets as `REGISTRY_ACCESS_TOKEN`. More info on the [registry](https://comfyregistry.org/). Please message me on [Discord](https://discord.com/invite/comfyorg) if you have any questions!
ComfyUI Better Strings
Strings should be easy, and simple.
This repository aims to provide a set of nodes that make working with strings in ComfyUI a little bit easier.
As it currently stands, it adds a single, extremely basic node: The Better String.
In the future, I hope to add support for better string concatenation as well as simple A1111 style wildcards.
Better String
The Better String node is a simple node that gives you access to a primitive multi-line string.
"But there's already a primitive string node, why do I need this?"
Well, you don't need this. But you might want this if you are sick and tired of your primitive node defaulting to a singleline string and cutting off half of the content that you've entered.
Example:
Convert the filename of the Save Image node to a widget and drag in a primitive string node.
See that, once the string gets sufficiently large, it cuts off half of the string. This is most frustrating when using variables to name files, such as your checkpoint name, datetime, or prompt details.
Now, you can plug in a Better String node and it will automatically default to a multiline string, allowing you to see the entire string.
It also allows you to connect the primitive to rerouting nodes way easier, if you're into that sort of thing.
Installation
Please note: I will be supporting the ComfyUI Registry initiative and you will be able to access my nodes directly through the registry in the future.
Navigate to ComfyUI/custom_nodes in your terminal of choice, then run the following command:
git clone https://github.com/HaydenReeve/ComfyUI-Better-Strings/
That's it!
You'll find my nodes under the heading Better Things 💡