{"id":49871175,"url":"https://github.com/yuyudifiesh/arkts-h5app-example","last_synced_at":"2026-05-15T07:35:13.959Z","repository":{"id":350857052,"uuid":"1208504524","full_name":"yuyudifiesh/arkts-h5app-example","owner":"yuyudifiesh","description":"适用于 ArkTS 1.1 的 H5 应用模板。H5 application template for ArkTS 1.1","archived":false,"fork":false,"pushed_at":"2026-04-12T12:31:52.000Z","size":131,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-12T14:14:35.189Z","etag":null,"topics":["arkts","h5app","harmonyos","harmonyos-next","huawei","webapp"],"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/yuyudifiesh.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-12T11:28:26.000Z","updated_at":"2026-04-12T12:32:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/yuyudifiesh/arkts-h5app-example","commit_stats":null,"previous_names":["yuyudifiesh/arkts-h5app-example"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yuyudifiesh/arkts-h5app-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuyudifiesh%2Farkts-h5app-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuyudifiesh%2Farkts-h5app-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuyudifiesh%2Farkts-h5app-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuyudifiesh%2Farkts-h5app-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuyudifiesh","download_url":"https://codeload.github.com/yuyudifiesh/arkts-h5app-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuyudifiesh%2Farkts-h5app-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33057991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"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":["arkts","h5app","harmonyos","harmonyos-next","huawei","webapp"],"created_at":"2026-05-15T07:35:13.189Z","updated_at":"2026-05-15T07:35:13.946Z","avatar_url":"https://github.com/yuyudifiesh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 鸿蒙 NEXT H5 应用模板\n\n| [English](README_en.md) | 简体中文 |\n\n## 快速开始\n\n### Windows\n1. 在 Release 页面下载项目压缩文件。\n2. 将压缩文件中的所有内容解压到项目文件夹。\n3. 在 HUAWEI DevEco Studio 中打开项目文件夹。\n4. 在 `entry\\src\\main\\ets\\pages\\index.ets` 中，将 `https://www.example.com` 替换为你需要的 URL 。\n5. 在 DevEco Studio 生成签名文件后编译 .hap 安装包。\n6. 使用虚拟机或原生鸿蒙设备进行调试。\n\n### HarmonyOS\n\u003e [!WARNING]\n\u003e 1. 若需要在原生鸿蒙设备上编译，需要先在华为开发者官网上报名申请 DevEco Studio 的预览版本。[报名页面](https://developer.huawei.com/consumer/cn/activity/developerbeta/deveco-studio-preview)\n\u003e 2. 若需要在同一账号的其他设备上安装，需要使用数据线连接设备，并打开 USB 调试。\n\n1. 在 Release 页面下载项目压缩文件。\n2. 将压缩文件中的所有内容解压到项目文件夹。\n3. 在 DevEco Studio 中打开项目文件夹。\n4. 在 `entry\\src\\main\\ets\\pages\\index.ets` 中，将 `https://www.example.com` 替换为你需要的 URL 。\n5. 在 `DevEco Studio → 项目结构 → 签名配置 → 签名` 中生成签名文件。\n6. 设备选择 “此电脑” ，或者是用数据线连接其他设备进行调试。\n\n## 模板信息\n- RuntimeOS: HarmonyOS\n- ArkTSVersion: 1.1\n- compatibleSdkVersion: 6.0.0(20)\n- targetSdkVersion: 6.0.2(22)\n\n## 关于图标\n本模板包含默认 label 图标 `PNG` 文件。\n\n\u003e [!IMPORTANT]\n\u003e HarmonyOS 要求应用图标必须分层（前景图+背景图），不能直接使用单层图标。  \n\n如需使用自定义图标，需要在 `entry\\src\\main\\resources\\base\\media` 中放入自定义的 `foreground.png` 和 `background.png` 图标文件（1024×1024）。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuyudifiesh%2Farkts-h5app-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuyudifiesh%2Farkts-h5app-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuyudifiesh%2Farkts-h5app-example/lists"}