[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108765":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":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":35,"updatedAt":36,"readmeContent":37,"aiSummary":38,"trendingCount":16,"starSnapshotCount":16,"syncStatus":39,"lastSyncTime":40,"discoverSource":41},108765,"player","livliv-dev\u002Fplayer","livliv-dev","A lightweight 2.5D character player for the web, with lip sync and webcam face tracking.","https:\u002F\u002Flivliv-dev.github.io\u002Fplayer\u002F",null,"TypeScript",1622,167,3,1,0,4,52,739,22,92.68,"Apache License 2.0",false,"main",true,[27,28,29,30,31,32,33,34],"avatar","character","face-tracking","lip-sync","pngtuber","vrm","vtuber","webgl2","2026-11-23 14:05:24","2026-11-23 11:06:12","\u003Cp align=\"center\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"media\u002Flivliv-player-wordmark-white.svg\">\n    \u003Cimg alt=\"LivLiv Player\" src=\"media\u002Flivliv-player-wordmark-2000.png\" width=\"360\">\n  \u003C\u002Fpicture>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  A lightweight 2.5D character player for the web, with lip sync and webcam face tracking. A few lines of code put a character in a page, a stream overlay or an app.\u003Cbr>\n  Comes with 21 featured characters in different styles, ready to use.\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Cb>English\u003C\u002Fb> · \u003Ca href=\"README.zh-CN.md\">中文\u003C\u002Fa> · \u003Ca href=\"README.ja.md\">日本語\u003C\u002Fa> · \u003Ca href=\"README.vi.md\">Tiếng Việt\u003C\u002Fa>\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Cimg src=\"media\u002Fdemo.gif\" alt=\"Featured characters breathing, blinking, turning their heads and talking\" width=\"720\">\u003C\u002Fp>\n\n- WebGL2, no dependencies, about 30 KB gzipped for the core\n- Lip sync (microphone, audio, video) and webcam face tracking (MediaPipe), both in the browser, imported only when you need them\n- Plays LivLiv, VRM and PNGTuber characters through the same API\n- 21 featured characters in [`characters\u002F`](characters\u002F), ready to use\n\n## Try it\n\n- **Online**: the examples run on [livliv-dev.github.io\u002Fplayer](https:\u002F\u002Flivliv-dev.github.io\u002Fplayer\u002F).\n- **Here**: `npm install && npm run build`, serve this folder with any static server and open `\u002Fexample\u002Fdemo.html`\n  (expressions, actions, microphone, camera; `?model=..\u002Fcharacters\u002F\u003Cid>\u002F` picks another character).\n  `\u002Fexample\u002Fpng.html` and `\u002Fexample\u002Fvrm.html` show a PNGTuber and a VRM.\n- **On livliv.ai**: each character's page there plays it with the same renderer. Start at\n  [livliv.ai\u002Fdiscover](https:\u002F\u002Flivliv.ai\u002Fdiscover).\n\n## Use it in your page\n\n```sh\nnpm install @livliv-dev\u002Fplayer\n```\n\n```js\nimport { Player } from '@livliv-dev\u002Fplayer'\n\nconst player = new Player(document.querySelector('canvas'))\nawait player.load('characters\u002Fk01\u002F')   \u002F\u002F a folder with model.json and textures\u002F, or a .livliv file\n\nplayer.setExpression('smile')          \u002F\u002F ids are in player.expressions\nplayer.act('nod')\nplayer.params.mouthOpen = 0.6          \u002F\u002F 0..1\n```\n\nLip sync and face tracking:\n\n```js\nimport { createSpeech } from '@livliv-dev\u002Fplayer\u002Fvoice'\nimport { startFaceTracking } from '@livliv-dev\u002Fplayer\u002Ftracking'   \u002F\u002F needs @mediapipe\u002Ftasks-vision\n\nconst speech = createSpeech(player)\nbutton.onclick = () => { speech.unlock(); speech.say('\u002Freply.mp3') }\n\nawait startFaceTracking(player)\n```\n\nA VRM or a PNGTuber, on the same API:\n\n```js\nimport { BodyPlayer } from '@livliv-dev\u002Fplayer\u002Fbody'\nimport { VrmBody } from '@livliv-dev\u002Fplayer\u002Fvrm'    \u002F\u002F needs three and @pixiv\u002Fthree-vrm\nimport { PngBody } from '@livliv-dev\u002Fplayer\u002Fpng'\n\nconst vrm = new BodyPlayer(canvasA, new VrmBody())\nawait vrm.load('\u002Favatars\u002Fme.vrm')\nconst png = new BodyPlayer(canvasB, new PngBody())\nawait png.load({ closed: 'me-closed.png', open: 'me-open.png' })\n```\n\nThe whole API is in [API.md](API.md): options, params, expressions and actions, drivers, VRM and PNGTuber characters,\nthe limits on untrusted files, the model package and the format version. The LivLiv package format (`.livliv`,\n`model.json` v4) is in [FORMAT.md](FORMAT.md), with a JSON Schema in [`schema\u002F`](schema\u002F); packages exported before v4\nare described in [FORMAT-v3.md](FORMAT-v3.md) and still play.\n\n> The npm package is the player alone. The featured characters are in this repository's [`characters\u002F`](characters\u002F): copy\n> the ones you use next to your page, with their licence.\n\n## Featured characters\n\n`characters\u002F` holds 21 characters, ready to `load()`. They carry a small LivLiv mark in the bottom-right corner, which\nthe player draws. They are **not** covered by the Apache License. Most were made by LivLiv: use those free for personal, non-commercial projects with credit\n(\"Characters: LivLiv (livliv.ai)\"); don't sell them, use them commercially or train AI models on them. Nana is\nLivLiv's mascot. The terms are in [characters\u002FLICENSE.md](characters\u002FLICENSE.md).\n\nKujira, Kujira Q and Pen come from other people's work: that licence and that credit don't cover them. Their sources,\ncredits and terms are in [characters\u002FCREDITS.md](characters\u002FCREDITS.md).\n\nEach also has a `cover.webp` (512 x 768, about 50 KB), its first frame without the mark. `player.load(source, { poster })`\nshows it on the canvas until the first frame. To have it before any script has run, put it under the canvas with\n`object-fit: contain` and fade the character in over it, as [example\u002Floading.js](example\u002Floading.js) does.\n\n| id | name | id | name | id | name |\n|---|---|---|---|---|---|\n| `k01` | Sena | `d01` | Yui | `v01` | Aster |\n| `k02` | Elio | `d02` | Leo | `v03` | Mira |\n| `char06` | Aoi | `d03` | Nana | `v04` | Kai |\n| `char07` | Sora | `d03ft` | Nana (refined) | `v05` | Lilith |\n| `s01` | Hana | `p01` | Kujira | `v06` | Usa |\n| `q02` | Mochi | `p02` | Kujira Q | `v07` | Stella |\n| `q03` | Kotaro | `p03` | Pen | `w01` | Max |\n\n## Characters of your own\n\nYou can bring in a PNGTuber's pictures, or a VRM (drawn with three.js); or make a character of your own from one\npicture on [livliv.ai](https:\u002F\u002Flivliv.ai).\n\n- **A PNGTuber**: two pictures (mouth closed, mouth open), and two more with the eyes closed if you have them.\n- **A VRM**: from VRoid Studio or any tool that exports VRM 0.x or 1.0.\n- **A LivLiv model**: make one from a picture on [livliv.ai](https:\u002F\u002Flivliv.ai), then download its model package from\n  the character's page (**Model package**): a `.livliv` file. Pass it to `load()` as it is (a URL, or the `File`\n  someone picked), or unzipped as a folder. Packages on the free plan carry the LivLiv mark, and the player draws it.\n\n## About the player and the characters\n\nLivLiv Player and the `.livliv` format are LivLiv's own work. They use no Live2D software or Cubism SDK and do not\nread `.moc3` or `.cmo3` files. \"Live2D\" is a trademark of Live2D Inc.; LivLiv is not affiliated with it.\n\nMaking a character on livliv.ai uses AI. The player itself only plays: it calls no AI service and reads only the files\nyou point it at. Face tracking runs Google's MediaPipe in the browser, and camera images stay on the device; API.md has\nthe networking details.\n\nThe featured characters in this repository were made on LivLiv too, also with AI; Kujira, Kujira Q and Pen adapt other\npeople's characters ([credits](characters\u002FCREDITS.md)). Refined Nana (`d03ft`) also has\nswinging parts and head-turn keyforms added with LivLiv's own tools.\n\nA package's `meta.author` and `meta.license` record who made it and on what terms: keep them and follow them. When you\nshow a character made with LivLiv in public, say that AI was used to make it, and don't present it as hand-drawn or\nhand-rigged.\n\n## Embed without code\n\n```html\n\u003Ciframe src=\"https:\u002F\u002Flivliv.ai\u002Flive\u002Fk01\" width=\"480\" height=\"640\" allow=\"camera; microphone\"\n  style=\"border:0;background:transparent\">\u003C\u002Fiframe>\n```\n\nThe same `\u002Flive\u002F\u003Cid>` page has a transparent background and works as an OBS Browser Source.\n\n## Develop\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002Flivliv-dev\u002Fplayer\ncd player\nnpm install\nnpm run check          # types\nnpm run build          # dist\u002F: index.js, tracking.js, voice.js, body.js, png.js, vrm.js (ES modules), chunks\u002F and types\u002F\nnpm test               # unit and fuzz tests (Node 22.18 or newer, no browser)\nnpm run test:browser   # every featured character drawn in headless Chromium; once: npx playwright-core install chromium-headless-shell\nnpm run test:engines   # a sample on Firefox and WebKit, where WebGL2 starts (a GPU or a software GL); once: npx playwright-core install firefox webkit\n```\n\n`src\u002Fruntime\u002F` is the renderer and motion code livliv.ai runs; this repository is published from it. See\n[CONTRIBUTING.md](CONTRIBUTING.md). Security reports: [SECURITY.md](SECURITY.md).\n\n## Browser support\n\nWebGL2 and ES2023: Chrome \u002F Edge 97+, Firefox 104+, Safari 15.4+. Tested on current desktop browsers, not yet on phones.\n\n## License\n\nThe code is under the [Apache License 2.0](LICENSE) (see also [NOTICE](NOTICE)). The featured characters have their\nown licence, [characters\u002FLICENSE.md](characters\u002FLICENSE.md). Neither licence covers the LivLiv name and logos.\n\n## Thanks\n\nThanks to 上善无形, ZipZipPipe and 贱兔死顺盖, whose characters Kujira, Kujira Q and Pen are based on: see [characters\u002FCREDITS.md](characters\u002FCREDITS.md).\n","LivLiv Player 是一个轻量级的 Web 端 2.5D 虚拟角色播放器，支持唇形同步与摄像头人脸追踪。核心基于 WebGL2 实现，无第三方依赖，压缩后约 30 KB；支持 LivLiv、VRM 和 PNGTuber 三类模型统一加载与控制，内置 21 个即用型角色；语音驱动（麦克风\u002F音频\u002F视频）和人脸追踪（MediaPipe）模块按需导入。适用于网页虚拟主播、在线客服形象、教育互动课件、直播叠加层等需要轻量、实时、跨模型角色驱动的前端场景。",2,"2026-11-24 04:35:11","CREATED_QUERY"]