跳到正文

正在自动登录…

← 返回项目列表

livliv-dev/player

角色播放口型同步面部追踪

LivLiv Player 是一个轻量级的 2.5D 角色播放器,用于在网页中嵌入虚拟角色,支持口型同步和摄像头面部追踪,并附带 21 个现成角色。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/11/6 08:36:29 · 查看原文

值得看TypeScript应用与服务兼有 库与框架
累计 Stars
349
当前热度
1~7 天 · 小火
仓库创建时间
打开 GitHub ↗项目网站 ↗

选用指南

AI 根据 README 整理 · 2026/11/6 08:36:29

使用方式

可通过 npm 安装并导入 Player 类在网页中使用,也提供 iframe 嵌入方式。

查看 README 依据
- **Online**: the examples run on [livliv-dev.github.io/player](https://livliv-dev.github.io/player/). - **Here**: `npm install && npm run build`, serve this folder with any static server and open `/example/demo.html` (expressions, actions, microphone, camera; `?model=../characters/<id>/` picks another character). `/example/png.html` and `/example/vrm.html` show a PNGTuber and a VRM. - **On livliv.ai**: each character's page there plays it with the same renderer. Start at [livliv.ai/discover](https://livliv.ai/discover). ## Use it in your page ```js
import { Player } from '@livliv/player' const player = new Player(document.querySelector('canvas')) await player.load('characters/k01/') // a folder with model.json and textures/, or a .livliv file player.setExpression('smile') // ids are in player.expressions player.act('nod') player.params.mouthOpen = 0.6 // 0..1 ``` Lip sync and face tracking: ```js import { createSpeech } from '@livliv/player/voice' import { startFaceTracking } from '@livliv/player/tracking' // needs @mediapipe/tasks-vision const speech = createSpeech(player)
部署要求

需要支持 WebGL2 和 ES2023 的浏览器,如 Chrome/Edge 97+、Firefox 104+、Safari 15.4+。

查看 README 依据
[CONTRIBUTING.md](CONTRIBUTING.md). Security reports: [SECURITY.md](SECURITY.md). ## Browser support WebGL2 and ES2023: Chrome / Edge 97+, Firefox 104+, Safari 15.4+. Tested on current desktop browsers, not yet on phones. ## License The code is under the [Apache License 2.0](LICENSE) (see also [NOTICE](NOTICE)). The featured characters have their own licence, [characters/LICENSE.md](characters/LICENSE.md). Neither licence covers the LivLiv name and logos. ## Thanks
已知限制

尚未在手机上测试,且核心包未发布到 npm,需从仓库构建。

查看 README 依据
The whole API is in [API.md](API.md): options, params, expressions and actions, drivers, VRM and PNGTuber characters, the limits on untrusted files, the model package and the format version. The LivLiv package format (`.livliv`, `model.json` v4) is in [FORMAT.md](FORMAT.md), with a JSON Schema in [`schema/`](schema/); packages exported before v4 are described in [FORMAT-v3.md](FORMAT-v3.md) and still play. > Not on npm yet: build it from this repository and import `dist/index.js`. ## Featured characters
[CONTRIBUTING.md](CONTRIBUTING.md). Security reports: [SECURITY.md](SECURITY.md). ## Browser support WebGL2 and ES2023: Chrome / Edge 97+, Firefox 104+, Safari 15.4+. Tested on current desktop browsers, not yet on phones. ## License The code is under the [Apache License 2.0](LICENSE) (see also [NOTICE](NOTICE)). The featured characters have their own licence, [characters/LICENSE.md](characters/LICENSE.md). Neither licence covers the LivLiv name and logos. ## Thanks

README

正在加载 README…

收录信息

仓库创建时间
2026/11/4 11:28:33
首次达标收录
2026/11/6 08:31:52
统计更新时间
2026/11/6 09:41:00

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 4.1 / 5

新颖度
3.6
实用价值
4.4
成熟度
4.5
实质含量
4.0

由 Jev 模型根据仓库描述与 README 评估,2026/11/6 08:31:52 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/11/6 08:36:02
许可证标识
Apache-2.0
Fork 数
40
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目