{"repo":"lanteanio/svelte-realtime","free":true,"listed":false,"github":"https://github.com/lanteanio/svelte-realtime","clone":"git clone https://github.com/lanteanio/svelte-realtime.git","description":"Native WebSocket RPC and reactive subscriptions for SvelteKit","language":"JavaScript","stars":144,"topics":["live-data","pub-sub","realtime","rpc","server-sent-events","svelte","svelte-adapter","sveltekit","uwebsockets","uwebsocketsjs"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"svelte-realtime Realtime RPC and reactive subscriptions for SvelteKit, built on svelte-adapter-uws . Documentation · Tutorial · Live Demo --- Write server functions. Import them in components. Call them over WebSocket. No boilerplate, no manual pub/sub wiring, no protocol design. Upgrading from 0.4.x? See the migration guide for every breaking change between 0.4.x and 0.5.x. --- Quick start This creates a SvelteKit project with svelte-realtime fully wired: adapter, vite plugins, WebSocket hooks, and a working counter example you can open in your browser right away. --- Version compatibility The three ecosystem packages move together. Bump them as a group: svelte-adapter-uws svelte-realtime svelte-adapter-uws-extensions Notes --- --- --- --- ^0.4.x ^0.4.x ^0.4.x Legacy stable ^0.5.0 ^0.5.0 ^0.5.0 Current. Node 22+ required. See MIGRATION.md if upgrading from 0.4. Mixed-version installs are rejected at install time with a peer-dep warning. --- Manual setup Starting from a SvelteKit project. If you do not have one yet, run npx sv create my-app && cd my-app && npm install first. Step 1: Install everything What each package does: - svelte-adapter-uws ( =0.4.0) - the SvelteKit adapter that runs your app on uWebSockets.js with built-in WebSocket support - svelte-realtime - this library (RPC + streams on top of the adapter) - uWebSockets.js - the native C++ HTTP/WebSocket server (installed from GitHub, not npm) - ws - dev dependency used by the adapter during npm run dev (not needed ","default_branch":null,"files":null,"tree":[],"storefront":"/r/lanteanio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lanteanio/svelte-realtime/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."}