{"id":28418991,"url":"https://github.com/larchliu/vitar","last_synced_at":"2025-08-15T23:08:26.239Z","repository":{"id":57102620,"uuid":"466941913","full_name":"LarchLiu/vitar","owner":"LarchLiu","description":"Vue live real-time avatar from your webcam in the browser.","archived":false,"fork":false,"pushed_at":"2023-03-28T16:17:49.000Z","size":387,"stargazers_count":60,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-08-07T18:26:17.709Z","etag":null,"topics":["live-avatar","live2d","mediapipe","real-time","vue"],"latest_commit_sha":null,"homepage":"https://vitar.vercel.app","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LarchLiu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-03-07T04:28:38.000Z","updated_at":"2025-06-10T07:20:34.000Z","dependencies_parsed_at":"2025-06-08T05:15:38.363Z","dependency_job_id":null,"html_url":"https://github.com/LarchLiu/vitar","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/LarchLiu/vitar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LarchLiu%2Fvitar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LarchLiu%2Fvitar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LarchLiu%2Fvitar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LarchLiu%2Fvitar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LarchLiu","download_url":"https://codeload.github.com/LarchLiu/vitar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LarchLiu%2Fvitar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270644753,"owners_count":24621332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["live-avatar","live2d","mediapipe","real-time","vue"],"created_at":"2025-06-04T13:54:05.210Z","updated_at":"2025-08-15T23:08:26.225Z","avatar_url":"https://github.com/LarchLiu.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vitar\n\nVue live real-time avatar from your webcam in the browser. \n\n[![npm version](https://img.shields.io/npm/v/@cloudgeek/vitar.svg?style=flat-square)](https://www.npmjs.com/package/@cloudgeek/vitar)\n[![npm downloads](https://img.shields.io/npm/dm/@cloudgeek/vitar.svg?style=flat-square)](https://www.npmjs.com/package/@cloudgeek/vitar)\n[![Image from Gyazo](https://i.gyazo.com/27e34834ad835dcd2e6fcdf9c775539a.gif)](https://gyazo.com/27e34834ad835dcd2e6fcdf9c775539a)\n## Get Started\n\n#### Npm\n\n``` bash\n$ npm install @cloudgeek/vitar --save\n```\n\n#### Yarn\n\n``` bash\n$ yarn add @cloudgeek/vitar\n```\n\n#### pnpm\n\n``` bash\n$ pnpm i @cloudgeek/vitar\n```\n\n## Usage\n### Basic\n#### Install Globally\n\n```js\n// main.js\nimport Vitar from '@cloudgeek/vitar'\n\nconst app = createApp(App)\n\napp.use(Vitar).mount('#app')\n```\n```js\n// your component\n\u003ctemplate\u003e\n  \u003cvitar /\u003e\n\u003ctemplate\u003e\n```\n#### Import Directly\n```js\n// your component\n\u003cscript setup\u003e\nimport { Vitar } from '@cloudgeek/vitar'\n\u003c/script\u003e\n\n\u003ctemplate\u003e\n  \u003cvitar show-mesh /\u003e\n\u003c/template\u003e\n```\n\n### Props\n\n| Name           | Type             | Default          | Description |\n| -------------- | :--------------: | :--------------: | -------------- |\n| model          | boolean \\| string| true             | true: use default model of hiyori, false: don't show model, string: url of model.|\n| mediaPipe       | boolean         | true             | whether to use mediapipe for real-time avatar.|\n| showCam        | boolean          | false            | whether to show camera view.|\n| showMesh       | boolean          | false            | whether to show mesh view.|\n| zIndex         | number           | 9999             | z-index of avatar.|\n| display         | object           | {scale: 2, offsetX:0, offsetY: 0} | model display info of position and scale.|\n\n## Dev Base\n- [Vite](https://vitejs.dev) - An extremely fast frontend tooling\n- [Vue 3](https://vuejs.org/) - The Progressive\nJavaScript Framework\n- [Live2D](https://www.live2d.com/) - The technique of generating 2D animations.\n- [PixiJS](https://github.com/pixijs/pixijs) - The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer.\n- [MediaPipe](https://mediapipe.dev/) - Cross-platform, customizable ML solutions for live and streaming media.\n- [Kalidokit](https://github.com/yeemachine/kalidokit) - Blendshape and kinematics calculator for Mediapipe/Tensorflow.js Face, Eyes, Pose, and Finger tracking models.\n- [pixi-live2d-display](https://github.com/guansss/pixi-live2d-display) - A PixiJS plugin to display Live2D models of any kind.\n\n\nThe example Live2D model hiyori (Cubism 4) is redistributed under Live2D's [Free Material License](https://www.live2d.com/eula/live2d-free-material-license-agreement_en.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarchliu%2Fvitar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flarchliu%2Fvitar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarchliu%2Fvitar/lists"}