{"id":51897620,"url":"https://github.com/ilyhalight/vk-audio","last_synced_at":"2026-07-26T12:30:29.034Z","repository":{"id":369563786,"uuid":"1290326141","full_name":"ilyhalight/vk-audio","owner":"ilyhalight","description":"Library for using Modern VK Audio API","archived":false,"fork":false,"pushed_at":"2026-07-05T23:39:48.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-07-06T00:11:02.294Z","etag":null,"topics":["api","audio","lib","music","vk","vkmusic"],"latest_commit_sha":null,"homepage":"https://ilyhalight.github.io/vk-audio/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ilyhalight.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-05T20:45:20.000Z","updated_at":"2026-07-05T23:38:56.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ilyhalight/vk-audio","commit_stats":null,"previous_names":["ilyhalight/vk-audio"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ilyhalight/vk-audio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyhalight%2Fvk-audio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyhalight%2Fvk-audio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyhalight%2Fvk-audio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyhalight%2Fvk-audio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilyhalight","download_url":"https://codeload.github.com/ilyhalight/vk-audio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyhalight%2Fvk-audio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35914262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-26T02:00:06.503Z","response_time":89,"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":["api","audio","lib","music","vk","vkmusic"],"created_at":"2026-07-26T12:30:28.510Z","updated_at":"2026-07-26T12:30:29.028Z","avatar_url":"https://github.com/ilyhalight.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @toil/vk-audio\n\nLibrary for using Modern VK Audio API\n\nSupports:\n\n- `lang` param - `en` (default) | `ru`\n- availability to set custom `version` param\n- Your own Client implementation with `VKClient` type (default: `VKMobileClient`)\n- auto refresh access token for `VKWebClient`\n\nUnsupported:\n\n- Some other endpoints...\n\n## Usage\n\nInstall it:\n\n```bash\nbun i @toil/vk-audio\n```\n\nSimple usage example:\n\n```ts\nimport { VKAudio } from \"@toil/vk-audio\";\nimport { VKMobileClient } from \"@toil/vk-audio/client\";\n\nconst webClient = new VKWebClient({\n  cookies: {\n    p: COOKIE_P,\n    remixsid: COOKIE_REMIX_SID,\n  },\n});\n\nconst client = new VKAudio({\n  client: webClient,\n  token: {\n    value: \"\",\n    expiresIn: -1,\n  },\n});\n\nconst result = await client.getSections();\n```\n\nYou can see more usage examples in [tests](./tests) folder\n\n## Auth\n\nLib provides support:\n\n- **VK Web** client with `p` and `remixsid` cookie (just steal it from `Network` tab in browser)\n- **VK Mobile** client, but without auto-refresh (token lifetime is `10800`)\n\n## References\n\nUsed references:\n\n- [vodka2/vk-audio-token](https://vodka2.github.io/vk-audio-token/)\n- [issamansur/vkpymusic](https://github.com/issamansur/vkpymusic)\n- my mind...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filyhalight%2Fvk-audio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filyhalight%2Fvk-audio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filyhalight%2Fvk-audio/lists"}