feat: add Pinokio.ai integration for 1-click install and launch

This commit is contained in:
Thomas Kippster
2026-05-03 17:14:11 +02:00
parent e4faef07ef
commit 4a69f5be8e
7 changed files with 94 additions and 4 deletions
+3 -1
View File
@@ -32,10 +32,12 @@ model_hashes.json
# Local config & assets
workflow.json
*.json
!pom.xml
!src/**
*.png
*.bat
*.zip
model_hashes.json
uploaded_models.json
config.json
!src/main/resources/known_good_urls.json
+10 -3
View File
@@ -32,7 +32,13 @@ The "Bridge" is a small extension for ComfyUI that adds a "Send to Downloader" b
## 🚀 Getting Started
### Prerequisites
### ⚡ Quick Install (Pinokio)
If you use [Pinokio](https://pinokio.computer), you can install this app with one click:
1. Open Pinokio and click **Discover**.
2. Search for `ComfyUI Model Downloader` or enter the repository URL.
3. Click **Download** and then **Install**.
### Prerequisites (Manual Install)
* **Java 17 or higher** (Required to run the application)
* **Maven** (Required for building from source)
@@ -45,11 +51,12 @@ The "Bridge" is a small extension for ComfyUI that adds a "Send to Downloader" b
```bash
mvn clean package
```
3. Run the application:
3. Run the application:
```bash
java -jar target/comfyuimodel-downloader-1.0.5.jar
java -jar target/ComfyUIModelDownloader.jar
```
## 📖 How to use
1. **Configure Paths:** Go to **Settings -> Directories** and set your ComfyUI models path and an archive path.
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 514 KiB

+26
View File
@@ -0,0 +1,26 @@
{
"run": [
{
"method": "shell.run",
"params": {
"conda": "env",
"message": "conda install -y -c conda-forge openjdk=17 maven",
"title": "Installing Java & Maven (Local Environment)"
}
},
{
"method": "shell.run",
"params": {
"conda": "env",
"message": "mvn clean package -DskipTests",
"title": "Building Application"
}
},
{
"method": "notify",
"params": {
"html": "Installation complete! The 'Start' button should now be available."
}
}
]
}
+18
View File
@@ -0,0 +1,18 @@
module.exports = {
title: "ComfyUI Model Downloader",
description: "Identify and download missing models for ComfyUI workflows automatically.",
icon: "icon.png",
menu: async (kernel) => {
let installed = await kernel.exists("target/ComfyUIModelDownloader.jar")
let results = [
{ icon: "fa-solid fa-play", text: "Start", href: "start.json" },
{ icon: "fa-solid fa-rotate", text: "Update", href: "update.json" }
]
if (installed) {
results.push({ icon: "fa-solid fa-plug", text: "Reinstall", href: "install.json" })
} else {
results.unshift({ icon: "fa-solid fa-plug", text: "Install", href: "install.json" })
}
return results
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"run": [
{
"method": "shell.run",
"params": {
"conda": "env",
"message": "java --enable-native-access=ALL-UNNAMED -jar target/ComfyUIModelDownloader.jar",
"title": "Running ComfyUI Model Downloader"
}
}
]
}
+25
View File
@@ -0,0 +1,25 @@
{
"run": [
{
"method": "shell.run",
"params": {
"message": "git pull",
"title": "Updating Source Code"
}
},
{
"method": "shell.run",
"params": {
"conda": "env",
"message": "mvn clean package -DskipTests",
"title": "Rebuilding Application"
}
},
{
"method": "notify",
"params": {
"html": "Update complete!"
}
}
]
}