Skip to content

wechaty/webwx-app-tracker

Repository files navigation

webwx-app-tracker

webwxApp SPA Html & AngularJS Script Tracker for Web Wechat

Introduction

The purpose of creating this repository is to track the code change from https://wx.qq.com , which can make the PuppetWeb of Wechaty life easier in the future.

What it is doing is:

  1. Save https://wx.qq.com HTML to original/index.html
  2. Save AngularJs JavaScript to original/wxwebApp.js
  3. Format the above two files, and save them to formatted/
  4. Check wether there has any update
  5. Commit to Git Repository and use js file name as commit message(if updated)

Case Study

I have a webwxApp.js which was saved on May 2016, about 5 months ago before I setup this tracker.

  1. After I finished this tracker, I got a diff on webwxApp between version May to Nov, you can see, there's no much change at the past half year:

https://github.com/wechaty/webwx-app-tracker/commit/ab292418e2651ec7e2630da156b3c18f0dca26fd

  1. However there was a new little bug introduced in, it's a typo of API_webwxsendmsgvedio:

https://github.com/wechaty/webwx-app-tracker/commit/ab292418e2651ec7e2630da156b3c18f0dca26fd#diff-80c9da80c8ca080b37c6c49864880646R3300

Enjoy it!

Quick Start

Open https://github.com/wechaty/webwx-app-tracker/commits/master/formatted/webwxApp.js to know the day to day change of web wechat app code.

Or clone this repository on github, then run on your own machine.

Cron

I put npm run track to my crontab with the following setting:(run every hour)

huan@dev:~/git/webwx-app-tracker$ crontab -l
1 * * * * (date && cd ~/git/webwx-app-tracker && npm run -s track >> /tmp/webwx-app-tracker.log 2>&1)

P.S. You need to use Github Personal Token to enable push in crontab:

Any suggestion is welcome.

See Also

History

v0.2 Nov 2020

Use GitHub Actions to replace crontab

v0.1 Nov 2016

Use crontab to run npm run track

Author

Huan (李卓桓), Tencent TVP of Chatbot

Profile of Huan LI (李卓桓) on StackOverflow

Copyright & License

  • Code & Docs © 2016-now Wechaty Community Contributors
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons

About

Live Tracking webwxApp Version Change

Resources

License

Stars

22 stars

Watchers

7 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors