{"id":13408632,"url":"https://github.com/web-infra-dev/garfish","last_synced_at":"2026-02-13T01:12:50.691Z","repository":{"id":37296477,"uuid":"323257322","full_name":"web-infra-dev/garfish","owner":"web-infra-dev","description":"A powerful micro front-end framework 🚚","archived":false,"fork":false,"pushed_at":"2026-02-02T18:51:45.000Z","size":44032,"stargazers_count":2886,"open_issues_count":17,"forks_count":233,"subscribers_count":28,"default_branch":"main","last_synced_at":"2026-02-03T08:39:01.486Z","etag":null,"topics":["framework","javascript"],"latest_commit_sha":null,"homepage":"https://www.garfishjs.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/web-infra-dev.png","metadata":{"files":{"readme":"README.ch.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-12-21T07:04:34.000Z","updated_at":"2026-01-31T03:29:40.000Z","dependencies_parsed_at":"2024-02-28T02:50:46.656Z","dependency_job_id":"965f3f82-5f00-4e0c-8f95-6ede273c41d1","html_url":"https://github.com/web-infra-dev/garfish","commit_stats":{"total_commits":1700,"total_committers":49,"mean_commits":34.69387755102041,"dds":0.6823529411764706,"last_synced_commit":"a33c0d737aef7f356d061a55aa194cb7084d3d4b"},"previous_names":["bytedance/garfish","modern-js-dev/garfish"],"tags_count":299,"template":false,"template_full_name":null,"purl":"pkg:github/web-infra-dev/garfish","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-infra-dev%2Fgarfish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-infra-dev%2Fgarfish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-infra-dev%2Fgarfish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-infra-dev%2Fgarfish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web-infra-dev","download_url":"https://codeload.github.com/web-infra-dev/garfish/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-infra-dev%2Fgarfish/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29391285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T00:53:09.511Z","status":"ssl_error","status_checked_at":"2026-02-13T00:53:09.126Z","response_time":55,"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":["framework","javascript"],"created_at":"2024-07-30T20:00:54.221Z","updated_at":"2026-02-13T01:12:50.685Z","avatar_url":"https://github.com/web-infra-dev.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://lf3-static.bytednsdoc.com/obj/eden-cn/dhozeh7vhpebvog/open-garfish/icons/Garfish-icon-Square.png\" width=\"300\" alt=\"garfish\" /\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![NPM version](https://img.shields.io/npm/v/garfish.svg?style=flat-square)](https://www.npmjs.com/package/garfish) [![build status](https://github.com/modern-js-dev/garfish/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/modern-js-dev/garfish/actions/workflows/ci.yml)\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[English](./README.md) | 简体中文\n\n\u003c/div\u003e\n\n\u003ch1\u003e\u003c/h1\u003e\n\nGarfish 是一套微前端解决方案，主要用于解决现代 web 应用在前端生态繁荣和 web 应用日益复杂化两大背景下带来的跨团队协作、技术体系多样化、应用日益复杂化等问题，Garfish 已经经过大量的线上应用的打磨和测试，功能稳定可靠。\n\n\u003e Garfish 目标\n\n将多个独立交付的前端应用组成整体，将前端应用分解成一些更小、更简单的能够「独立开发」、「独立测试」、「独立部署」的应用，而在用户看来仍然是内聚的单个产品。\n\n## 安装\n\n```bash\n# npm\nnpm install garfish\n\n# yarn\nyarn add garfish\n```\n\n## 文档\n\n\u003e 目前文档站点 ([Garfish](https://garfishjs.org/)) 仅提供了中文版本，不久后将提供英文版本文档\n\n- [关于 Garfish](https://www.garfishjs.org/guide/quick-start/index.html)\n- [快速开始](https://www.garfishjs.org/guide/quick-start/start.html)\n- [API](https://garfishjs.org/api)\n\n## 功能\n\n🌈 丰富高效的产品特征\n\n- Garfish 微前端子应用支持任意多种框架、技术体系接入\n- Garfish 微前端子应用支持「独立开发」、「独立测试」、「独立部署」\n- 强大的预加载能力，自动记录用户应用加载习惯增加加载权重，应用切换时间极大缩短\n- 支持依赖共享，极大程度的降低整体的包体积，减少依赖的重复加载\n- 支持数据收集，有效的感知到应用在运行期间的状态\n- 支持多实例能力，可在页面中同时运行多个子应用提升了业务的拆分力度\n- 提供了高效可用的调试工具，协助用户在微前端模式下带来的与传统研发模式不同带来的开发体验问题\n\n📦 高扩展性的核心模块\n\n- 通过 Loader 核心模块支持 HTML entry、JS entry 的支持，接入微前端应用简单易用\n- Router 模块提供了路由驱动、主子路由隔离，用户仅需要配置路由表应用即可完成自主的渲染和销毁，用户无需关心内部逻辑\n- Sandbox 模块为应用的 Runtime 提供运行时隔离能力，能有效隔离 JS、Style 对应用的副作用影响\n- Store 提供了一套简单的通信数据交换机制\n\n🎯 高度可扩展的插件系统\n\n- 提供业务插件满足业务方的各种定制需求\n\n## 贡献\n\n- [贡献指南](https://github.com/modern-js-dev/garfish/blob/main/CONTRIBUTING.md)\n\n## 感谢\n\n- [Qiankun](https://github.com/umijs/qiankun) 是一款非常优秀的微前端框架，Garfish 的沙箱设计从中吸收了很多优秀的想法\n- [single-spa](https://github.com/single-spa/single-spa) 为社区掀起了微前端解决方案的热潮，Garfish 路由系统设计从中吸取了很多令人惊叹的想法。在 Garfish Bridge 的设计中，我们参考了 [single-spa](https://github.com/single-spa/single-spa)  bridge 部分的设计实现，并且我们认为这是一个好的设计，所以我们 fork 了 [single-spa](https://github.com/single-spa/single-spa) bridge 部分的实现代码，且针对 Garfish 的生命周期函数做出了一些调整。\n- Garfish 的 css-scope 插件灵感来自于[reworkcss](https://github.com/reworkcss/css)的实现，并且为了适用于不同的场景我们 fork 了一些  reworkcss 的实现代码\n- Garfish 的 es-module 插件的设计灵感来自于[@babel/traverse](https://github.com/babel/babel)和[es-module-shims](https://github.com/guybedford/es-module-shims)库，一些实现部分的代码fork 自 @babel/traverse\n","funding_links":[],"categories":["Repository","TypeScript"],"sub_categories":["Micro Frontend"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-infra-dev%2Fgarfish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb-infra-dev%2Fgarfish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-infra-dev%2Fgarfish/lists"}