A web application for manager multiple instances of ComfyUI.
- Registration and Setup: Managing the creation, configuration, and setup of new ComfyUI clients.
- Client Authentication: Handling different authentication modes for client security, including username and password management.
- Real-time Monitoring: Monitoring CPU usage, memory usage, and GPU utilization and temperature in real time.
- Event Logging: Logging significant events related to client status changes, such as going offline or online.
- Extension Management: Managing and configuring extensions specific to each client, allowing customization of the client's capabilities.
- User Accounts: Managing user accounts, including roles, authentication (email, password), and financial accounts (balance management).
- Authentication Tokens: Managing authentication tokens for secure access, including master tokens and workflow-specific tokens.
- Token Sharing and Permissions: Facilitating the sharing of access tokens between users and managing permissions for workflows.
- Job Scheduling and Management: Creating and managing jobs with scheduled tasks, allowing automation of routine tasks.
- Task Execution and Monitoring: Executing and monitoring individual tasks within jobs, linked to specific clients or workflows.
- Workflow Creation and Management: Defining and managing sequences of tasks (workflows) that automate complex operations across multiple clients.
- Workflow Execution: Assigning and executing tasks within a workflow on specified clients.
- Workflow Task Tracking: Tracking the progress and status of tasks within workflows.
- Action Logging: Logging actions performed on clients, whether manually triggered or automated through jobs or workflows.
- Event Response Management: Responding to and managing events based on client status, user interactions, or automated triggers.
- Secure Configuration: Managing sensitive information such as user passwords and token details securely.
- Data Integrity and Backups: Ensuring the integrity of data through constraints and relational integrity across tables.
erDiagram
CLIENT ||--o{ CLIENT_MONITOR_EVENT : "monitors"
CLIENT_MONITOR_EVENT ||--o{ CLIENT_MONITOR_GPU : "utilizes"
CLIENT ||--o{ CLIENT_STATUS_EVENT : "logs_status"
CLIENT ||--o{ CLIENT_EXTENSIONS : "installs"
CLIENT_EXTENSIONS }|--|| CLIENT_EXTENSION : "defines"
USER ||--o{ TOKEN : "owns"
TOKEN ||--o{ TOKEN_SHARED : "shared_with"
TOKEN_SHARED ||--|| USER : "shared_to"
USER ||--o{ JOB : "creates"
JOB ||--o{ JOB_ITEM : "initiates"
JOB_ITEM ||--|| WORKFLOW : "triggers"
CLIENT_ACTION_EVENT ||--|| CLIENT : "targets"
CLIENT_ACTION_EVENT ||--o{ USER : "initiated_by"
CLIENT_ACTION_EVENT ||--o{ TOKEN : "authorized_by"
CLIENT_ACTION_EVENT ||--o{ JOB_ITEM : "triggered_by"
USER ||--o{ WORKFLOW : "authors"
WORKFLOW ||--o{ WORKFLOW_TASK : "comprises"
WORKFLOW_TASK ||--|| CLIENT : "executes_on"
WORKFLOW_TASK ||--o{ WORKFLOW_TASK_EVENT : "tracks"
WORKFLOW ||--o{ TOKEN_PERMISSION : "permissions"
TOKEN_PERMISSION ||--|| TOKEN : "permits"
WORKFLOW_EDIT_EVENT ||--|| WORKFLOW : "modifies"
WORKFLOW_EDIT_EVENT ||--|| USER : "edited_by"
USER ||--o{ WORKFLOW_TASK : "triggers"
TOKEN ||--o{ WORKFLOW_TASK : "triggers"
JOB ||--o{ WORKFLOW_TASK : "triggers"
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Tran Cong Tien - [email protected]
Project Link: https://github.com/tctien342/ntr-template