diff --git a/.claude/settings.json b/.claude/settings.json index 5718cd8..35bb0a5 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -7,7 +7,47 @@ "PowerShell($f = \"$PWD\\\\public\\\\app.js\"; $txt = [IO.File]::ReadAllText\\($f, [Text.UTF8Encoding]::new\\($false\\)\\); $orig = [Text.Encoding]::GetEncoding\\(1252\\).GetBytes\\($txt\\); $fixed = [Text.UTF8Encoding]::new\\($false, $true\\).GetString\\($orig\\); [IO.File]::WriteAllText\\($f, $fixed, [Text.UTF8Encoding]::new\\($false\\)\\); \"mojibake left: \" + \\([regex]::Matches\\($fixed, 'Ã|Â'\\).Count\\); \"umlauts: \" + \\([regex]::Matches\\($fixed, '[äöüÄÖÜß–…→]'\\).Count\\); node --check public/app.js; if \\($?\\) { 'OK' })", "PowerShell($c = Get-NetTCPConnection -LocalPort 4848 -State Listen -ErrorAction SilentlyContinue; foreach \\($x in $c\\) { Get-CimInstance Win32_Process -Filter \"ProcessId=$\\($x.OwningProcess\\)\" | Select-Object ProcessId, CreationDate, CommandLine, ExecutablePath | Format-List }; \\(Get-Item server.js\\).LastWriteTime; try { \\(Invoke-WebRequest -UseBasicParsing -Method Post -Uri 'http://127.0.0.1:4848/api/projects/xyz/git-init' -Headers @{Origin='http://127.0.0.1:4848'} -ContentType 'application/json' -Body '{}'\\).Content } catch { $_.Exception.Response.StatusCode; \\(New-Object IO.StreamReader\\($_.Exception.Response.GetResponseStream\\(\\)\\)\\).ReadToEnd\\(\\).Substring\\(0,120\\) })", "Bash(node --check server.js)", - "Bash(node -e ' *)" + "Bash(node -e ' *)", + "Bash(dotnet build *)", + "PowerShell(Get-WinEvent -FilterHashtable @{LogName='Application'; StartTime=\\(Get-Date\\).AddMinutes\\(-5\\)} -ErrorAction SilentlyContinue | Where-Object { $_.ProviderName -match '.NET Runtime|Application Error' } | Select-Object -First 3 TimeCreated, ProviderName, @{n='Msg';e={$_.Message.Substring\\(0, [Math]::Min\\(700, $_.Message.Length\\)\\)}} | Format-List | Out-String)", + "Bash(node \"C:/Users/michi/AppData/Local/Temp/claude/ceece1c6836b1bae/0c1f0151-e9cb-4890-b89a-0c602c20e9a7/scratchpad/cdp.js\")", + "Bash(reg query *)", + "Bash(git push *)", + "Bash(grep -n \"^\\\\s*main\\\\b\\\\|main {\\\\|\\\\.view\\\\b\\\\|\\\\.view {\\\\|\\\\.view\\\\.active\\\\|overflow\\\\|body\\\\.simple\\\\|\\\\.board\\\\b\\\\|#board\\\\b\\\\|html, body\\\\|height: 100\" public/index.html)", + "Bash(node -p \"require\\('./package.json'\\).version + ' | ' + require\\('./package.json'\\).name\")", + "Bash(node --check public/app.js)", + "Bash(grep -nE \"'[^']*[äöüßÄÖÜ][^']*'|\\\\`[^\\\\`]*[äöüßÄÖÜ][^\\\\`]*\\\\`|\\\\\"[^\\\\\"]*[äöüßÄÖÜ][^\\\\\"]*\\\\\"\" public/app.js)", + "Bash(grep -cE \"'[A-ZÄÖÜ][a-zäöü]+|\\\\`[^\\\\`]*[A-ZÄÖÜ][a-zäöü]{3}\" public/app.js)", + "Bash(grep -nE \"initUiMode|themeSeg|setTheme|load\\\\\\(\\\\\\)|^load\\\\\\(|checkVersion\\\\\\(\\\\\\)$|DOMContentLoaded|window.addEventListener\\\\\\('load'|applyUiMode\" public/app.js)", + "Bash(node --check public/i18n.js)", + "Bash(node --check public/lang.js)", + "Bash(node -e 'global.window={};require\\(\"./public/lang.js\"\\);const L=window.LANG;const en=Object.keys\\(L.en\\),de=Object.keys\\(L.de\\);console.log\\(\"en\",en.length,\"de\",de.length,\"| en\\\\\\\\de\",en.filter\\(k=>!\\(k in L.de\\)\\),\"| de\\\\\\\\en\",de.filter\\(k=>!\\(k in L.en\\)\\)\\)')", + "Bash(node -e 'global.window={};require\\(\"./public/lang.js\"\\);const L=window.LANG;const en=Object.keys\\(L.en\\),de=Object.keys\\(L.de\\);console.log\\(\"en\",en.length,\"de\",de.length,\"diff\",en.filter\\(k=>!\\(k in L.de\\)\\).concat\\(de.filter\\(k=>!\\(k in L.en\\)\\)\\)\\)')", + "Bash(node -e 'global.window={};require\\(\"./public/lang.js\"\\);const L=window.LANG;console.log\\(\"en\",Object.keys\\(L.en\\).length,\"de\",Object.keys\\(L.de\\).length,\"diff\",Object.keys\\(L.en\\).filter\\(k=>!\\(k in L.de\\)\\).concat\\(Object.keys\\(L.de\\).filter\\(k=>!\\(k in L.en\\)\\)\\)\\)')", + "Bash(grep -nE \"'[^']*[äöüßÄÖÜ][^']*'|\\\\`[^\\\\`]*[äöüßÄÖÜ][^\\\\`]*\\\\`\" public/app.js)", + "Bash(node -e 'global.window={};require\\(\"./public/lang.js\"\\);const L=window.LANG;console.log\\(\"en\",Object.keys\\(L.en\\).length,\"de\",Object.keys\\(L.de\\).length\\)')", + "Bash(grep -vE \"I18N\\\\.locale|localeCompare|'de'|comment|//\")", + "Bash(node -e \"try{require.resolve\\('playwright'\\);console.log\\('playwright OK'\\)}catch{console.log\\('no playwright local'\\)}\")", + "Bash(node -e \"try{require.resolve\\('puppeteer'\\);console.log\\('puppeteer OK'\\)}catch{console.log\\('no puppeteer local'\\)}\")", + "Bash(curl -s -o /dev/null -w \"%{http_code}\" http://127.0.0.1:4848/)", + "Bash(node /d/Oculusquest/Projekt/_Tools/Itch/itch_screens.mjs set-shots.json)", + "Bash(node /d/Oculusquest/Projekt/_Tools/Itch/itch_screens.mjs variant-shots.json)", + "Bash(node /d/Oculusquest/Projekt/_Tools/Itch/itch_screens.mjs act-shots.json)", + "Bash(node -e 'global.window={};require\\(\"./public/lang.js\"\\);const L=window.LANG;console.log\\(\"parity en\",Object.keys\\(L.en\\).length,\"de\",Object.keys\\(L.de\\).length,\"diff\",Object.keys\\(L.en\\).filter\\(k=>!\\(k in L.de\\)\\).concat\\(Object.keys\\(L.de\\).filter\\(k=>!\\(k in L.en\\)\\)\\)\\)')", + "Bash(node /d/Oculusquest/Projekt/_Tools/Itch/itch_screens.mjs help-shots.json)", + "Bash(node --check lib/settings.js)", + "Bash(node -e 'global.window={};require\\(\"./public/lang.js\"\\);const L=window.LANG;console.log\\(\"parity\",Object.keys\\(L.en\\).length,Object.keys\\(L.de\\).length,\"diff\",Object.keys\\(L.en\\).filter\\(k=>!\\(k in L.de\\)\\).concat\\(Object.keys\\(L.de\\).filter\\(k=>!\\(k in L.en\\)\\)\\)\\)')", + "Bash(node -e 'global.window={};require\\(\"./public/lang.js\"\\);const L=window.LANG;const html=require\\(\"fs\"\\).readFileSync\\(\"public/index.html\",\"utf8\"\\);const keys=new Set\\(\\);for\\(const m of html.matchAll\\(/data-i18n\\(?:-html|-title|-placeholder\\)?=\"\\([^\"]+\\)\"/g\\)\\)keys.add\\(m[1]\\);const miss=[...keys].filter\\(k=>!\\(k in L.en\\)\\);console.log\\(\"parity\",Object.keys\\(L.en\\).length,Object.keys\\(L.de\\).length,\"diff\",Object.keys\\(L.en\\).filter\\(k=>!\\(k in L.de\\)\\).concat\\(Object.keys\\(L.de\\).filter\\(k=>!\\(k in L.en\\)\\)\\)\\);console.log\\(\"html missing:\",miss\\)')", + "Bash(node /d/Oculusquest/Projekt/_Tools/Itch/itch_screens.mjs tour-shots.json)", + "PowerShell(winget install --id JRSoftware.InnoSetup -e --silent --accept-package-agreements --accept-source-agreements --disable-interactivity 2>&1 | Select-Object -Last 6; Get-ChildItem \"C:\\\\Program Files \\(x86\\)\\\\Inno Setup 6\\\\ISCC.exe\",\"C:\\\\Program Files\\\\Inno Setup 6\\\\ISCC.exe\",\"$env:LOCALAPPDATA\\\\Programs\\\\Inno Setup 6\\\\ISCC.exe\" -ErrorAction SilentlyContinue | Select-Object FullName)", + "Bash(node -p \"require\\('./package.json'\\).version\")", + "Bash('/c/Users/michi/AppData/Local/Programs/Inno Setup 6/ISCC.exe' /Q /DAppVer=__CMDSUB_OUTPUT__ installer/ProjectDashboard.iss)", + "PowerShell($v = \\(Get-Content package.json -Raw | ConvertFrom-Json\\).version; & \"$env:LOCALAPPDATA\\\\Programs\\\\Inno Setup 6\\\\ISCC.exe\" /Q \"/DAppVer=$v\" installer\\\\ProjectDashboard.iss; \"EXIT $LASTEXITCODE\"; Get-ChildItem release | Select-Object Name, @{n='MB';e={[math]::Round\\($_.Length/1MB,1\\)}}, LastWriteTime)", + "PowerShell(Get-Process ProjectDashboard -ErrorAction SilentlyContinue | Select-Object Id, Path; \"---\"; Test-Path \"$env:LOCALAPPDATA\\\\ProjectDashboard\"; Get-ChildItem \"$env:LOCALAPPDATA\\\\ProjectDashboard\" -ErrorAction SilentlyContinue | Select-Object Name)", + "PowerShell($err = $null; [void][System.Management.Automation.Language.Parser]::ParseFile\\(\\(Resolve-Path build.ps1\\), [ref]$null, [ref]$err\\); \"parse errors: $\\($err.Count\\)\"; py -3.12 ..\\\\_Tools\\\\Itch\\\\itch_check.py docs\\\\itchio --upload release\\\\ProjectDashboard-Setup.exe --upload release\\\\ProjectDashboard.exe 2>&1 | Select-Object -Last 3; Select-String -Path .gitignore -Pattern 'release|installer')", + "Bash(curl -s -o /dev/null -w \"4848: %{http_code}\\\\n\" http://127.0.0.1:4848/)", + "Bash(DASHBOARD_DEMO=1 node -e 'const s=require\\(\"fs\"\\).readFileSync\\(\"server.js\",\"utf8\"\\); console.log\\(\"marker:\", /const BUILD_EDITION = .full./.test\\(s\\)\\); ')", + "PowerShell($err = $null; [void][System.Management.Automation.Language.Parser]::ParseFile\\(\\(Resolve-Path build.ps1\\), [ref]$null, [ref]$err\\); \"build.ps1 parse errors: $\\($err.Count\\)\"; $err | Select-Object -First 3 | ForEach-Object { $_.Message })" ], "additionalDirectories": [ "d:\\Oculusquest\\Projekt\\ProjectDashboard" diff --git a/.dashboard.json b/.dashboard.json index da291ea..8a45b5d 100644 --- a/.dashboard.json +++ b/.dashboard.json @@ -1,12 +1,14 @@ { - "status": "idea", + "status": "active", "priority": "medium", "notes": "", + "description": "", "tags": [], "tasks": [], "thumbnail": "", "start": "", "program": "", "itch": "", - "updatedAt": "2026-11-12T08:32:33.379Z" + "favorite": false, + "updatedAt": "2026-11-24T19:55:51.721Z" } \ No newline at end of file diff --git a/docs/itchio/README.md b/docs/itchio/README.md new file mode 100644 index 0000000..b78d14d --- /dev/null +++ b/docs/itchio/README.md @@ -0,0 +1,59 @@ +# itch.io-Seite: Project Dashboard + +Alles für die Seite liegt in diesem Ordner. Texte und Screenshots sind englisch; die App ist zweisprachig (Englisch/Deutsch, erkennt die Windows-Sprache). + +## Dateien +| Datei | Wofür | +|---|---| +| `description.html` | Description (im Browser öffnen → Strg+A → in den itch-Editor einfügen) | +| `install.html` | Install instructions (genauso einfügen) | +| `cover.png` (630×500) | Cover image | +| `banner_960x256.png` / `banner_1920x512.png` | Edit theme → Banner | +| `background_1920x1200.jpg` | Edit theme → Background (oben mittig, nicht wiederholen) | +| `screenshots\01_board … 09_settings.png` (1440×900) | Echte Screenshots, englische Oberfläche, in dieser Reihenfolge hochladen: Board, Galerie, Liste, Einfache Ansicht, Speicher, Aktivität, Hilfe & Überblick, Tour, Einstellungen. Projektnamen, Icons, Vorschaubilder, Beschreibungen, Notizen, Tags und Pfade sind unkenntlich (Blur). | +| `shots.json` | Capture-Rezept (stellt auf Englisch, blurrt per CSS); neu erzeugen aus dem Projektordner: `node ..\_Tools\Itch\itch_screens.mjs docs\itchio\shots.json` bei laufendem Dashboard (`node server.js`). | +| `..\..\release\ProjectDashboard-Setup.exe` | Upload 1 – Installer (Startmenü, Desktop-Icon optional, Deinstallation; ohne Admin-Rechte), ~93 MB | +| `..\..\release\ProjectDashboard.exe` | Upload 2 – portable (eine Datei, ohne Installation), ~98 MB | + +## Felder unter „Edit game“ +| Feld | Eintrag | +|---|---| +| Title | `Project Dashboard` | +| Project URL | `project-dashboard` (Seite wird `https://sn09.itch.io/project-dashboard`) | +| Short description or tagline | `Local dashboard for all your project folders – status, backup, Git and one-click launch, all on your PC.` | +| Classification | **Tools** | +| Kind of project | **Downloadable** | +| Release status | **In development** | +| Pricing | **Paid** – **$9.99** (optional „Let people pay more“). Vorher in itch unter *Settings → Payouts* PayPal/Stripe verbinden und das Steuerformular (*Tax interview*) ausfüllen, sonst lässt sich nicht verkaufen. itch-Anteil unter *Revenue sharing* (Standard 10 %). | +| Uploads | **Vollversion (gekauft):** 1) `release\ProjectDashboard-Setup.exe` → „Installer (recommended)“ · 2) `release\ProjectDashboard.exe` → „Portable – no install“. **Demo (kostenlos):** 3) `release\ProjectDashboard-Demo-Setup.exe` → „Free demo – Installer“ · 4) `release\ProjectDashboard-Demo.exe` → „Free demo – Portable“. Bei allen den Haken **Windows**, bei 3 und 4 zusätzlich **„This file is a demo and can be downloaded for free“**. Bauen: `build.ps1 -Release` (Voll) und `build.ps1 -Demo` (Demo); Setups brauchen Inno Setup 6. | +| Demo | Zeigt höchstens **6 Projekte** (fest nach Name), alles andere voll (Backup sichert nur diese 6). Banner + „Vollversion holen“ verlinken auf `https://sn09.itch.io/project-dashboard`. Kauf → Voll-Setup drüber installieren: gleicher Ort, Einstellungen bleiben. | +| Genre | — (entfällt bei Classification *Tools*) | +| Tags (max. 10) | `project-management`, `dashboard`, `productivity`, `kanban`, `backup`, `git`, `gamedev`, `windows`, `utility`, `organizer` | +| AI generation disclosure | **Yes** — Cover/Banner/Hintergrund mit ComfyUI/Flux; Entwicklung mit KI-Werkzeugen unterstützt | +| App store links | — | +| Custom noun | `app` (optional, z. B. „a Windows app“) | +| Community | Comments einschalten; Discord steht im Text | +| Visibility | nach Wunsch (Draft bis fertig) | +| Languages | English, German | +| Inputs | Mouse, Keyboard | +| Accessibility | — (nur Echtes eintragen; Hell/Dunkel-Themes vorhanden) | +| Average session | — | +| Links | Discord: `https://discord.gg/Ej4JPmCZva` · E-Mail: `infomichaelmedia1@gmail.com` | + +## Seiten-Design („Edit theme“) +- Hintergrund `#0e1016` (dunkel) oder `#f5f6fa` (hell), Text passend, Links/Akzent `#6366f1` (Indigo wie in der App). +- Banner und Hintergrund aus diesem Ordner (sobald erzeugt). +- Schrift: eine klare Sans-Serif (z. B. „Inter“), passend zum Segoe-UI-Look der App. + +## Neu erzeugen +- Cover/Banner/Hintergrund: `cd sprite-generator && gen generate itch_keyart itch_cover`, dann + `py -3.12 ..\..\..\_Tools\Itch\itch_images.py --title "PROJECT DASHBOARD" --tagline "All your project folders in one board" --backdrop sprite-generator\output\itch_keyart_raw_*.png --cover-art sprite-generator\output\itch_cover_raw_*.png --out docs\itchio --color "#8b9cff"`. +- Screenshots (englisch, geblurrt) liegen in `screenshots\` — neu: `shots.json` + `itch_screens.mjs` bei laufendem Dashboard. Vorher alte PNGs löschen. + +## Vor dem Hochladen prüfen +- [ ] `release\ProjectDashboard.exe` in einem leeren Ordner testen (erster Start richtet sich ein). +- [ ] `release\ProjectDashboard-Setup.exe` einmal installieren, starten, über Windows „Apps“ wieder deinstallieren. +- [ ] Demo-Setup installieren → Banner „Demo – 6 von … Projekten“ da → danach Voll-Setup drüber installieren → Banner weg, Einstellungen noch da. +- [ ] Auszahlung + Steuerformular in itch eingerichtet; Upload 3 und 4 als Demo markiert, 1 und 2 nicht. +- [ ] Lizenzen stimmen: Node.js (MIT), Express (MIT), Lucide (ISC) — siehe `THIRD-PARTY.txt`. +- [ ] `description.html` und `install.html` sauber im itch-Editor eingefügt. diff --git a/docs/itchio/background_1920x1200.jpg b/docs/itchio/background_1920x1200.jpg new file mode 100644 index 0000000..df8e700 Binary files /dev/null and b/docs/itchio/background_1920x1200.jpg differ diff --git a/docs/itchio/banner_1920x512.png b/docs/itchio/banner_1920x512.png new file mode 100644 index 0000000..87b89f5 Binary files /dev/null and b/docs/itchio/banner_1920x512.png differ diff --git a/docs/itchio/banner_960x256.png b/docs/itchio/banner_960x256.png new file mode 100644 index 0000000..faa30f2 Binary files /dev/null and b/docs/itchio/banner_960x256.png differ diff --git a/docs/itchio/cover.png b/docs/itchio/cover.png new file mode 100644 index 0000000..ba99635 Binary files /dev/null and b/docs/itchio/cover.png differ diff --git a/docs/itchio/description.html b/docs/itchio/description.html new file mode 100644 index 0000000..6c831a6 --- /dev/null +++ b/docs/itchio/description.html @@ -0,0 +1,34 @@ +

🗂️ One board for every project on your PC

+

Project Dashboard turns the folders on your drive into a tidy overview. Every subfolder is a project – you see at a glance what you are working on, what is unsaved, how much space it uses, and you launch it with a single click. Everything stays on your machine: no account, no cloud.

+ +

✨ Features

+ + +

🕹️ Controls

+

🖱️ Mouse: click cards, drag between columns · ⌨️ Keyboard: / to search, Esc closes panels, Ctrl+S saves settings, arrow keys step through the help and the tour.

+ +

🌍 Languages

+

English and German – the app picks your Windows language and you can switch any time in Settings.

+ +

💻 Requirements

+

Windows 10 or 11. The Microsoft Edge WebView2 Runtime is already included on Windows 11 (if missing, the app shows a download link). Two downloads: an installer (Start menu, uninstall entry, no admin rights) or a portable single .exe that runs without installation – about 95 MB each. Everything runs locally on 127.0.0.1; it is not reachable from the network and sends nothing to the internet.

+ +

🆓 Try the free demo

+

Not sure yet? Download the free demo below. It has every feature – board, launch, Git, backup, storage, activity, help and tour – but shows at most 6 projects. When you buy the full version, just install it over the demo: your settings stay.

+ +

💬 Community

+

💬 Discord: discord.gg/Ej4JPmCZva · ✉️ infomichaelmedia1@gmail.com

+ +

© 2026 Michael Media. Built with Node.js and Express; app icons from Lucide. Developed with the help of AI tools.

diff --git a/docs/itchio/install.html b/docs/itchio/install.html new file mode 100644 index 0000000..7acbb1c --- /dev/null +++ b/docs/itchio/install.html @@ -0,0 +1,23 @@ +

▶️ Two downloads – pick one

+ +

Both contain the same app – everything is inside the one file.

+

🆓 Free demo: the same two options, limited to 6 projects. After buying, run the full installer over it (or replace the portable demo .exe) – your settings carry over.

+ +

🚀 First start

+

A short guided setup opens: pick the folder that holds your projects, optionally a backup target (external disk or NAS), and your language. Afterwards the help overview shows you around – you can reopen it any time with the life-buoy button at the top.

+ +

🛡️ “Windows protected your PC”

+

Because the files are not code-signed, Windows SmartScreen may show a blue dialog on the first start. Click More info → Run anyway.

+ +

💻 Requirements

+

Windows 10 or 11 (64-bit). The Microsoft Edge WebView2 Runtime is already present on Windows 11; if it is missing, the app shows a download link.

+ +

📂 Where your data lives

+

Per-project status, notes and tasks are saved as a small .dashboard.json file inside each project folder. Settings, scan and backup state live in %LOCALAPPDATA%\ProjectDashboard.

+ +

🔄 Updating & removing

+

Update: run the new installer (or copy the new portable ProjectDashboard.exe over the old one) – settings and data stay. To be extra safe, use Settings → General → Export settings first. +Remove: installer version – uninstall via Windows Settings → Apps; it asks whether to delete your settings too. Portable version – delete the .exe and the folder %LOCALAPPDATA%\ProjectDashboard. Your project folders and backups are never touched.

diff --git a/docs/itchio/screenshots/01_board.png b/docs/itchio/screenshots/01_board.png new file mode 100644 index 0000000..2db1f09 Binary files /dev/null and b/docs/itchio/screenshots/01_board.png differ diff --git a/docs/itchio/screenshots/02_gallery.png b/docs/itchio/screenshots/02_gallery.png new file mode 100644 index 0000000..d670ef6 Binary files /dev/null and b/docs/itchio/screenshots/02_gallery.png differ diff --git a/docs/itchio/screenshots/03_list.png b/docs/itchio/screenshots/03_list.png new file mode 100644 index 0000000..4df41ac Binary files /dev/null and b/docs/itchio/screenshots/03_list.png differ diff --git a/docs/itchio/screenshots/04_simple.png b/docs/itchio/screenshots/04_simple.png new file mode 100644 index 0000000..9a7282a Binary files /dev/null and b/docs/itchio/screenshots/04_simple.png differ diff --git a/docs/itchio/screenshots/05_storage.png b/docs/itchio/screenshots/05_storage.png new file mode 100644 index 0000000..1832a1e Binary files /dev/null and b/docs/itchio/screenshots/05_storage.png differ diff --git a/docs/itchio/screenshots/06_activity.png b/docs/itchio/screenshots/06_activity.png new file mode 100644 index 0000000..c88fb9d Binary files /dev/null and b/docs/itchio/screenshots/06_activity.png differ diff --git a/docs/itchio/screenshots/07_help.png b/docs/itchio/screenshots/07_help.png new file mode 100644 index 0000000..fd1ea60 Binary files /dev/null and b/docs/itchio/screenshots/07_help.png differ diff --git a/docs/itchio/screenshots/08_tour.png b/docs/itchio/screenshots/08_tour.png new file mode 100644 index 0000000..878196e Binary files /dev/null and b/docs/itchio/screenshots/08_tour.png differ diff --git a/docs/itchio/screenshots/09_settings.png b/docs/itchio/screenshots/09_settings.png new file mode 100644 index 0000000..900f744 Binary files /dev/null and b/docs/itchio/screenshots/09_settings.png differ diff --git a/docs/itchio/shots.json b/docs/itchio/shots.json new file mode 100644 index 0000000..47c615c --- /dev/null +++ b/docs/itchio/shots.json @@ -0,0 +1,115 @@ +{ + "page": "http://127.0.0.1:4848/", + "size": "1440x900", + "out": "docs/itchio/screenshots", + "shots": [ + { + "name": "01_board", + "load": 2200, + "steps": [ + { + "eval": "(async function(){I18N.set('en');var s=document.createElement('style');s.textContent=\".name,.nm,.hname,.hdesc,#panelTitle,#rootName,#count,.rtag,.commit,.notes,.chip.tag,.tm .n,.tmgroup .gl,#stCrumbs,.sttop b,#stTop b,.aclist b,#acDay b,#stHogs td:nth-child(2),#stHogs td:nth-child(3),#stHogs .path,.tg-head b,.titem span,#spData code,#acDayTitle{filter:blur(6px)!important}.avatar:not(.lg),.thumb,.hicon{filter:blur(9px) saturate(.7)!important}.tile .thumb{filter:blur(22px) saturate(.6)!important}#toast,#updBanner{display:none!important}\";document.head.appendChild(s);try{applyUiMode('advanced')}catch(e){};setView('board');})()" + }, + { + "wait": 1500 + } + ] + }, + { + "name": "02_gallery", + "load": 2200, + "steps": [ + { + "eval": "(async function(){I18N.set('en');var s=document.createElement('style');s.textContent=\".name,.nm,.hname,.hdesc,#panelTitle,#rootName,#count,.rtag,.commit,.notes,.chip.tag,.tm .n,.tmgroup .gl,#stCrumbs,.sttop b,#stTop b,.aclist b,#acDay b,#stHogs td:nth-child(2),#stHogs td:nth-child(3),#stHogs .path,.tg-head b,.titem span,#spData code,#acDayTitle{filter:blur(6px)!important}.avatar:not(.lg),.thumb,.hicon{filter:blur(9px) saturate(.7)!important}.tile .thumb{filter:blur(22px) saturate(.6)!important}#toast,#updBanner{display:none!important}\";document.head.appendChild(s);try{applyUiMode('advanced')}catch(e){};setView('gallery');})()" + }, + { + "wait": 1500 + } + ] + }, + { + "name": "03_list", + "load": 2200, + "steps": [ + { + "eval": "(async function(){I18N.set('en');var s=document.createElement('style');s.textContent=\".name,.nm,.hname,.hdesc,#panelTitle,#rootName,#count,.rtag,.commit,.notes,.chip.tag,.tm .n,.tmgroup .gl,#stCrumbs,.sttop b,#stTop b,.aclist b,#acDay b,#stHogs td:nth-child(2),#stHogs td:nth-child(3),#stHogs .path,.tg-head b,.titem span,#spData code,#acDayTitle{filter:blur(6px)!important}.avatar:not(.lg),.thumb,.hicon{filter:blur(9px) saturate(.7)!important}.tile .thumb{filter:blur(22px) saturate(.6)!important}#toast,#updBanner{display:none!important}\";document.head.appendChild(s);try{applyUiMode('advanced')}catch(e){};setView('list');})()" + }, + { + "wait": 1500 + } + ] + }, + { + "name": "04_simple", + "load": 2200, + "steps": [ + { + "eval": "(async function(){I18N.set('en');var s=document.createElement('style');s.textContent=\".name,.nm,.hname,.hdesc,#panelTitle,#rootName,#count,.rtag,.commit,.notes,.chip.tag,.tm .n,.tmgroup .gl,#stCrumbs,.sttop b,#stTop b,.aclist b,#acDay b,#stHogs td:nth-child(2),#stHogs td:nth-child(3),#stHogs .path,.tg-head b,.titem span,#spData code,#acDayTitle{filter:blur(6px)!important}.avatar:not(.lg),.thumb,.hicon{filter:blur(9px) saturate(.7)!important}.tile .thumb{filter:blur(22px) saturate(.6)!important}#toast,#updBanner{display:none!important}\";document.head.appendChild(s);try{applyUiMode('advanced')}catch(e){};setUiMode('simple');})()" + }, + { + "wait": 1500 + } + ] + }, + { + "name": "05_storage", + "load": 2200, + "steps": [ + { + "eval": "(async function(){I18N.set('en');var s=document.createElement('style');s.textContent=\".name,.nm,.hname,.hdesc,#panelTitle,#rootName,#count,.rtag,.commit,.notes,.chip.tag,.tm .n,.tmgroup .gl,#stCrumbs,.sttop b,#stTop b,.aclist b,#acDay b,#stHogs td:nth-child(2),#stHogs td:nth-child(3),#stHogs .path,.tg-head b,.titem span,#spData code,#acDayTitle{filter:blur(6px)!important}.avatar:not(.lg),.thumb,.hicon{filter:blur(9px) saturate(.7)!important}.tile .thumb{filter:blur(22px) saturate(.6)!important}#toast,#updBanner{display:none!important}\";document.head.appendChild(s);try{applyUiMode('advanced')}catch(e){};setView('storage');})()" + }, + { + "wait": 2200 + } + ] + }, + { + "name": "06_activity", + "load": 2200, + "steps": [ + { + "eval": "(async function(){I18N.set('en');var s=document.createElement('style');s.textContent=\".name,.nm,.hname,.hdesc,#panelTitle,#rootName,#count,.rtag,.commit,.notes,.chip.tag,.tm .n,.tmgroup .gl,#stCrumbs,.sttop b,#stTop b,.aclist b,#acDay b,#stHogs td:nth-child(2),#stHogs td:nth-child(3),#stHogs .path,.tg-head b,.titem span,#spData code,#acDayTitle{filter:blur(6px)!important}.avatar:not(.lg),.thumb,.hicon{filter:blur(9px) saturate(.7)!important}.tile .thumb{filter:blur(22px) saturate(.6)!important}#toast,#updBanner{display:none!important}\";document.head.appendChild(s);try{applyUiMode('advanced')}catch(e){};setView('activity');})()" + }, + { + "wait": 2000 + } + ] + }, + { + "name": "07_help", + "load": 2200, + "steps": [ + { + "eval": "(async function(){I18N.set('en');var s=document.createElement('style');s.textContent=\".name,.nm,.hname,.hdesc,#panelTitle,#rootName,#count,.rtag,.commit,.notes,.chip.tag,.tm .n,.tmgroup .gl,#stCrumbs,.sttop b,#stTop b,.aclist b,#acDay b,#stHogs td:nth-child(2),#stHogs td:nth-child(3),#stHogs .path,.tg-head b,.titem span,#spData code,#acDayTitle{filter:blur(6px)!important}.avatar:not(.lg),.thumb,.hicon{filter:blur(9px) saturate(.7)!important}.tile .thumb{filter:blur(22px) saturate(.6)!important}#toast,#updBanner{display:none!important}\";document.head.appendChild(s);try{applyUiMode('advanced')}catch(e){};setView('board');helpPage=0;renderHelp();document.getElementById('helpDlg').showModal();})()" + }, + { + "wait": 900 + } + ] + }, + { + "name": "08_tour", + "load": 2200, + "steps": [ + { + "eval": "(async function(){I18N.set('en');var s=document.createElement('style');s.textContent=\".name,.nm,.hname,.hdesc,#panelTitle,#rootName,#count,.rtag,.commit,.notes,.chip.tag,.tm .n,.tmgroup .gl,#stCrumbs,.sttop b,#stTop b,.aclist b,#acDay b,#stHogs td:nth-child(2),#stHogs td:nth-child(3),#stHogs .path,.tg-head b,.titem span,#spData code,#acDayTitle{filter:blur(6px)!important}.avatar:not(.lg),.thumb,.hicon{filter:blur(9px) saturate(.7)!important}.tile .thumb{filter:blur(22px) saturate(.6)!important}#toast,#updBanner{display:none!important}\";document.head.appendChild(s);try{applyUiMode('advanced')}catch(e){};setView('board');startTour('views');})()" + }, + { + "wait": 1500 + } + ] + }, + { + "name": "09_settings", + "load": 2200, + "steps": [ + { + "eval": "(async function(){I18N.set('en');var s=document.createElement('style');s.textContent=\".name,.nm,.hname,.hdesc,#panelTitle,#rootName,#count,.rtag,.commit,.notes,.chip.tag,.tm .n,.tmgroup .gl,#stCrumbs,.sttop b,#stTop b,.aclist b,#acDay b,#stHogs td:nth-child(2),#stHogs td:nth-child(3),#stHogs .path,.tg-head b,.titem span,#spData code,#acDayTitle{filter:blur(6px)!important}.avatar:not(.lg),.thumb,.hicon{filter:blur(9px) saturate(.7)!important}.tile .thumb{filter:blur(22px) saturate(.6)!important}#toast,#updBanner{display:none!important}\";document.head.appendChild(s);try{applyUiMode('advanced')}catch(e){};setView('board');await openSettings(false);setSettingsTab('general');})()" + }, + { + "wait": 1000 + } + ] + } + ] +} diff --git a/sprite-generator/__pycache__/config.cpython-312.pyc b/sprite-generator/__pycache__/config.cpython-312.pyc new file mode 100644 index 0000000..d0c655f Binary files /dev/null and b/sprite-generator/__pycache__/config.cpython-312.pyc differ diff --git a/sprite-generator/__pycache__/prompts.cpython-312.pyc b/sprite-generator/__pycache__/prompts.cpython-312.pyc new file mode 100644 index 0000000..f428d12 Binary files /dev/null and b/sprite-generator/__pycache__/prompts.cpython-312.pyc differ diff --git a/sprite-generator/audio.py b/sprite-generator/audio.py new file mode 100644 index 0000000..510b3c4 --- /dev/null +++ b/sprite-generator/audio.py @@ -0,0 +1,11 @@ +"""Musik und Effekte für generate_audio.py (Stable Audio). Mindestlänge 1 s. + +CLIPS = [(name, prompt, sekunden, negative)] +""" +NEG_MUSIC = "vocals, singing, speech, harsh noise, distortion, abrupt ending, low quality" +NEG_SFX = "music, melody, vocals, speech, reverb tail, background ambience, low quality" + +CLIPS = [ + ("sfx_click", "short soft UI button click", 1, NEG_SFX), + ("music_menu", "calm looping menu music, light synth pads", 30, NEG_MUSIC), +] diff --git a/sprite-generator/config.py b/sprite-generator/config.py new file mode 100644 index 0000000..2178cdb --- /dev/null +++ b/sprite-generator/config.py @@ -0,0 +1,38 @@ +"""Projekt-Konfiguration für die ComfyGen-Werkzeuge. Diesen Ordner (template/) in das neue +Projekt kopieren, z. B. als \\sprite-generator\\, und die Pfade unten anpassen.""" +import os + +HERE = os.path.dirname(os.path.abspath(__file__)) + +# ComfyUI-Server (lokal). +HOST = "http://127.0.0.1:8188" + +# Workflow aus ComfyGen\workflows\ – Flux.2 Klein ist der empfohlene Standard. +WORKFLOW_FILE = "Text to Image - Flux Klein.json" +UNET_NAME = "flux-2-klein-4b-fp8.safetensors" +CLIP_NAME = "qwen_3_4b.safetensors" +CLIP_TYPE = "flux2" +VAE_NAME = "flux2-vae.safetensors" +CHECKPOINT = "" # nur für workflows/default.json (SDXL o. ä.) + +# Roh-Ergebnisse (nicht in git). +OUTPUT_DIR = os.path.join(HERE, "output") + +# Wird genutzt, wenn ein Prompt keinen eigenen Negativ-Prompt hat. +NEGATIVE_PROMPT = "text, watermark, signature, blurry, low quality, extra limbs" + +# Ziel für adopt*.py (schreibt nach ASSETS_DIR\Sprites, \Audio, \Video). +PROJECT_ROOT = os.path.join(HERE, "..") +ASSETS_DIR = os.path.join(PROJECT_ROOT, "Assets") + +# Listen-Module in diesem Ordner. +PROMPTS_MODULE = "prompts" +AUDIO_MODULE = "audio" +# Optional, nur wenn gebraucht: +# AUDIO_SUBDIR = "audio" +# VIDEO_MODULE = "video" +# PORTRAITS_MODULE = "portraits" +# VINTAGE_MODULE = "vintage" +# VOICE_MODULE = "voice" +# LANG_DIR = os.path.join(PROJECT_ROOT, "Languages") +# CARDS_FILE = os.path.join(PROJECT_ROOT, "cards.json") diff --git a/sprite-generator/gen.cmd b/sprite-generator/gen.cmd new file mode 100644 index 0000000..8095095 --- /dev/null +++ b/sprite-generator/gen.cmd @@ -0,0 +1,31 @@ +@echo off +rem Starts a tool from D:\Oculusquest\Projekt\_Tools\ComfyGen for this project. +rem gen list the tools +rem gen generate image from prompts.py +rem gen adopt cut out + copy into ASSETS_DIR\Sprites +rem gen generate_audio music / sfx from the audio list +set TOOLS=D:\Oculusquest\Projekt\_Tools\ComfyGen +rem shift below also moves %0, so remember this folder first +set HERE=%~dp0 +set SCRIPT=%~1 +if "%SCRIPT%"=="" ( + echo Tools:& dir /b "%TOOLS%\*.py" | findstr /v /b "_" + exit /b 0 +) +shift +set PY=py -3.12 +if /i "%SCRIPT%"=="generate_voice" set PY="%TOOLS%\.venv-tts\Scripts\python.exe" +if /i "%SCRIPT%"=="make_voice_refs" set PY="%TOOLS%\.venv-tts\Scripts\python.exe" +set PYTHONIOENCODING=utf-8 +pushd "%HERE%" +set ARGS= +:collect +if "%~1"=="" goto run +set ARGS=%ARGS% %1 +shift +goto collect +:run +%PY% "%TOOLS%\%SCRIPT%.py"%ARGS% +set RC=%ERRORLEVEL% +popd +exit /b %RC% diff --git a/sprite-generator/output/itch_cover_cutout_00001_.png b/sprite-generator/output/itch_cover_cutout_00001_.png new file mode 100644 index 0000000..c3be377 Binary files /dev/null and b/sprite-generator/output/itch_cover_cutout_00001_.png differ diff --git a/sprite-generator/output/itch_cover_raw_00001_.png b/sprite-generator/output/itch_cover_raw_00001_.png new file mode 100644 index 0000000..0d10cda Binary files /dev/null and b/sprite-generator/output/itch_cover_raw_00001_.png differ diff --git a/sprite-generator/output/itch_keyart_cutout_00001_.png b/sprite-generator/output/itch_keyart_cutout_00001_.png new file mode 100644 index 0000000..ebec2e8 Binary files /dev/null and b/sprite-generator/output/itch_keyart_cutout_00001_.png differ diff --git a/sprite-generator/output/itch_keyart_raw_00001_.png b/sprite-generator/output/itch_keyart_raw_00001_.png new file mode 100644 index 0000000..c3e2cd7 Binary files /dev/null and b/sprite-generator/output/itch_keyart_raw_00001_.png differ diff --git a/sprite-generator/prompts.py b/sprite-generator/prompts.py new file mode 100644 index 0000000..79abccc --- /dev/null +++ b/sprite-generator/prompts.py @@ -0,0 +1,27 @@ +"""Was generate.py erzeugt. + +PROMPTS = [(name, positive)] oder [(name, positive, negative)] +SIZES = {name: (breite, hoehe)} optional, sonst Groesse des Workflows (1024x1024) +""" +_SCENE = ( + "clean modern minimal tech illustration, isometric, deep dark navy background, " + "glowing indigo #6366f1 and violet accents, soft volumetric studio light, " + "highly detailed, no text, no letters, no words, no logo, no watermark" +) +_NEG = "text, letters, words, logo, watermark, ui mockup, signature, blurry, lowres" + +PROMPTS = [ + ("itch_keyart", + "wide isometric illustration of a tidy developer workspace, floating glass " + "dashboard panels with kanban cards, project folder icons, charts and a git " + "branch graph, calm empty space in the upper left, " + _SCENE, _NEG), + ("itch_cover", + "isometric stack of glowing project folders and floating kanban cards above a " + "dark desk, central dashboard panel with charts and a git icon, calm space in " + "the top third, " + _SCENE, _NEG), +] + +SIZES = { + "itch_keyart": (1920, 1088), + "itch_cover": (1264, 1008), +}