{"id":19183879,"url":"https://github.com/robot-inventor/astro-nico-embed","last_synced_at":"2025-10-06T13:44:27.734Z","repository":{"id":259716821,"uuid":"879274152","full_name":"Robot-Inventor/astro-nico-embed","owner":"Robot-Inventor","description":"AstroNicoEmbed allows easy embedding of Niconico Douga (ニコニコ動画) videos in Astro projects.","archived":false,"fork":false,"pushed_at":"2025-09-25T16:24:28.000Z","size":114,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-25T18:13:53.049Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Astro","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/Robot-Inventor.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":"2024-10-27T13:32:59.000Z","updated_at":"2025-09-25T16:24:31.000Z","dependencies_parsed_at":"2024-10-27T15:00:44.769Z","dependency_job_id":"f45b0734-5e1a-4ef3-a4d8-d7694a1f4576","html_url":"https://github.com/Robot-Inventor/astro-nico-embed","commit_stats":null,"previous_names":["robot-inventor/astro-nico-embed"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Robot-Inventor/astro-nico-embed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robot-Inventor%2Fastro-nico-embed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robot-Inventor%2Fastro-nico-embed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robot-Inventor%2Fastro-nico-embed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robot-Inventor%2Fastro-nico-embed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Robot-Inventor","download_url":"https://codeload.github.com/Robot-Inventor/astro-nico-embed/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robot-Inventor%2Fastro-nico-embed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278621844,"owners_count":26017253,"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-10-06T02:00:05.630Z","response_time":65,"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":[],"created_at":"2024-11-09T11:05:24.302Z","updated_at":"2025-10-06T13:44:27.716Z","avatar_url":"https://github.com/Robot-Inventor.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AstroNicoEmbed\n\nAstroNicoEmbed allows easy embedding of Niconico Douga (ニコニコ動画) videos in Astro projects.\n\nAstroNicoEmbed is a component library for easily embedding Niconico Douga videos into Astro projects. With minimal setup, it enables you to display Niconico video players on your pages, providing an engaging and seamless embedding experience.\n\n\u003e [!NOTE]\n\u003e Please note that embedded videos may not play on a local server.\n\n## Installation\n\n```bash\nnpm install astro-nico-embed\n```\n\n## Usage\n\n```astro\n---\nimport { NicoVideo } from \"astro-nico-embed\";\n---\n\n\u003cNicoVideo videoId=\"sm9\" /\u003e\n```\n\n## Props\n\n### `videoId`\n\nThe ID of the Niconico video to embed. This is the part of the video URL after `watch/`, e.g. `sm9` for `https://www.nicovideo.jp/watch/sm9`\n\n- Type: `string`\n- Required: `true`\n\n### `loading`\n\nThe loading strategy for the video player. If set to `lazy`, the video player will only be loaded when it is in the viewport. If set to `eager`, the video player will be loaded immediately.\n\n- Type: `lazy` | `eager`\n- Required: `false`\n- Default: `lazy`\n\n### `aspectRatio`\n\nThe aspect ratio of the video player. This is used to calculate the height of the video player based on the width. Its format is same as CSS `aspect-ratio` property.\n\n- Type: `string`\n- Required: `false`\n- Default: `16 / 9`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobot-inventor%2Fastro-nico-embed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobot-inventor%2Fastro-nico-embed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobot-inventor%2Fastro-nico-embed/lists"}