Giter VIP home page Giter VIP logo

webwx-app-tracker's Introduction

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 orignal/index.html
  2. Save AngularJs JavsScript to orignal/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)

zixia@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

webwx-app-tracker's People

Contributors

huan avatar mike-bo avatar greenkeeper[bot] avatar

Watchers

James Cloos avatar jimmyjzhang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.