explaingit

tencent/wepy

22,614JavaScriptAudience · developerComplexity · 3/5MaintainedSetup · moderate

TLDR

A framework that lets you build WeChat Mini Programs using Vue-style syntax instead of WeChat's native format. Now archived.

Mindmap

mindmap
  root((repo))
    What it does
      Transforms Vue-style code
      Compiles to Mini Program format
      Removes boilerplate
    Key features
      Reusable components
      npm package support
      CSS preprocessors
      Async/await support
    Use cases
      Build WeChat Mini Apps
      Port web code to WeChat
      Team familiar with Vue
    Tech stack
      JavaScript
      Vue-inspired syntax
      Pre-compilation
    Audience
      Web developers
      Vue developers
      China-focused teams
    Status
      Archived project
      No longer maintained

Things people build with this

USE CASE 1

Build a WeChat Mini Program using familiar Vue-style component syntax instead of WeChat's native conventions.

USE CASE 2

Reuse npm packages and modern JavaScript features like async/await in a Mini Program project.

USE CASE 3

Style Mini Programs with CSS preprocessors like Sass or Less instead of plain CSS.

USE CASE 4

Port a Vue web application to run as a WeChat Mini Program with minimal code rewrites.

Tech stack

JavaScriptVueWeChat Mini ProgramnpmLessSass

Getting it running

Difficulty · moderate Time to first run · 30min

Requires WeChat Developer Tools and a WeChat account to test Mini Programs; archived status may mean outdated dependencies.

License could not be detected automatically. Check the repository's LICENSE file before use.

In plain English

WePY is a framework from Tencent that makes it easier to build WeChat Mini Programs, the lightweight apps that run inside China's WeChat messaging platform, by letting developers write code in a style similar to Vue, a popular web development framework. The project is now archived and no longer actively maintained. The problem WePY solves is that WeChat Mini Programs have their own custom development conventions that feel unfamiliar to web developers. WePY layers on top of these conventions using a pre-compilation step, meaning it transforms the code you write into the format WeChat requires, so you never have to write in the raw Mini Program style directly. Key capabilities include support for reusable components, the ability to import packages from the npm ecosystem, modern JavaScript features like async/await, and support for CSS preprocessors such as Less and Sass. This makes the Mini Program development experience feel much closer to standard modern web development. You would use WePY if you are building a WeChat Mini Program and are already familiar with Vue-style development patterns. However, because the project is archived and the WeChat ecosystem has evolved, new projects are recommended to use more modern alternatives. The codebase is written in JavaScript.

Copy-paste prompts

Prompt 1
Show me how to set up a WePY project and create a simple component that displays a list of items.
Prompt 2
How do I import and use an npm package in a WePY Mini Program?
Prompt 3
Convert this Vue component to WePY syntax for use in a WeChat Mini Program.
Prompt 4
What's the build process in WePY and how does it transform my code into WeChat Mini Program format?
Prompt 5
How do I use Sass in a WePY project and what's the compilation workflow?
Open on GitHub → Explain another repo

Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.