{"id":24274057,"url":"https://github.com/syhily/astro-netease-player","last_synced_at":"2025-03-05T08:19:58.006Z","repository":{"id":271486716,"uuid":"913614398","full_name":"syhily/astro-netease-player","owner":"syhily","description":"A netease music plugin for adding a player to your astro website","archived":false,"fork":false,"pushed_at":"2025-01-08T10:01:58.000Z","size":88,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T21:09:40.016Z","etag":null,"topics":["aplayer","astro","netease","withastro"],"latest_commit_sha":null,"homepage":"","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/syhily.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2025-01-08T02:59:18.000Z","updated_at":"2025-01-12T18:36:52.000Z","dependencies_parsed_at":"2025-02-04T11:30:50.175Z","dependency_job_id":null,"html_url":"https://github.com/syhily/astro-netease-player","commit_stats":null,"previous_names":["syhily/astro-netease-player"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syhily%2Fastro-netease-player","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syhily%2Fastro-netease-player/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syhily%2Fastro-netease-player/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syhily%2Fastro-netease-player/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syhily","download_url":"https://codeload.github.com/syhily/astro-netease-player/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241990342,"owners_count":20053903,"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":["aplayer","astro","netease","withastro"],"created_at":"2025-01-15T20:10:45.507Z","updated_at":"2025-03-05T08:19:57.985Z","avatar_url":"https://github.com/syhily.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Astro Netease Player\n\nA netease music plugin for adding a player to your astro website.\nThis plugin is based on the [aplayer-ts](https://github.com/liuly0322/aplayer-ts) instead of the aplayer plugin for better tree shaking.\n\n## Install\n\n```bash\n# Use npm\nnpm install -D astro-netease-player\n\n# Use pnpm\npnpm add -D astro-netease-player\n\n# Use yarn\nyarn add -D astro-netease-player\n```\n\n## Usage\n\n### Use in MDX file\n\nOpen any MDX file and insert the `\u003cMusicPlayer netease={1331313370} /\u003e` tag.\nThe `1331313370` can be changed to the music id you like from the Netease music.\n\nGo the the MDX render logic in your Astro post file. Modify the astro file as the sample shown below.\n\n```\n---\nimport MusicPlayer from 'astro-netease-player/MusicPlayer.astro';\n\nconst { Content, headings } = await post.render();\n---\n\n\u003cContent components={{ MusicPlayer: MusicPlayer }} /\u003e\n```\n\n### Use in Astro component\n\nSimply import the `astro-netease-player/MusicPlayer.astro` and use it as an Astro tag.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyhily%2Fastro-netease-player","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyhily%2Fastro-netease-player","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyhily%2Fastro-netease-player/lists"}