We've been attempting to migrate our app from sapper to sveltekit and ran into the problem of web sockets, in sapper we could simply attach the WebSocket server directly to the express server and be done with it, but as per Rich Harris' comments [here](https://github.com/sveltejs/kit/issues/334#issuecomment-804987028) and here [here](https://github.com/sveltejs/kit/issues/334#issuecomment-806289525) in sveltekit we don't want to expose direct access to the middlwares thus promoting the node adapter over the serverless ones. However seeing as some of the serverless providers are starting to support web sockets ([cloudflare](https://blog.cloudflare.com/introducing-websockets-in-workers/)) ([begin](https://blog.begin.com/introducing-architect-5-0-fully-serverless-websockets-20bb97673c4e)) ([AWS Lambda](https://aws.amazon.com/blogs/compute/announcing-websocket-apis-in-amazon-api-gateway/)) should sveltekit provide a way to handle these connections directly? A native approach to this could also potentially provide a tool to solve this [issue](https://github.com/sveltejs/kit/issues/87) and [this](https://github.com/sveltejs/kit/issues/887) **Describe the solution you'd like** An interesting solution could be to expose functions in endpoints in the same way we handle http requests, and then let the adapters handle the rest ```routes/api/index.ts``` ```js // Handle post requests export const post: RequestHandler = async (request) => {....} // Handle web socket requests export const ws: WebSocketRequestHandler = async (request) => {....} ``` A concern with this approach could be mixing protocols, within an endpoint could be confusing. Another could be if this becomes too complicated since as far as I know the initial [handshake](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers#the_websocket_handshake) to start a WebSocket connection is handled over http, would this then be handled directly by sveltekit which cou
FL score
out of 100
Verdict
high confidence
Competition
11
competitors found, nascent market, funded players
Trend
8 community mentions
A SvelteKit-native WebSocket integration via endpoint functions, addressing developer frustration with existing workarounds, but facing direct competition from SvelteKit's own impending solution.
The pain
The gap
Build angle
Strengths
Questions about this idea?
FlyBot reads the scoring and gives you a second opinion on “Native support for web sockets”.
Risks
Next steps
Fly Labs Method
Is the pain real, is there a gap, is it the right time, can one person build it.
This idea addresses a real and urgent pain point for SvelteKit developers regarding native WebSocket support, but the primary gap is closing fast as SvelteKit itself is developing a solution. Willingness to pay for a third-party tool is low, and the build complexity for a single person to compete with a core framework feature is high.
Value Equation
Dream outcome and how likely it feels, against the time and effort it costs.
While a clear pain exists in a growing market, the viability for a standalone product is low due to SvelteKit's impending native solution and unclear willingness to pay.
One-Person Business
Curiosity pull, identity fit, and a path from free value to paid for a solo creator.
Clear problem for a niche audience, but monetization is unlikely and SvelteKit is already filling the gap, making it a poor fit for a solo SaaS.
Viral Frameworks
Hook strength, shareability, and how cheaply it can be tested.
Specific audience and clear value, but a poor business model, high distribution challenges, and significant risk due to SvelteKit's own development.
Builder Lens
Evidence the problem exists, timing, defensibility, and a model that fits on a napkin.
Strong demand and clear problem, but the 'narrowest wedge' to payment is difficult and the core framework is addressing the need directly, reducing future fit for a third-party tool.
Why this verdict
Five lenses, one composite. How scoring works
The angle
This weekend
Who is already there, nascent market
SvelteKit adapter for Bun runtime, which supports WebSockets natively via Bun.serve()
Pricing: free
Popular WebSocket library that can be attached to SvelteKit server using adapter-node in hooks.server.js
Pricing: free
Realtime subscriptions over WebSockets, integrates with SvelteKit apps
Pricing: free tier, paid plans
A popular library for real-time, bidirectional, event-based communication. It works on every platform, browser or device, focusing on reliability and speed.
Pricing: Open Source (free)
A simple to use, blazing fast, and thoroughly tested WebSocket client and server for Node.js.
Pricing: Open Source (free)
A serverless WebSockets platform that helps developers scale real-time experiences like live chat and multiplayer collaboration for millions of users.
Pricing: Offers various plans, including a free tier, and scales based on usage (messages, connections, etc.)
A real-time communication platform offering APIs for chat, live updates, IoT, and more, handling infrastructure for persistent connections.
Pricing: Usage-based pricing, with various plans available.
Provides real-time WebSocket streaming APIs for live financial data (stocks, crypto, forex).
Pricing: Offers individual and commercial plans, including a basic tier for testing. Paid plans are required for real-time data for commercial use.
Offers real-time financial data for US market, Forex, and Digital Currencies via WebSockets with low latency.
Pricing: Real-time data is available in paid plans (EOD+Intraday and ALL-IN-ONE).
Streams real-time financial data, including press releases, for global companies.
Pricing: Premium access required for real-time press releases and other features.
Streams real-time financial news with sub-second latency via WebSocket connections, with advanced filtering.
Pricing: Not explicitly detailed, but implies a service requiring a subscription for real-time data.
Gaps they leave open
What people say, 8 mentions
Drop-in Awesome List
r/SaaS
I switched from email only to multichannel (email + linkedin) and reply rates roughly doubled. sharing what worked and what didnt.
r/Entrepreneur
Today I declined funding, I’m a bit conflicted.
r/Entrepreneur
Closed a small SaaS acquisition, here’s how long it actually took
r/Entrepreneur
Ride Sharing App Development: A Practical Guide Based on Real-World Research (2026)
r/SaaS
Prepping to Start my Business
r/Entrepreneur
Built an AI SaaS tool — here are my takeaways and mistakes.
r/SaaS
Built a Headless CMS That Lets You Update UI Instantly – Without App Rebuilds
r/SaaS
Recent news
Native support for Websockets in SvelteKit is now available for testing!
What's new in Svelte: March 2025, March 01 2025
SvelteKit with Integrated WebSocket Server
Hacker News, June 01 2023
Integrating WebSockets in SvelteKit | by Jack Reeve
Medium, October 13 2024
WebSockets with Sveltekit - Ben Knox
Ben Knox Blog, September 28 2025
Native support for websockets : r/sveltejs
Reddit, February 25 2025
Market signals
SvelteKit is actively working towards native WebSocket support, with testing versions available and community discussions highlighting the demand and existing workarounds using libraries like `ws` and `Socket.IO` or custom server setups.
Other
Founders spend excessive time on routine tasks that AI could complete in minutes, but no simple, purpose-built tool exists to handle them automatically without complex setup.
Other
Other