{"repo":"codeitlikemiley/tauri-leptos-ssr","free":true,"listed":false,"github":"https://github.com/codeitlikemiley/tauri-leptos-ssr","clone":"git clone https://github.com/codeitlikemiley/tauri-leptos-ssr.git","description":"Tauri v2 with Leptos SSR and Tailwind v4 Starter Template","language":"Rust","stars":22,"topics":[],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Tauri + Leptos SSR A cargo-generate template for building Tauri v2 desktop apps with full Leptos server-side rendering . The Axum SSR server runs as a Tokio task inside the Tauri process on a dynamically allocated port. The WebView navigates to the embedded server, giving you true SSR with server functions while shipping a single native binary . Features - Full SSR — Leptos renders pages server-side within the Tauri process - Server Functions — #[server] functions execute in the same process - Single Binary — no sidecar, no companion process - Dynamic Port — binds to 127.0.0.1:0 to avoid port conflicts - Tailwind CSS 4 — via @import \"tailwindcss\" in style/input.css - Dual-Target — the app crate supports both Tauri (filesystem) and Spin (KV store) via feature flags Prerequisites - Rust (stable) - cargo-generate: cargo install --locked cargo-generate - cargo-leptos: cargo install --locked cargo-leptos - Tauri CLI: cargo install tauri-cli Getting Started Generate from Template Development This runs cargo leptos watch (via beforeDevCommand ) which starts the standalone server binary on :3000 with hot-reload. Tauri opens the WebView at http://localhost:3000 . Production Build This runs cargo leptos build --release (via beforeBuildCommand ), bundles the site assets as Tauri resources, and compiles everything into a single native binary with the Axum server embedded. Project Structure How It Works Dev Mode ( cargo tauri dev ) 1. beforeDevCommand runs cargo leptos watch → starts the ","default_branch":null,"files":null,"tree":[],"storefront":"/r/codeitlikemiley","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/codeitlikemiley/tauri-leptos-ssr/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}