[{"data":1,"prerenderedAt":348},["ShallowReactive",2],{"navigation_docs":3,"-docs-guide-registry":145,"-docs-guide-registry-surround":343},[4,8,12,16,51,81,103],{"title":5,"path":6,"stem":7},"Introduction","\u002Fdocs\u002Fintroduction","docs\u002F1.introduction",{"title":9,"path":10,"stem":11},"Getting started","\u002Fdocs\u002Fgetting-started","docs\u002F2.getting-started",{"title":13,"path":14,"stem":15},"Environment variables","\u002Fdocs\u002Fenvironment-variables","docs\u002F3.environment-variables",{"title":17,"icon":18,"path":19,"stem":20,"children":21,"page":50},"Guide","i-lucide-book-open","\u002Fdocs\u002Fguide","docs\u002F4.guide",[22,26,30,34,38,42,46],{"title":23,"path":24,"stem":25},"Scaffold a project","\u002Fdocs\u002Fguide\u002Fscaffold","docs\u002F4.guide\u002F1.scaffold",{"title":27,"path":28,"stem":29},"Pin and manage templates","\u002Fdocs\u002Fguide\u002Fpin","docs\u002F4.guide\u002F2.pin",{"title":31,"path":32,"stem":33},"Update pinned templates","\u002Fdocs\u002Fguide\u002Fupdating","docs\u002F4.guide\u002F3.updating",{"title":35,"path":36,"stem":37},"Find templates","\u002Fdocs\u002Fguide\u002Fsearch","docs\u002F4.guide\u002F4.search",{"title":39,"path":40,"stem":41},"Manage registries","\u002Fdocs\u002Fguide\u002Fregistry","docs\u002F4.guide\u002F5.registry",{"title":43,"path":44,"stem":45},"Troubleshooting","\u002Fdocs\u002Fguide\u002Ftroubleshooting","docs\u002F4.guide\u002F6.troubleshooting",{"title":47,"path":48,"stem":49},"Build your first template","\u002Fdocs\u002Fguide\u002Fcreate-template","docs\u002F4.guide\u002F7.create-template",false,{"title":52,"icon":53,"path":54,"stem":55,"children":56,"page":50},"Templates","i-lucide-layout-template","\u002Fdocs\u002Ftemplates","docs\u002F5.templates",[57,61,65,69,73,77],{"title":58,"path":59,"stem":60},"Template anatomy","\u002Fdocs\u002Ftemplates\u002Fanatomy","docs\u002F5.templates\u002F1.anatomy",{"title":62,"path":63,"stem":64},"Template params","\u002Fdocs\u002Ftemplates\u002Fparams","docs\u002F5.templates\u002F2.params",{"title":66,"path":67,"stem":68},"Template rendering","\u002Fdocs\u002Ftemplates\u002Ftemplate-rendering","docs\u002F5.templates\u002F3.template-rendering",{"title":70,"path":71,"stem":72},"Hooks","\u002Fdocs\u002Ftemplates\u002Fhooks","docs\u002F5.templates\u002F4.hooks",{"title":74,"path":75,"stem":76},"Publish a template","\u002Fdocs\u002Ftemplates\u002Fpublish","docs\u002F5.templates\u002F5.publish",{"title":78,"path":79,"stem":80},"spin.toml","\u002Fdocs\u002Ftemplates\u002Fspin-toml","docs\u002F5.templates\u002F6.spin-toml",{"title":82,"icon":83,"path":84,"stem":85,"children":86,"page":50},"Registries","i-lucide-database","\u002Fdocs\u002Fregistries","docs\u002F6.registries",[87,91,95,99],{"title":88,"path":89,"stem":90},"Registry anatomy","\u002Fdocs\u002Fregistries\u002Fanatomy","docs\u002F6.registries\u002F1.anatomy",{"title":92,"path":93,"stem":94},"Template metadata file","\u002Fdocs\u002Fregistries\u002Ftemplate-metadata","docs\u002F6.registries\u002F2.template-metadata",{"title":96,"path":97,"stem":98},"Run a registry","\u002Fdocs\u002Fregistries\u002Frun","docs\u002F6.registries\u002F3.run",{"title":100,"path":101,"stem":102},"registry.toml","\u002Fdocs\u002Fregistries\u002Fregistry-toml","docs\u002F6.registries\u002F4.registry-toml",{"title":104,"icon":105,"path":106,"stem":107,"children":108,"page":50},"Commands","i-lucide-terminal","\u002Fdocs\u002Fcommands","docs\u002F7.commands",[109,113,117,121,125,129,133,137,141],{"title":110,"path":111,"stem":112},"spin new","\u002Fdocs\u002Fcommands\u002Fnew","docs\u002F7.commands\u002F1.new",{"title":114,"path":115,"stem":116},"spin add","\u002Fdocs\u002Fcommands\u002Fadd","docs\u002F7.commands\u002F2.add",{"title":118,"path":119,"stem":120},"spin list","\u002Fdocs\u002Fcommands\u002Flist","docs\u002F7.commands\u002F3.list",{"title":122,"path":123,"stem":124},"spin update","\u002Fdocs\u002Fcommands\u002Fupdate","docs\u002F7.commands\u002F4.update",{"title":126,"path":127,"stem":128},"spin remove","\u002Fdocs\u002Fcommands\u002Fremove","docs\u002F7.commands\u002F5.remove",{"title":130,"path":131,"stem":132},"spin search","\u002Fdocs\u002Fcommands\u002Fsearch","docs\u002F7.commands\u002F6.search",{"title":134,"path":135,"stem":136},"spin registry","\u002Fdocs\u002Fcommands\u002Fregistry","docs\u002F7.commands\u002F7.registry",{"title":138,"path":139,"stem":140},"spin init","\u002Fdocs\u002Fcommands\u002Finit","docs\u002F7.commands\u002F8.init",{"title":142,"path":143,"stem":144},"spin version","\u002Fdocs\u002Fcommands\u002Fversion","docs\u002F7.commands\u002F9.version",{"id":146,"title":39,"body":147,"description":336,"extension":337,"links":338,"meta":339,"navigation":340,"path":40,"seo":341,"stem":41,"__hash__":342},"docs\u002Fdocs\u002F4.guide\u002F5.registry.md",{"type":148,"value":149,"toc":328},"minimark",[150,155,187,198,201,220,224,238,241,245,262,269,273,289,296,300,303,324],[151,152,154],"h2",{"id":153},"add-a-registry","Add a registry",[156,157,162],"pre",{"className":158,"code":159,"language":160,"meta":161,"style":161},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","spin registry add official https:\u002F\u002Fgithub.com\u002Fexample\u002Fspin-registry.git\n","sh","",[163,164,165],"code",{"__ignoreMap":161},[166,167,170,174,178,181,184],"span",{"class":168,"line":169},"line",1,[166,171,173],{"class":172},"sBMFI","spin",[166,175,177],{"class":176},"sfazB"," registry",[166,179,180],{"class":176}," add",[166,182,183],{"class":176}," official",[166,185,186],{"class":176}," https:\u002F\u002Fgithub.com\u002Fexample\u002Fspin-registry.git\n",[188,189,190,191,193,194,197],"p",{},"The alias is the shorthand prefix used in ",[163,192,130],{}," and ",[163,195,196],{},"spin add \u003Calias>\u002F\u003Cid>",". Aliases must be safe directory names: no slashes, colons, whitespace, or leading dashes.",[188,199,200],{},"Local registries are symlinked (with a copy fallback):",[156,202,204],{"className":158,"code":203,"language":160,"meta":161,"style":161},"spin registry add local ~\u002Fcode\u002Fspin-registry\n",[163,205,206],{"__ignoreMap":161},[166,207,208,210,212,214,217],{"class":168,"line":169},[166,209,173],{"class":172},[166,211,177],{"class":176},[166,213,180],{"class":176},[166,215,216],{"class":176}," local",[166,218,219],{"class":176}," ~\u002Fcode\u002Fspin-registry\n",[151,221,223],{"id":222},"list-registries","List registries",[156,225,227],{"className":158,"code":226,"language":160,"meta":161,"style":161},"spin registry list\n",[163,228,229],{"__ignoreMap":161},[166,230,231,233,235],{"class":168,"line":169},[166,232,173],{"class":172},[166,234,177],{"class":176},[166,236,237],{"class":176}," list\n",[188,239,240],{},"Shows alias, source, kind, template count, and cache path.",[151,242,244],{"id":243},"update-a-registry","Update a registry",[156,246,248],{"className":158,"code":247,"language":160,"meta":161,"style":161},"spin registry update official\n",[163,249,250],{"__ignoreMap":161},[166,251,252,254,256,259],{"class":168,"line":169},[166,253,173],{"class":172},[166,255,177],{"class":176},[166,257,258],{"class":176}," update",[166,260,261],{"class":176}," official\n",[188,263,264,265,268],{},"Git registries are fetched and reset to ",[163,266,267],{},"origin\u002FHEAD",". Local registries are skipped. Omit the alias to update every git registry.",[151,270,272],{"id":271},"remove-a-registry","Remove a registry",[156,274,276],{"className":158,"code":275,"language":160,"meta":161,"style":161},"spin registry remove official\n",[163,277,278],{"__ignoreMap":161},[166,279,280,282,284,287],{"class":168,"line":169},[166,281,173],{"class":172},[166,283,177],{"class":176},[166,285,286],{"class":176}," remove",[166,288,261],{"class":176},[188,290,291,292,295],{},"This deletes the registry entry and its cache. If pinned templates depend on templates in this registry, the command refuses unless you pass ",[163,293,294],{},"--purge-pinned",".",[151,297,299],{"id":298},"force-re-add","Force re-add",[188,301,302],{},"Replace an existing alias:",[156,304,306],{"className":158,"code":305,"language":160,"meta":161,"style":161},"spin registry add official https:\u002F\u002Fgithub.com\u002Fexample\u002Fspin-registry.git --force\n",[163,307,308],{"__ignoreMap":161},[166,309,310,312,314,316,318,321],{"class":168,"line":169},[166,311,173],{"class":172},[166,313,177],{"class":176},[166,315,180],{"class":176},[166,317,183],{"class":176},[166,319,320],{"class":176}," https:\u002F\u002Fgithub.com\u002Fexample\u002Fspin-registry.git",[166,322,323],{"class":176}," --force\n",[325,326,327],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":161,"searchDepth":329,"depth":329,"links":330},2,[331,332,333,334,335],{"id":153,"depth":329,"text":154},{"id":222,"depth":329,"text":223},{"id":243,"depth":329,"text":244},{"id":271,"depth":329,"text":272},{"id":298,"depth":329,"text":299},"Register, list, update, and remove template registries.","md",null,{},true,{"title":39,"description":336},"b6m_7rIwF5RUWxLwdFG5_SkU4T87W9Vf7LTnF1GHuVw",[344,346],{"title":35,"path":36,"stem":37,"description":345,"children":-1},"Search registries and pinned templates without a network round-trip.",{"title":43,"path":44,"stem":45,"description":347,"children":-1},"Common problems and how to fix them.",1787755180240]