alsritter / py-graph

This service integrates Python node invocation with TypeScript and litegraph.js, offering easy setup and ComfyUI compatibility. It simplifies Python script execution in node-based systems, ideal for efficient and user-friendly node management.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

This project presents a robust service for invoking Python nodes, encapsulated with the power of litegraph.js and TypeScript. It seamlessly integrates with ComfyUI, offering a TypeScript implementation that is both efficient and user-friendly.

Installation and Startup

  1. Install Python Dependencies: Install the required Python packages from requirements.txt.

    pip install -r requirements.txt
  2. Start the Service: Launch the service by running the main.py script.

    python main.py

This initializes the Python Node Invocation Service, integrating it with Litegraph.js and TypeScript.

Features

  • Python Node Invocation: Leverage the flexibility of Python within a node-based architecture.
  • Litegraph.js Integration: Utilize the dynamic node-graph library for creating complex workflows.
  • TypeScript Implementation: Benefit from the strong typing and modern features of TypeScript.
  • ComfyUI Compatibility: Seamlessly integrate with ComfyUI nodes for a cohesive user experience.

About

This service integrates Python node invocation with TypeScript and litegraph.js, offering easy setup and ComfyUI compatibility. It simplifies Python script execution in node-based systems, ideal for efficient and user-friendly node management.


Languages

Language:JavaScript 62.0%Language:TypeScript 23.9%Language:Python 11.4%Language:CSS 2.6%Language:HTML 0.1%