WeChat Mini Program
WeChat Mini Program is a lightweight application format introduced by Tencent's WeChat platform, allowing users to access applications directly within WeChat without downloading or installing them. Operating within the WeChat ecosystem, it supports application scenarios including e-commerce, utilities, social networking, and services. Developers can use the official framework to build cross-platform interfaces and invoke native capabilities such as WeChat Pay, user authorization, and message notifications to deliver near-native interaction experiences.
Core Facts
WeChat mini-programs use a dual-thread architecture: the rendering layer uses a WebView thread to handle page rendering, and the logic layer uses a JsCore thread to execute JavaScript code, with the two communicating through WeChat's native layer.
WeChat Mini Programs are based on the JavaScript/WXML/WXSS technology stack.
WeChat Mini Games impose strict package size restrictions, with the main package not exceeding 4MB and the total subpackages not exceeding 20MB.
Timeline (last 90 days)
The author initially had AI develop a WeChat Mini Program version and got it working, but believed that the Mini Program entry is deep, the account is strongly tied to WeChat, and it cannot provide desktop widgets, so decided to start over and develop standalone iOS and Android apps instead.
WorkBuddy has a natural integration advantage for WeChat Mini Program-related development, and also works more smoothly with underlying services such as Tencent Cloud.
The mini program filing process typically includes submitting entity information on the WeChat Public Platform, platform preliminary review, and final review by the communications administration, with the whole process taking anywhere from several days to twenty working days.
The five types of scenarios suitable for mini programs include: brand showcase, appointment services, event services, internal collaboration, and lightweight tools.
The official text emphasizes: the mini program account always belongs to the user.
When describing requirements directly, the requirement must explicitly include the words "WeChat mini program"; otherwise, a webpage may be generated instead of a mini program.
WorkBuddy's AI completes code upload and submission for review on the user's behalf, but whether the review passes is decided by the WeChat platform, and the AI does not guarantee approval.
A mini-program must complete ICP filing before it can officially go live; entity verification and filing are hard thresholds that no tool can do on the user's behalf.
WeChat mini-program official trial scenarios fall into five categories: brand display, appointment services, event services, internal collaboration, and lightweight tools.
The standard development process for a WeChat mini-program includes: registering an account to obtain an AppID, downloading the developer tools, writing code locally, uploading the code, submitting for review, and publishing.
32 more timeline events
All Facts (20)
WeChat mini-programs use a dual-thread architecture: the rendering layer uses a WebView thread to handle page rendering, and the logic layer uses a JsCore thread to execute JavaScript code, with the two communicating through WeChat's native layer.
80%VerifiedWeChat Mini Programs are based on the JavaScript/WXML/WXSS technology stack.
80%VerifiedWeChat Mini Games impose strict package size restrictions, with the main package not exceeding 4MB and the total subpackages not exceeding 20MB.
75%VerifiedWeChat Mini Programs officially launched in 2017.
75%VerifiedWeChat Mini Programs by default only allow network requests to be made to legitimate domain names configured in the WeChat Public Platform backend, and the target URL must use the HTTPS protocol with a registered domain name.
70%VerifiedWeChat Mini Program code packages have a size limit of 2MB.
70%VerifiedService categories such as medical consultation, financial management, and education training have explicit qualification requirements, and without the corresponding qualifications, review cannot be passed.
65%VerifiedJudgment formula: if the requirement can be broken down into a combination of information display + form submission + simple queries, it is suitable for a mini-program; if it requires real-time communication, high-frequency interaction, or high rendering performance, a different solution should be used.
65%VerifiedWeChat Mini Programs under individually certified entities can now also activate WeChat Pay (virtual payment).
65%VerifiedThe WeChat Mini Program login process follows a variant of OAuth 2.0's authorization code flow: the front end calls wx.login() to obtain a temporary login credential code, and the server uses the code along with the AppID and AppSecret to exchange for an openid and session_key from WeChat's server.
65%VerifiedGDScript supports publishing to WeChat Mini Programs and Web platforms, whereas C# has limitations on publishing to certain platforms.
65%VerifiedAfter uploading a WeChat Mini Program, it can first be set as a trial version for testing, and then submitted for review after confirming there are no issues.
65%Unverified在小程序中直接修改数组(如push())不会触发数据响应机制,因为setData需要接收新的引用才能检测到变化
95%Unverified小程序中Page()构造器用于定义页面级逻辑,Component()构造器用于组件化开发,两者的根本差异在于Page是路由的终点,Component是可组合的积木
95%UnverifiedThe Vibe Coding process for developing a WeChat Mini Program is divided into three steps: UI design, front-end development, and back-end feature implementation.
90%Unverified小程序环境不支持Cookie机制
90%Unverified微信小程序原生提供了wx.getLocation接口获取用户位置
90%Unverified微信小程序自2017年上线以来,已成为中国移动互联网最重要的轻应用分发平台之一
90%Unverified微信小程序基于JavaScript/TypeScript技术栈,配合云开发(CloudBase)可快速实现题库存储、用户数据同步等后端功能
90%Unverified微信小程序累计用户超过1000即可开通流量主资格
85%