Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

laojianzi/openclaw-weixin-mirror

Repository files navigation

Important

This repository is now archived As the official repository Tencent/openclaw-weixin is now open-sourced, this mirror is no longer maintained. Please visit the official repository for the latest code and support.

中文文档

openclaw-weixin Mirror

This repository is an unofficial mirror of the npm package @tencent-weixin/openclaw-weixin. It is synchronized daily at 03:00 (UTC+8) via GitHub Actions to ensure the mirror stays up-to-date with the latest npm releases.

Mission

  • Version mirroring: Reliably synchronize @tencent-weixin/openclaw-weixin releases from npm into this repository with traceable history.
  • Source archival: Preserve unpacked source snapshots on the orphan branch (one commit and one tag per version).
  • Release intelligence: Generate English release notes from version diffs and README changes using the GitHub Copilot CLI.
  • Developer enablement: Provide readable source, release notes, and historical traceability to support both human and AI-assisted analysis and extension.

System Architecture

flowchart LR
  classDef source fill:#f7f7f7,stroke:#999,stroke-width:1px;
  classDef engine fill:#eaf3ff,stroke:#4a78c2,stroke-width:2px;
  classDef target fill:#eefbf3,stroke:#2f9e64,stroke-width:1px;

  subgraph npm[npm Registry]
    direction TB
    P1[Package Releases]:::source
  end

  subgraph Engine[Automation Engine]
    direction TB
    S1[Mirroring Logic]:::engine
    S2[AI Intelligence]:::engine
  end

  subgraph GH[GitHub Repository]
    direction TB
    A1[(orphan branch<br/>Unpacked Source)]:::target
    A2[(Git Tags<br/>Version Pointers)]:::target
    A3[(GitHub Releases<br/>AI Changelogs)]:::target
  end

  P1 -->|Fetch Tarball| S1
  S1 -->|Unpack & Commit| A1
  S1 -->|Tag Version| A2
  A2 -->|Diff Analysis| S2
  S2 -->|Publish Notes| A3
Loading

Runtime And Tooling

  • Runtime: Bun (native TypeScript execution)
  • Language: TypeScript (ESM)
  • Package manager: Bun
  • AI Engine: GitHub Copilot CLI (@github/copilot)
  • Linter/Formatter: Biome
  • Main entrypoint: scripts/index.ts

Browsing Versions

  • Source Code: The un-minified source code for each version lives on the orphan branch, with a linear history (one commit per version).
  • By Tag/Version: You can browse code for a specific version by running: git checkout <version> (e.g., git checkout 1.0.0). Note that tags do not have a v prefix.
  • Releases: View AI-generated changelogs for each version in the GitHub Releases section of this repository.

Local Development

Install dependencies:

bun install --frozen-lockfile

Run the full sync orchestration (check -> sync -> release):

bun run scripts/index.ts

Check code quality (lint & format):

bun run lint

Auto-fix code quality issues:

bun run format

Type-check scripts:

bun run typecheck

Run all tests:

bun test

Automation

  • Main Branch: All automation logic, including GitHub Actions workflows and TypeScript scripts used to synchronize the repository with the npm registry, is located on the main branch.
  • Process: Versions are synced automatically via a scheduled GitHub Actions workflow. It executes bun run scripts/index.ts, which checks for unsynced versions, imports tarballs to orphan, and creates releases using the GitHub Copilot CLI for changelog generation.
  • CI Caching: The workflow utilizes Bun's dependency caching to ensure fast and reliable execution.

About

@tencent-weixin/openclaw-weixin mirror, with version diff and release note

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors