{"id":13442020,"url":"https://github.com/msojocs/wechat-web-devtools-linux","last_synced_at":"2026-04-02T17:55:54.134Z","repository":{"id":37745562,"uuid":"450867777","full_name":"msojocs/wechat-web-devtools-linux","owner":"msojocs","description":"适用于微信小程序的微信开发者工具 Linux移植版","archived":false,"fork":false,"pushed_at":"2024-10-26T13:44:53.000Z","size":3637,"stargazers_count":653,"open_issues_count":4,"forks_count":63,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-10-29T20:21:01.914Z","etag":null,"topics":["linux","miniprogram","nwjs-ide","weapp","wechat","wechat-devtools","wechat-ide","wechat-mini-program","weixin","wxapp"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/msojocs.png","metadata":{"files":{"readme":"README.MD","changelog":"CHANGELOG.MD","contributing":null,"funding":null,"license":"license.md","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-01-22T16:12:22.000Z","updated_at":"2024-10-29T09:43:43.000Z","dependencies_parsed_at":"2023-02-12T21:46:28.315Z","dependency_job_id":"9559da01-7fea-49bb-91d0-14e328cbfa10","html_url":"https://github.com/msojocs/wechat-web-devtools-linux","commit_stats":null,"previous_names":[],"tags_count":66,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msojocs%2Fwechat-web-devtools-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msojocs%2Fwechat-web-devtools-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msojocs%2Fwechat-web-devtools-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msojocs%2Fwechat-web-devtools-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msojocs","download_url":"https://codeload.github.com/msojocs/wechat-web-devtools-linux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248908577,"owners_count":21181555,"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","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":["linux","miniprogram","nwjs-ide","weapp","wechat","wechat-devtools","wechat-ide","wechat-mini-program","weixin","wxapp"],"created_at":"2024-07-31T03:01:40.755Z","updated_at":"2026-04-02T17:55:54.125Z","avatar_url":"https://github.com/msojocs.png","language":"Shell","readme":"\n  \n\u003cdiv align=\"center\"\u003e\n\n  \u003cimg src=\"./res/icons/512x512.png\" height=\"100px\" width=\"100px\"/\u003e\n\n  \u003ch3\u003e微信开发者工具 Linux版\u003c/h3\u003e\n  \u003cbr\u003e\n\n----\n\n[![Node.js CI](https://github.com/msojocs/wechat-devtools-linux/actions/workflows/release.yml/badge.svg)](https://github.com/msojocs/wechat-devtools-linux/actions/workflows/release.yml)\n[![wechat-tools](https://img.shields.io/badge/wechat--devtools-2.01.2510280-blue)](https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html)\n[![nwjs](https://img.shields.io/badge/nwjs-0.55.0-green)](https://nwjs.io/downloads/)\n[![node](https://img.shields.io/badge/node-16.11.0-orange)](https://nodejs.org/en/)\n[![wx-compiler](https://img.shields.io/badge/wx--compiler-0.1.6-pink)](https://github.com/msojocs/wx-compiler)\n\n\n  这是微信开发者工具 Linux版\n  \n\n  \u003cbr\u003e\n\u003c/div\u003e\n\n# 项目说明\n\n本项目是一个完整的搭建Linux下可用的“微信开发者工具”的脚本和工具集，\n用于在Linux下的GNOME桌面上搭建可以持续更新和使用的“微信开发者工具”。\n\n本项目修改自：https://github.com/dragonation/wechat-devtools/\n\n# 项目地址\n\n* https://github.com/msojocs/wechat-web-devtools-linux\n\n# 进度\n\n当前工具可以在Linux上构筑最新版 `1.06.2510290`，支持CLI模式。\n另现在已经可以直接在设置界面里面修改字体，手工输入字体名称就可以。\n\n# 功能测试记录\n\n[测试记录](docs/Features.MD)\n\n注意: \n\n此测试仅在修复某项功能时测试通过，并不代表阁下在使用时是正常可用的；因为我没有精力在每个版本发布前进行一次测试。\n\n在阁下遇到任何无法解决的问题时，请新建一个 [issue](https://github.com/msojocs/wechat-web-devtools-linux/issues/new/choose)\n\n# 系统要求\n\n* 基于Linux的桌面系统，首选GNOME（其他的桌面环境可能会有问题，未测试）\n* CI自动构建的包对 glibc 和 libstdc++ 有一定的版本要求，glibc 的版本要求\u003e=2.23，libstdc++ 的版本要求\u003e=3.4.21\n* ~~如果你下载的是 `wine` 版本，那么你需要安装有 `wine` `wine-binfmt` 支持，建议版本在5.0以上，低版本可能会存在有问题~~\n\n# CLI支持\n\n在项目的 `bin` 目录中有 `wechat-devtools-cli` 脚本，是微信开发者工具的命令行支持 的Linux版本。相关资料可以在[微信CLI命令行V2](https://developers.weixin.qq.com/miniprogram/dev/devtools/cli.html)上找到。\n\n# 使用方法\n\n1. [在线安装](#在线安装)\n2. 可以在本项目的[Release](https://github.com/msojocs/wechat-web-devtools-linux/releases)中，寻找已经构筑好了的软件包，下载使用。\n如果`Release`版本存在问题，可以尝试[Continuous](https://github.com/msojocs/wechat-web-devtools-linux/releases/tag/continuous)版本，这是基于`master`分支的最新提交构建的，会及时修复一些 bug，但也可能会带来新的 bug。\n3. 你可以 [自行构建](#自行构建)\n\n# 在线安装\n\n目前支持以下平台：\n\n1. 统信应用商店（deepin）\n\n# 自行构建\n\n\u003e 注：\n\u003e 如果想构建 wine 版本，请添加环境变量：`export WINE=true` 。注意：不受支持。\n\n## 方法0（推荐）\n\n理论上此方法99%成功;在网络不稳定时容易失败（原因懂得都懂，构建过程已经尽量使用镜像源）\n\n1. 如果构建 `wine` 版本，请先在Linux环境中自行安装 `wine` `wine-binfmt`；\n2. 请安装 `docker` `docker-compose`\n3. 克隆本项目：\n    ```\n    git clone --recurse-submodules https://github.com/msojocs/wechat-web-devtools-linux.git\n    ```\n4. 在本地项目目录中执行如下的语句，构建开发者工具：\n    ```\n    tools/build-with-docker.sh\n    ```\n5. 在本地项目目录中执行如下的语句，可以安装应用图标（非必须）：\n    ```\n    ./tools/install-desktop-icon-node\n    ```\n\n之后即可通过点击应用图标启动微信开发者工具，也可以运行 `bin/wechat-devtools` 通过命令行启动\n\n## 方法1\n\n由于使用到 `node-gyp` `nw-gyp`，此方法会受 `python`、`node` 版本影响出现一些难以预料的异常（比如使用 `node15.0.1` 时，大部分模块构建会被忽略，但没有任何报错信息）。但是，`Docker` 构建方式会帮你处理好这些问题。\n\n1. 如果构建 `wine` 版本，请先在Linux环境中自行安装 `wine` `wine-binfmt`；\n2. 安装编译 `nodegit` 所需的依赖：`python2.7 python3.6及以上 libkrb5-dev gcc openssl libssh2-1-dev g++ make pkg-config` ；\n   \n   另外 `7z` 旧版解压可能存在问题（未测试最低版本号，比如：ubuntu16.04 自带的不行），请参考[`Dockerfile`](docker/Dockerfile)\n3. 克隆本项目：\n    ```\n    git clone --recurse-submodules https://github.com/msojocs/wechat-web-devtools-linux.git\n    ```\n4. 在本地项目目录中执行以下命令，构建开发者工具：\n    ```\n    ./tools/setup-wechat-devtools-bash\n    ```\n5. 在本地项目目录中执行如下的语句，可以安装应用图标（非必须）：\n    ```\n    ./tools/install-desktop-icon-bash.sh\n    ```\n\n之后即可通过点击应用图标启动微信开发者工具，也可以运行 `bin/wechat-devtools` 通过命令行启动\n\n# 与其他Linux下的微信开发者工具版本区别\n\n1. 支持最新版本，并个人会持续更新，在添加新的tag时，actions会自动构建并上传Release；\n2. 核心构筑过程完全开源，可以自行修改；\n3. 修复了nwjs上关于Menu的段错误，确保最新版本可以正常启动 (by dragonation)；\n4. 在构筑过程中会重新编译node_modules，确保原生模块可以在Linux上正确运行；\n5. 下载更新可以支持断点再续，并使用了taobao国内的npm源，加速下载（稳定性待测试）。\n6. 纯 Linux 支持，使用 cpp 实现模拟官方编译器。[wx-compiler](https://github.com/msojocs/wx-compiler)\n\n# 后续计划\n\n请参考: [处理计划](https://github.com/msojocs/wechat-devtools-linux/projects?type=beta)\n\n# 移植相关\n\n请参考: [移植流程记录](https://github.com/msojocs/wechat-web-devtools-linux/wiki)\n\n# FAQ\n\n## Skyline(实验性功能)\n\n启动Server后，过一段时间，点击编译即可。\n\n\u003e [!Warning]\n\u003e 实验性功能，有问题请建立issue进行反馈，谢谢。\n\u003e 已知问题：https://github.com/msojocs/skyline-client-server/issues\n\n```shell\ndocker run -d \\\n    --network host \\\n    -e HOST_UID=$(id -u) \\\n    -e HOST_GID=$(id -g) \\\n    -v \"/dev/shm:/dev/shm\" \\\n    --name wechat_devtools_server \\\n    ghcr.io/msojocs/skyline-client-server:master\n# 可将master替换为具体版本号\n```\n\n其它请参考: [FAQ](docs/FAQ.MD)\n\n# 界面截图\n\n版本 1.05.2201240\n![screenshot 1.03.2006090](res/screenshots/1.05.2201240.png)\n\n版本 1.03.2006090\n![screenshot 1.03.2006090](res/screenshots/1.03.2006090.jpg)\n\n版本 1.02.2001191\n![screenshot 1.02.2001191](res/screenshots/1.02.2001191.jpg)\n\n# 赞赏\n\n  如果这个仓库让你感到舒适，可以点个Star或者请这个 ~~菜鸡大学生~~ 打工人喝杯咖啡（请尽量带上github昵称）：\n\n  ![赞赏码](https://user-images.githubusercontent.com/20937135/154661198-93854dc1-c8ba-4c97-a7ab-9f8de26c0226.png)\n\n# 感谢赞赏支持\n\n时间倒序\n\n| 赞赏人 | 时间 |\n|-------|-----|\n| 青格乐 | 2026-03-26 |\n| debugdoctor | 2026-03-01 |\n| 68594 | 2026-02-28 |\n| yinyu | 2026-01-03 |\n| returning | 2025-07-12 |\n| 👍 | 2025-07-10 |\n| hanwor | 2025-06-17 |\n| 。。。 | 2025-03-29 |\n| SakuraPuare | 2025-03-24 |\n| [senseab](https://github.com/senseab) | 2024-12-21 |\n| l |  2024-12-08 |\n| lcurk0 |  2024-11-29 |\n| [stvsl](https://github.com/stvsl) |  2024-11-26 |\n| 仙人柱 | 2024-11-20 |\n| [cabbage7th](https://github.com/cabbage7th) | 2024-10-06 |\n| [shao4598](https://github.com/shao4598) | 2024-09-24 |\n| [OWALabuy](https://github.com/OWALabuy) | 2024-08-28 |\n| [wangvation](https://github.com/wangvation) | 2024-07-16 |\n| 孤泉冷月 | 2024-07-12 |\n| [liushuai05](https://github.com/liushuai05) | 2023-12-26 |\n| LGTU | 2023-11-25 |\n| [WRXinYue](https://github.com/WRXinYue) | 2023-11-09 |\n| silentdoer | 2023-09-26 |\n| ??? | 023-08-11 |\n| Geequlim | 2023-07-12 |\n| 对方正在输入 | 2023-04-28 |\n| @DaqiongYang | 2023-03-29 |\n| AInoob | 2023-01-30 |\n| ??? | 2023-01-18 |\n| 仙人柱 | 2022-08-09 |\n| [guanzhengyinqin](https://github.com/guanzhengyinqin) | 2022-07-14 |\n| [nsfoxer](https://github.com/nsfoxer) | 2022-06-30 |\n| [chiiihc](https://github.com/chiiihc) | 2022-06-17 |\n| [younland](https://github.com/younland) | 2022-06-15 |\n| [chiiihc](https://github.com/chiiihc) | 2022-06-14 |\n| 陈陈菌 | 2022-05-29 |\n| WWW |  2022-05-26 |\n| 南极の短尾猫 | 2022-05-22 |\n| 猪宝的猪 | 2022-05-15 |\n| finalwhy | 2022-05-09 |\n| [CoryByte](https://github.com/Corybyte) | 2022-04-23 |\n| [Starrah](https://github.com/Starrah) | 2022-04-12 |\n| [zyk-miao](https://github.com/zyk-miao) | 2022-04-12 |\n| [icepie](https://github.com/icepie) | 2022-04-08 |\n| Milder | 2022-03-23 |\n| . | 2022-03-21 |\n| shaoxp | 2022-03-16 |\n| 李喆 | 2022-03-05 |\n| david | ??? |\n\n# 免责声明\n\n微信开发者工具版权归腾讯公司所有，本项目旨在交流学习之用。如有不当之处，请联系本人，邮箱：jiyecafe@gmail.com\n\n## Stargazers over time\n\n[![Stargazers over time](https://starchart.cc/msojocs/wechat-web-devtools-linux.svg)](https://starchart.cc/msojocs/wechat-web-devtools-linux)\n","funding_links":[],"categories":["HarmonyOS","工具"],"sub_categories":["Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsojocs%2Fwechat-web-devtools-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsojocs%2Fwechat-web-devtools-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsojocs%2Fwechat-web-devtools-linux/lists"}