{"id":13560085,"url":"https://github.com/Blackman99/v-rap","last_synced_at":"2025-04-03T15:31:26.457Z","repository":{"id":77255702,"uuid":"602822560","full_name":"Blackman99/v-rap","owner":"Blackman99","description":"A Vue3 lib to help you embed the rap video of the author of Vue.js","archived":false,"fork":false,"pushed_at":"2023-06-07T04:02:37.000Z","size":392,"stargazers_count":29,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-01T13:17:39.852Z","etag":null,"topics":["rap","vue3","vuejs"],"latest_commit_sha":null,"homepage":"https://blackman99.github.io/v-rap/","language":"Vue","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/Blackman99.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}},"created_at":"2023-02-17T02:22:34.000Z","updated_at":"2024-04-11T06:21:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d555303-0fed-47cd-85cf-7bf1a3765cee","html_url":"https://github.com/Blackman99/v-rap","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blackman99%2Fv-rap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blackman99%2Fv-rap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blackman99%2Fv-rap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blackman99%2Fv-rap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Blackman99","download_url":"https://codeload.github.com/Blackman99/v-rap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247027933,"owners_count":20871623,"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":["rap","vue3","vuejs"],"created_at":"2024-08-01T13:00:37.345Z","updated_at":"2025-04-03T15:31:26.420Z","avatar_url":"https://github.com/Blackman99.png","language":"Vue","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n \u003cimg align=\"center\" alt=\"Sveltepress\" src=\"./public/rapper-hand-draw.png\" /\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n  V Rap\n  \u003cbr\u003e\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n\u003e Do you know that a good framework designer can also be a good rapper?\n\n\u003c/div\u003e\n\n## Introduction\n\nA Vue3 lib to help you embed the rap video of the author of Vue.js\n\n[Preview](https://blackman99.github.io/v-rap/)\n\n## Install\n\n```sh\n# via npm\nnpm install --save v-rap\n\n# via yarn\nyarn add v-rap\n\n# via pnpm\npnpm install v-rap\n```\n\n## Rap component\n\n```vue\n\u003cscript setup\u003e\nimport { Rap } from 'v-rap'\n\u003c/script\u003e\n\n\u003cRap source=\"bilibili\" :ratio=\"16 / 9\" /\u003e\n```\n\n## Rap directive\n\n```vue\n\u003cscript setup\u003e\nimport { vRap } from 'v-rap'\n\u003c/script\u003e\n\n\u003cdiv v-rap=\"{ source: 'bilibili', ratio: 16 / 9 }\" /\u003e\n```\n## Rap component props \u0026 v-rap directive values\n\n* `source`  \nThe play source. Can be `'bilibili'` or `'youtube'`.  \nDefault is `'bilibili'`\n* `ratio`  \nThe video ratio. Default is `16 / 9`.  \nThe width of video container is 100%. So just set the width of parent container to change the width.  \nAnd the height can be auto computed based on `ratio`.\n\n## LICENSE\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBlackman99%2Fv-rap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBlackman99%2Fv-rap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBlackman99%2Fv-rap/lists"}