{"id":36541350,"url":"https://github.com/xxf1996/carverry","last_synced_at":"2026-01-12T05:47:10.446Z","repository":{"id":57681663,"uuid":"463100090","full_name":"xxf1996/carverry","owner":"xxf1996","description":"This is a more radical visualization build solution toy for projects with vue3.2+/TS/vite technology stacks","archived":false,"fork":false,"pushed_at":"2024-05-06T07:40:37.000Z","size":3065,"stargazers_count":2,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-21T09:34:58.182Z","etag":null,"topics":["lowcode","ts","vite","vue3"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xxf1996.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":"2022-02-24T10:14:27.000Z","updated_at":"2024-07-12T02:20:06.000Z","dependencies_parsed_at":"2024-10-25T00:20:52.062Z","dependency_job_id":"1fa2dcba-6870-4568-bc9e-1f4adaddecbe","html_url":"https://github.com/xxf1996/carverry","commit_stats":{"total_commits":163,"total_committers":1,"mean_commits":163.0,"dds":0.0,"last_synced_commit":"b550d6b4219a66a15a521768485fa9e2206ef510"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/xxf1996/carverry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxf1996%2Fcarverry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxf1996%2Fcarverry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxf1996%2Fcarverry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxf1996%2Fcarverry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xxf1996","download_url":"https://codeload.github.com/xxf1996/carverry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxf1996%2Fcarverry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28335247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"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":["lowcode","ts","vite","vue3"],"created_at":"2026-01-12T05:47:09.662Z","updated_at":"2026-01-12T05:47:10.441Z","avatar_url":"https://github.com/xxf1996.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![img](docs/assets/logo.png)\n\n## carverry\n\n这是一个比较激进的可视化搭建~~方案~~玩具，适用于`vue3.2+/TS/vite`技术栈的项目；目的在于利用可视化**快速搭建页面**，注入**逻辑变量**，然后自动生成拼接好的胶水代码；目前主要由三个包组成：\n\n- `@carverry/app`：[![img](https://img.shields.io/npm/v/@carverry/app)](https://github.com/xxf1996/carverry/blob/master/packages/app/README.md)\n- `@carverry/core`：[![img](https://img.shields.io/npm/v/@carverry/core)](https://github.com/xxf1996/carverry/blob/master/packages/core/README.md)\n- `@carverry/helper`：[![img](https://img.shields.io/npm/v/@carverry/helper)](https://github.com/xxf1996/carverry/blob/master/packages/helper/README.md)\n\n\n\n## 快速开始\n\n1. 首先全局安装 `ts-node`、`@carverry/app`、`@carverry/core`；\n\n```bash\nnpm i -g ts-node @carverry/app @carverry/core #or\nyarn global add ts-node @carverry/app @carverry/core #or\npnpm add -g ts-node @carverry/app @carverry/core\n```\n\n​\t如果安装完了这些包，想要快点进行玩耍的话，可以直接`clone`[示例项目](https://github.com/xxf1996/carverry-demo-project)进行使用；\n\n2. 然后在**项目命令行**进行初始化：\n\n```bash\ncarverry init\n```\n\n按照交互式命令进行对应选项的配置：\n\n![image](./docs/assets/carverry-1.jpg)\n\n\u003e 如果想全部使用默认配置，可以使用`-y`选项来完成：\n\u003e\n\u003e ```bash\n\u003e carverry init -y\n\u003e ```\n\n3. 接着在项目中使用`@carverry/helper`来注册可视化预览相关的路由：\n\n```bash\nyarn add -D @carverry/helper\n```\n\n安装完`@carverry/helper`后，需要在项目启动配置文件里对`router`实例使用一个**辅助函数**：\n\n```ts\nimport { addCarverryRoute } from '@carverry/helper';\n// ...\n\nif (import.meta.env.MODE === 'development') { // 仅需要在开发环境引入\n  addCarverryRoute(router, () =\u003e {\n    // ... 这里是注册完可视化预览路由成功后的钩子，可以在这里做一些自定义逻辑，主要是涉及到路由数据相关的\n  });\n}\n```\n\n4. 完成配置后，**先启动本地项目开发环境**，然后再启动可视化搭建应用了：\n\n```bash\nyarn dev # 启动本地项目开发环境，具体命令取决于各自的配置\ncarverry start #or\ncarverry #可以直接省掉start命令，因为默认命令就是start\n```\n\n\n\n## 相关文档\n\n- [操作文档](https://github.com/xxf1996/carverry/blob/master/docs/basic.md)：关于可视化搭建应用的各种操作和基本概念\n- 物料开发文档：TODO\n- 开发文档：TODO\n\n\n\n## 物料包\n\n- [`@carverry/demo-material`](https://github.com/xxf1996/carverry-material) ![img](https://img.shields.io/npm/v/@carverry/demo-material)：做示范的物料包\n\n\n\n## 注意事项\n\n- `node`版本需要`16+`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxxf1996%2Fcarverry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxxf1996%2Fcarverry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxxf1996%2Fcarverry/lists"}