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. submitted by /u/kevin_whitley [link] [comments]