{"id":18496440,"url":"https://github.com/nicejade/reward-service","last_synced_at":"2026-03-01T06:34:35.131Z","repository":{"id":65489879,"uuid":"457638895","full_name":"nicejade/reward-service","owner":"nicejade","description":"通过 WebComponent 所构建的打赏服务，使之可以轻松植入自己的各个 Web 网站。","archived":false,"fork":false,"pushed_at":"2024-07-02T16:09:58.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T17:20:47.696Z","etag":null,"topics":["reward","rollup","vue","web-components"],"latest_commit_sha":null,"homepage":"https://www.jeffjade.com/","language":"JavaScript","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/nicejade.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}},"created_at":"2022-02-10T05:10:41.000Z","updated_at":"2024-07-02T16:10:01.000Z","dependencies_parsed_at":"2023-01-26T00:32:34.072Z","dependency_job_id":null,"html_url":"https://github.com/nicejade/reward-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nicejade/reward-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicejade%2Freward-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicejade%2Freward-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicejade%2Freward-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicejade%2Freward-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicejade","download_url":"https://codeload.github.com/nicejade/reward-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicejade%2Freward-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29962028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T05:59:08.471Z","status":"ssl_error","status_checked_at":"2026-03-01T05:58:04.208Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["reward","rollup","vue","web-components"],"created_at":"2024-11-06T13:29:27.578Z","updated_at":"2026-03-01T06:34:35.114Z","avatar_url":"https://github.com/nicejade.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eREWARD SERVICE\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cstrong\u003e\n    🌌 基于 Web Component 所构建的简单「打赏」服务组件。\n  \u003c/strong\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/nicejade/nicelinks-vue-client\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/nicejade/reward-service.svg\" alt=\"LICENSE\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://about.me/nicejade\"\u003e\u003cimg src=\"https://img.shields.io/badge/Author-nicejade-%23a696c8.svg\" alt=\"Author nicejade\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n## 目标与哲学\n\nWeb Component 是一种创建**封装的**、**可复用的**、可扩展的、能组合的网页 UI (user interface) 组件的标准化方式。Web 开发者们，通过插件或者模块的形式，在网上分享自己的代码，便于其他开发者们复用这些优秀的代码。相对于 [Vue](https://nicelinks.site/post/5b1a221c0526c920d6dfaada)、[React](https://nicelinks.site/post/5b1294b5e93ed2618cfac134)，具有更简单的 API，以及更小的构建尺寸。因此，有开发一个简单微组件（Web Component 编写、Rollup 构建、jsDelivr 承载），用以方便在其他网页中插入。\n\n## 如何使用\n\n引入 js 资源：\n\n```js\n\u003cscript src=\"https://cdn.jsdelivr.net/gh/nicejade/reward-service@1.0/dist/reward-service-min.js\"\u003e\u003c/script\u003e\n```\n\n在合适的位置添加组件：\n\n```html\n\u003creward-service\u003e\u003c/reward-service\u003e\n```\n\n在线示例效果，请参见[静轩之别苑](https://quickapp.lovejade.cn/)。\n\n## 参与开发\n\n```bash\ngit clone https://github.com/nicejade/reward-service.git\ncd reward-service\n# 安装依赖\nyarn\n\n# 运行代码\nyarn start\n\n# 查看效果(基于 http 静态 server)\nnpx arya-jarvis s\n```\n\n## 相关链接\n\n- [**倾城之链**](https://nicelinks.site?utm_source=github-nicelinks)\n- [About Me](https://about.me/nicejade?utm_source=github-nicelinks)\n- [个人博客](https://jeffjade.com/nicelinks?utm_source=github-nicelinks)\n- [静轩之别苑](https://quickapp.lovejade.cn/?utm_source=github-nicelinks)\n- [静晴轩别苑](https://nice.lovejade.cn/?utm_source=github-nicelinks)\n- [吾意静晴轩](https://docz.lovejade.cn/?utm_source=github-nicelinks)\n- [天意人间舫](https://blog.lovejade.cn/?utm_source=github-nicelinks)\n- [新浪微博](https://weibo.com/jeffjade?utm_source=github-nicelinks)\n- [知乎主页](https://www.zhihu.com/people/yang-qiong-pu/)\n- [简书主页](https://www.jianshu.com/u/9aae3d8f4c3d)\n- [SegmentFault](https://segmentfault.com/u/jeffjade)\n- [Twitter](https://twitter.com/nicejadeyang)\n- [Facebook](https://www.facebook.com/nice.jade.yang)\n\n| 微信公众号                                             | 前端微信群                                                       | 推荐 Web 应用                                                                              |\n| ------------------------------------------------------ | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |\n| 😉 静晴轩                                              | ✨ 大前端联盟                                                    | 🎉 倾城之链                                                                                |\n| ![静晴轩](https://image.nicelinks.site/qrcode_jqx.jpg) | ![倾城之链](https://image.nicelinks.site/wqycx-weixin.png?ver=1) | \u003cimg src=\"https://image.nicelinks.site/nice-links.png\" width=\"300px\" alt=\"倾城之链\"\u003e\u003c/img\u003e |\n\n## 许可执照\n\n[MIT](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2022-present, [nicejade](https://aboutme.lovejade.cn/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicejade%2Freward-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicejade%2Freward-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicejade%2Freward-service/lists"}