{"repo":"devgauravjatt/svelte-remote-functions-example","free":true,"listed":false,"github":"https://github.com/devgauravjatt/svelte-remote-functions-example","clone":"git clone https://github.com/devgauravjatt/svelte-remote-functions-example.git","description":"This is a showcase of SvelteKit Remote Functions with links to examples and discussions.","language":"Svelte","stars":15,"topics":["remote-function-call","svelte","sveltekit"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"⚡ SvelteKit Remote Functions Example Welcome to a demo of the new Remote Functions in SvelteKit! This feature is currently experimental 🧪 and provides a powerful way to colocate server logic directly with components using .remote.ts files. [!WARNING] Remote Functions are currently in experimental and not yet officially released in a stable version. --- 🤣 Fast use 🧪 What Are Remote Functions? Remote Functions let you write server-only logic in .remote.ts files and call them from your Svelte components as if they were regular functions. Depending on whether you're on the client or server, they either execute directly or automatically wrap a fetch() request behind the scenes. ✨ Highlights: - 🔐 Safe & secure server-only code (e.g., DB access, secrets) - 📦 Fully type-safe and colocated logic - 💨 Automatically serialized via devalue - 🔄 Reactive and cached query results - 🧩 Supports query , form , command , and prerender --- 📂 Examples Explore the source code examples: - ✅ Todos Example (Full CRUD) - 🧱 Simple Todos (Inspired by Joy of Code) --- 🔗 Official Resources - 📚 Remote Functions Official Discussion #13897 - 🎥 Joy of Code's Remote Function Example Repo --- 🧑‍💻 Try It Yourself To enable Remote Functions in your project: Then create a .remote.ts file and use query , form , or command from $app/server . Example: --- 📣 Contributions Welcome! Got ideas, examples, or improvements? Open a PR or issue — let’s build this together! 🚀 --- 📜 License MIT © devgauravjatt ","default_branch":null,"files":null,"tree":[],"storefront":"/r/devgauravjatt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/devgauravjatt/svelte-remote-functions-example/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."}