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•1h 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•1h 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.

GameNative: PC Gaming on Android

https://gamenative.app/
1•dtj1123•38s ago•0 comments

Show HN: Darts Vision Benchmark

https://darteval.vercel.app/darts-vision/dashboard
1•red545•2m ago•0 comments

Engineering dogmas it's time to retire – by Anton Zaides

https://newsletter.manager.dev/p/5-engineering-dogmas-its-time-to
1•kiyanwang•4m ago•0 comments

From SimCity 2000 to Ruby on Rails: How Games Sparked My Love of Orchestration

https://adamfortuna.com/from-simcity-2000-to-ruby-on-rails
1•dyogenez•5m ago•1 comments

Go feature: Modernized go fix

https://antonz.org/accepted/modernized-go-fix/
1•birdculture•5m ago•0 comments

The Bet on Juniors Just Got Better – By Kent Beck

https://tidyfirst.substack.com/p/the-bet-on-juniors-just-got-better
1•kiyanwang•6m ago•0 comments

Commodore 64 Ultimate

https://bigzaphod.com/blog/commodore-64-ultimate/
1•cricalix•7m ago•1 comments

The Compensation Commandments

https://staysaasy.com/management/2025/12/14/compensation-commandments.html
1•kiyanwang•7m ago•0 comments

Why the world is running out of frankincense

https://www.bbc.com/future/article/20251219-why-the-world-is-running-out-of-frankincense
1•bookofjoe•13m ago•0 comments

YayText

https://yaytext.com/
1•foster_nyman•13m ago•1 comments

Creators Turn Your Outrage into Their Paycheck

https://thebookofragebait.com/
6•sy2x•16m ago•3 comments

State of RSS Survey 2025

https://stateofrss.com/2025
3•not--felix•19m ago•1 comments

Culture hasn't stagnated; rather, it has become more niche

https://greyenlightenment.com/2025/12/15/culture-hasnt-stagnated-rather-it-has-become-more-niche/
1•paulpauper•20m ago•0 comments

"it runs on your computer"

https://backnotprop.com/blog/its-on-your-computer/
1•ramoz•21m ago•0 comments

Show HN: Kanmail – Turn your inbox into a Kanban board

https://kanmail.io
1•Fizzadar•23m ago•0 comments

The gift card accountability sink

https://www.bitsaboutmoney.com/archive/gift-card-accountability-sink/
2•walterbell•23m ago•0 comments

Working with the end in sight: Re-thinking my approach to note-making

https://vhbelvadi.com/end-in-sight
1•rpgbr•23m ago•0 comments

Which countries have the best, and worst, living standards?

https://www.economist.com/graphic-detail/2025/05/06/which-countries-have-the-best-and-worst-livin...
1•andsoitis•26m ago•2 comments

immer – a library of persistent and immutable data structures written in C++

https://github.com/arximboldi/immer
2•smartmic•31m ago•1 comments

Switching to Omarchy

https://jordangoodman.bearblog.dev/switching-to-omarchy/
2•zekrom•31m ago•0 comments

A Guide to Local Coding Models

https://www.aiforswes.com/p/you-dont-need-to-spend-100mo-on-claude
20•mpweiher•35m ago•1 comments

Show HN: TorForge – Transparent Tor proxy with AI circuit selection

https://github.com/Jery0843/TorForge
1•0xjerry•35m ago•1 comments

Test Drive – Amiga 500 Longplay [Real Hardware] [video]

https://www.youtube.com/watch?v=JlMg6y10Bp8
2•doener•35m ago•0 comments

More on whether useful quantum computing is "imminent"

https://scottaaronson.blog/?p=9425
5•A_D_E_P_T•36m ago•0 comments

OpenAI's profit margins surge to 70% as enterprise grows

https://www.perplexity.ai/page/openai-s-profit-margins-surge-u2XDj2J8Sc6Pdc1.H32EyA
3•sheepscreek•40m ago•0 comments

GitHub vs. Amazon: 2025's gifts for programmers and sysadmins

https://thenewstack.io/github-vs-amazon-2025s-gifts-for-programmers-and-sysadmins/
1•MilnerRoute•40m ago•0 comments

Indie Game Awards retracts Indie Vanguard recognition due to ModRetro connection

https://twitter.com/PalmerLuckey/status/2002821669262643512
3•b_mc2•43m ago•1 comments

Rue: Higher level than Rust, lower level than Go

https://rue-lang.dev/
3•ingve•44m ago•1 comments

How to Conduct a Job Interview

https://www.economist.com/business/2025/12/18/how-to-conduct-a-job-interview
1•andsoitis•45m ago•0 comments

Langjam-Gamejam Devlog: Making a language, compiler, VM and 5 games in 52 hours

https://github.com/Syn-Nine/gar-lang/blob/main/DEVLOG.md
1•suioir•45m ago•0 comments