{"id":13487189,"url":"https://github.com/ecomfe/okam","last_synced_at":"2025-08-02T12:42:01.082Z","repository":{"id":44162127,"uuid":"152968962","full_name":"ecomfe/okam","owner":"ecomfe","description":"Mini program development framework","archived":false,"fork":false,"pushed_at":"2023-01-08T00:16:45.000Z","size":4827,"stargazers_count":419,"open_issues_count":49,"forks_count":62,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-07-29T00:05:18.077Z","etag":null,"topics":["alipay","baidu","miniprogram","okam","quickapp","swan","toutiao","weapp","wechat","wxapp"],"latest_commit_sha":null,"homepage":"https://ecomfe.github.io/okam","language":"JavaScript","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/ecomfe.png","metadata":{"files":{"readme":"README.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}},"created_at":"2018-10-14T11:58:18.000Z","updated_at":"2025-03-04T07:17:14.000Z","dependencies_parsed_at":"2023-02-08T03:45:42.560Z","dependency_job_id":null,"html_url":"https://github.com/ecomfe/okam","commit_stats":null,"previous_names":[],"tags_count":88,"template":false,"template_full_name":null,"purl":"pkg:github/ecomfe/okam","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fokam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fokam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fokam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fokam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecomfe","download_url":"https://codeload.github.com/ecomfe/okam/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fokam/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268392080,"owners_count":24243297,"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-02T02:00:12.353Z","response_time":74,"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":["alipay","baidu","miniprogram","okam","quickapp","swan","toutiao","weapp","wechat","wxapp"],"created_at":"2024-07-31T18:00:56.395Z","updated_at":"2025-08-02T12:42:01.018Z","avatar_url":"https://github.com/ecomfe.png","language":"JavaScript","readme":"# Okam\n\n[![Build Status](https://travis-ci.org/ecomfe/okam.svg?branch=master)](https://travis-ci.org/ecomfe/okam)\n[![Coverage Status](https://img.shields.io/codecov/c/github/ecomfe/okam/master.svg)](https://codecov.io/gh/ecomfe/okam)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n\u003e 奥卡姆，一个面向小程序开发的开发框架，提供类 `Vue` 的开发体验。\n\n## Introduction\n\n### 平台支持\n\n- [x] [百度小程序](https://smartprogram.baidu.com/docs/introduction/enter_application/)\n- [x] [微信小程序](https://developers.weixin.qq.com/miniprogram/dev/)\n- [x] [支付宝小程序](https://docs.alipay.com/mini/developer/getting-started)\n- [ ] H5 `支持中`\n\n### 功能特性\n\n* 开发模式\n    * 支持单文件组件化开发方式，目录结构更加清晰简洁\n    * 支持 NPM 包的依赖管理和引用\n    * 提供渐进增强可配置方式，包括可配置的构建流程，来提升开发框架能力\n\n* 开发语法\n    * 模板：支持类 `Vue` 模板语法、`Pug` 模板语法\n    * 样式：支持 CSS 预处理器和后处理器， `Stylus`、`Less`、`Sass`、`Postcss`\n    * 脚本：支持 `Typescript`、`ES Next` 语法支持\n\n* 扩展的能力\n    * `HTML` 标签支持\n    * `Vue` 数据操作语法，包括 `computed`、`watch` 支持\n    * `Vue` 双向绑定 `v-model` 指令支持\n    * `filter` 模板语法支持\n    * `Redux` / `Vuex` 数据状态管理\n    * 模板组件 `ref` 引用支持\n    * `Mixins` 支持\n    * `Promise`、`Async`、`await` 语法支持\n    * 原生接口支持可定制的 `Promise` 化\n    * 提供原生接口 `Hook` 能力\n    * 样式 `rpx` 单位自动转换\n    * 接口 `Mock`\n    * 图片自动压缩能力\n\n* 其它\n    * 框架 `API` 优化及扩展、数据操作优化\n    * 微信请求优化\n    * 原生小程序和开发框架语法混用支持\n\n## Usage\n\n* [使用教程](https://ecomfe.github.io/okam)\n* [其它示例](https://github.com/awesome-okam)\n* [第三方组件开发](https://ecomfe.github.io/okam/#/component/ui)\n\n## Main Packages\n\n| Package | Status | Description |\n|---------|--------|-------------|\n| [okam-build] | [![okam-build-status]][okam-build-package] | okam 构建工具 |\n| [okam-core] | [![okam-core-status]][okam-core-package] | okam 核心运行框架 |\n| [okam-cli] | [![okam-cli-status]][okam-cli-package] | okam 命令行工具 |\n\n[okam-build]: https://github.com/ecomfe/okam/tree/master/packages/okam-build\n[okam-build-status]: https://img.shields.io/npm/v/okam-build.svg\n[okam-build-package]: https://npmjs.com/package/okam-build\n\n[okam-core]: https://github.com/ecomfe/okam/tree/master/packages/okam-core\n[okam-core-status]: https://img.shields.io/npm/v/okam-core.svg\n[okam-core-package]: https://npmjs.com/package/okam-core\n\n[okam-cli]: https://github.com/ecomfe/okam/tree/master/packages/okam-cli\n[okam-cli-status]: https://img.shields.io/npm/v/okam-cli.svg\n[okam-cli-package]: https://npmjs.com/package/okam-cli\n\n## Contribution\n\n具体可以参考[文档](./CONTRIBUTING.md)\n\n## Communication\n\n有任何问题或者建议，欢迎提 [issue](https://github.com/ecomfe/okam/issues/new), 发 pr。\n\n技术交流：\n* QQ 群 `728460911`，入群备注：okam\n* 百度同学可以加 Hi 群：`1637339`\n\n## License\n\n[MIT](./LICENSE)\n","funding_links":[],"categories":["JavaScript","工具","UI模板"],"sub_categories":["3、小程序模板"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecomfe%2Fokam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecomfe%2Fokam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecomfe%2Fokam/lists"}