| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
一款使用 uni-app(Vue 3 + Vite + TypeScript + Pinia) 实现的开源 GitHub 跨端客户端,一次构建覆盖 H5 / 微信小程序 / Android / iOS。 同系列项目 GSY 全家桶之一,UI 与原 Weex 版完全对齐。
注:本仓库历史名为 GSYGithubAppWeex(最初基于已归档的 Apache Weex 实现),自 v2.0.0-uniapp 起整体迁移到 uni-app。Weex 时代的代码可在 git 历史里追溯,迁移背景与决策见 MIGRATION.md。
| 技术栈 | 仓库 |
|---|---|
| uni-app(本仓库) | https://github.com/CarGuo/GSYGithubAppWeex |
| React Native | https://github.com/CarGuo/GSYGithubApp |
| Flutter | https://github.com/CarGuo/gsy_github_app_flutter |
| Android Kotlin(View) | https://github.com/CarGuo/GSYGithubAppKotlin |
| Android Kotlin Compose | https://github.com/CarGuo/GSYGithubAPPCompose |
| Compose Multiplatform | https://github.com/CarGuo/GSYGithubAppCMP |
| HarmonyOS ArkUI | https://github.com/CarGuo/GSYGithubAppOH |
与原 Weex 版 UI 完全对齐(深主题色 navbar + GSY 卡片 + iconfont)。
| 主页(动态) | 仓库详情 | Issue 详情 |
|---|---|---|
![]() |
![]() |
![]() |
git clone git@github.com:CarGuo/GSYGithubAppWeex.git
cd GSYGithubAppWeex
npm installpreinstall 钩子会自动跑 scripts/check-deps-cooldown.mjs,强制所有 pinned 依赖发布满 15 天,防御 npm typosquat / supply-chain 攻击。
npm run dev:h5 # 浏览器: http://localhost:8080
npm run dev:mp-weixin # 微信开发者工具打开 dist/dev/mp-weixin
npm run dev:app # App 离线打包资源在 dist/dev/app-plus/npm run build:h5
npm run build:mp-weixin
npm run build:app| 层 | 选型 | pinned 版本 |
|---|---|---|
| 跨端框架 | uni-app(vue3) | 3.0.0-5000720260410001 |
| 视图层 | Vue | 3.5.33 |
| 构建 | Vite | 5.2.8 |
| 状态 | Pinia | 3.0.4 |
| 网络 | axios | 1.16.0 |
| i18n | vue-i18n | 9.14.5 |
| UI 组件 | @dcloudio/uni-ui | 1.5.12 |
| 类型系统 | TypeScript | 6.0.3 |
完整依赖清单与版本选型规则见 package.json 与 MIGRATION.md § 3。
为防御 npm typosquat / supply-chain 攻击,本工程强制要求所有直接依赖的 pinned 版本必须发布满 15 天:
. ├── scripts/check-deps-cooldown.mjs # 供应链冷却校验 ├── docs/ │ ├── legacy-spec.md # 原 Weex 工程页面/路由/Store 完整文档 │ └── parity-checklist.md # 新旧 parity 矩阵 + e2e 报告 ├── src/ │ ├── api/ # axios + 端点表 + trending 三级回退 │ ├── components/ # MainTabBar 等自画 widget │ ├── config/ │ ├── pages/ # 15 个页面(welcome / login / main / trend / person / search / setting / repository-detail / user-info / code-detail / issue-detail / edit-issue / common-list / web / dynamic) │ ├── stores/ # Pinia │ ├── styles/ # GSY 设计 token │ ├── static/font/ # wxcIconFont(已从原工程移植) │ ├── App.vue │ ├── main.ts │ ├── manifest.json │ ├── pages.json │ └── uni.scss ├── tsconfig.json ├── vite.config.ts # 含 GSY trend API 代理 └── package.json
详细矩阵见 docs/parity-checklist.md。
打 tag 触发 .github/workflows/release.yml:
# 在 master 上确认无误后
git tag -a v2.x.y -m "release notes"
git push origin v2.x.y最新 GA tag:v2.0.0-uniapp。
欢迎 PR / Issue / Star。提交 PR 前请:
| Back | FazBrowse Home | New Git URL |