r/javascript • • Mar 25 '26

I wrote a (100% free) zero-config WebSocket server for indie devs

Thumbnail ittysockets.com
54 Upvotes

For years I've been working in realtime, but surprised that most devs just didn't touch it. Ultimately I think it's because the friction is simply too high - everyone thinks of it as managing subscriptions, hosting servers, etc. The code is messy, the infra setup requires some steps and a willingness to tinker.

So I dumbed it way down - mostly for my own uses (cross device communication, remote controlling apps, etc), and packaged it up as a 100% free (forever) service for the dev community. It's designed specifically to get you from zero to one with as little friction as possible.

Welcome to ittysockets.com :)

import { connect } from 'itty-sockets' // ~466 bytes

connect('my-secret-channel')
  .on('message', ({ message }) => console.log(message))
  .send('hello world')   // strings
  .send([1, 2, 3])       // arrays
  .send({ foo: 'bar' })  // objects

...meanwhile somewhere else:

import { connect } from 'itty-sockets' // ~466 bytes

connect('my-secret-channel')
  .on('message', ({ message }) => console.log(message))

// hello world
// [1, 2, 3]
// { foo: 'bar' }

This is a tiny, fully typed client, paired with a public relay server (or you can connect to your own of course).

In a single line you can either be pushing or receiving (or both) messages to a shared channel, no config needed!

Site has everything you need to get started, including docs, live examples, etc. Need anything more or wanna ask it it can handle your idea? I'm always available here, on X, Discord, etc. Just ask!

P.S. - Before anyone asks what the catch is, there is none. I'm reasonably well sponsored (GitHub), have a normal job, and use this service to power my own day trading. Selling a SaaS service is the least of my interests. I just like to see devs do cool stuff with the things I build.


r/javascript • • Mar 26 '26

I've built DebtFlow with @base44!

Thumbnail whispering-debt-flow-plan.base44.app
0 Upvotes

r/javascript • • Mar 26 '26

tiny CLI i built to stop debugging things that aren’t actually broken

Thumbnail tatertot-ochre.vercel.app
0 Upvotes

r/javascript • • Mar 24 '26

Hyperspan - Server-Oriented Framework with Dynamic Islands for React/Preact, Vue, and Svelte

Thumbnail hyperspan.dev
14 Upvotes

r/javascript • • Mar 23 '26

Announcing TypeScript 6.0

Thumbnail devblogs.microsoft.com
175 Upvotes

r/javascript • • Mar 24 '26

ayoob-sort, An adaptive sorting engine with the first non-comparison float sort in JavaScript

Thumbnail github.com
11 Upvotes

Built a general-purpose sorting library that adaptively switches between counting sort, radix sort, merge sort, and sorting networks depending on input type and size.

Results: 59/62 wins against npm sorting packages, 95.7% podium rate, 3–21x faster than native Array.sort()

Also includes what I believe is the first non-comparison float sort in JavaScript using IEEE 754 radix decomposition.

npm install ayoob-sort

Happy to answer any questions or have someone try to beat it.


r/javascript • • Mar 24 '26

AskJS [AskJS] Opinionated frameworks in the AI era

0 Upvotes

In the AI era, will we need highly structured and opnionated frameworks? They are designed to be strict, predictable and reproducible.


r/javascript • • Mar 23 '26

The Three Pillars of JavaScript Bloat

Thumbnail 43081j.com
24 Upvotes

r/javascript • • Mar 23 '26

Switch Framework (Electron Desktop apps + web apps)

Thumbnail npmjs.com
0 Upvotes

I created a lightweight javascript framework ,setup is like next plus react but i wrote my own backend codes and frontend one to help devs in creating web apps without runninf a build,they are running on runtime,routing,state management,layout management,compoment creation, already done

extras theming and server initialization and easy toput middlewares ..

i just want people to test it ,and give me feedback on it coz i tested it myself i am somehow confident

the main issue that bothered me on react and those new hooks added everyday to wrap up.the problem of rerendering the entire compoment even if the small changes happened on the input and clear the input bothered me earlier,also animation issues to use thoe renaimated and babel stuff ...even if i know how to implement them all but i spend much time with it and just decide to recreate something .and i asked myself why just not following the web standards like building on top of them instead of recreating new standards that led us to building and suffering on dependencies,on frontend i just utilized web components they are good and the best and i created a good structure and lifecycle so that is it easy to define simple components but deep down they ll render web components.they are well encapsulated on styles ,and if someone wants to contribute just hit me up. i am ready to cooperate with other peoples who think it is usefull,and i am not perfect i am accepting critics they make me improve myself better

npm pack link

https://www.npmjs.com/package/create-switch-framework-app


r/javascript • • Mar 23 '26

Showcase: Design Tokens Explorer

Thumbnail dtexplorer.io
0 Upvotes

If you're working with medium-to-large design systems, you know exactly how painful it is to track design token adoption in your code, or how hard it can be to visualise the tokens you actually need to use.

With Design Tokens Plugin (DTE), you can load your tokens from local or remote files and:

  • Find any design token across all your collections in seconds with fast fuzzy search. πŸ”
  • Organize and search tokens from multiple collections, design systems, or brand libraries. πŸ“š
  • Check your codebase against hard-coded values that can be replaced with a design token. βœ…
  • Tokens appear directly in editor suggestions, so you can use them easily in your preferred format. ✨
  • Instantly preview colors, font sizes, spacing, and other values before inserting them. 🎨
  • Search tokens across your codebase, copy them instantly, or insert them at the cursor with a single click. πŸ–±οΈ
  • This is also my first agentic and speech-driven product, developed using Claude Code and stream-coding. πŸ€–πŸ’»

The plugin is currently in beta an I would like to get as many feedback as possible during this launch period.