I cloned TikTok's UI in Next.js and build a real-time continually improving feed algorithm by giving a LLM a REPL.
It uses Durable Objects to make everything real-time and udpate for everyone globally, useful to track views, likes, bookmarks, users, chats.
The core idea was initially to take Sudo a project I worked on last year on generating UIs in realtime but make every short-form video a short looped canvas that showed an animation of some educational content.
[tbd more i have more to say but little time]