Closed 521xueweihan closed 1 year ago
实现类似的此网站徽章功能:https://www.producthunt.com/posts/mayfair/embed
实现类似 ProductHunt 的 embed(嵌入)功能,可根据开源项目在 HelloGitHub 网站获得的点赞数,生成网站徽章。
该徽章可放在开源项目 GitHub 首页、官网、文档等位置,实现技术采用前端根据参数生成 svg 图像,优势在于:
所以是需要一个 tool ,定时生成这个 svg 吗?
@cqh963852 需要一个页面,可根据请求的参数,实时生成对应的点赞数的 svg
https://github.com/badges/shields 用这个可以吗
@gaelthas 感谢,我已经通过后端实现了大部分功能,在调细节~
666
Branch i82-动态生成_svg_文件的功能 created!
已完成
需求
实现类似的此网站徽章功能:https://www.producthunt.com/posts/mayfair/embed
背景
实现类似 ProductHunt 的 embed(嵌入)功能,可根据开源项目在 HelloGitHub 网站获得的点赞数,生成网站徽章。
该徽章可放在开源项目 GitHub 首页、官网、文档等位置,实现技术采用前端根据参数生成 svg 图像,优势在于:
思路