Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df837701d8 | ||
|
|
fcf2a7cf45 | ||
|
|
fcbd54420e | ||
|
|
a08c8768a1 | ||
|
|
0344f8810d | ||
|
|
c49eebb612 | ||
|
|
53046ba6f0 | ||
|
|
aebb758109 | ||
|
|
076bcaa81f | ||
|
|
2899de3eac | ||
|
|
64533183f3 |
@@ -0,0 +1,21 @@
|
|||||||
|
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:
|
||||||
|
## Add your own personal access token to your Github Repository secrets and reference it here.
|
||||||
|
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
|
# Warning: very outdated code, do not use!
|
||||||
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
Version: 2.0.0
|
|
||||||
- 10-11-2023 - Initial Release
|
|
||||||
- 11-11-2023 - Added Seed Modifier
|
|
||||||
- 12-11-2023 - Modified Seed node to accept expressions
|
|
||||||
- 13-11-2023 - Added Latent Noise Provider (Transforming Ambient RF Signals using `RTL_TCP` as noise)
|
|
||||||
|
|
||||||
|
|
||||||
# ZSuite - Prompter
|
# ZSuite - Prompter
|
||||||
@@ -16,7 +15,7 @@ Example line:
|
|||||||
|
|
||||||
`__preamble__ painting by __artist__`
|
`__preamble__ painting by __artist__`
|
||||||
|
|
||||||
This prompt will be processed with random line form the file called `preamble.txt` and `artists.txt` in the folder:
|
This prompt will be processed with random line fetched from a file called `preamble.txt` and `artists.txt` in the folder:
|
||||||
|
|
||||||
`.\comfyui\custom_nodes\Zephys\nodes\blocks\*.txt`
|
`.\comfyui\custom_nodes\Zephys\nodes\blocks\*.txt`
|
||||||
|
|
||||||
@@ -27,7 +26,7 @@ I often myself use a `Counter` node that comes almost by default for math operat
|
|||||||
me to make sure the `Prompter` gets processed each time you hit `Generate`.
|
me to make sure the `Prompter` gets processed each time you hit `Generate`.
|
||||||
|
|
||||||
|
|
||||||
# ZSuite - RF Node (Testing Phase)
|
# ZSuite - RF Node (PoC)
|
||||||
|
|
||||||
- *This section explains the functioning of the RF Node within ZSuite, emphasizing the need for an RTL-SDR device, server setup, and predefined configurations.
|
- *This section explains the functioning of the RF Node within ZSuite, emphasizing the need for an RTL-SDR device, server setup, and predefined configurations.
|
||||||
the rtl_tcp is an I/Q spectrum server for RTL2832 based DVB-T receivers*
|
the rtl_tcp is an I/Q spectrum server for RTL2832 based DVB-T receivers*
|
||||||
@@ -54,7 +53,7 @@ To facilitate communication with the RTL-SDR device, a server must be set up. Th
|
|||||||
1. **RTL_TCP Installation:**
|
1. **RTL_TCP Installation:**
|
||||||
- Follow the Debian-specific instructions provided in the [RTL_TCP Manpage](https://manpages.debian.org/testing/rtl-sdr/rtl_tcp.1.en.html).
|
- Follow the Debian-specific instructions provided in the [RTL_TCP Manpage](https://manpages.debian.org/testing/rtl-sdr/rtl_tcp.1.en.html).
|
||||||
- Execute the command: `rtl_tcp -a <ip> -p <port> -d 0` to initiate the service on the specified IP and port.
|
- Execute the command: `rtl_tcp -a <ip> -p <port> -d 0` to initiate the service on the specified IP and port.
|
||||||
- The IP is to be expected either localhost (safe) or outside ip address for servibbg outside your network.
|
- The IP is to be expected either localhost (safe) or outside ip address for serving outside your network.
|
||||||
- Port can be anything you wish, I do advice to use a high-range, because in Linux environment most ports lower then `< 1024` are reserved and restricted.
|
- Port can be anything you wish, I do advice to use a high-range, because in Linux environment most ports lower then `< 1024` are reserved and restricted.
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
@@ -89,6 +89,7 @@ class ZSuiteNoise:
|
|||||||
return (s,)
|
return (s,)
|
||||||
|
|
||||||
def collect_rtl_noise(self, host, port, duration):
|
def collect_rtl_noise(self, host, port, duration):
|
||||||
|
try:
|
||||||
# Collect RTL-SDR noise data from specified host and port
|
# Collect RTL-SDR noise data from specified host and port
|
||||||
print(f"[ZSuite] Opening connection...")
|
print(f"[ZSuite] Opening connection...")
|
||||||
|
|
||||||
@@ -111,6 +112,9 @@ class ZSuiteNoise:
|
|||||||
noise_data = self.collect_data(s, duration)
|
noise_data = self.collect_data(s, duration)
|
||||||
|
|
||||||
return self.prepare_noise(noise_data)
|
return self.prepare_noise(noise_data)
|
||||||
|
except Exception as e:
|
||||||
|
print(f"[ZSuite] Error caught: {e}")
|
||||||
|
return np.array([]), np.array([])
|
||||||
|
|
||||||
def send_command(self, sock, opcode, value):
|
def send_command(self, sock, opcode, value):
|
||||||
# Send command to the RTL-SDR device
|
# Send command to the RTL-SDR device
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
[project]
|
||||||
|
name = "zsuite"
|
||||||
|
description = "Nodes:Prompter, RF Noise, SeedMod."
|
||||||
|
version = "1.0.0"
|
||||||
|
license = "LICENSE"
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
Repository = "https://github.com/TheBarret/ZSuite"
|
||||||
|
# Used by Comfy Registry https://comfyregistry.org
|
||||||
|
|
||||||
|
[tool.comfy]
|
||||||
|
PublisherId = ""
|
||||||
|
DisplayName = "ZSuite"
|
||||||
|
Icon = ""
|
||||||
Reference in New Issue
Block a user