Skip to content

About

Sveltekit websocket example

Topics

Resources

Stars

27 stars

Watchers

2 watching

Forks

Repository files navigation

Sveltekit Web Sockets

Screencast.from.2025-03-25.08-59-00.mp4

Socket Server Endpoint Logic

  • The socket server endpoint can be found at src/routes/ws. We create a socket connection using the experimental ws sveltekit feature which uses crossws under the hood . Please look at the comments on the server endpoint to understand the logic and refer to crossws for documentation. The Endpoint is served on the root page file
  • The project also uses shadcn-svelte and shadcn-svelte-chat for the UI

About

Sveltekit websocket example

Topics

Resources

Stars

27 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages