Portfolio
All projects

LiveTypeScriptStable

Social

A social feed for me and my classmates. You post updates and photos, like posts, and reply in threads.

Result

Running since February 2025. It was the first app on Adorio.

The /social feed on oakar.dev with the post composer and recent posts pinned to the wall.

Built with

The problem

I wanted a place for me and my classmates to post updates and photos without using another platform.

What I built

Solo project. I built posts, likes, threaded comments with @mentions, image uploads, and login with refresh tokens.

How it works

  • The feed renders its first 12 posts on the server and streams them in, then infinite scroll takes over. Likes wait 100 ms, so fast clicks send one request.
  • Photos upload to Cloudinary, and replies can @mention people.

The hard part

Infinite scroll was a pain. Posts showed up twice, and every new page shuffled the images into different columns. The duplicates came from the server-rendered first page not matching what the browser fetched next, and I stopped the jumping by giving each post a fixed column. Getting the lines on the left of a reply thread to connect smoothly took a while too.