[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116806":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":13,"stars7d":17,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":35,"updatedAt":36,"readmeContent":37,"aiSummary":10,"trendingCount":16,"starSnapshotCount":16,"syncStatus":15,"lastSyncTime":38,"discoverSource":39},116806,"EggLab","YanNyeinHtet\u002FEggLab","YanNyeinHtet","Local AI image generation and editing for Windows - a design agent for PhotoCraft powered by Qwen-Image-2.1 (no ComfyUI, no Python, no cloud).","https:\u002F\u002Fgithub.com\u002FYanNyeinHtet\u002FEggLab\u002Freleases\u002Flatest",null,"JavaScript",83,5,51,2,0,19,29,63.73,"MIT License",false,"master",true,[25,26,27,28,29,30,31,32,33,34],"agent","ai","electron","image-generation","local-first","mit","photocraft","qwen","stable-diffusion","windows","2026-11-21 21:40:31","2026-11-23 19:03:35","# EggLab\n\n**Local AI image generation and editing for Windows.** A floating egg opens a design agent\nfor **PhotoCraft** — chat, generate, edit layers, and place results straight onto the canvas.\n\nEverything runs on your own GPU: [Qwen-Image-2.1](https:\u002F\u002Fhuggingface.co\u002FQwen) on\n[stable-diffusion.cpp](https:\u002F\u002Fgithub.com\u002Fleejet\u002Fstable-diffusion.cpp). No ComfyUI, no\nPython, no cloud rendering.\n\n![EggLab panel](docs\u002Fpanel.png)\n\n## What it can do\n\n- **Chat with a design agent** that knows PhotoCraft: layers, masks, text, exports.\n- **Generate images** (quality 40-step or turbo 8-step LoRA) at up to 2048 px.\n- **Edit images** — reference photos, multi-reference compositions, transparent cut-outs.\n- **Place results** on the PhotoCraft canvas as layers, or export flat\u002Flayered files.\n- **Local-first** — models and renders stay on your disk; only chat text goes to the model\n  provider you pick.\n\n## Requirements\n\n- Windows 10 or 11 (x64)\n- **PhotoCraft** installed ([download free](https:\u002F\u002Fgetartcraft.com\u002F)) — the canvas app EggLab drives; not bundled\n- ~25 GB free disk: engine (17 MB–1.5 GB depending on GPU) + models (~20 GB, your choice)\n- A GPU is strongly recommended:\n  - NVIDIA → CUDA engine (fastest, ~1.4 GB download)\n  - Any DX12 GPU → Vulkan engine (~29 MB)\n  - CPU works but is slow\n- Internet for the engine download and the model downloads\n\n## Install\n\n1. Download **`EggLab-Setup-\u003Cversion>.exe`** from [Releases](..\u002F..\u002Freleases).\n2. Windows SmartScreen will warn because the installer is not code-signed yet:\n   **More info → Run anyway**. This is an unsigned-publisher warning, not a\n   virus detection; verify `SHA256SUMS.txt` if you want to check the download.\n   The fix and the signing options are in [docs\u002FSIGNING.md](docs\u002FSIGNING.md).\n3. The installer copies the app (~77 MB) and downloads the engine that matches your GPU\n   (SHA-256 verified, resumable; CUDA → Vulkan → CPU fallback if a download fails).\n4. Launch EggLab and finish the setup wizard (below).\n\n`SHA256SUMS.txt` is attached to every release if you want to verify the download:\n\n```powershell\nGet-ChildItem .\\EggLab-Setup-*.exe | Get-FileHash -Algorithm SHA256\n```\n\n## First run\n\n![EggLab setup](docs\u002Fsetup.png)\n\nThe wizard checks the four pieces EggLab needs:\n\n| Piece | What it is | What the wizard does |\n|---|---|---|\n| **PhotoCraft** | The canvas app ([download free](https:\u002F\u002Fgetartcraft.com\u002F)) | Detects it, or lets you locate `photocraft.exe` |\n| **OpenCode** | The agent runtime | Detects an existing install, or downloads the standalone build (~78 MB) |\n| **Engine** | stable-diffusion.cpp | Usually installed already; can re-download and switch GPU variant |\n| **Models** | Qwen-Image-2.1 + VAE + text encoder + turbo LoRA | Downloads missing files (resumable) or imports files you already have |\n\nAfter that, open **Settings** and pick a chat model under **Agent model**. EggLab uses\nyour OpenCode providers — the free models that ship with OpenCode work, and paid\nproviders\u002FAPI keys are configured inside OpenCode itself.\n\nBoth the Models and OpenCode steps accept an existing installation:\n\n- **Models** → **Use existing folder…** points EggLab at the folder you already\n  use (no copy). **Choose files…** maps individual files if their names differ.\n  The default folder is created with `diffusion`, `vae`, `text_encoder`,\n  `vision` and `lora` subfolders; **Download missing** writes into them.\n- **OpenCode** → **Use existing…** selects your own `opencode.exe`; **Refresh\n  models** reads the providers and models from that exact binary.\n\n## Chats are scoped to your document\n\n![Chat list grouped by document](docs\u002Fsessions.png)\n\nEvery PhotoCraft document keeps its own conversations. Pressing **+** starts a new\nthread and leaves the previous one intact in the chat list; the list is grouped by\ndocument, and reopening a document resumes the chat you were reading last (not merely\nthe one that was messaged most recently). Renders and previews opened by the agent are\nfolded into one “Generated images” group so they cannot flood the list.\n\n## Auto-update\n\nInstalled copies check the GitHub releases of this repository about 12 seconds after launch\nand every 6 hours after that. Updates download in the background and ask for a restart;\nchats, settings, models and the engine are kept. You can also trigger a check from\n**Settings → Check for updates**.\n\n## Where things live\n\n| Path | Contents |\n|---|---|\n| `%LOCALAPPDATA%\\Programs\\egglab` | Program files |\n| `%LOCALAPPDATA%\\EggLab\\engine` | Image engine (downloaded, never packaged) |\n| `%LOCALAPPDATA%\\EggLab\\models` | Models, grouped into `diffusion`, `vae`, `text_encoder`, `vision`, `lora` — or the folder you choose |\n| `%APPDATA%\\EggLab` | Chats, settings, logs, renders (`out`) |\n\nUninstalling removes the app and the engine, keeps your chats\u002Fsettings, and asks before\ndeleting models.\n\n## Build from source\n\n```powershell\ncd panel\nnpm install\nnpm start          # dev panel (uses the repo checkout layout)\nnpm run test:agent # agent\u002Ftool\u002Fconfig regression gate (no GPU)\nnpm run dist       # one-click installer in ..\\dist\n```\n\nNode 20+ is required for development only; the released installer needs nothing but Windows.\n\nReleases are published by pushing a `v*` tag — see\n[`.github\u002Fworkflows\u002Frelease.yml`](.github\u002Fworkflows\u002Frelease.yml). The workflow\nruns the agent gate, builds the installer on a Windows runner, and uploads the\ninstaller, `latest.yml` and `SHA256SUMS.txt` to the release. Bump the version in\n`panel\u002Fpackage.json`, commit, then push the matching tag.\n\n## Project layout\n\n```\negglab.ps1              engine runner (text-to-image, edit, turbo)\npanel\u002F                  Electron panel + agent + service layer\npanel\u002Fbuild\u002F            NSIS customization + engine downloader\npanel\u002Fservice\u002F          settings, engine, chat, models, setup, updater\npanel\u002Fskills\u002F           progressive agent skills\npanel\u002Freferences\u002F       knowledge references\npanel\u002Ftemplates\u002F        document templates\n```\n\n## Performance\n\nThe **Official Q4_K_M** model is available as a beta in Settings → Models. On an\n8 GB RTX 4060 Ti it measured ~35% faster than the FP8 default for Turbo\ntext-to-image (29 s vs 47 s at 864×1152) and ~10% faster for one-reference\nedits, because the diffusion weights are 2.9 GB smaller. It is the official\n(non-uncensored) checkpoint; install it alongside FP8 and switch only when you\nwant the speed.\n\nThe diffusion menu is kept to three curated variants: **Uncensored FP8**,\n**Official Q4_K_M (Beta)** and **Uncensored Q5_K_M**. BF16, Q8_0 and Q4_K_S are\nno longer offered.\n\nEvery job records the diffusion file it actually loaded, and the job card shows\na small model tag (FP8 \u002F Q4_K_M \u002F Q5_K_M). Manual renders and agent renders use\nthe same engine config, so switching the model in Settings applies to both.\nA 2.5 s settle window protects the first render after a switch from racing the\nprevious engine's teardown.\n\nMeasured engine\u002Fbackend\u002Fflag results and sources are in\n[PERFORMANCE-RESEARCH.md](PERFORMANCE-RESEARCH.md). The UI\u002Ffunction fixes from\nthe same audit are in [UI-AUDIT.md](UI-AUDIT.md).\n\n## Troubleshooting\n\n**“qwen3vl … failed during workspace capacity check” \u002F “failed during weight preparation” (8 GB cards).** The diffusion model (6.6 GB), the text encoder (6 GB) and multi-reference edits all compete for VRAM. EggLab now:\n- retries a failed render with the text encoder in RAM (the job detail says “Text encoder on CPU”);\n- scales reference photos to 768 px on the long side before the engine sees them (Settings → Output → **Reference size**), because a 1080×1700 export becomes ~7300 latent tokens per reference and makes four-reference edits exceed an 8 GB card;\n- closes leftover engine processes at startup and after every render — a stray `sd-cli` holding 3 GB of VRAM used to make later jobs fail at random stages.\n\nIf a render still hits the wall, EggLab automatically retries it at up to 1024×1280 with the same\naspect ratio (the job reports the reduced size); if it still fails, lower the output size or\nreference size manually.\n\n**Chat says the OpenCode data is outdated.** OpenCode keeps all sessions in one shared\nSQLite database and newer clients upgrade its schema. EggLab picks the newest installed\nOpenCode automatically; if only an old one exists, open Setup and install it again.\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","2026-11-24 04:54:14","CREATED_QUERY"]