Docs Index
Use official Tauri 2 docs first, Context7 for targeted recall, local examples for case studies, and Jan only as evidence of real-world tradeoffs.
Source Priority
| Rank | Source | Use for | Trust level |
|---|---|---|---|
| 1 | Official Tauri v2 docs | Architecture, configuration, security, plugins, sidecars, tests, distribution | Authoritative for framework behavior |
| 2 | Tauri Rust API docs | AppHandle, State, command args, windows, channels, plugin APIs | Authoritative for Rust signatures |
| 3 | Microsoft WebView2 docs | Windows runtime distribution and update model | Authoritative for WebView2 runtime choices |
| 4 | Existing project files | Preserve app conventions and actual configs | Authoritative for that app only |
| 5 | _repos/janhq-jan | Production-style Tauri 2 AI app case study | Useful example, not a starter template |
| 6 | Community snippets and old answers | Migration hints only | Untrusted until verified against Tauri 2 docs |
Official Docs To Check
| Area | Canonical URL | Use before writing |
|---|---|---|
| Start | https://v2.tauri.app/start/ | Basic model, prerequisites, frontend setup |
| Architecture | https://v2.tauri.app/concept/architecture/ | Crates, CLI, bundler, TAO, WRY, plugins |
| Process model | https://v2.tauri.app/concept/process-model/ | Core process, webview process, trust boundary |
| Calling Rust | https://v2.tauri.app/develop/calling-rust/ | Commands, invoke, raw payloads, channels |
| Configuration | https://v2.tauri.app/reference/config/ | tauri.conf.json, build, app, security, bundle keys |
| Capabilities | https://v2.tauri.app/security/capabilities/ | Capability files and window/webview attachment |
| Permissions | https://v2.tauri.app/security/permissions/ | Permission identifiers and plugin permission files |
| Scope | https://v2.tauri.app/security/scope/ | Argument and path constraints |
| CSP | https://v2.tauri.app/security/csp/ | Content Security Policy shape |
| Asset protocol | https://v2.tauri.app/security/asset-protocol/ | Local asset exposure and scope |
| Sidecars | https://v2.tauri.app/develop/sidecar/ | externalBin, target triples, shell permissions |
| Mobile plugins | https://v2.tauri.app/develop/plugins/develop-mobile/ | Kotlin/Swift bridge shape and lifecycle |
| Updater | https://v2.tauri.app/plugin/updater/ | Update JSON, signatures, endpoints, relaunch |
| Windows installer | https://v2.tauri.app/distribute/windows-installer/ | MSI, NSIS, WebView2 install modes |
| Windows signing | https://v2.tauri.app/distribute/sign/windows/ | Certificates, SmartScreen, timestamping |
| macOS signing | https://v2.tauri.app/distribute/sign/macos/ | Developer ID, notarization, CI signing |
| Google Play | https://v2.tauri.app/distribute/google-play/ | Android AAB/APK release path |
| Tests | https://v2.tauri.app/develop/tests/ | Mock runtime and WebDriver layers |
Context7 IDs
| Library ID | Use |
|---|---|
/websites/v2_tauri_app | Primary Tauri v2 docs mirror for concepts, config, sidecars, updater, mobile, tests |
/websites/rs_tauri_2_9_3 | Rust API signatures and source snippets |
/tauri-apps/tauri-docs | Official docs source repo if cloned or indexed later |
/websites/tauri_app | Fallback when the v2 docs mirror lacks a page |
Local-Docs Status
local-docs list_repos succeeded during this learn run, but no official Tauri docs repo was indexed. Targeted Tauri searches returned no official Tauri results. Keep using Context7 and official web docs until tauri-apps/tauri-docs, tauri-apps/tauri, or tauri-apps/plugins-workspace are explicitly cloned and indexed.
Useful local example:
janhq-jan: real Tauri 2 app withsrc-tauri/, platform override configs, capabilities, updater config, desktop sidecars, desktop/mobile conditional code, and custom plugins.
Freshness Rules
- Recheck CLI, crate, JavaScript package, and plugin versions before editing manifests.
- Recheck plugin mobile support before promising Android or iOS support.
- Recheck WebView2 guidance before choosing installer mode for Windows releases.
- Recheck store docs before claiming App Store, Google Play, or Microsoft Store readiness.
- Do not turn Jan config into default guidance without comparing it against current official security docs.