diff --git a/.github/workflows/publish_action.yml b/.github/workflows/publish_action.yml
new file mode 100644
index 0000000..e3c5c78
--- /dev/null
+++ b/.github/workflows/publish_action.yml
@@ -0,0 +1,20 @@
+name: Publish to Comfy registry
+on:
+ workflow_dispatch:
+ push:
+ branches:
+ - main
+ paths:
+ - "pyproject.toml"
+
+jobs:
+ publish-node:
+ name: Publish Custom Node to registry
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check out code
+ uses: actions/checkout@v4
+ - name: Publish Custom Node
+ uses: Comfy-Org/publish-node-action@main
+ with:
+ personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} ## Add your own personal access token to your Github Repository secrets and reference it here.
diff --git a/README.md b/README.md
index ba5cd10..2a30560 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,94 @@
-# Endless-Buttons
-Some basic custom JavaScript files for the ComfyUI user interface
+# Endless Sea of Stars Buttons
+
+Some basic custom JavaScript files for the ComfyUI user interface. Features:
+
++ Fontifier: a script that allows you to change fonts and font sizes for ComfyUI nodes
++ More to come (maybe)
+
+When using the [ComfyUI](https://github.com/comfyanonymous/ComfyUI) interface for AI art generation, I sometimes find that the standard nodes and the many custom nodes out there don't work the way I want them to, or how I think they should.
+
+Rightly or wrongly, I was teaching myself a bit of Python back in 2023 to get some nodes up and running to do what I'd like, and I now I am doing the same for JavaScript. Yes, I am using ChatGPT, Copilot, Claude and others, and yes, I am a glutton for punishment. There are no promises that these scripts will work for you or that I will maintain them. Feel free to do with them as you wish, according to the license model.
+
+***
+**UPDATE: JUL 20, 2025**
+
++ **Cloned the scripts from [Endless Sea of Stars Nodes](https://github.com/tusharbhutt/Endless-Nodes) so you can just download the scripts if you want**
++ Added the Endless πβ¨ Tools button to taskbar. This acts as a centralized repository of all my scripts
++ Introduced the Endless πβ¨ Fontifier, a script that allows you to dynamically change fonts and sizes.
+ + No need to dive into CSS to change text size
+ + Allows changes to the title areas, connector text, widgets, and more
+ + Adjust the height of the title bar and other areas too, to accommodate the new font size
+
+## Installation Instructions
+
+Itβs preferable to install from the ComfyUI Node Manager, but for direct installation, do this:
+
++ Navigate to your /ComfyUI/custom_nodes/ folder
++ In Windows, you can then right-click to start a command prompt and type:
+
+`git clone https://github.com/tusharbhutt/Endless-Buttons`
+
+If installed correctly, you should see a button in the main ComfyUI taskbar that look like this:
+
+Endless πβ¨ Tools
+
+and when you click it, a floating toolbar with available scripts will be enabled. **DON'T SEE THE BUTTON IN THE TOOLBAR? PRESS CTRL-ALT-E TO BRING THE TOOLBAR**
+
+***
+## Assistance Requests
+
+I am not a programmer, nor do I care to be. I have a fulltime job that eats up 50-60 hours a week and I made these scripts for myself. Iβve tested the scripts on my system and uploaded them as they seem to work. They may or may not work for you or on your system.
+
+If you have issues, ask me **nicely** for help. Your tone matters; I'm too old and tired to pay attention to people who think I blew up their machines, and if how I react to you if you are difficult bothers you, some self-reflection is in order on your part. You are not "forthright" or "honest" or "direct", you're merely an ass if you think badgering people is justifiable to get what you want. The world has too many assholes, don't make me think you're another one.
+***
+
+## Button List
+
+ A helper script places a button on your task bar called "Endless πβ¨ Tools":
+
+
+
+**IF YOU DO NOT SEE IT, PRESS CTRL-ALT-E TO BRING UP A FLOATING TOOLBAR THAT CAN BE MOVED AROUND** This is the central toolbar that contains all the scripts I have made for this collection
+
+
+### Endless πβ¨ Fontifier
+
+I always found it odd that in the early days of ComfyUI, you could not change the font size for various node elements. Sure you could manually go into the CSS styling in a user file, but that is not user friendly. Later versions have allowed you to change the widget text size, but that's it. Yes, you can zoom in, but... now you've lost your larger view of the workflow. If you have a 4K monitor and old eyes, too bad so sad for you. Click the Endless πβ¨ Tools button to bring up the floating toolbar and you should see a choice for "πβ¨ Fontifier". Clicking it shows the dialog box below:
+
+
+
+
+
+Drag the box around by clicking and holding the title. To cancel, you can simply click outside the dialog box or press the escape key. With this dialog box, you can do the following:
+
++ Globally change the font size for all text elements
++ Change the fonts themselves
++ Instead of a global change, select various elements to resize
++ Adjust the height of the title bar or connectors and other input areas
+
+
+Once you make your changes, you can preview them and then choose to apply or cancel. Changed your mind? Load the box again and press the reset key.
+
+
+
+
+***
+## Usage License and Restrictions
+
+See [GPL Licensing V3](https://www.gnu.org/licenses/gpl-3.0.en.html#license-text) for usage. You may modify this code as long as you keep the credits for this repository and for those noted in the credit section below. **YOU ARE EXPRESSLY FORBIDDEN FROM USING THESE SCRIPTS TO CREATE ANY IMAGES OR ARTWORK THAT VIOLATES THE STABLE DIFFUSION [ACCEPTABLE USE POLICY](https://stability.ai/use-policy) OR THE USAGE POLICY FROM [BLACK FOREST LABS](https://bfl.ai/legal/usage-policy).**
+
+For example, don't be a mouth-breather who creates fake nudes or sexual content of **anyone, even if you have their consent**. JUST. DONβT. BE. AN. ASSHOLE. I call this my "Don't Be an Assholeβ’" licensing model (I'm kidding about the trademark but not about the message).
+
+The author expressly disclaims any liability for any images you create using these nodes.
+***
+## Disclaimer
+
+These scripts may or may not be maintained. They work on my system but may not on yours. Feel free to send in a bug report if you find one!
+***
+## Credits
+
++ Inspiration for the Fontifier came from having old eyes and a 4K screen
++ Anthropic Claude and OpenAI ChatGPT are actively used for coding creation/assistance
++ Thanks to all the node and script creators out there, most who toil away with little or no appreciation
+
+#
\ No newline at end of file
diff --git a/__init__.py b/__init__.py
new file mode 100644
index 0000000..76a0fe6
--- /dev/null
+++ b/__init__.py
@@ -0,0 +1,16 @@
+# buttons/__init__.py
+
+
+# =========================
+# π Set JavaScript
+# =========================
+
+WEB_DIRECTORY = "./web/"
+
+# Version info
+__version__ = "1.0.2"
+
+print("\n===============================")
+print(f"Endless Sea of Stars Buttons v{__version__} loaded successfully! π ")
+print("Endless πβ¨ Tools menu: Ctrl+Alt+E if toolbar button is missing")
+print("===============================\n")
\ No newline at end of file
diff --git a/changlelog.md b/changlelog.md
new file mode 100644
index 0000000..6b21c87
--- /dev/null
+++ b/changlelog.md
@@ -0,0 +1 @@
+July 20/25, V1.0.2: Introducing the Endless Fontifier, a JavaScript file that adds allows the user to change font sizes and fonts for various text elements on the ComfyUI interface.
diff --git a/img/endlesstools.png b/img/endlesstools.png
new file mode 100644
index 0000000..32bbbcc
Binary files /dev/null and b/img/endlesstools.png differ
diff --git a/img/fontifierbox.png b/img/fontifierbox.png
new file mode 100644
index 0000000..deb8ebf
Binary files /dev/null and b/img/fontifierbox.png differ
diff --git a/img/fontifiernode.png b/img/fontifiernode.png
new file mode 100644
index 0000000..4158775
Binary files /dev/null and b/img/fontifiernode.png differ
diff --git a/img/icon.png b/img/icon.png
new file mode 100644
index 0000000..40f439b
Binary files /dev/null and b/img/icon.png differ
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..2418de2
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,15 @@
+[project]
+name = "endless-buttons"
+description = "A small set of JavaScript files I created for myself. The scripts provide Quality of Life enhancements to the ComfyUI interface, such as changing fonts and font sizes."
+version = "1.0.2"
+license = { file = "LICENSE" }
+dependencies = ""
+
+[project.urls]
+Repository = "https://github.com/tusharbhutt/Endless-Buttons"
+# Used by Comfy Registry https://comfyregistry.org
+
+[tool.comfy]
+PublisherId = "tusharbhutt"
+DisplayName = "Endless πβ¨ Butons"
+Icon = "https://raw.githubusercontent.com/tusharbhutt/Endless-Buttons/main/img/icon.png"
diff --git a/web/endless_fontifier.js b/web/endless_fontifier.js
new file mode 100644
index 0000000..6a790b2
--- /dev/null
+++ b/web/endless_fontifier.js
@@ -0,0 +1,460 @@
+// ComfyUI Endless πβ¨ Fontifier - Fixed Version
+import { registerEndlessTool } from './endless_ui_helpers.js';
+
+(function() {
+ 'use strict';
+
+ // Store original ComfyUI default values for reset functionality
+ const originalValues = {
+ NODE_TEXT_SIZE: 14,
+ NODE_SUBTEXT_SIZE: 12,
+ NODE_TITLE_HEIGHT: 30,
+ DEFAULT_GROUP_FONT: 24,
+ NODE_FONT: 'Arial',
+ NODE_SLOT_HEIGHT: 20,
+ NODE_WIDGET_HEIGHT: 20,
+ WIDGET_TEXT_SIZE: 12 // Added widget text size to original values
+ };
+
+ // Current values (will be updated as user changes them)
+ let currentValues = { ...originalValues };
+
+ // Values when dialog opens (for cancel/preview rollback)
+ let dialogOpenValues = {};
+
+ // Get ComfyUI theme colors
+ function getComfyUIColors() {
+ const computedStyle = getComputedStyle(document.documentElement);
+ return {
+ background: computedStyle.getPropertyValue('--comfy-menu-bg') || '#353535',
+ backgroundSecondary: computedStyle.getPropertyValue('--comfy-input-bg') || '#222',
+ border: computedStyle.getPropertyValue('--border-color') || '#999',
+ text: computedStyle.getPropertyValue('--input-text') || '#ddd',
+ textSecondary: computedStyle.getPropertyValue('--descrip-text') || '#999',
+ accent: computedStyle.getPropertyValue('--comfy-menu-bg') || '#0f0f0f'
+ };
+ }
+
+ function makeDraggable(dialog) {
+ const header = dialog.querySelector('h2');
+ if (!header) return;
+
+ let offsetX = 0, offsetY = 0, isDown = false;
+
+ header.style.cursor = 'move';
+ header.style.userSelect = 'none';
+
+ header.onmousedown = (e) => {
+ e.preventDefault();
+ isDown = true;
+
+ const rect = dialog.getBoundingClientRect();
+ offsetX = e.clientX - rect.left;
+ offsetY = e.clientY - rect.top;
+
+ const onMouseMove = (e) => {
+ if (!isDown) return;
+ e.preventDefault();
+ dialog.style.left = `${e.clientX - offsetX}px`;
+ dialog.style.top = `${e.clientY - offsetY}px`;
+ dialog.style.transform = 'none';
+ };
+
+ const onMouseUp = () => {
+ isDown = false;
+ document.removeEventListener('mousemove', onMouseMove);
+ document.removeEventListener('mouseup', onMouseUp);
+ };
+
+ document.addEventListener('mousemove', onMouseMove);
+ document.addEventListener('mouseup', onMouseUp);
+ };
+ }
+
+ // Function to capture current ComfyUI settings
+ function captureCurrentSettings() {
+ const settings = {
+ NODE_TEXT_SIZE: (typeof LiteGraph !== 'undefined' && LiteGraph.NODE_TEXT_SIZE) ? LiteGraph.NODE_TEXT_SIZE : originalValues.NODE_TEXT_SIZE,
+ NODE_SUBTEXT_SIZE: (typeof LiteGraph !== 'undefined' && LiteGraph.NODE_SUBTEXT_SIZE) ? LiteGraph.NODE_SUBTEXT_SIZE : originalValues.NODE_SUBTEXT_SIZE,
+ NODE_TITLE_HEIGHT: (typeof LiteGraph !== 'undefined' && LiteGraph.NODE_TITLE_HEIGHT) ? LiteGraph.NODE_TITLE_HEIGHT : originalValues.NODE_TITLE_HEIGHT,
+ DEFAULT_GROUP_FONT: (typeof LiteGraph !== 'undefined' && LiteGraph.DEFAULT_GROUP_FONT) ? LiteGraph.DEFAULT_GROUP_FONT : originalValues.DEFAULT_GROUP_FONT,
+ NODE_FONT: (typeof LiteGraph !== 'undefined' && LiteGraph.NODE_FONT) ? LiteGraph.NODE_FONT : originalValues.NODE_FONT,
+ NODE_SLOT_HEIGHT: (typeof LiteGraph !== 'undefined' && LiteGraph.NODE_SLOT_HEIGHT) ? LiteGraph.NODE_SLOT_HEIGHT : originalValues.NODE_SLOT_HEIGHT,
+ WIDGET_TEXT_SIZE: currentValues.WIDGET_TEXT_SIZE // Get current widget text size
+ };
+
+ console.log('πΈ Captured current settings:', settings);
+ return settings;
+ }
+
+ function createFontifierDialog() {
+ // Remove existing dialog if present
+ const existingDialog = document.getElementById('fontifier-dialog');
+ if (existingDialog) {
+ existingDialog.remove();
+ }
+
+ // Capture current settings when dialog opens
+ currentValues = captureCurrentSettings();
+ dialogOpenValues = { ...currentValues };
+
+ const colors = getComfyUIColors();
+
+ // Create dialog container
+ const dialog = document.createElement('div');
+ dialog.id = 'fontifier-dialog';
+ dialog.className = 'comfyui-dialog';
+ dialog.style.cssText = `
+ position: fixed;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ background: ${colors.background};
+ border: 1px solid ${colors.border};
+ border-radius: 8px;
+ padding: 20px;
+ z-index: 10000;
+ width: 520px;
+ max-height: 80vh;
+ overflow-y: auto;
+ font-family: Arial, sans-serif;
+ box-shadow: 0 4px 12px rgba(0,0,0,0.3);
+ color: ${colors.text};
+ `;
+
+ // Create backdrop - REMOVE the onclick handler to prevent accidental cancellation
+ const backdrop = document.createElement('div');
+ backdrop.className = 'comfyui-backdrop';
+ backdrop.style.cssText = `
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: rgba(0,0,0,0.5);
+ z-index: 9999;
+ `;
+ // Removed the onclick handler to prevent accidental cancellation
+
+ dialog.innerHTML = `
+
+
πβ¨ Endless Fontifier
+
+
+
+
+
Global Scale
+
+
+
+
+
+
+
+
+
Font Family
+
+
+
+
+
Text Element Sizes
+
+
+
+
The main title text at the top of each node (e.g., "KSampler", "VAE Decode")
+
+
+
+
+
+
+
+
+
Text inside nodes: parameter names and values (e.g., "steps: 20", "cfg: 8.0")
+
+
+
+
+
+
+
+
Font size for text inside input boxes, dropdowns, and textareas in nodes.
+
+
+
+
+
+
+
+
+
Height of the colored title bar area at the top of nodes
+
+
+
+
+
+
+
+
+
Height of input/output connection points on node sides
+
+
+
+
+
+
+
+
+
Text size for node group labels (when nodes are grouped together)