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

RankSourceUse forTrust level
1Official Tauri v2 docsArchitecture, configuration, security, plugins, sidecars, tests, distributionAuthoritative for framework behavior
2Tauri Rust API docsAppHandle, State, command args, windows, channels, plugin APIsAuthoritative for Rust signatures
3Microsoft WebView2 docsWindows runtime distribution and update modelAuthoritative for WebView2 runtime choices
4Existing project filesPreserve app conventions and actual configsAuthoritative for that app only
5_repos/janhq-janProduction-style Tauri 2 AI app case studyUseful example, not a starter template
6Community snippets and old answersMigration hints onlyUntrusted until verified against Tauri 2 docs

Official Docs To Check

AreaCanonical URLUse before writing
Starthttps://v2.tauri.app/start/Basic model, prerequisites, frontend setup
Architecturehttps://v2.tauri.app/concept/architecture/Crates, CLI, bundler, TAO, WRY, plugins
Process modelhttps://v2.tauri.app/concept/process-model/Core process, webview process, trust boundary
Calling Rusthttps://v2.tauri.app/develop/calling-rust/Commands, invoke, raw payloads, channels
Configurationhttps://v2.tauri.app/reference/config/tauri.conf.json, build, app, security, bundle keys
Capabilitieshttps://v2.tauri.app/security/capabilities/Capability files and window/webview attachment
Permissionshttps://v2.tauri.app/security/permissions/Permission identifiers and plugin permission files
Scopehttps://v2.tauri.app/security/scope/Argument and path constraints
CSPhttps://v2.tauri.app/security/csp/Content Security Policy shape
Asset protocolhttps://v2.tauri.app/security/asset-protocol/Local asset exposure and scope
Sidecarshttps://v2.tauri.app/develop/sidecar/externalBin, target triples, shell permissions
Mobile pluginshttps://v2.tauri.app/develop/plugins/develop-mobile/Kotlin/Swift bridge shape and lifecycle
Updaterhttps://v2.tauri.app/plugin/updater/Update JSON, signatures, endpoints, relaunch
Windows installerhttps://v2.tauri.app/distribute/windows-installer/MSI, NSIS, WebView2 install modes
Windows signinghttps://v2.tauri.app/distribute/sign/windows/Certificates, SmartScreen, timestamping
macOS signinghttps://v2.tauri.app/distribute/sign/macos/Developer ID, notarization, CI signing
Google Playhttps://v2.tauri.app/distribute/google-play/Android AAB/APK release path
Testshttps://v2.tauri.app/develop/tests/Mock runtime and WebDriver layers

Context7 IDs

Library IDUse
/websites/v2_tauri_appPrimary Tauri v2 docs mirror for concepts, config, sidecars, updater, mobile, tests
/websites/rs_tauri_2_9_3Rust API signatures and source snippets
/tauri-apps/tauri-docsOfficial docs source repo if cloned or indexed later
/websites/tauri_appFallback 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 with src-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.