niso.moe
  • Projects
  • Posts
  • Contact

© 2026 niso.moe

  • Imprint
  • Privacy
  1. projects
  2. /
  3. orbit

Orbit

Source
Date
16 Aug 2026
Author
NINikki Sophie 🌸
Stack
Next.js, TypeScript, Tailwind CSS, shadcn/ui, PostgreSQL, Drizzle, Pusher, WebRTC
Tags
Front-EndBack-EndFull-StackWebsite

Pictures

A real-time social app with a feed, friends, messages and calls, and one button most social apps don't have: meet a stranger who likes the same things you do, talk for a while, and when either of you leaves, the conversation is gone.

What is Orbit?

A real-time social platform with everything in one place: a feed with posts, likes, hashtags and mentions; friends you invite and a private network of people you talk to; private messages and group rooms, with replies and edits, delivered in under a second; and audio and video calls straight between browsers. Notifications cover messages, mentions, likes and friend requests, with unread counts, sounds and settings for which ones you get. Every user has a profile page and settings for their account and privacy. All of it in English and German.

How does meeting a stranger work?

You join a queue and are paired with whoever is waiting with the most interests in common. The queue lives in PostgreSQL: a new arrival takes the best match and locks that row while it does, so two people can never be matched with the same person at once.

Ending the chat, closing the tab or navigating away tells the other person right away and deletes the conversation, messages and all. Closing the tab is the tricky one, since the page is already gone. It sends a beacon, which the server handles anyway.

How does it stay real time?

Messages, invites, matches and notifications go out through Pusher, so every open tab updates the moment something happens. Calls use WebRTC directly, without a video SDK: the browsers exchange their connection details through the site, then send audio and video to each other, with STUN and TURN servers to get through home routers and firewalls.

What about people who misbehave?

People, messages and posts can be reported. Moderators work through the reports from a dashboard and can ban accounts and IP addresses. The reporter gets a reference code and hears the outcome in a message from Orbit.

What did I learn?

A real-time app means a lot of state on the client: every incoming event has to update the page instantly, without blocking it or arriving twice. And writing the WebRTC side by hand, from offers and answers to ICE candidates and media streams, taught me far more than a video SDK would have.

Is it still going?

Not right now. Orbit is on hold, so there's no live version to try at the moment. The code is all in the repository, and I may well pick it up again.

On this page

  1. What is Orbit?
  2. How does meeting a stranger work?
  3. How does it stay real time?
  4. What about people who misbehave?
  5. What did I learn?
  6. Is it still going?
Back to top
Newer projectPortfolioThis site: my projects, my writing and the dashboard behind both, written from scratch, with no CMS and no template. You're reading its project page on the thing it describes…24 Aug 2026 · Next.js · TypeScript · Tailwind CSS
Older projectProfile ShowcaseMy profile page: who I am, what I'm up to right now, my socials and my photo collections, on one page. For its first few months, every word on it lived in one TypeScript file…15 Jul 2026 · Next.js · TypeScript · Tailwind CSS