feat: badge feature
bugfix: robust uninstall of .js improve: scanner.py crawl metadata from docstring
This commit is contained in:
19
README.md
19
README.md
@@ -65,6 +65,7 @@ This repository provides Colab notebooks that allow you to install and use Comfy
|
||||
|
||||
|
||||
2. If you click on 'Install Custom Nodes' or 'Install Models', an installer dialog will open.
|
||||
|
||||

|
||||
|
||||
* When the 'Use local DB' feature is enabled, the application will utilize the data stored locally on your device, rather than retrieving node/model information over the internet
|
||||
@@ -81,6 +82,11 @@ This repository provides Colab notebooks that allow you to install and use Comfy
|
||||
* Install: Clicking this button will install the item.
|
||||
* Try Install: This is a custom node of which installation information cannot be confirmed. Click the button to try installing it.
|
||||
|
||||
4. If you set the `Badge:` item in the menu as `Badge: Nickname` or `Badge: #ID Nickname`, the information badge will be displayed on the node.
|
||||
* `Badge: Nickname` displays the nickname of custom nodes, while `Badge: ID Nickname` also includes the internal ID of the node.
|
||||
|
||||

|
||||
|
||||
|
||||
## Custom node support guide
|
||||
|
||||
@@ -104,6 +110,19 @@ NODE_CLASS_MAPPINGS.update({
|
||||
})
|
||||
```
|
||||
|
||||
* When you write a docstring in the header of the .py file for the Node as follows, it will be used for managing the database in the Manager.
|
||||
* Currently, only the `nickname` is being used, but other parts will also be utilized in the future.
|
||||
* The `nickname` will be the name displayed on the badge of the node.
|
||||
* If there is no `nickname`, it will be truncated to 20 characters from the arbitrarily written title and used.
|
||||
```
|
||||
"""
|
||||
@author: Dr.Lt.Data
|
||||
@title: Impact Pack
|
||||
@nickname: Impact Pack
|
||||
@description: This extension offers various detector nodes and detailer nodes that allow you to configure a workflow that automatically enhances facial details. And provide iterative upscaler.
|
||||
"""
|
||||
```
|
||||
|
||||
* **Special purpose files** (optional)
|
||||
* `node_list.js` - When your custom nodes pattern of NODE_CLASS_MAPPINGS is not conventional, it is used to manually provide a list of nodes for reference. ([example](https://github.com/melMass/comfy_mtb/raw/main/node_list.json))
|
||||
* `requirements.txt` - When installing, this pip requirements will be installed automatically
|
||||
|
||||
Reference in New Issue
Block a user