[{"data":1,"prerenderedAt":1741},["ShallowReactive",2],{"navigation_docs":3,"-modules-interface-desktop-cli":732,"-modules-interface-desktop-cli-surround":1736},[4,54,159,535,608,651],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":53},"Get Started","i-lucide-rocket","\u002Fget-started","1.get-started",[10,15,20,24,29,34,39,44,48],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fget-started\u002Fintroduction","1.get-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fget-started\u002Finstallation","1.get-started\u002F2.installation","i-lucide-download",{"title":21,"path":22,"stem":23},"Project Structure","\u002Fget-started\u002Fproject-structure","1.get-started\u002F3.project-structure",{"title":25,"path":26,"stem":27,"icon":28},"Configuration","\u002Fget-started\u002Fconfiguration","1.get-started\u002F4.configuration","i-lucide-settings",{"title":30,"path":31,"stem":32,"icon":33},"Authentication","\u002Fget-started\u002Fauthentication","1.get-started\u002F5.authentication","i-lucide-lock",{"title":35,"path":36,"stem":37,"icon":38},"Adding modules","\u002Fget-started\u002Fadding-modules","1.get-started\u002F6.adding-modules","i-lucide-puzzle",{"title":40,"path":41,"stem":42,"icon":43},"Database","\u002Fget-started\u002Fdatabase","1.get-started\u002F7.database","i-lucide-database",{"title":45,"path":46,"stem":47,"icon":6},"Deployment","\u002Fget-started\u002Fdeployment","1.get-started\u002F8.deployment",{"title":49,"path":50,"stem":51,"icon":52},"Upgrading","\u002Fget-started\u002Fupgrading","1.get-started\u002F9.upgrading","i-lucide-circle-arrow-up",false,{"title":55,"icon":56,"path":57,"stem":58,"children":59,"page":53},"Guide","i-lucide-book-open","\u002Fguide","2.guide",[60,94,119,129],{"title":61,"icon":53,"path":62,"stem":63,"children":64,"page":53},"Concepts","\u002Fguide\u002Fconcepts","2.guide\u002F1.concepts",[65,70,75,80,84,89],{"title":66,"path":67,"stem":68,"icon":69},"Architecture","\u002Fguide\u002Fconcepts\u002Farchitecture","2.guide\u002F1.concepts\u002F1.architecture","i-lucide-blocks",{"title":71,"path":72,"stem":73,"icon":74},"Access control","\u002Fguide\u002Fconcepts\u002Fauth-and-scopes","2.guide\u002F1.concepts\u002F2.auth-and-scopes","i-lucide-shield-check",{"title":76,"path":77,"stem":78,"icon":79},"Extension points","\u002Fguide\u002Fconcepts\u002Fextension-points","2.guide\u002F1.concepts\u002F3.extension-points","i-lucide-plug",{"title":81,"path":82,"stem":83,"icon":43},"Database extensions","\u002Fguide\u002Fconcepts\u002Fdatabase-extensions","2.guide\u002F1.concepts\u002F4.database-extensions",{"title":85,"path":86,"stem":87,"icon":88},"Identity","\u002Fguide\u002Fconcepts\u002Fidentity","2.guide\u002F1.concepts\u002F5.identity","i-lucide-fingerprint",{"title":90,"path":91,"stem":92,"icon":93},"Glossary","\u002Fguide\u002Fconcepts\u002Fglossary","2.guide\u002F1.concepts\u002F6.glossary","i-lucide-book-a",{"title":95,"icon":53,"path":96,"stem":97,"children":98,"page":53},"UX patterns","\u002Fguide\u002Fux-patterns","2.guide\u002F2.ux-patterns",[99,104,109,114],{"title":100,"path":101,"stem":102,"icon":103},"Layouts and navigation","\u002Fguide\u002Fux-patterns\u002Flayouts-and-navigation","2.guide\u002F2.ux-patterns\u002F1.layouts-and-navigation","i-lucide-layout-template",{"title":105,"path":106,"stem":107,"icon":108},"Pages","\u002Fguide\u002Fux-patterns\u002Fpages","2.guide\u002F2.ux-patterns\u002F2.pages","i-lucide-table",{"title":110,"path":111,"stem":112,"icon":113},"Forms and actions","\u002Fguide\u002Fux-patterns\u002Fforms-and-actions","2.guide\u002F2.ux-patterns\u002F3.forms-and-actions","i-lucide-square-pen",{"title":115,"path":116,"stem":117,"icon":118},"Text and formatting","\u002Fguide\u002Fux-patterns\u002Ftext-and-formatting","2.guide\u002F2.ux-patterns\u002F4.text-and-formatting","i-lucide-type",{"title":120,"icon":53,"path":121,"stem":122,"children":123,"page":53},"Best practices","\u002Fguide\u002Fbest-practices","2.guide\u002F3.best-practices",[124],{"title":125,"path":126,"stem":127,"icon":128},"HTTP routes","\u002Fguide\u002Fbest-practices\u002Fhttp-routes","2.guide\u002F3.best-practices\u002F1.http-routes","i-lucide-route",{"title":130,"icon":53,"path":131,"stem":132,"children":133,"page":53},"Going further","\u002Fguide\u002Fgoing-further","2.guide\u002F4.going-further",[134,139,144,149,154],{"title":135,"path":136,"stem":137,"icon":138},"Use your own OAuth server","\u002Fguide\u002Fgoing-further\u002Fown-oauth-server","2.guide\u002F4.going-further\u002F1.own-oauth-server","i-lucide-key-round",{"title":140,"path":141,"stem":142,"icon":143},"Create an OAuth application","\u002Fguide\u002Fgoing-further\u002Foauth-application","2.guide\u002F4.going-further\u002F2.oauth-application","i-lucide-app-window",{"title":145,"path":146,"stem":147,"icon":148},"Signing keys","\u002Fguide\u002Fgoing-further\u002Fsigning-keys","2.guide\u002F4.going-further\u002F3.signing-keys","i-lucide-key-square",{"title":150,"path":151,"stem":152,"icon":153},"Stripe setup","\u002Fguide\u002Fgoing-further\u002Fstripe-setup","2.guide\u002F4.going-further\u002F4.stripe-setup","i-lucide-credit-card",{"title":155,"path":156,"stem":157,"icon":158},"Migrate to the permission model","\u002Fguide\u002Fgoing-further\u002Fmigrate-access-control","2.guide\u002F4.going-further\u002F5.migrate-access-control","i-lucide-arrow-right-left",{"title":160,"icon":161,"path":162,"stem":163,"children":164},"Modules","i-lucide-boxes","\u002Fmodules","3.modules",[165,167,252,261,290,303,350,396,473,518],{"title":160,"path":162,"stem":166},"3.modules\u002Findex",{"title":85,"icon":53,"path":168,"stem":169,"children":170,"page":53},"\u002Fmodules\u002Fidentity","3.modules\u002F1.identity",[171,198,202,206,228,232,248],{"title":172,"path":173,"stem":174,"children":175},"Auth","\u002Fmodules\u002Fidentity\u002Fauth","3.modules\u002F1.identity\u002F1.auth\u002Findex",[176,178,182,186,190,194],{"title":177,"path":173,"stem":174},"Overview",{"title":179,"path":180,"stem":181},"Server API","\u002Fmodules\u002Fidentity\u002Fauth\u002Fserver","3.modules\u002F1.identity\u002F1.auth\u002F2.server",{"title":183,"path":184,"stem":185},"Reference","\u002Fmodules\u002Fidentity\u002Fauth\u002Freference","3.modules\u002F1.identity\u002F1.auth\u002F3.reference",{"title":187,"path":188,"stem":189},"Client mode","\u002Fmodules\u002Fidentity\u002Fauth\u002Fclient-mode","3.modules\u002F1.identity\u002F1.auth\u002F4.client-mode",{"title":191,"path":192,"stem":193},"OAuth providers","\u002Fmodules\u002Fidentity\u002Fauth\u002Foauth-providers","3.modules\u002F1.identity\u002F1.auth\u002F5.oauth-providers",{"title":195,"path":196,"stem":197},"Resource mode","\u002Fmodules\u002Fidentity\u002Fauth\u002Fresource-mode","3.modules\u002F1.identity\u002F1.auth\u002F6.resource-mode",{"title":199,"path":200,"stem":201},"Users","\u002Fmodules\u002Fidentity\u002Fusers","3.modules\u002F1.identity\u002F2.users",{"title":203,"path":204,"stem":205},"Account","\u002Fmodules\u002Fidentity\u002Faccount","3.modules\u002F1.identity\u002F3.account",{"title":207,"path":208,"stem":209,"children":210},"Authorization","\u002Fmodules\u002Fidentity\u002Fauthorization","3.modules\u002F1.identity\u002F4.authorization\u002Findex",[211,212,216,220,224],{"title":177,"path":208,"stem":209},{"title":213,"path":214,"stem":215},"Roles and requirements","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Froles-and-requirements","3.modules\u002F1.identity\u002F4.authorization\u002F2.roles-and-requirements",{"title":217,"path":218,"stem":219},"Policies","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fpolicies","3.modules\u002F1.identity\u002F4.authorization\u002F3.policies",{"title":221,"path":222,"stem":223},"Client","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fclient","3.modules\u002F1.identity\u002F4.authorization\u002F4.client",{"title":225,"path":226,"stem":227},"Admin","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fadmin","3.modules\u002F1.identity\u002F4.authorization\u002F5.admin",{"title":229,"path":230,"stem":231},"Preferences","\u002Fmodules\u002Fidentity\u002Fpreferences","3.modules\u002F1.identity\u002F5.preferences",{"title":233,"path":234,"stem":235,"children":236},"OAuth Server","\u002Fmodules\u002Fidentity\u002Foauth-server","3.modules\u002F1.identity\u002F6.oauth-server\u002Findex",[237,238,241,245],{"title":177,"path":234,"stem":235},{"title":179,"path":239,"stem":240},"\u002Fmodules\u002Fidentity\u002Foauth-server\u002Fserver","3.modules\u002F1.identity\u002F6.oauth-server\u002F2.server",{"title":242,"path":243,"stem":244},"Hooks","\u002Fmodules\u002Fidentity\u002Foauth-server\u002Fhooks","3.modules\u002F1.identity\u002F6.oauth-server\u002F3.hooks",{"title":183,"path":246,"stem":247},"\u002Fmodules\u002Fidentity\u002Foauth-server\u002Froutes-and-clients","3.modules\u002F1.identity\u002F6.oauth-server\u002F4.routes-and-clients",{"title":249,"path":250,"stem":251},"OAuth Resource","\u002Fmodules\u002Fidentity\u002Foauth-resource","3.modules\u002F1.identity\u002F8.oauth-resource",{"title":253,"icon":53,"path":254,"stem":255,"children":256,"page":53},"Organisation","\u002Fmodules\u002Forganisation","3.modules\u002F2.organisation",[257],{"title":258,"path":259,"stem":260},"Teams","\u002Fmodules\u002Forganisation\u002Fteams","3.modules\u002F2.organisation\u002F1.teams",{"title":262,"icon":53,"path":263,"stem":264,"children":265,"page":53},"Commerce","\u002Fmodules\u002Fcommerce","3.modules\u002F3.commerce",[266,270,274],{"title":267,"path":268,"stem":269},"Stripe","\u002Fmodules\u002Fcommerce\u002Fstripe","3.modules\u002F3.commerce\u002F1.stripe",{"title":271,"path":272,"stem":273},"Payments","\u002Fmodules\u002Fcommerce\u002Fpayments","3.modules\u002F3.commerce\u002F2.payments",{"title":275,"path":276,"stem":277,"children":278},"Subscriptions","\u002Fmodules\u002Fcommerce\u002Fsubscriptions","3.modules\u002F3.commerce\u002F3.subscriptions\u002Findex",[279,280,283,287],{"title":177,"path":276,"stem":277},{"title":179,"path":281,"stem":282},"\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Fserver","3.modules\u002F3.commerce\u002F3.subscriptions\u002F2.server",{"title":284,"path":285,"stem":286},"App","\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Fapp","3.modules\u002F3.commerce\u002F3.subscriptions\u002F3.app",{"title":183,"path":288,"stem":289},"\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Freference","3.modules\u002F3.commerce\u002F3.subscriptions\u002F4.reference",{"title":291,"icon":53,"path":292,"stem":293,"children":294,"page":53},"Content","\u002Fmodules\u002Fcontent","3.modules\u002F4.content",[295,299],{"title":296,"path":297,"stem":298},"Help center","\u002Fmodules\u002Fcontent\u002Fhelp-center","3.modules\u002F4.content\u002F2.help-center",{"title":300,"path":301,"stem":302},"Documents","\u002Fmodules\u002Fcontent\u002Fdocuments","3.modules\u002F4.content\u002F3.documents",{"title":304,"icon":53,"path":305,"stem":306,"children":307,"page":53},"Features","\u002Fmodules\u002Ffeatures","3.modules\u002F5.features",[308,323,342,346],{"title":309,"path":310,"stem":311,"children":312},"Events","\u002Fmodules\u002Ffeatures\u002Fevents","3.modules\u002F5.features\u002F1.events\u002Findex",[313,314,317,320],{"title":177,"path":310,"stem":311},{"title":179,"path":315,"stem":316},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Fserver","3.modules\u002F5.features\u002F1.events\u002F2.server",{"title":284,"path":318,"stem":319},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Fapp","3.modules\u002F5.features\u002F1.events\u002F3.app",{"title":183,"path":321,"stem":322},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Freference","3.modules\u002F5.features\u002F1.events\u002F4.reference",{"title":324,"path":325,"stem":326,"children":327},"Forms","\u002Fmodules\u002Ffeatures\u002Fforms","3.modules\u002F5.features\u002F2.forms\u002Findex",[328,329,333,336,339],{"title":177,"path":325,"stem":326},{"title":330,"path":331,"stem":332},"Definition","\u002Fmodules\u002Ffeatures\u002Fforms\u002Fdefinition","3.modules\u002F5.features\u002F2.forms\u002F2.definition",{"title":179,"path":334,"stem":335},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Fserver","3.modules\u002F5.features\u002F2.forms\u002F3.server",{"title":284,"path":337,"stem":338},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Fapp","3.modules\u002F5.features\u002F2.forms\u002F4.app",{"title":183,"path":340,"stem":341},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Freference","3.modules\u002F5.features\u002F2.forms\u002F5.reference",{"title":343,"path":344,"stem":345},"Cookie Consent","\u002Fmodules\u002Ffeatures\u002Fcookie-consent","3.modules\u002F5.features\u002F3.cookie-consent",{"title":347,"path":348,"stem":349},"MCP","\u002Fmodules\u002Ffeatures\u002Fmcp","3.modules\u002F5.features\u002F4.mcp",{"title":351,"icon":53,"path":352,"stem":353,"children":354,"page":53},"Communication","\u002Fmodules\u002Fcommunication","3.modules\u002F6.communication",[355,359,376,380,384,388,392],{"title":356,"path":357,"stem":358},"Notify","\u002Fmodules\u002Fcommunication\u002Fnotify","3.modules\u002F6.communication\u002F1.notify",{"title":360,"path":361,"stem":362,"children":363},"Email Templates","\u002Fmodules\u002Fcommunication\u002Femail-templates","3.modules\u002F6.communication\u002F2.email-templates\u002Findex",[364,365,369,372],{"title":177,"path":361,"stem":362},{"title":366,"path":367,"stem":368},"Email components","\u002Fmodules\u002Fcommunication\u002Femail-templates\u002Fcomponents","3.modules\u002F6.communication\u002F2.email-templates\u002F2.components",{"title":179,"path":370,"stem":371},"\u002Fmodules\u002Fcommunication\u002Femail-templates\u002Fserver","3.modules\u002F6.communication\u002F2.email-templates\u002F3.server",{"title":373,"path":374,"stem":375},"Module emails","\u002Fmodules\u002Fcommunication\u002Femail-templates\u002Fmodule-emails","3.modules\u002F6.communication\u002F2.email-templates\u002F4.module-emails",{"title":377,"path":378,"stem":379},"Push","\u002Fmodules\u002Fcommunication\u002Fpush","3.modules\u002F6.communication\u002F3.push",{"title":381,"path":382,"stem":383},"Inbox","\u002Fmodules\u002Fcommunication\u002Finbox","3.modules\u002F6.communication\u002F4.inbox",{"title":385,"path":386,"stem":387},"Short links","\u002Fmodules\u002Fcommunication\u002Fshort-links","3.modules\u002F6.communication\u002F5.short-links",{"title":389,"path":390,"stem":391},"Campaigns","\u002Fmodules\u002Fcommunication\u002Fcampaigns","3.modules\u002F6.communication\u002F6.campaigns",{"title":393,"path":394,"stem":395},"SMS","\u002Fmodules\u002Fcommunication\u002Fsms","3.modules\u002F6.communication\u002F7.sms",{"title":397,"icon":53,"path":398,"stem":399,"children":400,"page":53},"Interface","\u002Fmodules\u002Finterface","3.modules\u002F7.interface",[401,426,429,433,437,451,455,469],{"title":402,"path":403,"stem":404,"children":405},"UI","\u002Fmodules\u002Finterface\u002Fui","3.modules\u002F7.interface\u002F1.ui\u002Findex",[406,407,411,415,419,423],{"title":177,"path":403,"stem":404},{"title":408,"path":409,"stem":410},"Page components","\u002Fmodules\u002Finterface\u002Fui\u002Fpage-components","3.modules\u002F7.interface\u002F1.ui\u002F2.page-components",{"title":412,"path":413,"stem":414},"App shell","\u002Fmodules\u002Finterface\u002Fui\u002Fapp-shell","3.modules\u002F7.interface\u002F1.ui\u002F3.app-shell",{"title":416,"path":417,"stem":418},"Form inputs","\u002Fmodules\u002Finterface\u002Fui\u002Fform-inputs","3.modules\u002F7.interface\u002F1.ui\u002F4.form-inputs",{"title":420,"path":421,"stem":422},"Composables and helpers","\u002Fmodules\u002Finterface\u002Fui\u002Fcomposables","3.modules\u002F7.interface\u002F1.ui\u002F5.composables",{"title":183,"path":424,"stem":425},"\u002Fmodules\u002Finterface\u002Fui\u002Freference","3.modules\u002F7.interface\u002F1.ui\u002F6.reference",{"title":225,"path":427,"stem":428},"\u002Fmodules\u002Finterface\u002Fadmin","3.modules\u002F7.interface\u002F2.admin",{"title":430,"path":431,"stem":432},"Menu","\u002Fmodules\u002Finterface\u002Fmenu","3.modules\u002F7.interface\u002F3.menu",{"title":434,"path":435,"stem":436},"Widget","\u002Fmodules\u002Finterface\u002Fwidget","3.modules\u002F7.interface\u002F4.widget",{"title":438,"path":439,"stem":440,"children":441},"Mobile","\u002Fmodules\u002Finterface\u002Fmobile","3.modules\u002F7.interface\u002F5.mobile\u002Findex",[442,443,447],{"title":177,"path":439,"stem":440},{"title":444,"path":445,"stem":446},"CLI and devices","\u002Fmodules\u002Finterface\u002Fmobile\u002Fcli-and-devices","3.modules\u002F7.interface\u002F5.mobile\u002F2.cli-and-devices",{"title":448,"path":449,"stem":450},"Splash screen","\u002Fmodules\u002Finterface\u002Fmobile\u002Fsplash-screen","3.modules\u002F7.interface\u002F5.mobile\u002F3.splash-screen",{"title":452,"path":453,"stem":454},"Dashboard","\u002Fmodules\u002Finterface\u002Fdashboard","3.modules\u002F7.interface\u002F6.dashboard",{"title":456,"path":457,"stem":458,"children":459},"Desktop","\u002Fmodules\u002Finterface\u002Fdesktop","3.modules\u002F7.interface\u002F7.desktop\u002Findex",[460,461,465],{"title":177,"path":457,"stem":458},{"title":462,"path":463,"stem":464},"CLI","\u002Fmodules\u002Finterface\u002Fdesktop\u002Fcli","3.modules\u002F7.interface\u002F7.desktop\u002F2.cli",{"title":466,"path":467,"stem":468},"Local mode","\u002Fmodules\u002Finterface\u002Fdesktop\u002Flocal-mode","3.modules\u002F7.interface\u002F7.desktop\u002F3.local-mode",{"title":470,"path":471,"stem":472},"Maps","\u002Fmodules\u002Finterface\u002Fmaps","3.modules\u002F7.interface\u002F8.maps",{"title":474,"icon":53,"path":475,"stem":476,"children":477,"page":53},"Platform","\u002Fmodules\u002Fplatform","3.modules\u002F8.platform",[478,500],{"title":479,"path":480,"stem":481,"children":482},"Module Kit","\u002Fmodules\u002Fplatform\u002Fmodule-kit","3.modules\u002F8.platform\u002F1.module-kit\u002Findex",[483,484,488,492,496],{"title":177,"path":480,"stem":481},{"title":485,"path":486,"stem":487},"Server toolkit","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fserver-toolkit","3.modules\u002F8.platform\u002F1.module-kit\u002F2.server-toolkit",{"title":489,"path":490,"stem":491},"Registries and menus","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fregistries-and-menus","3.modules\u002F8.platform\u002F1.module-kit\u002F3.registries-and-menus",{"title":493,"path":494,"stem":495},"Translations","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fi18n","3.modules\u002F8.platform\u002F1.module-kit\u002F4.i18n",{"title":497,"path":498,"stem":499},"Database helpers","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fdatabase","3.modules\u002F8.platform\u002F1.module-kit\u002F5.database",{"title":501,"path":502,"stem":503,"children":504},"Base Layer","\u002Fmodules\u002Fplatform\u002Fbase-layer","3.modules\u002F8.platform\u002F2.base-layer\u002Findex",[505,506,510,514],{"title":177,"path":502,"stem":503},{"title":507,"path":508,"stem":509},"Content collections","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Fcontent-collections","3.modules\u002F8.platform\u002F2.base-layer\u002F2.content-collections",{"title":511,"path":512,"stem":513},"Layouts and routing","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Flayouts-and-routing","3.modules\u002F8.platform\u002F2.base-layer\u002F3.layouts-and-routing",{"title":515,"path":516,"stem":517},"Composables and utils","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Fcomposables-and-utils","3.modules\u002F8.platform\u002F2.base-layer\u002F4.composables-and-utils",{"title":519,"icon":53,"path":520,"stem":521,"children":522,"page":53},"Volunteering","\u002Fmodules\u002Fvolunteering","3.modules\u002F9.volunteering",[523,527,531],{"title":524,"path":525,"stem":526},"Operations","\u002Fmodules\u002Fvolunteering\u002Foperations","3.modules\u002F9.volunteering\u002F1.operations",{"title":528,"path":529,"stem":530},"Crew","\u002Fmodules\u002Fvolunteering\u002Fcrew","3.modules\u002F9.volunteering\u002F2.crew",{"title":532,"path":533,"stem":534},"Shifts","\u002Fmodules\u002Fvolunteering\u002Fshifts","3.modules\u002F9.volunteering\u002F3.shifts",{"title":536,"icon":537,"path":538,"stem":539,"children":540,"page":53},"Examples","i-lucide-code-xml","\u002Fexamples","4.examples",[541,570,580],{"title":542,"icon":53,"path":543,"stem":544,"children":545,"page":53},"Starters","\u002Fexamples\u002Fstarters","4.examples\u002F1.starters",[546,550,555,560,565],{"title":547,"path":548,"stem":549},"Workspace","\u002Fexamples\u002Fstarters\u002Fworkspace","4.examples\u002F1.starters\u002F1.workspace",{"title":551,"path":552,"stem":553,"icon":554},"Mobile starter","\u002Fexamples\u002Fstarters\u002Fmobile","4.examples\u002F1.starters\u002F2.mobile","i-lucide-smartphone",{"title":556,"path":557,"stem":558,"icon":559},"Standalone mobile starter","\u002Fexamples\u002Fstarters\u002Fmobile-standalone","4.examples\u002F1.starters\u002F3.mobile-standalone","i-lucide-tablet-smartphone",{"title":561,"path":562,"stem":563,"icon":564},"Desktop starter","\u002Fexamples\u002Fstarters\u002Fdesktop","4.examples\u002F1.starters\u002F4.desktop","i-lucide-monitor",{"title":566,"path":567,"stem":568,"icon":569},"Multi-platform starter","\u002Fexamples\u002Fstarters\u002Fmulti-platform","4.examples\u002F1.starters\u002F5.multi-platform","i-lucide-layers",{"title":571,"icon":53,"path":572,"stem":573,"children":574,"page":53},"Apps","\u002Fexamples\u002Fapps","4.examples\u002F2.apps",[575],{"title":576,"path":577,"stem":578,"icon":579},"Frigear website app","\u002Fexamples\u002Fapps\u002Ffrigear-nu-website","4.examples\u002F2.apps\u002F1.frigear-nu-website","i-lucide-layout-dashboard",{"title":581,"icon":53,"path":582,"stem":583,"children":584,"page":53},"Tasks","\u002Fexamples\u002Ftasks","4.examples\u002F3.tasks",[585,589,593,598,603],{"title":586,"path":587,"stem":588,"icon":74},"Protect a route","\u002Fexamples\u002Ftasks\u002Fprotect-a-route","4.examples\u002F3.tasks\u002F1.protect-a-route",{"title":590,"path":591,"stem":592,"icon":579},"Add an admin page","\u002Fexamples\u002Ftasks\u002Fadd-an-admin-page","4.examples\u002F3.tasks\u002F2.add-an-admin-page",{"title":594,"path":595,"stem":596,"icon":597},"Sell event tickets","\u002Fexamples\u002Ftasks\u002Fsell-event-tickets","4.examples\u002F3.tasks\u002F3.sell-event-tickets","i-lucide-ticket",{"title":599,"path":600,"stem":601,"icon":602},"Build a form","\u002Fexamples\u002Ftasks\u002Fbuild-a-form","4.examples\u002F3.tasks\u002F4.build-a-form","i-lucide-clipboard-list",{"title":604,"path":605,"stem":606,"icon":607},"Send an email","\u002Fexamples\u002Ftasks\u002Fsend-an-email","4.examples\u002F3.tasks\u002F5.send-an-email","i-lucide-mail",{"title":462,"icon":609,"path":610,"stem":611,"children":612,"page":53},"i-lucide-square-terminal","\u002Fcli","5.cli",[613,616,621,625,630,633,638,642,647],{"title":177,"path":614,"stem":615,"icon":609},"\u002Fcli\u002Foverview","5.cli\u002F1.overview",{"title":617,"path":618,"stem":619,"icon":620},"Create a project","\u002Fcli\u002Fcreate-a-project","5.cli\u002F2.create-a-project","i-lucide-folder-plus",{"title":622,"path":623,"stem":624,"icon":569},"Platforms","\u002Fcli\u002Fplatforms","5.cli\u002F3.platforms",{"title":626,"path":627,"stem":628,"icon":629},"Custom platforms","\u002Fcli\u002Fcustom-platforms","5.cli\u002F4.custom-platforms","i-lucide-monitor-cog",{"title":160,"path":631,"stem":632,"icon":161},"\u002Fcli\u002Fmodules","5.cli\u002F5.modules",{"title":634,"path":635,"stem":636,"icon":637},"Refactoring","\u002Fcli\u002Frefactoring","5.cli\u002F6.refactoring","i-lucide-folder-tree",{"title":639,"path":640,"stem":641,"icon":52},"Upgrade","\u002Fcli\u002Fupgrade","5.cli\u002F7.upgrade",{"title":643,"path":644,"stem":645,"icon":646},"From code","\u002Fcli\u002Ffrom-code","5.cli\u002F8.from-code","i-lucide-code",{"title":648,"path":649,"stem":650,"icon":138},"Environment files","\u002Fcli\u002Fenvironment","5.cli\u002F9.environment",{"title":652,"icon":653,"path":654,"stem":655,"children":656,"page":53},"Contribute","i-lucide-git-pull-request","\u002Fcontribute","6.contribute",[657,660,665,691,696,699,703,716],{"title":177,"path":658,"stem":659,"icon":653},"\u002Fcontribute\u002Foverview","6.contribute\u002F1.overview",{"title":661,"path":662,"stem":663,"icon":664},"Local development","\u002Fcontribute\u002Flocal-development","6.contribute\u002F2.local-development","i-lucide-terminal",{"title":666,"icon":53,"path":667,"stem":668,"children":669,"page":53},"Writing a module","\u002Fcontribute\u002Fwriting-a-module","6.contribute\u002F3.writing-a-module",[670,674,679,683,688],{"title":671,"path":672,"stem":673,"icon":38},"Scaffold a module","\u002Fcontribute\u002Fwriting-a-module\u002Fscaffold","6.contribute\u002F3.writing-a-module\u002F1.scaffold",{"title":675,"path":676,"stem":677,"icon":678},"Setup checklist","\u002Fcontribute\u002Fwriting-a-module\u002Fsetup-checklist","6.contribute\u002F3.writing-a-module\u002F2.setup-checklist","i-lucide-list-checks",{"title":680,"path":681,"stem":682,"icon":43},"Database tables","\u002Fcontribute\u002Fwriting-a-module\u002Fdatabase-tables","6.contribute\u002F3.writing-a-module\u002F3.database-tables",{"title":684,"path":685,"stem":686,"icon":687},"Testing","\u002Fcontribute\u002Fwriting-a-module\u002Ftesting","6.contribute\u002F3.writing-a-module\u002F4.testing","i-lucide-flask-conical",{"title":71,"path":689,"stem":690,"icon":74},"\u002Fcontribute\u002Fwriting-a-module\u002Faccess-control","6.contribute\u002F3.writing-a-module\u002F5.access-control",{"title":692,"path":693,"stem":694,"icon":695},"Publishing","\u002Fcontribute\u002Fpublishing","6.contribute\u002F4.publishing","i-lucide-package-check",{"title":542,"path":697,"stem":698,"icon":6},"\u002Fcontribute\u002Fstarters","6.contribute\u002F5.starters",{"title":700,"path":701,"stem":702,"icon":56},"Documentation","\u002Fcontribute\u002Fdocumentation","6.contribute\u002F6.documentation",{"title":704,"icon":53,"path":705,"stem":706,"children":707,"page":53},"Tooling","\u002Fcontribute\u002Ftooling","6.contribute\u002F7.tooling",[708,711],{"title":462,"path":709,"stem":710,"icon":609},"\u002Fcontribute\u002Ftooling\u002Fcli","6.contribute\u002F7.tooling\u002F1.cli",{"title":712,"path":713,"stem":714,"icon":715},"ESLint config","\u002Fcontribute\u002Ftooling\u002Feslint-config","6.contribute\u002F7.tooling\u002F2.eslint-config","i-lucide-spell-check",{"title":717,"icon":53,"path":718,"stem":719,"children":720},"Decisions","\u002Fcontribute\u002Fdecisions","6.contribute\u002F8.decisions\u002Findex",[721,723,728],{"title":717,"path":718,"stem":719,"icon":722},"i-lucide-scale",{"title":724,"path":725,"stem":726,"icon":727},"Session lifetimes per OAuth client","\u002Fcontribute\u002Fdecisions\u002Foauth-token-lifetimes","6.contribute\u002F8.decisions\u002F1.oauth-token-lifetimes","i-lucide-timer",{"title":729,"path":730,"stem":731,"icon":74},"One permission model","\u002Fcontribute\u002Fdecisions\u002Fpermission-model","6.contribute\u002F8.decisions\u002F2.permission-model",{"id":733,"title":734,"body":735,"description":1729,"extension":1730,"links":1731,"meta":1732,"navigation":1733,"path":463,"seo":1734,"stem":464,"__hash__":1735},"docs\u002F3.modules\u002F7.interface\u002F7.desktop\u002F2.cli.md","Desktop CLI",{"type":736,"value":737,"toc":1720},"minimark",[738,751,756,964,996,1203,1217,1245,1250,1262,1284,1296,1300,1349,1352,1369,1378,1467,1474,1506,1560,1566,1572,1681,1692,1696,1702,1716],[739,740,741,742,746,747,750],"p",{},"This page covers the ",[743,744,745],"code",{},"frigear-desktop"," command and what each OS needs to build the app. Set up the module first:\n",[748,749,177],"a",{"href":457},".",[752,753,755],"h2",{"id":754},"commands","Commands",[757,758,763],"pre",{"className":759,"code":760,"language":761,"meta":762,"style":762},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","frigear-desktop init [--force] [--cwd \u003Cdir>]    # create src-tauri\u002F, then sync\nfrigear-desktop sync [--cwd \u003Cdir>]              # merge the desktop settings into src-tauri\u002F\nfrigear-desktop dev [--cwd \u003Cdir>] [-- \u003Cargs>]   # sync, then tauri dev\nfrigear-desktop build [--cwd \u003Cdir>] [-- \u003Cargs>] # sync, then tauri build\nfrigear-desktop sidecar [--cwd \u003Cdir>] [--target \u003Ctriple>] # local mode: the compiled server only\nfrigear-desktop doctor [--fix] [--cwd \u003Cdir>]    # Rust, @tauri-apps\u002Fcli, OS prerequisites, project\n","bash","",[743,764,765,801,829,867,902,940],{"__ignoreMap":762},[766,767,770,773,777,781,785,788,791,794,797],"span",{"class":768,"line":769},"line",1,[766,771,745],{"class":772},"sBMFI",[766,774,776],{"class":775},"sfazB"," init",[766,778,780],{"class":779},"sTEyZ"," [--force] ",[766,782,784],{"class":783},"sMK4o","[",[766,786,787],{"class":779},"--cwd ",[766,789,790],{"class":783},"\u003C",[766,792,793],{"class":779},"dir",[766,795,796],{"class":783},">]",[766,798,800],{"class":799},"sHwdD","    # create src-tauri\u002F, then sync\n",[766,802,804,806,809,812,814,817,820,823,826],{"class":768,"line":803},2,[766,805,745],{"class":772},[766,807,808],{"class":775}," sync",[766,810,811],{"class":779}," [--cwd ",[766,813,790],{"class":783},[766,815,816],{"class":775},"di",[766,818,819],{"class":779},"r",[766,821,822],{"class":783},">",[766,824,825],{"class":775},"]",[766,827,828],{"class":799},"              # merge the desktop settings into src-tauri\u002F\n",[766,830,832,834,837,839,841,843,845,847,849,852,854,857,860,862,864],{"class":768,"line":831},3,[766,833,745],{"class":772},[766,835,836],{"class":775}," dev",[766,838,811],{"class":779},[766,840,790],{"class":783},[766,842,816],{"class":775},[766,844,819],{"class":779},[766,846,822],{"class":783},[766,848,825],{"class":775},[766,850,851],{"class":779}," [-- ",[766,853,790],{"class":783},[766,855,856],{"class":775},"arg",[766,858,859],{"class":779},"s",[766,861,822],{"class":783},[766,863,825],{"class":775},[766,865,866],{"class":799},"   # sync, then tauri dev\n",[766,868,870,872,875,877,879,881,883,885,887,889,891,893,895,897,899],{"class":768,"line":869},4,[766,871,745],{"class":772},[766,873,874],{"class":775}," build",[766,876,811],{"class":779},[766,878,790],{"class":783},[766,880,816],{"class":775},[766,882,819],{"class":779},[766,884,822],{"class":783},[766,886,825],{"class":775},[766,888,851],{"class":779},[766,890,790],{"class":783},[766,892,856],{"class":775},[766,894,859],{"class":779},[766,896,822],{"class":783},[766,898,825],{"class":775},[766,900,901],{"class":799}," # sync, then tauri build\n",[766,903,905,907,910,912,914,916,918,920,922,925,927,930,933,935,937],{"class":768,"line":904},5,[766,906,745],{"class":772},[766,908,909],{"class":775}," sidecar",[766,911,811],{"class":779},[766,913,790],{"class":783},[766,915,816],{"class":775},[766,917,819],{"class":779},[766,919,822],{"class":783},[766,921,825],{"class":775},[766,923,924],{"class":779}," [--target ",[766,926,790],{"class":783},[766,928,929],{"class":775},"tripl",[766,931,932],{"class":779},"e",[766,934,822],{"class":783},[766,936,825],{"class":775},[766,938,939],{"class":799}," # local mode: the compiled server only\n",[766,941,943,945,948,951,953,955,957,959,961],{"class":768,"line":942},6,[766,944,745],{"class":772},[766,946,947],{"class":775}," doctor",[766,949,950],{"class":779}," [--fix] ",[766,952,784],{"class":783},[766,954,787],{"class":779},[766,956,790],{"class":783},[766,958,793],{"class":779},[766,960,796],{"class":783},[766,962,963],{"class":799},"    # Rust, @tauri-apps\u002Fcli, OS prerequisites, project\n",[739,965,966,969,970,969,973,969,976,979,980,983,984,987,988,991,992,995],{},[743,967,968],{},"init",", ",[743,971,972],{},"sync",[743,974,975],{},"dev",[743,977,978],{},"build"," and ",[743,981,982],{},"sidecar"," run ",[743,985,986],{},"nuxt prepare"," first, so they always use the current ",[743,989,990],{},"desktop"," options. They\nstop when ",[743,993,994],{},"desktop.appId"," is not set.",[997,998,999,1053,1076,1112,1154,1172,1191],"ul",{},[1000,1001,1002,1007,1008,1011,1012,1015,1016,1019,1020,1023,1024,1027,1028,1031,1032,1035,1036,1039,1040,1042,1043,1046,1047,1049,1050,1052],"li",{},[1003,1004,1005],"strong",{},[743,1006,968],{}," creates ",[743,1009,1010],{},"src-tauri\u002F",": ",[743,1013,1014],{},"Cargo.toml"," with Tauri 2 and the opener, deep-link and store plugins (and\nsingle-instance with its ",[743,1017,1018],{},"deep-link"," feature, autostart and updater when those options are on), ",[743,1021,1022],{},"src\u002Fmain.rs"," and\n",[743,1025,1026],{},"src\u002Flib.rs"," that register them, ",[743,1029,1030],{},"build.rs",", a ",[743,1033,1034],{},".gitignore"," for ",[743,1037,1038],{},"target\u002F"," and placeholder icons. Then it runs ",[743,1041,972],{},".\nFiles that exist are kept, unless you pass ",[743,1044,1045],{},"--force",". ",[743,1048,1026],{}," is yours from then on: ",[743,1051,972],{}," never changes it.",[1000,1054,1055,1059,1060,1063,1064,1067,1068,1071,1072,750],{},[1003,1056,1057],{},[743,1058,972],{}," merges ",[743,1061,1062],{},".nuxt\u002Fdesktop\u002Ftauri.json"," into ",[743,1065,1066],{},"src-tauri\u002Ftauri.conf.json",", keeping every key the module does not\nown, and writes ",[743,1069,1070],{},"src-tauri\u002Fcapabilities\u002Ffrigear.json",". Running it again changes nothing. See\n",[748,1073,1075],{"href":1074},"\u002Fmodules\u002Finterface\u002Fdesktop#what-the-module-writes","What the module writes",[1000,1077,1078,1082,1083,1086,1087,1090,1091,1094,1095,1097,1098,1101,1102,1104,1105,1108,1109,750],{},[1003,1079,1080],{},[743,1081,975],{}," runs ",[743,1084,1085],{},"tauri dev",". Its ",[743,1088,1089],{},"beforeDevCommand"," (",[743,1092,1093],{},"npx nuxt dev --port 3000",", written by ",[743,1096,968],{},") starts the dev\nserver, and the window opens on ",[743,1099,1100],{},"devUrl",". In local mode there is no sidecar under ",[743,1103,975],{},": the window loads\n",[743,1106,1107],{},"nuxt dev",", which uses NuxtHub's own database in ",[743,1110,1111],{},".data\u002F",[1000,1113,1114,1082,1118,1086,1121,1090,1124,1127,1128,1131,1132,1135,1136,1139,1140,1143,1144,1146,1147,1149,1150,1153],{},[1003,1115,1116],{},[743,1117,978],{},[743,1119,1120],{},"tauri build",[743,1122,1123],{},"beforeBuildCommand",[743,1125,1126],{},"npx nuxt generate",") builds the SPA into\n",[743,1129,1130],{},".output\u002Fpublic",", and Tauri bundles it. The installers end up in ",[743,1133,1134],{},"src-tauri\u002Ftarget\u002Frelease\u002Fbundle\u002F",". In local mode it\nruns ",[743,1137,1138],{},"nuxt build"," and compiles the server with Bun into ",[743,1141,1142],{},"src-tauri\u002Fbinaries\u002F\u003CbinaryName>-\u003Ctarget triple>"," first,\nthen ",[743,1145,1120],{}," without the ",[743,1148,1123],{},". The target is that of ",[743,1151,1152],{},"-- --target \u003Ctriple>",", else this\nmachine's.",[1000,1155,1156,1160,1161,1163,1164,1167,1168,1171],{},[1003,1157,1158],{},[743,1159,982],{}," (local mode) runs ",[743,1162,1138],{}," and compiles the server, without Tauri. Use ",[743,1165,1166],{},"--target \u003Ctriple>"," to\ncross-compile, for example ",[743,1169,1170],{},"x86_64-pc-windows-msvc"," from a Mac.",[1000,1173,1174,1179,1180,1183,1184,1187,1188,1190],{},[1003,1175,1176],{},[743,1177,1178],{},"doctor"," checks the machine and the app (in local mode also Bun and ",[743,1181,1182],{},"tauri-plugin-shell","), prints a fix for each problem, and exits with ",[743,1185,1186],{},"1"," when something blocks\na build. It works before ",[743,1189,986],{}," too, without the package checks.",[1000,1192,1193,1198,1199,750],{},[1003,1194,1195],{},[743,1196,1197],{},"doctor --fix"," sets up what is missing, then checks again. See ",[748,1200,1202],{"href":1201},"#set-up-a-machine","Set up a machine",[739,1204,1205,1206,1209,1210,1213,1214,750],{},"Options after ",[743,1207,1208],{},"--"," go to the Tauri CLI, such as ",[743,1211,1212],{},"frigear-desktop build -- --debug"," or\n",[743,1215,1216],{},"frigear-desktop build -- --bundles dmg",[739,1218,1219,1220,979,1222,1224,1225,1228,1229,1046,1232,1234,1235,1238,1239,1241,1242,1244],{},"Change ",[743,1221,1089],{},[743,1223,1123],{}," in ",[743,1226,1227],{},"tauri.conf.json"," if your app starts differently, for example\nwith ",[743,1230,1231],{},"pnpm dev",[743,1233,972],{}," does not own them, except that it keeps the ",[743,1236,1237],{},"npx nuxt dev --port \u003Cport>"," that ",[743,1240,968],{}," wrote on\nthe port of ",[743,1243,1100],{}," when you change the dev port.",[1246,1247,1249],"h3",{"id":1248},"icons","Icons",[739,1251,1252,1254,1255,979,1258,1261],{},[743,1253,968],{}," writes a plain placeholder ",[743,1256,1257],{},"icons\u002Ficon.png",[743,1259,1260],{},"icons\u002Ficon.ico",", so the project compiles. Replace them with\nyour logo before a release:",[757,1263,1265],{"className":759,"code":1264,"language":761,"meta":762,"style":762},"npx tauri icon path\u002Fto\u002Flogo.png   # a square PNG, 1024px, into src-tauri\u002Ficons\u002F\n",[743,1266,1267],{"__ignoreMap":762},[766,1268,1269,1272,1275,1278,1281],{"class":768,"line":769},[766,1270,1271],{"class":772},"npx",[766,1273,1274],{"class":775}," tauri",[766,1276,1277],{"class":775}," icon",[766,1279,1280],{"class":775}," path\u002Fto\u002Flogo.png",[766,1282,1283],{"class":799},"   # a square PNG, 1024px, into src-tauri\u002Ficons\u002F\n",[739,1285,1286,1289,1290,1293,1294,750],{},[743,1287,1288],{},"tauri icon"," writes more sizes than the placeholders. List them in ",[743,1291,1292],{},"bundle.icon"," of ",[743,1295,1227],{},[752,1297,1299],{"id":1298},"prerequisites","Prerequisites",[739,1301,1302,1303,979,1306,1309,1310,979,1316,1319,1320,1325,1326,1329,1330,1333,1334,969,1337,1340,1341,1344,1345,1348],{},"Every OS needs Rust (",[743,1304,1305],{},"cargo",[743,1307,1308],{},"rustc",") from ",[748,1311,1315],{"href":1312,"rel":1313},"https:\u002F\u002Frustup.rs",[1314],"nofollow","rustup.rs",[743,1317,1318],{},"@tauri-apps\u002Fcli"," in the app.\nLocal mode also needs ",[748,1321,1324],{"href":1322,"rel":1323},"https:\u002F\u002Fbun.sh",[1314],"Bun"," on the build machine: in ",[743,1327,1328],{},"BUN",", on the ",[743,1331,1332],{},"PATH",", or where bun.sh's\ninstaller puts it (",[743,1335,1336],{},"$BUN_INSTALL\u002Fbin",[743,1338,1339],{},"~\u002F.bun\u002Fbin","), in that order. ",[743,1342,1343],{},"frigear-desktop doctor"," checks all of them, and\n",[743,1346,1347],{},"frigear-desktop doctor --fix"," installs most of them.",[1246,1350,1202],{"id":1351},"set-up-a-machine",[757,1353,1355],{"className":759,"code":1354,"language":761,"meta":762,"style":762},"npx frigear-desktop doctor --fix\n",[743,1356,1357],{"__ignoreMap":762},[766,1358,1359,1361,1364,1366],{"class":768,"line":769},[766,1360,1271],{"class":772},[766,1362,1363],{"class":775}," frigear-desktop",[766,1365,947],{"class":775},[766,1367,1368],{"class":775}," --fix\n",[739,1370,1371,1372,1374,1375,1377],{},"It runs ",[743,1373,986],{},", then fixes what it can without help, and runs ",[743,1376,1178],{}," again:",[1379,1380,1381,1398],"table",{},[1382,1383,1384],"thead",{},[1385,1386,1387,1391],"tr",{},[1388,1389,1390],"th",{},"Missing",[1388,1392,1393,1394,1397],{},"What ",[743,1395,1396],{},"--fix"," does",[1399,1400,1401,1413,1432,1442,1453],"tbody",{},[1385,1402,1403,1407],{},[1404,1405,1406],"td",{},"Rust (macOS, Linux)",[1404,1408,1409,1410,750],{},"Runs the rustup installer unattended: ",[743,1411,1412],{},"curl --proto '=https' --tlsv1.2 -sSf https:\u002F\u002Fsh.rustup.rs | sh -s -- -y --profile minimal",[1385,1414,1415,1418],{},[1404,1416,1417],{},"Bun (local mode)",[1404,1419,1420,1421,1424,1425,1428,1429,750],{},"Runs bun.sh's installer: ",[743,1422,1423],{},"curl -fsSL https:\u002F\u002Fbun.sh\u002Finstall | bash"," (PowerShell's ",[743,1426,1427],{},"irm bun.sh\u002Finstall.ps1 | iex"," on Windows), into ",[743,1430,1431],{},"~\u002F.bun",[1385,1433,1434,1439],{},[1404,1435,1436,1438],{},[743,1437,1318],{},", Tauri plugin packages",[1404,1440,1441],{},"Adds them with the app's package manager (the one running the command, else the lockfile's, else pnpm).",[1385,1443,1444,1448],{},[1404,1445,1446],{},[743,1447,1010],{},[1404,1449,1450,1451,750],{},"Runs ",[743,1452,968],{},[1385,1454,1455,1458],{},[1404,1456,1457],{},"Xcode Command Line Tools (macOS)",[1404,1459,1450,1460,1463,1464,1466],{},[743,1461,1462],{},"xcode-select --install",", which opens Apple's dialog. Run ",[743,1465,1396],{}," again once it is done.",[739,1468,1469,1470,1473],{},"It never runs ",[743,1471,1472],{},"sudo",": the Linux system packages and the Windows installers below stay yours to install.",[739,1475,1476,1477,1479,1480,1482,1483,1213,1486,969,1489,1491,1492,979,1494,1496,1497,1293,1499,1502,1503,1505],{},"You do not need a new terminal after the installs. When ",[743,1478,1305],{}," is not on the ",[743,1481,1332],{}," but in ",[743,1484,1485],{},"$CARGO_HOME\u002Fbin",[743,1487,1488],{},"~\u002F.cargo\u002Fbin",[743,1490,1178],{}," says so and ",[743,1493,975],{},[743,1495,978],{}," put that folder on the ",[743,1498,1332],{},[743,1500,1501],{},"tauri",". Bun is found in\n",[743,1504,1339],{}," the same way.",[1379,1507,1508,1521],{},[1382,1509,1510],{},[1385,1511,1512,1515,1518],{},[1388,1513,1514],{},"OS",[1388,1516,1517],{},"Also needs",[1388,1519,1520],{},"Checked by doctor",[1399,1522,1523,1536,1547],{},[1385,1524,1525,1528,1533],{},[1404,1526,1527],{},"macOS",[1404,1529,1530,1531,750],{},"The Xcode Command Line Tools: ",[743,1532,1462],{},[1404,1534,1535],{},"Yes",[1385,1537,1538,1541,1544],{},[1404,1539,1540],{},"Windows",[1404,1542,1543],{},"The Microsoft C++ Build Tools (\"Desktop development with C++\") and WebView2.",[1404,1545,1546],{},"Noted only",[1385,1548,1549,1552,1558],{},[1404,1550,1551],{},"Linux",[1404,1553,1554,1557],{},[743,1555,1556],{},"pkg-config"," and WebKitGTK 4.1 with its build dependencies.",[1404,1559,1535],{},[739,1561,1562,1565],{},[1003,1563,1564],{},"Windows."," WebView2 ships with Windows 10 (version 1803 and later) and Windows 11. On older systems install the\nEvergreen runtime from Microsoft.",[739,1567,1568,1571],{},[1003,1569,1570],{},"Linux."," Install WebKitGTK 4.1 and the other build dependencies:",[757,1573,1575],{"className":759,"code":1574,"language":761,"meta":762,"style":762},"# Debian \u002F Ubuntu\nsudo apt install libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev \\\n  libayatana-appindicator3-dev librsvg2-dev\n# Fedora\nsudo dnf install webkit2gtk4.1-devel openssl-devel libappindicator-gtk3-devel librsvg2-devel\n# Arch\nsudo pacman -S webkit2gtk-4.1 base-devel openssl libappindicator-gtk3 librsvg\n",[743,1576,1577,1582,1616,1624,1629,1650,1655],{"__ignoreMap":762},[766,1578,1579],{"class":768,"line":769},[766,1580,1581],{"class":799},"# Debian \u002F Ubuntu\n",[766,1583,1584,1586,1589,1592,1595,1598,1601,1604,1607,1610,1613],{"class":768,"line":803},[766,1585,1472],{"class":772},[766,1587,1588],{"class":775}," apt",[766,1590,1591],{"class":775}," install",[766,1593,1594],{"class":775}," libwebkit2gtk-4.1-dev",[766,1596,1597],{"class":775}," build-essential",[766,1599,1600],{"class":775}," curl",[766,1602,1603],{"class":775}," wget",[766,1605,1606],{"class":775}," file",[766,1608,1609],{"class":775}," libxdo-dev",[766,1611,1612],{"class":775}," libssl-dev",[766,1614,1615],{"class":779}," \\\n",[766,1617,1618,1621],{"class":768,"line":831},[766,1619,1620],{"class":775},"  libayatana-appindicator3-dev",[766,1622,1623],{"class":775}," librsvg2-dev\n",[766,1625,1626],{"class":768,"line":869},[766,1627,1628],{"class":799},"# Fedora\n",[766,1630,1631,1633,1636,1638,1641,1644,1647],{"class":768,"line":904},[766,1632,1472],{"class":772},[766,1634,1635],{"class":775}," dnf",[766,1637,1591],{"class":775},[766,1639,1640],{"class":775}," webkit2gtk4.1-devel",[766,1642,1643],{"class":775}," openssl-devel",[766,1645,1646],{"class":775}," libappindicator-gtk3-devel",[766,1648,1649],{"class":775}," librsvg2-devel\n",[766,1651,1652],{"class":768,"line":942},[766,1653,1654],{"class":799},"# Arch\n",[766,1656,1658,1660,1663,1666,1669,1672,1675,1678],{"class":768,"line":1657},7,[766,1659,1472],{"class":772},[766,1661,1662],{"class":775}," pacman",[766,1664,1665],{"class":775}," -S",[766,1667,1668],{"class":775}," webkit2gtk-4.1",[766,1670,1671],{"class":775}," base-devel",[766,1673,1674],{"class":775}," openssl",[766,1676,1677],{"class":775}," libappindicator-gtk3",[766,1679,1680],{"class":775}," librsvg\n",[1682,1683,1684,1685,1688,1689,750],"warning",{},"On some Linux setups (often NVIDIA drivers or Wayland) WebKitGTK shows a blank or white window. Start the app with\n",[743,1686,1687],{},"WEBKIT_DISABLE_DMABUF_RENDERER=1",", for example ",[743,1690,1691],{},"WEBKIT_DISABLE_DMABUF_RENDERER=1 npx frigear-desktop dev",[752,1693,1695],{"id":1694},"deep-links-during-development","Deep links during development",[739,1697,1698,1699,1701],{},"macOS registers the deep-link schemes when the app bundle is installed, so a scheme link reaches the app only from a\nbuilt and installed app. On Linux, and on Windows in development, the generated ",[743,1700,1026],{}," registers the schemes\nwhen the app starts.",[739,1703,1704,1705,1707,1708,1711,1712,750],{},"Under ",[743,1706,975],{}," Auth signs in with a redirect inside the window instead, so the dev server's callback\n(",[743,1709,1710],{},"http:\u002F\u002Flocalhost:3000\u002Fauth\u002Fcallback",") has to be a redirect URI on the issuer. See\n",[748,1713,1715],{"href":1714},"\u002Fmodules\u002Finterface\u002Fdesktop#register-the-client-on-the-issuer","Register the client on the issuer",[1717,1718,1719],"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 pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}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":762,"searchDepth":803,"depth":803,"links":1721},[1722,1725,1728],{"id":754,"depth":803,"text":755,"children":1723},[1724],{"id":1248,"depth":831,"text":1249},{"id":1298,"depth":803,"text":1299,"children":1726},[1727],{"id":1351,"depth":831,"text":1202},{"id":1694,"depth":803,"text":1695},"Create and update the Tauri project, run the app in a window, build installers and check your machine.","md",null,{},{"title":462},{"title":734,"description":1729},"lCKgrBzC5VE6Tmyft_bxwGV7EGwfKdre4GjUigNcZR8",[1737,1739],{"title":177,"path":457,"stem":458,"description":1738,"children":-1},"Turns a Nuxt app into a Tauri desktop app for macOS, Windows and Linux, either a static SPA that signs in at a remote issuer or the whole app with its own offline server.",{"title":466,"path":467,"stem":468,"description":1740,"children":-1},"Ship the whole Nuxt app, server modules included, inside the desktop app. It runs offline on a sqlite database in the user's app-data folder.",1796157351630]