frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Twitch Plays Claude – Crowd-controlled live coding experiment

https://www.twitch.tv/artix187
2•Artix187•2h ago
Hi HN,

I built a live experiment called "Twitch Plays Claude". It’s exactly what it sounds like: inspired by Twitch Plays Pokémon, but instead of moving a sprite, the crowd controls an LLM (Claude 4.5 Opus) to live-code a single index.html file.

I’m really curious to see if this results in a chaotic mess or if a "wisdom of the crowd" effect kicks in to build a coherent application.

How it works:

Any user in the chat can submit a prompt using !idea <prompt>. This can be as simple as "Add a small button here", or it can try to modify the whole page like "Make the website a 3D space simulation using Three.js". The composition is where the chaos emerge. You can for instance write "!idea add a mario movie projected automatically on a screen in the space".

I implemented two modes to manage the chaos:

- Anarchy: Chat inputs are batched. I included a "pressure estimate" logic in the system prompt so the AI tries to satisfy the weighted demand of the crowd.

- Democracy: Inputs are synthesized by Claude, then voted on by chat before execution. Each complete cycle lasts about 1:30-2 mins.

To keep it interesting, the crowd sets a "Collective Goal" every 30 minutes. If the goal changes, the page resets; if kept, iteration continues.

The stack:

- Backend: FastAPI, Gunicorn, Nginx, and a custom Twitch bot. - Frontend: The stream updates the DOM using morphdom via websockets (used only to signal that something has changed). This was important to prevent full page refreshes and keep the visual experience smooth. If needed in the event of any refresh bug, the chat can reload the page using !refresh - Sandbox: It's heavily sandboxed, but I allowlisted libraries like Three.js so people can try to build 3D scenes or mini-games. - The AI used is Claude Opus 4.5 for both democratic synthesis and code (patchs) production. I implemented a custom system to make Claude not have to rewrite the full index.html each time.

I plan to keep this running for a few days. The GitHub repo auto-updates with every commit from the stream.

Depending on how it goes, I might implement hierarchical clustering on semantic embeddings to improve the Democracy mode, or give the chat control over the system prompt itself and/or reset the page.

Links:

- Live Stream: https://www.twitch.tv/artix187

- Result (Live Website, at your own risks): https://artix.tech/tpc

- Crowd-produced code: https://github.com/ArtixJP/twitch-plays-claude

Please let me know what you think or if you have any idea to improve the system!

Comments

Labo333•2h ago
Wow that's cool!

I think the hardest for this kind of projects is to keep it active. Environments with a "global state" like this (everyone shares the same website) are ultimately limited to surges (seasonal events like Magnus vs The World or a single game of Twitch plays Pokemon) or to a recurring flow of new people.

Maybe having multiple "realms", so that there are not too many people in a single realm in case of virality, and the ability for people to spawn their own realms would be nice (think skribbl or Among Us) but then it would kind of be a Lovable and cost a lot to host the LLM. But since the html code is open source, local LLMs (like Gemini Nano embedded in Chrome) could theoretically do the editing. In that case, the web page should definitely be marked as even unsafer! I wonder how one could avoid the red flag of Chrome for pages that are deliberately made to host collaborative crap.

Show HN: Books mentioned on Hacker News in 2025

https://hackernews-readings-613604506318.us-west1.run.app
273•seinvak•6h ago•107 comments

Show HN: WalletWallet – create Apple passes from anything

https://walletwallet.alen.ro/
238•alentodorov•6h ago•74 comments

Show HN: Autograd.c – a tiny ML framework built from scratch

https://github.com/sueszli/autograd.c
21•sueszli•5d ago•0 comments

Show HN: Shittp – Volatile Dotfiles over SSH

https://github.com/FOBshippingpoint/shittp
112•sdovan1•10h ago•59 comments

Show HN: I built a 1‑dollar feedback tool as a Sunday side project

https://onedollarfeedback.com/
3•jeremy0405•44m ago•0 comments

Show HN: RenderCV – Open-source CV/resume generator, YAML to PDF

https://github.com/rendercv/rendercv
58•sinaatalay•9h ago•33 comments

Show HN: Jmail – Google Suite for Epstein files

https://www.jmail.world
1348•lukeigel•1d ago•315 comments

Show HN: The Official National Train Map Sucked, So I Made My Own

https://www.bdzmap.com/
65•Pavlinbg•10h ago•20 comments

Show HN: AI-Augmented Memory for Groups

https://www.largemem.com/
8•vishal-ds•5d ago•4 comments

Show HN: HN Wrapped 2025 - an LLM reviews your year on HN

https://hn-wrapped.kadoa.com?year=2025
273•hubraumhugo•1d ago•146 comments

Show HN: Mushak – Zero config zero downtime Docker/Compose to server deployment

https://mushak.sh
19•hmontazeri•9h ago•12 comments

Show HN: Open-source Markdown research tool written in Rust – Ekphos

https://github.com/hanebox/ekphos
31•haneboxx•5d ago•14 comments

Show HN: Lyrics to Rolling WebVTT Converter

https://gitlab.com/9o1d/vtt
2•9o1d•7h ago•0 comments

Show HN: Passkeybot.com – add passkey auth with a few server side HTTP handlers

https://github.com/emadda/passkeybot
3•emadda•7h ago•0 comments

Show HN: BetterQR – I got tired of $20/mo+ subscriptions for simple QR codes

https://www.betterqr.app
3•dzrmb•7h ago•0 comments

Show HN: MomentBridge – A 24KB site to share life moments (pure HTML/CSS/JS)

https://vnglstzrs.github.io/momentbridge/
2•vangelistziaros•7h ago•1 comments

Show HN: ZXC – Asymmetric, +40% decode vs. LZ4 on ARM (C, BSD-3, Fuzzed)

https://github.com/hellobertrand/zxc
24•pollop_•4d ago•3 comments

Show HN: Claude Code Plugin to play music when waiting on user input

https://github.com/Sevii/agent-marketplace/blob/main/plugins/elevator-music/README.md
53•Sevii•1d ago•14 comments

Show HN: Twitch Plays Claude – Crowd-controlled live coding experiment

https://www.twitch.tv/artix187
2•Artix187•2h ago•1 comments

Show HN: Chishiko – 8 free AI tools for academic researchers (built on OpenAlex)

https://www.chishiko.com/
2•AiStyl•8h ago•0 comments

Show HN: Chart Preview – Preview environments for Helm charts on every PR

20•chartpreview•1d ago•9 comments

Show HN: Zero Trust API – Image CDR in Rust/WASM (Rebuild Images from Pixels)

https://zero-trust-web.vercel.app/
2•Raviteja_•10h ago•0 comments

Show HN: TinyPDF – 3kb pdf library (70x smaller than jsPDF)

https://github.com/Lulzx/tinypdf
247•lulzx•3d ago•32 comments

Show HN: Lockify – developer-friendly CLI for managing encrypted env variables

https://github.com/ahmed-abdelgawad92/lockify
4•ahmedabdelgawad•10h ago•2 comments

Show HN: I built an LLM agent that finds you online and roasts you

https://santa.veris.ai
2•_josh_meyer_•11h ago•0 comments

Show HN: I built a job board that filters "Ghost Jobs" in the Middle East

https://camels.work/
2•adityamallah•12h ago•2 comments

Show HN: Stickerbox, a kid-safe, AI-powered voice to sticker printer

https://stickerbox.com/
44•spydertennis•2d ago•58 comments

Show HN: Pixen 6 – New release of longstanding macOS pixel art editor

https://pixenapp.com/mac/
2•albertru90•5h ago•0 comments

Show HN: Picknplace.js, an alternative to drag-and-drop

https://jgthms.com/picknplace.js/
448•bbx•5d ago•149 comments

Show HN: Ava – open-source AI voice assistant that runs in the browser

https://ava.muthu.co/
2•muthukrishnanwz•14h ago•2 comments