[{"data":1,"prerenderedAt":179},["ShallowReactive",2],{"\u002Fen\u002Fwork\u002Fcomfyui-downloader":3},{"id":4,"title":5,"body":6,"client":160,"description":161,"extension":162,"featured":163,"featuredImage":164,"meta":165,"metric":160,"navigation":163,"ogImage":160,"path":166,"robots":160,"seo":167,"sitemap":168,"stem":169,"tags":170,"technologies":173,"year":177,"__hash__":178},"work_en\u002Fwork\u002Fcomfyui-downloader.md","ComfyUI Downloader",{"type":7,"value":8,"toc":149},"minimark",[9,14,18,23,69,73,76,113,117,128,132],[10,11,13],"h2",{"id":12},"overview","Overview",[15,16,17],"p",{},"A Rust-based daemon that manages AI model downloads from CivitAI for ComfyUI. Runs as a SystemD user service, exposing a Unix socket interface for model management, with a companion Tauri\u002FSvelte desktop application.",[19,20,22],"h3",{"id":21},"key-features","Key Features",[24,25,26,34,40,51,57,63],"ul",{},[27,28,29,33],"li",{},[30,31,32],"strong",{},"Download Management"," — Queue processing with configurable concurrency and HTTP range request resumption",[27,35,36,39],{},[30,37,38],{},"Intelligent Routing"," — Automatically places checkpoints in correct subdirectories by analyzing safetensors headers for VAE\u002FCLIP components",[27,41,42,45,46,50],{},[30,43,44],{},"Metadata & Verification"," — Generates ",[47,48,49],"code",{},".metadata.json"," sidecars with SHA-256 hashes and CivitAI API data",[27,52,53,56],{},[30,54,55],{},"Update Tracking"," — Periodic polling identifies newer model versions and sends desktop notifications",[27,58,59,62],{},[30,60,61],{},"Startup Scanning"," — Detects existing models via hash lookup and registers them for update tracking",[27,64,65,68],{},[30,66,67],{},"Desktop App"," — Tauri\u002FSvelte GUI for managing downloads and browsing the model catalog",[10,70,72],{"id":71},"architecture","Architecture",[15,74,75],{},"The codebase is organized into:",[77,78,79,85,91,97,103],"ol",{},[27,80,81,84],{},[30,82,83],{},"Daemon"," — Queue, downloader, scanner, and updater components",[27,86,87,90],{},[30,88,89],{},"IPC"," — Protocol, server, and client over Unix sockets",[27,92,93,96],{},[30,94,95],{},"CivitAI Integration"," — API client for model metadata and downloads",[27,98,99,102],{},[30,100,101],{},"Catalog"," — SQLite-backed model registry",[27,104,105,108,109,112],{},[30,106,107],{},"CLI"," — ",[47,110,111],{},"comfyui-dl"," command-line tool for API key setup, model management, and status checks",[10,114,116],{"id":115},"links","Links",[24,118,119],{},[27,120,121],{},[122,123,127],"a",{"href":124,"rel":125},"https:\u002F\u002Fgitlab.com\u002Fcesasol\u002Fcomfyui-downloader",[126],"nofollow","Source Code",[10,129,131],{"id":130},"technologies-used","Technologies Used",[24,133,134,137,140,143,146],{},[27,135,136],{},"Rust",[27,138,139],{},"Tauri + Svelte (desktop app)",[27,141,142],{},"SQLite",[27,144,145],{},"SystemD user services",[27,147,148],{},"CivitAI API",{"title":150,"searchDepth":151,"depth":151,"links":152},"",2,[153,157,158,159],{"id":12,"depth":151,"text":13,"children":154},[155],{"id":21,"depth":156,"text":22},3,{"id":71,"depth":151,"text":72},{"id":115,"depth":151,"text":116},{"id":130,"depth":151,"text":131},null,"Rust daemon for managing AI model downloads from CivitAI with intelligent routing, update tracking, and a Tauri desktop app","md",true,"\u002Fimages\u002Fwork\u002Fcomfyui-downloader.png",{},"\u002Fwork\u002Fcomfyui-downloader",{"title":5,"description":161},{"loc":166},"work\u002Fcomfyui-downloader",[136,171,172,67],"Open Source","AI",[136,174,175,142,176],"Tauri","Svelte","SystemD","2026","GMP6RChlR1gJ7S-JQuURXEumJU60hy6XHPkITGQOfxs",1777186590704]