{"id":23613882,"url":"https://github.com/sinchang/vdonate","last_synced_at":"2025-10-25T12:15:46.201Z","repository":{"id":85836569,"uuid":"84565074","full_name":"sinchang/vdonate","owner":"sinchang","description":"💰 为你的网站增加个微信、支付宝二维码，方便读者打赏","archived":false,"fork":false,"pushed_at":"2018-05-11T06:42:46.000Z","size":95,"stargazers_count":59,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-10T00:43:31.978Z","etag":null,"topics":["alipay","donate","wechat"],"latest_commit_sha":null,"homepage":"https://vdonate.netlify.com/","language":"JavaScript","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/sinchang.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2017-03-10T13:56:50.000Z","updated_at":"2023-11-16T16:28:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd46d1c9-f373-48cf-ab1d-156e6f838bba","html_url":"https://github.com/sinchang/vdonate","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sinchang/vdonate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinchang%2Fvdonate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinchang%2Fvdonate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinchang%2Fvdonate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinchang%2Fvdonate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinchang","download_url":"https://codeload.github.com/sinchang/vdonate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinchang%2Fvdonate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260271951,"owners_count":22984201,"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":["alipay","donate","wechat"],"created_at":"2024-12-27T17:29:28.554Z","updated_at":"2025-10-25T12:15:46.097Z","avatar_url":"https://github.com/sinchang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vdonate\n\u003e 为你的网站增加个微信、支付宝二维码，方便读者打赏。 inspired by [Ruby China](https://ruby-china.org)\n\n# 使用\n```\n\u003cdiv id=\"donate\"\u003e\n\n\u003cscript src=\"https://unpkg.com/vdonate\"\u003e\u003c/script\u003e\n\nnew Donate({\n  title: '如果觉得我的文章对您有用，请随意打赏。您的支持将鼓励我继续创作!', // 可选参数，打赏标题\n  btnText: '打赏按钮', // 可选参数，打赏按钮文字\n  el: document.getElementById('donate'), // 必选参数，打赏按钮的容器\n  wechatImage: 'https://ooo.0o0.ooo/2017/03/09/58c15ca28db39.jpg', // 必选参数，微信收款二维码\n  alipayImage: 'https://ooo.0o0.ooo/2017/03/09/58c15cb1ea865.jpg' // 必选参数，支付宝收款二维码\n});\n```\n\n# API\n\n- show() - 显示模态框\n- hide() - 隐藏模态框\n- destroy() - 销毁\n\n# License\n\nThis content is released under the [MIT](http://opensource.org/licenses/MIT) License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinchang%2Fvdonate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinchang%2Fvdonate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinchang%2Fvdonate/lists"}