[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116858":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":16,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":21,"createdAt":10,"pushedAt":22,"updatedAt":23,"readmeContent":24,"aiSummary":10,"trendingCount":15,"starSnapshotCount":15,"syncStatus":16,"lastSyncTime":25,"discoverSource":26},116858,"spoken-world","ryannli\u002Fspoken-world","ryannli","A real-time 3D world you change by talking to it.","https:\u002F\u002Fspoken-world.vercel.app",null,"JavaScript",57,12,51,0,2,44.54,"Apache License 2.0",false,"main",[],"2026-11-16 19:51:05","2026-11-22 11:49:47","\u003Ch1 align=\"center\">Spoken World\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\u003Cb>Say it, and the world changes.\u003C\u002Fb>\u003Cbr>\nA real-time 3D world you shape by talking to it, running in your browser.\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fspoken-world.vercel.app\">\u003Cb>Try it\u003C\u002Fb>\u003C\u002Fa> &nbsp;·&nbsp;\n  \u003Ca href=\"#ways-to-run-it\">Run it yourself\u003C\u002Fa> &nbsp;·&nbsp;\n  \u003Ca href=\"#cost\">Cost\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fhero.webp\" alt=\"The camera comes down over the town under the title Spoken World; then five spoken requests, each changing the world as it is said: a house grows a floor, trees fill an empty field, a pond appears, ten houses appear, and the street turns to a rainy night\" width=\"860\">\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Csub>\"Make this house taller.\" &nbsp;·&nbsp; \"Add many trees here.\" &nbsp;·&nbsp; \"Add a pond here.\" &nbsp;·&nbsp; \"Add ten houses here.\" &nbsp;·&nbsp; \"Make it a rainy night.\"\u003C\u002Fsub>\u003C\u002Fp>\n\n**You speak, and it is so.** Point at something, hold Space and say what you want. \"Make this house taller.\"\n\"Put a café across the street.\" \"Make it a rainy night.\" \"Add a sleepy boar.\" The world changes in front of you, while\nyou are still standing in it. People who live there can be clicked and spoken with.\n\n**An open world with no end, and a film set.** Wander and keep building: there is no list of things you are allowed to\nask for, so the game never runs out. Or direct it: \"orbit this house… farther… record it\", put three cameras on a bus,\nhave someone walk out of a door, then turn the clip you recorded into live-action footage.\n\n**All of it generated, all of it in the browser.** Every house, tree, bus and person is made by code, and anything that\ndoes not exist yet is written by a language model while you wait. It is drawn with Three.js and nothing else: no game\nengine, no model files, no install. Open a page and talk.\n\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd width=\"33%\" align=\"center\" valign=\"top\">\n      \u003Cimg src=\"docs\u002Fsay-it.gif\" alt=\"A bus becomes a double-decker when asked\" width=\"100%\">\u003Cbr>\n      \u003Cb>Say it\u003C\u002Fb>\u003Cbr>\n      \u003Csub>\"Make it a double-decker.\"\u003C\u002Fsub>\n    \u003C\u002Ftd>\n    \u003Ctd width=\"33%\" align=\"center\" valign=\"top\">\n      \u003Cimg src=\"docs\u002Fbuild-it.gif\" alt=\"A fountain is rebuilt from a spoken description\" width=\"100%\">\u003Cbr>\n      \u003Cb>Ask for what does not exist\u003C\u002Fb>\u003Cbr>\n      \u003Csub>\"Make this fountain grander: three marble tiers, four bronze horses, and a ring of jets.\"\u003C\u002Fsub>\n    \u003C\u002Ftd>\n    \u003Ctd width=\"33%\" align=\"center\" valign=\"top\">\n      \u003Cimg src=\"docs\u002Ffilm-it.gif\" alt=\"Three cameras film a bus; the clip becomes live-action footage\" width=\"100%\">\u003Cbr>\n      \u003Cb>Film it, then make it real\u003C\u002Fb>\u003Cbr>\n      \u003Csub>\"Film the bus with three cameras… now turn them into reality.\"\u003C\u002Fsub>\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\u003Cp align=\"center\">\u003Csub>Cut from a film recorded in the real interface. Captions were added in the edit; where the model's wait is shortened, the corner of the picture says so; the last clip ends in footage a video model made from the recording.\u003C\u002Fsub>\u003C\u002Fp>\n\n## From a 3D sketch to footage\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fpreviz-real.jpg\" alt=\"Four shots recorded in Spoken World, and the live-action footage a video model made from each\" width=\"100%\">\u003C\u002Fp>\n\nTop row: frames of clips recorded in the world. Bottom row: the same moment of the footage a video model made from each\nclip, keeping the camera move and where everything stands. The page comes with these pairs to play side by side.\n\n## Ways to run it\n\nIt needs a model for nearly all of this: either you give the page a Gemini API key, or you run it as a Claude artifact\non your own Claude account. Without a key the hosted page still lets you walk in and look around, as a preview: only\nthe built-in commands work there, and the page says so.\n\n### 1. The hosted page, with your Gemini key\n\nOpen https:\u002F\u002Fspoken-world.vercel.app and paste a key from https:\u002F\u002Faistudio.google.com\u002Fapikey.\nThe key stays in your browser and goes only to Google's Gemini API ([how the key is handled](SECURITY.md)).\n\n### 2. On your own computer\n\nNeeds Node 18 or later. No dependencies to install.\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002Fryannli\u002Fspoken-world && cd spoken-world\nnode site\u002Fbuild.mjs\nnode site\u002Fserve.js          # http:\u002F\u002Flocalhost:8080\n```\n\nTo skip typing the key, put it in a file the local server reads (it is handed only to the page on localhost,\nkept in memory, never printed):\n\n```sh\necho 'GEMINI_API_KEY=your-key' > .env      # .env is git-ignored\n```\n\n`GEMINI_API_KEY` in the environment, or `SW_ENV_FILE=\u002Fpath\u002Fto\u002Ffile`, work too.\n\n### 3. Your own deployment\n\nImport the repository into Vercel and press Deploy: `vercel.json` already says how to build\n(`node site\u002Fbuild.mjs`, output `site\u002Fdist`). Any static host works the same way; the microphone needs HTTPS\nand the `Permissions-Policy: microphone=(self)` header.\n\n### 4. As a Claude artifact\n\n`app\u002F` on its own is a complete page that takes its model, speech-to-text and file saving from the Claude\nartifact runtime (`window.claude.use(...)`, wrapped in `app\u002Fjs\u002Fhost.js`). Published as an artifact from\nClaude, it needs no API key: each viewer has to be signed in to Claude (the page says so if they are not)\nand plays on their own Claude usage. The video model is not available\nthere, so \"Make it real\" exports the clip for you to take elsewhere.\n\n## Cost\n\nThe page calls Gemini with your key, so Google bills you. Measured in November 2026 with the models set in\n`site\u002Fgemini.js`; prices change, so treat these as orders of magnitude:\n\n| What you do | Model | About |\n| --- | --- | --- |\n| A command the local grammar understands (most edits, moves, camera notes) | none | free, instant |\n| A command that needs the model | Gemini 4 Hydrogen | $0.01, 2-4 s |\n| A person answering you | Gemini 4 Hydrogen | under $0.01 |\n| A new kind of object written for you | Gemini 4 Hydrogen | $0.07, about 30 s |\n| A whole place planned (\"build a harbor\") | Gemini 4 Hydrogen | $0.15 |\n| Voice input | Gemini 3.5 Transcribe Live | about $0.01 a minute |\n| \"Make it real\" on a clip | Gemini Omni | about $0.10 per second of video; no free tier |\n\n\"Make it real\" runs only when you press it. The page shows what each call used in `SW_HOST.usage` (browser console).\n\n## For developers\n\nHow it works inside is written up in [ARCHITECTURE.md](ARCHITECTURE.md).\n\nScenario scripts that run inside the page under Playwright, with a stand-in for the model (no key, nothing billed):\n\n```sh\ncd tests && npm install && npx playwright install chromium\nnode run.js                # all of them\nnode run.js aim2 route1    # some\n```\n\nEach prints what happened; they are read, not asserted. See the top of `tests\u002Frun.js`.\n\n## Known limits\n\n- Desktop browsers with a keyboard and mouse; Chrome is the one it is tested in.\n- One clip is at most 10 seconds.\n- Paths written for cars avoid buildings but do not follow roads.\n- Only houses, shops and cafés have doors that open.\n- People are simple figures.\n- The world is saved in the browser's local storage: one world per browser, no accounts, no sharing.\n- The scene description sent to the video model is written by rule from the world, not by a model; you can edit it before sending.\n\n## License\n\nCode: [Apache-2.0](LICENSE). Third-party parts and the example clips: see [NOTICE](NOTICE).\n","2026-11-24 04:54:24","CREATED_QUERY"]