webwxApp SPA Html & AngularJS Script Tracker for Web Wechat
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:
- Save https://wx.qq.com HTML to
original/index.html - Save AngularJs JavaScript to
original/wxwebApp.js - Format the above two files, and save them to
formatted/ - Check wether there has any update
- Commit to Git Repository and use js file name as commit message(if updated)
I have a webwxApp.js which was saved on May 2016, about 5 months ago before I setup this tracker.
- 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
- However there was a new little bug introduced in, it's a typo of
API_webwxsendmsgvedio:
Enjoy it!
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.
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.
Use GitHub Actions to replace crontab
Use crontab to run npm run track
Huan (李卓桓), Tencent TVP of Chatbot
- Code & Docs © 2016-now Wechaty Community Contributors
- Code released under the Apache-2.0 License
- Docs released under Creative Commons
