{"id":26367799,"url":"https://github.com/m-ryan/easyh5","last_synced_at":"2025-08-14T08:33:56.247Z","repository":{"id":42237942,"uuid":"191020269","full_name":"m-Ryan/easyh5","owner":"m-Ryan","description":"可视化编辑器、h5编辑器","archived":false,"fork":false,"pushed_at":"2023-01-06T19:14:10.000Z","size":5161,"stargazers_count":14,"open_issues_count":13,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-02T16:50:35.409Z","etag":null,"topics":["drag-editor","h5-editor","template-builder","visual-editor"],"latest_commit_sha":null,"homepage":"http://h5.maocanhua.cn/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m-Ryan.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-09T15:02:53.000Z","updated_at":"2024-06-05T14:15:00.000Z","dependencies_parsed_at":"2023-02-06T08:15:44.513Z","dependency_job_id":null,"html_url":"https://github.com/m-Ryan/easyh5","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/m-Ryan/easyh5","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-Ryan%2Feasyh5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-Ryan%2Feasyh5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-Ryan%2Feasyh5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-Ryan%2Feasyh5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-Ryan","download_url":"https://codeload.github.com/m-Ryan/easyh5/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-Ryan%2Feasyh5/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270387051,"owners_count":24574928,"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","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["drag-editor","h5-editor","template-builder","visual-editor"],"created_at":"2025-03-16T21:18:43.396Z","updated_at":"2025-08-14T08:33:56.146Z","avatar_url":"https://github.com/m-Ryan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 声明\r\n\r\n\u003e 主要的面向对象是开发者。\r\n\r\n\u003e 解决的场景是 定义好一套组件好，可以通过拖拽生成页面，达到快速开发的效果\r\n\r\n## 项目演示地址\r\n- [https://h5.maocanhua.cn/](https://h5.maocanhua.cn/)\r\n- 手机扫码预览效果\r\n\r\n  \u003cdiv\u003e\r\n    \u003cimg src=\"https://assets.maocanhua.cn/Fnl2iogm4UY_YRsDjZKBdNTIutGx\" width=\"200\" style=\"width:200px\"\u003e\r\n    \u003cimg src=\"https://assets.maocanhua.cn/FmTik5Ha55ax21-b6jOLhwj6LP_I\" width=\"200\" style=\"width:200px\"\u003e\r\n  \u003c/div\u003e\r\n\r\n\r\n## 部分截图\r\n - ![图片1](https://assets.maocanhua.cn/FrsE2_5Dksv3YtOWdaiqv-bZcBaR)\r\n - ![图片1](https://assets.maocanhua.cn/Fnxhu6BPrkHYLFJgWQEJg1MmPCXv)\r\n - ![图片1](https://assets.maocanhua.cn/FvpQ6deo5tp946YBX3QMT3aOiSeZ)\r\n\r\n\r\n## 项目结构\r\n核心功能均在src目录，example目录只是作为一个使用示例\r\n\r\n### 结构\r\n\r\n![图片1](https://assets.maocanhua.cn/Fg5xzyOg1N0fwWaHNj5Z33CZkDHE)\r\n\r\n```ts\r\ndata === Array\u003cPage\u003e\r\n\r\nexport type IPage = IBlockData\u003c{\r\n  title: string;\r\n}\u003e;\r\n\r\nexport const Page: IBlock\u003cIPage\u003e = {\r\n  name: '页面',\r\n  type: BasicType.PAGE,\r\n  Editor,\r\n  Renderer,\r\n  Panel,\r\n  createInstance,\r\n  validChildrenType: []\r\n};\r\n\r\nexport interface IBlockData\u003cT extends any = any\u003e {\r\n  style: Partial\u003cReact.CSSProperties\u003e;\r\n  type: BlockType;\r\n  data: {\r\n    value: T;\r\n    link?: string;\r\n    action?: string;\r\n    variable?: string;\r\n  };\r\n  children: IBlockData\u003cany\u003e[];\r\n}\r\n\r\n```\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-ryan%2Feasyh5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-ryan%2Feasyh5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-ryan%2Feasyh5/lists"}