
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
基于已有的原生微信小程序项目,提供零成本平移转换的能力,对小程序间差异进行抹平,提供简单快捷的 API,助力开发者快速互转已有小程序项目
百度小程序,后续支持QQ、支付宝、头条等小程序$ npm i wx2any -g
切换到自己指定的工作目录,执行全局命令wx2any,并指定转换目录路径,和输出目录路径
// 当前只支持百度小程序,其他小程序后续支持
$ wx2any <微信小程序文件夹> <目标小程序文件夹>
注: 路径中请包含'/'作为路径标识
使用命令行参数--target,简写-t
# 默认,百度小程序
$ wx2any <微信小程序文件夹> <目标小程序文件夹> --target=bd
# 当前版本暂不支持,qq小程序
$ wx2any <微信小程序文件夹> <目标小程序文件夹> --target=qq
如果你的项目中有专属的自定义函数回调名,接口名,逻辑降级处理等,请在微信项目根目录下放置.joyrc.js文件,并填写如下:
/**
* @file .joyrc.js
*/
module.exports = {
// 组件库(u-design);内部项目(internal;外部项目(external)
project_type: 'external',
// 微信登录pass的跳转页面函数,推荐默认为bdWxLogin,可配置其他值
bdWxLogin: 'bdWxLogin',
// 微信open-type的回调函数,默认推荐为getuserinfo,可配置其他值
getuserinfo:'getUserInfoHandle'
// ...其他自定义转换规则
};
注:目前工具只支持识别展示的三项配置,非常希望您把需要新增的自定义配置告诉我们,增加我们的处理能力
V0.0.5 (2020-02-06) 1、JOY(wx2any工具的内部名称,下同) 可视化转换工具 诞生(目前支持Mac操作系统安装)
V0.0.4(2019-01-06) 1、微信网盘小程序 转 QQ小程序 已知问题Fix
V0.0.3(2019-12-25) 1、增加 微信网盘小程序 转 QQ 小程序
V0.0.2(2019-12-18) 1、增加 微信小程序 转 QQ小程序
V0.0.1 (2019-11-11) 1、支持 微信小程序 与 智能小程序 互转
Q1:请问有支持Windows系统的可视化转换工具吗? A1:目前开发小哥哥已经在加班加点开发中了,马上会进入测试阶段,预计三月底能够推出Windows版本的呦!
Q2:使用了JOY和百度开发者工具,发现都需要进行一定的二次开发,请问JOY能否支持互转出来就可以直接提审使用呢? A2:由于平台间的差异,并不能100%进行互转,而是针对部分功能进行了降级处理,如果开发者可以接受降级方案就不需要进行二次开发,但为了保证不会由于降级操作而导致阻塞产品流程,还是建议转换后让产品进行全功能体验一下。
Q3:请问带支付功能的系统可以进行迁移吗? A3:目前研发正在支持中,后续就可以进行转换了!
Q4:使用 uni-app 之类的工具开发出来的小程序,JOY支持进行互转吗? A4:JOY互转工具是针对原生开发的小程序进行互转的,不支持转换 uni-app 之类的项目。
https://support.qq.com/products/123203
wx2any is MIT licensed.
FAQs
微信小程序 转换 百度小程序
We found that wx2any demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.