{"id":27771448,"url":"https://github.com/wuba/magpie","last_synced_at":"2025-04-29T22:40:01.270Z","repository":{"id":56834344,"uuid":"254533456","full_name":"wuba/magpie","owner":"wuba","description":"Magpie is a visualized platform which designed to create, develop and compile your standalone flutter module.","archived":false,"fork":false,"pushed_at":"2020-06-18T11:24:46.000Z","size":127299,"stargazers_count":123,"open_issues_count":1,"forks_count":21,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-29T22:39:33.126Z","etag":null,"topics":["flutter","flutter-tool","workflow"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wuba.png","metadata":{"files":{"readme":"README-zh.md","changelog":"CHANGELOG.md","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":"2020-04-10T03:17:03.000Z","updated_at":"2024-04-19T08:35:51.000Z","dependencies_parsed_at":"2022-09-09T14:00:54.946Z","dependency_job_id":null,"html_url":"https://github.com/wuba/magpie","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuba%2Fmagpie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuba%2Fmagpie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuba%2Fmagpie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wuba%2Fmagpie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wuba","download_url":"https://codeload.github.com/wuba/magpie/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251596619,"owners_count":21615012,"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":["flutter","flutter-tool","workflow"],"created_at":"2025-04-29T22:40:00.805Z","updated_at":"2025-04-29T22:40:01.262Z","avatar_url":"https://github.com/wuba.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](workflow/doc/images/logo-small.png)\n\n[English](README.md) [中文说明](README-zh.md)\n\n[![Pub](https://img.shields.io/pub/v/magpie_cli.svg)](https://pub.dartlang.org/packages/magpie_cli)\n[![Platform](https://img.shields.io/badge/platform-mac%7Cwin%7Clinux-blue)](https://github.com/wuba/magpie)\n[![License](https://img.shields.io/badge/license-BSD-green.svg)](LICENSE)\n[![build](https://github.com/wuba/magpie/workflows/build/badge.svg)](https://github.com/wuba/magpie/actions)\n\nMagpie Workflow 是一个Flutter开发的工具流，实现独立Flutter模块的创建，开发，编译，打包，上传流程。\nMagpie Workflow is a visualized platform which is designed to create, develop and compile your \nstandalone flutter module.\n\n希望通过这种方式来简化Flutter混合开发的复杂度，成为连接开发者与Flutter的桥梁，因此取名为Magpie Workflow。项目整体包含三部分：\n\n* 脚手架：命令行工具，如创建工程，启动可视化界面等\n* workflow前端： 开发编译的可视化页面\n* workflow后端： 为前端提供服务的server\n\n![](workflow/doc/images/workflow-preview.gif)\n\n![](workflow/doc/images/workflow-arc.png)\n\n## 使用说明\n\n### 脚手架安装\n\n确保您安装并正确配置了flutter环境与dart相关路径[Magpie 脚手架#环境配置](CLI.md#%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E9%85%8D%E7%BD%AE)，flutter版本支持**1.12.x**。\n\n```shell\npub global activate magpie_cli\n```\n\n### workflow使用\n\n通过`mgpcli`命令工具可以创建一个flutter项目，并启动workflow进行编译。\n\n1.创建flutter模块工程\n\n```shell\n# 创建模板工程\nmgpcli create -n flutter_sample\n```\n\n2.启动workflow\n\n```shell\n# 进入新创建的工程目录内\ncd flutter_sample\n# 启动workflow\nmgpcli start\n```\n\n3.进入workflow\n\n**现在已经为您打开了一个浏览器窗口**，请移步至窗口进行：[编译、Attach](http://127.0.0.1:8080)\n\n## 开发贡献\n\n源码开发和编译，根据模块不同请参考对应文档：\n* CLi部分，请参考[脚手架](CLI.md)\n* Workflow部分，请参考[Workflow](workflow/README.md)\n\nMagpie包含了一系列的开源项目，访问对应仓库以便了解更多。\n\n\u003e Magpie Native\u0026Dart SDK\n\n与Workflow配套，用于接入App，Flutter的SDK。[https://github.com/wuba/magpie_sdk](https://github.com/wuba/magpie_sdk)\n\n\u003e Magpie Fly \n\n所见即所得的Flutter UI组件库。[https://github.com/wuba/magpie_fly](https://github.com/wuba/magpie_fly)\n\n\u003e Magpie Log\n\n适用于Flutter平台下的圈选埋点库。[https://github.com/wuba/magpie_log](https://github.com/wuba/magpie_log)\n\n## 关于我们\n\n本项目由58Magpie技术团队开发/维护，项目离不开所有小伙伴们的积极参与(排序不分先后)：\n\n[avenwu](https://github.com/avenwu), [CoCodeDZ](https://github.com/3aaap), [haijun](https://github.com/153493932), [hxinGood](https://github.com/hxinGood),  [iamagirlforios](https://github.com/iamagirlforios), [Kcwind](https://github.com/Kcwind), [lyx0224](https://github.com/lyx0224), [MuYuLi](https://github.com/MuYuLi), [xiubojin](https://github.com/xiubojin), [zdl51go](https://github.com/zdl51go),  [zhangkaixiao23](https://github.com/zhangkaixiao23)\n\n感谢Alina_0516提供的设计支持。\n\n## LICENSE \u0026 致谢\nMagpie项目基于[BSD协议](LICENSE)开源。\n\n我们对Flutter Tools做了二次开发，同时使用了一些社区提供的依赖库，在此特别感谢Flutter\u0026Dart社区的开发者们。\n[effective_dart](https://pub.dev/packages/effective_dart), [provider](https://pub.dev/packages/provider), [qr_flutter](https://pub.dev/packages/qr_flutter), [process_run](https://pub.dev/packages/process_run), [dio](https://pub.dev/packages/dio), [jaguar](https://pub.dev/packages/jaguar)\n\n我们使用的更多依赖库详见pubspec.yaml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwuba%2Fmagpie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwuba%2Fmagpie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwuba%2Fmagpie/lists"}