onlocal is doing quite well

Apr 30, 2026

A few months ago, I was using alot of ngrok. Was working on something webhooks and stuff, but then probably out of boredom or curiousity maybe, I thought, how does this work?

I was like let me not do any research and think this through my self.

I came up with a theory, it websocket. you open a websock with a remote server and whenver a resource is requested, it goes through the websocket to the local machine, get the stuff, and then the remote server responds.

was hyped, and got the clanker to create a poc. it worked!

after my POC, (built on DURABLE OBJECTS btw) was only then I got to research how this stuff actually works and should work.

the real stuff is much more fun, but i wanted to keep hacking my websocket thingy.

also watched the interview with the original creator of ngrok - [will update when I find the link]

one problem i had to solve was tunneling websocket connection through a websocket connection.

hmmm, don’t recommend.

anyways. onlocal.dev was fun to build and also fun to use.

i really don’t want to write technical stuff on this, you can clone the repo, point your clanker at it and you get a better understanding than i could explain to you probably.

here on this blog is for me to express my own process and share the excitement.

you should also try it out - onlocal.dev

just run : bunx onlocal PORT

add —client “some-string” to get a custom subdomain.

it actually one of my many side quests that actually got a bit of attension and based on the npm numbers (which i don’t trust), gaining quite a few downloads weekly.

onlocal weekly download - npmx.dev

onlocal weekly download - npmx.dev

/built-by-me

Owostack

Usage-based Billing Engine for AI Saas

Thirdpen

Personalised interactive learning with AI

Littlestats

Analytics for solo makers

/share