{"id":18603019,"url":"https://github.com/ymfe/yicon","last_synced_at":"2025-04-05T01:08:07.906Z","repository":{"id":40519643,"uuid":"59996356","full_name":"YMFE/yicon","owner":"YMFE","description":"可部署的矢量字体图标（IconFont）管理平台","archived":false,"fork":false,"pushed_at":"2024-06-07T13:56:04.000Z","size":43722,"stargazers_count":371,"open_issues_count":9,"forks_count":78,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-03-29T00:08:54.037Z","etag":null,"topics":["cas-sso","iconfont","iconfont-build","iconfont-platform","iconpicker","yicon","ymfe"],"latest_commit_sha":null,"homepage":"https://yicon.ymfe.org/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YMFE.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-30T09:08:16.000Z","updated_at":"2025-03-20T10:32:07.000Z","dependencies_parsed_at":"2024-11-14T07:00:16.487Z","dependency_job_id":null,"html_url":"https://github.com/YMFE/yicon","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMFE%2Fyicon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMFE%2Fyicon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMFE%2Fyicon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMFE%2Fyicon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YMFE","download_url":"https://codeload.github.com/YMFE/yicon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247271530,"owners_count":20911587,"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":["cas-sso","iconfont","iconfont-build","iconfont-platform","iconpicker","yicon","ymfe"],"created_at":"2024-11-07T02:13:16.145Z","updated_at":"2025-04-05T01:08:07.882Z","avatar_url":"https://github.com/YMFE.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"YIcon 是一个集图标上传、展示、使用于一身的字体图标管理平台。目的为采用 Iconfont 字体图标替换项目中图片图标的使用，以达到缩减体积、风格统一、提高开发效率等目的。不同的部门可以申请在平台上创建大库，业务线可以选择需要的图标添加到购物车，保存成项目之后进行维护。它可以方便的将 SVG 图标转换为字体图标，提供给 UI/UE 和前端开发使用。\n\n![flow](http://wx4.sinaimg.cn/large/c4b5f11bly1fee8koeoouj21kw0l6q9g.jpg)\n\n## 优势\n\n与传统制作图标的方式相比，它拥有如下优势：\n\n1. **严格的审核流程** 图标上传后用户会进行一次编辑，之后会提交到审核，被大库的管理员审核通过后方能入库；\n2. **可控的项目版本** 我们的项目每次变动之后再下载，就会生成新的版本，因此在项目中产生的所有版本都可以追溯查看；\n3. **完善的权限管理** 我们拥有超管后台，可以自由的控制大库、项目管理员的权限。\n\n## 编码控制\n\n我们的字体使用的都是 unicode 编码，尽管大部分编码都有其固定作用，但 unicode 留出了一个[『私用区』](https://unicode-table.com/cn/#cjk-unified-ideographs)可以用来进行字体扩展，这一区域的码值范围是：**E000 - F8FF**。\n\n我们的字体站规定的码值范围严格按照 unicode 私用区范围，每个上传的新字体都会从 E000 开始生成一个全站唯一固定的编码，之后就不会变动。这样用户在添加到项目或从删除删除时，图标的码值也不会发生改变，增强用户的体验。\n\n尽管在 CSS3 支持了 font-face 的前提下，可以给图标字体加上特定样式以便确保其正确显示，但还是建议将码位落在私用区内以防止引起其他不必要的问题。因此我们字体站推荐的字体容量为 6400 个，在大多数场景下这个数量已足够使用。\n\n如果某个图标废弃不用，可以采用替换的方式才修改其显示，以保证编码不被浪费。\n\n如果你是去哪儿网内网用户，请[直接访问该站点](http://iconfont.corp.qunar.com)。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymfe%2Fyicon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fymfe%2Fyicon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymfe%2Fyicon/lists"}