{"id":18990648,"url":"https://github.com/ilyhalight/chaimu","last_synced_at":"2025-04-22T11:21:47.713Z","repository":{"id":260100432,"uuid":"878894512","full_name":"ilyhalight/chaimu","owner":"ilyhalight","description":"Chaimu is an audio player that synchronizes audio with video.","archived":false,"fork":false,"pushed_at":"2025-04-14T14:49:37.000Z","size":852,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-17T00:15:48.088Z","etag":null,"topics":["audio","player","sync","video","web"],"latest_commit_sha":null,"homepage":"https://chaimu.toil.cc","language":"TypeScript","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/ilyhalight.png","metadata":{"files":{"readme":"README-RU.md","changelog":"changelog.md","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":"2024-10-26T12:02:05.000Z","updated_at":"2025-01-29T14:35:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"0aeed1bb-a9fc-4ca2-8c19-0c6dcf9af92e","html_url":"https://github.com/ilyhalight/chaimu","commit_stats":null,"previous_names":["ilyhalight/chaimu"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyhalight%2Fchaimu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyhalight%2Fchaimu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyhalight%2Fchaimu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyhalight%2Fchaimu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilyhalight","download_url":"https://codeload.github.com/ilyhalight/chaimu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250228697,"owners_count":21395958,"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","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":["audio","player","sync","video","web"],"created_at":"2024-11-08T17:10:47.823Z","updated_at":"2025-04-22T11:21:47.693Z","avatar_url":"https://github.com/ilyhalight.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eChaimu\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n\nChaimu - это аудиоплеер, который синхронизирует аудио с видео.\n\n[![NPM version][npm-image]][npm-url]\n[![Build status][ci-image]][ci-url]\n[![Downloads][jsdelivr-image]][jsdelivr-url]\n[![en][readme-en-url]](README.md)\n[![ru][readme-ru-url]](README-RU.md)\n\n\u003c/div\u003e\n\n[npm-image]: https://img.shields.io/npm/v/chaimu?style=flat-square\n[npm-url]: https://npmjs.org/package/chaimu\n[jsdelivr-image]: https://img.shields.io/jsdelivr/npm/hm/chaimu?style=flat-square\n[jsdelivr-url]: https://www.jsdelivr.com/package/npm/chaimu\n[ci-image]: https://img.shields.io/github/actions/workflow/status/ilyhalight/chaimu/build.yml?branch=master\u0026style=flat-square\n[ci-url]: https://github.com/ilyhalight/chaimu/actions/workflows/build.yml\n[readme-ru-url]: https://img.shields.io/badge/%D1%8F%D0%B7%D1%8B%D0%BA-%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9%20%F0%9F%87%B7%F0%9F%87%BA-white\n[readme-en-url]: https://img.shields.io/badge/lang-English%20%F0%9F%87%AC%F0%9F%87%A7-white\n\n\u003cimg src=\"./images/demo.png\" style=\"width:100%\"\u003e\n\n## Пример использования\n\nПростой пример использования:\n\n```js\nimport Chaimu from \"chaimu\";\n\nconst videoEl = document.querySelector(\"video\");\nconst chaimu = new Chaimu({\n  url: \"https://s3.toil.cc/vot/translated.mp3\",\n  video: videoEl,\n});\nawait chaimu.init();\n```\n\nИспользуя этот код, вы свяжете видео с аудио.\n\nЕсли AudiContext существует, вы сможете использовать расширенную настройку громкости звука.\n\nЕсли вы хотите использовать классический проигрыватель (через audio элемент), укажите параметр `preferAudio`:\n\n```js\n...\nconst chaimu = new Chaimu({\n  ...\n  preferAudio: true\n});\n```\n\n## Демо\n\n[Demo](https://chaimu.toil.cc/)\n\n## Установка\n\nУстановка с помощью Bun:\n\n```bash\nbun add v\n```\n\nУстановка с помощью NPM:\n\n```bash\nnpm install chaimu\n```\n\n## Сборка\n\nЧтобы собрать, у вас должно быть:\n\n- [Bun](https://bun.sh/)\n\nНе забудьте установить зависимости:\n\n```bash\nbun install\n```\n\nЗапустите сборку:\n\n```bash\nbun build:bun\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filyhalight%2Fchaimu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filyhalight%2Fchaimu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filyhalight%2Fchaimu/lists"}