Skip to content

Commit e1543d4

Browse files
committed
Add GitHub
1 parent 122a19d commit e1543d4

5 files changed

+885
-760
lines changed

README.md

+92-94
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ https://rawgit.com/unruledboy/WebFrontEndStack/master/ux/WebFrontEndStack.htm
117117
- JavaScript Engine
118118
- [JScript (IE8- / ASP)](https://en.wikipedia.org/wiki/JScript)
119119
- [Chakra (IE9+ / Edge)](https://en.wikipedia.org/wiki/Chakra_(JScript_engine))
120-
- [V8 (Chrome / Opera / Nodejs / MongoDB)](https://developers.google.com/v8/?hl=zh-CN)
120+
- [V8 (Chrome / Opera / Nodejs / MongoDB)](https://developers.google.com/v8/?hl=zh-CN) [[GitHub]](https://github.com/v8/v8)
121121
- [SpiderMonkey (Firefox)]( https://developer.mozilla.org/en-us/docs/Mozilla/Projects/SpiderMonkey)
122122
- [Nitro (Safari)](https://en.wikipedia.org/wiki/WebKit#JavaScriptCore)
123123
- Runtime
@@ -137,11 +137,11 @@ https://rawgit.com/unruledboy/WebFrontEndStack/master/ux/WebFrontEndStack.htm
137137
- Editors
138138
- [Sublime Text](http://www.sublimetext.com/)
139139
- [WebStorm](https://www.jetbrains.com/webstorm/)
140-
- [Atom](https://atom.io/)
140+
- [Atom](https://atom.io/) [[GitHub]](https://github.com/atom/atom)
141141
- [Vim](http://www.vim.org/)
142142
- [Emacs](https://www.gnu.org/software/emacs/)
143-
- [Brackets](http://brackets.io/)
144-
- [Light Table](http://lighttable.com/)
143+
- [Brackets](http://brackets.io/) [[GitHub]](https://github.com/adobe/brackets)
144+
- [Light Table](http://lighttable.com/) [[GitHub]](https://github.com/LightTable/LightTable)
145145
- [Visual Studio](https://www.visualstudio.com/)
146146
- [Visual Studio Code](https://code.visualstudio.com/)
147147
- Build Tasks
@@ -152,127 +152,125 @@ https://rawgit.com/unruledboy/WebFrontEndStack/master/ux/WebFrontEndStack.htm
152152
- Image Optimization
153153
- Unit Testing
154154
- Build Tools
155-
- [Grunt](http://www.gruntjs.com/)
156-
- [Gulp](http://gulpjs.com/)
157-
- [Brunch](http://brunch.io/)
155+
- [Grunt](http://www.gruntjs.com/) [[GitHub]](https://github.com/cowboy/jquery-tiny-pubsub)
156+
- [Gulp](http://gulpjs.com/) [[GitHub]](https://github.com/gulpjs/gulp/)
157+
- [Brunch](http://brunch.io/) [[GitHub]](https://github.com/brunch/brunch/)
158158
- [Yeoman](http://yeoman.io/)
159-
- [Broccoli](https://github.com/broccolijs/broccoli)
159+
- Broccoli [[GitHub]](https://github.com/broccolijs/broccoli)
160160
- Debug
161161
- [Developer Tools](https://developer.chrome.com/devtools)
162-
- [Firebug](http://getfirebug.com/)
162+
- [Firebug](http://getfirebug.com/) [[GitHub]](https://github.com/firebug/firebug)
163163
- Base Tools
164-
- [Node.js](https://nodejs.org/)
165-
- [Phantom.js](http://phantomjs.org/)
164+
- [Node.js](https://nodejs.org/) [[GitHub]](https://github.com/joyent/node/)
165+
- [Phantom.js](http://phantomjs.org/) [[GitHub]](https://github.com/ariya/phantomjs)
166166
- Quality
167-
- [JSLint](http://www.jslint.com/)
168-
- [JSHint](http://jshint.com/)
169-
- [jscs](http://jscs.info/)
167+
- [JSLint](http://www.jslint.com/) [[GitHub]](https://github.com/douglascrockford/JSLint)
168+
- [JSHint](http://jshint.com/) [[GitHub]](https://github.com/jshint/jshint/)
169+
- [jscs](http://jscs.info/) [[GitHub]](https://github.com/mdevils)
170170
- [Closure Linter](https://developers.google.com/closure/utilities/)
171171
- Package
172-
- [npm](https://www.npmjs.com/)
173-
- [Bower](http://bower.io/)
172+
- [npm](https://www.npmjs.com/) [[GitHub]](https://github.com/npm/npm)
173+
- [Bower](http://bower.io/) [[GitHub]](https://github.com/bower/bower)
174174
- Test
175-
- [QUnit](https://qunitjs.com/)
176-
- [Jasmine](http://jasmine.github.io/)
177-
- [Mocha](https://mochajs.org/)
178-
- [Selenium](http://www.seleniumhq.org/)
179-
- [WebDriverIO](http://webdriver.io/)
175+
- [QUnit](https://qunitjs.com/) [[GitHub]](https://github.com/jquery/qunit/)
176+
- [Jasmine](http://jasmine.github.io/) [[GitHub]](https://github.com/jasmine/jasmine)
177+
- [Mocha](https://mochajs.org/) [[GitHub]](https://github.com/mochajs/mocha)
178+
- [Selenium](http://www.seleniumhq.org/) [[GitHub]](https://github.com/SeleniumHQ/selenium/)
179+
- [WebDriverIO](http://webdriver.io/) [[GitHub]](https://github.com/webdriverio/webdriverio/)
180180
- [Protractor](http://www.protractortest.org/)
181-
- [Chai](http://chaijs.com/)
182-
- [Sinon.JS](http://sinonjs.org/)
183-
- [Karma](http://karma-runner.github.io/)
184-
- [nodeunit](https://github.com/caolan/nodeunit)
181+
- [Chai](http://chaijs.com/) [[GitHub]](https://github.com/jfirebaugh/konacha)
182+
- [Sinon.JS](http://sinonjs.org/) [[GitHub]](https://github.com/cjohansen/Sinon.JS/)
183+
- [Karma](http://karma-runner.github.io/) [[GitHub]](https://github.com/karma-runner/karma/)
184+
- nodeunit [[GitHub]](https://github.com/caolan/nodeunit)
185185
- Frameworks / Libraries
186186
- JavaScript base library
187-
- [jQuery](https://jquery.com/)
188-
- [Prototype](http://prototypejs.org/)
189-
- [Zepto](http://zeptojs.com/)
190-
- [MooTool](http://mootools.net/)
191-
- [Underscore](http://underscorejs.org/)
187+
- [jQuery](https://jquery.com/) [[GitHub]](http://github.com/jquery/jquery)
188+
- [Prototype](http://prototypejs.org/) [[GitHub]](https://github.com/sstephenson/prototype/)
189+
- [Zepto](http://zeptojs.com/) [[GitHub]](https://github.com/madrobby/zepto/)
190+
- [MooTool](http://mootools.net/) [[GitHub]](http://github.com/mootools/mootools-core)
191+
- [Underscore](http://underscorejs.org/) [[GitHub]](https://github.com/jashkenas/underscore)
192192
- Modular
193193
- ES6 Module
194194
- CommonJS
195-
- [webpack](http://webpack.github.io/)
196-
- [browserify](http://browserify.org/)
195+
- [webpack](http://webpack.github.io/) [[GitHub]](https://github.com/webpack/webpack)
196+
- [browserify](http://browserify.org/) [[GitHub]](https://github.com/substack/node-browserify)
197197
- AMD
198-
- [RequireJS](http://requirejs.org/)
198+
- [RequireJS](http://requirejs.org/) [[GitHub]](http://github.com/jrburke/requirejs)
199199
- UMD
200-
- [umd](https://github.com/umdjs/umd)
200+
- umd [[GitHub]](https://github.com/umdjs/umd)
201201
- JavaScript framework
202-
- [AngularJS](https://angularjs.org/)
203-
- [Backbone](http://backbonejs.org/)
204-
- [Knockout](http://knockoutjs.com/)
205-
- [Ember](http://emberjs.com/)
206-
- [React](http://facebook.github.io/react/)
207-
- [polymer](https://www.polymer-project.org/)
208-
- [Dojo](https://dojotoolkit.org/)
209-
- [Deft.js](http://deftjs.org/)
210-
- [Vue](http://vuejs.org/)
202+
- [AngularJS](https://angularjs.org/) [[GitHub]](https://github.com/angular/angular.js)
203+
- [Backbone](http://backbonejs.org/) [[GitHub]](http://github.com/jashkenas/backbone)
204+
- [Knockout](http://knockoutjs.com/) [[GitHub]](http://github.com/SteveSanderson/knockout)
205+
- [Ember](http://emberjs.com/) [[GitHub]](https://github.com/emberjs/ember.js)
206+
- [React](http://facebook.github.io/react/) [[GitHub]](https://github.com/facebook/react)
207+
- [polymer](https://www.polymer-project.org/) [[GitHub]](https://github.com/polymer)
208+
- [Dojo](https://dojotoolkit.org/) [[GitHub]](https://github.com/dojo)
209+
- [Deft.js](http://deftjs.org/) [[GitHub]](https://github.com/deftjs/DeftJS)
210+
- [Vue](http://vuejs.org/) [[GitHub]](https://github.com/yyx990803/vue)
211211
- UI framework
212-
- [Bootstrap](http://getbootstrap.com/)
213-
- [ResponsiveGS](http://responsive.gs/)
214-
- [Semantic UI](http://semantic-ui.com/)
215-
- [Foundation](http://foundation.zurb.com/)
216-
- [Material UI](http://material-ui.com/)
217-
- [jQuery UI](http://jqueryui.com/)
212+
- [Bootstrap](http://getbootstrap.com/) [[GitHub]](https://github.com/twbs/bootstrap)
213+
- [Semantic UI](http://semantic-ui.com/) [[GitHub]](https://github.com/Semantic-Org/Semantic-UI/)
214+
- [Foundation](http://foundation.zurb.com/) [[GitHub]](http://github.com/zurb/foundation)
215+
- [Material UI](http://material-ui.com/) [[GitHub]](https://github.com/callemall/material-ui)
216+
- [jQuery UI](http://jqueryui.com/) [[GitHub]](https://github.com/jquery/jquery-ui)
218217
- WebSocket
219-
- [Socket.io](http://socket.io/)
220-
- [web-socket-js](https://github.com/gimite/web-socket-js)
218+
- [Socket.io](http://socket.io/) [[GitHub]](https://github.com/Automattic/socket.io)
219+
- web-socket-js [[GitHub]](https://github.com/gimite/web-socket-js)
221220
- Data Visualization
222-
- [D3](http://d3js.org/)
223-
- [Echarts](http://echarts.baidu.com)
224-
- [HighCharts](http://www.highcharts.com/)
225-
- [Vis.js](http://visjs.org/)
226-
- [Flot](http://www.flotcharts.org/)
221+
- [D3](http://d3js.org/) [[GitHub]](https://github.com/mbostock/d3/wiki/Gallery)
222+
- [Echarts](http://echarts.baidu.com) [[GitHub]](https://github.com/ecomfe/esl)
223+
- [HighCharts](http://www.highcharts.com/) [[GitHub]](https://github.com/highslide-software/highcharts.com)
224+
- [Vis.js](http://visjs.org/) [[GitHub]](https://github.com/almende/vis)
225+
- [Flot](http://www.flotcharts.org/) [[GitHub]](https://github.com/flot/flot)
227226
- WebGL
228-
- [Three.js](http://threejs.org/)
229-
- [Babylon.js](http://www.babylonjs.com/)
230-
- [Pixi.js](http://www.pixijs.com/)
227+
- [Three.js](http://threejs.org/) [[GitHub]](http://github.com/mrdoob/three.js/)
228+
- [Babylon.js](http://www.babylonjs.com/) [[GitHub]](https://github.com/BabylonJS/Babylon.js)
229+
- [Pixi.js](http://www.pixijs.com/) [[GitHub]](https://github.com/GoodBoyDigital/pixi.js)
231230
- CSS3 Animation
232-
- [Animate.css](https://daneden.github.io/animate.css/)
233-
- [bounce.js](http://bouncejs.com/)
234-
- [Effeckt.css](https://h5bp.github.io/Effeckt.css/)
235-
- [move.js](https://visionmedia.github.io/move.js/)
231+
- [Animate.css](https://daneden.github.io/animate.css/) [[GitHub]](//github.com/daneden/animate.css)
232+
- [bounce.js](http://bouncejs.com/) [[GitHub]](https://github.com/tictail/bounce.js)
233+
- [Effeckt.css](https://h5bp.github.io/Effeckt.css/) [[GitHub]](https://github.com/h5bp/Effeckt.css)
234+
- [move.js](https://visionmedia.github.io/move.js/) [[GitHub]](https://github.com/visionmedia/move.js)
236235
- Flow Controller
237236
- ES6
238237
- Promise
239238
- Generator
240239
- ES7
241240
- yield
242241
- await
243-
- [async](https://github.com/caolan/async)
244-
- [co](https://github.com/tj/co)
242+
- async [[GitHub]](https://github.com/caolan/async)
243+
- co [[GitHub]](https://github.com/tj/co)
245244
- Promise
246-
- [Bluebird](https://github.com/petkaantonov/bluebird)
247-
- [q](https://github.com/kriskowal/q)
248-
- [when.js](https://github.com/cujojs/when)
245+
- Bluebird [[GitHub]](https://github.com/petkaantonov/bluebird)
246+
- q [[GitHub]](https://github.com/kriskowal/q)
247+
- when.js [[GitHub]](https://github.com/cujojs/when)
249248
- Functional
250-
- [backon.js](https://github.com/baconjs/bacon.js/)
251-
- [immutable.js](https://facebook.github.io/immutable-js/)
249+
- backon.js [[GitHub]](https://github.com/baconjs/bacon.js/)
250+
- [immutable.js](https://facebook.github.io/immutable-js/) [[GitHub]](https://github.com/facebook/immutable-js/)
252251
- Mobile UI
253-
- [jQuery Mobile](https://jquerymobile.com/)
254-
- [Jo](http://joapp.com/)
255-
- WinkUI
252+
- [jQuery Mobile](https://jquerymobile.com/) [[GitHub]](https://github.com/jquery/jquery-mobile)
253+
- [Jo](http://joapp.com/) [[GitHub]](https://github.com/davebalmer/jo)
256254
- [Dojo Mobile](https://dojotoolkit.org/reference-guide/1.10/dojox/mobile.html)
257-
- [Lungo](http://lungo.tapquo.com/)
255+
- [Lungo](http://lungo.tapquo.com/) [[GitHub]](https://github.com/tapquo/Lungo.js/)
258256
- CSS Pre-processors
259257
- LESS
260-
- [LESS](http://lesscss.org/)
261-
- [Hat](http://lesshat.madebysource.com/)
258+
- [LESS](http://lesscss.org/) [[GitHub]](https://github.com/less/less.js)
259+
- [Hat](http://lesshat.madebysource.com/) [[GitHub]](https://github.com/csshat/lesshat/)
262260
- Sass(SCSS)
263-
- [Compass](http://compass-style.org/)
264-
- [Bourbon](http://bourbon.io/)
265-
- [Gumby](http://www.gumbyframework.com/)
261+
- [Compass](http://compass-style.org/) [[GitHub]](https://github.com/chriseppstein/compass/)
262+
- [Bourbon](http://bourbon.io/) [[GitHub]](https://github.com/thoughtbot/bourbon)
263+
- [Gumby](http://www.gumbyframework.com/) [[GitHub]](https://github.com/GumbyFramework/Gumby)
266264
- Stylus
267-
- [nib](https://github.com/tj/nib)
265+
- nib [[GitHub]](https://github.com/tj/nib)
268266
- Template
269-
- [Handlebars](http://handlebarsjs.com/)
270-
- [Haml](http://haml.info/)
271-
- [Slim](http://slim-lang.com/)
272-
- [Jade](http://jade-lang.com/)
267+
- [Handlebars](http://handlebarsjs.com/) [[GitHub]](https://github.com/wycats/handlebars.js)
268+
- [Haml](http://haml.info/) [[GitHub]](https://github.com/haml/haml/)
269+
- [Slim](http://slim-lang.com/) [[GitHub]](https://github.com/slim-template/slim)
270+
- [Jade](http://jade-lang.com/) [[GitHub]](https://github.com/jadejs/jade)
273271
- [Ejs](http://www.embeddedjs.com/)
274272
- [Spacebars](http://meteorcapture.com/spacebars/)
275-
- [{{ mustache }}](https://github.com/janl/mustache.js/)
273+
- mustache [[GitHub]](https://github.com/janl/mustache.js/)
276274
- Modernisation
277275
- Normalize
278276
- Reset
@@ -285,15 +283,15 @@ https://rawgit.com/unruledboy/WebFrontEndStack/master/ux/WebFrontEndStack.htm
285283
- [XSS](https://en.wikipedia.org/wiki/Cross-site_scripting)
286284
- [CORS](http://www.w3.org/TR/cors/)
287285
- Intermediate Languages
288-
- [CoffeeScript](http://coffeescript.org/)
289-
- [TypeScript](http://www.typescriptlang.org/)
290-
- [Dart](https://www.dartlang.org/)
291-
- [LiveScript](http://livescript.net/)
292-
- [ClojureScript](https://github.com/clojure/clojurescript/)
286+
- [CoffeeScript](http://coffeescript.org/) [[GitHub]](http://github.com/jashkenas/coffeescript/)
287+
- [TypeScript](http://www.typescriptlang.org/) [[GitHub]](https://github.com/Microsoft/TypeScript)
288+
- [Dart](https://www.dartlang.org/) [[GitHub]](https://github.com/dart-lang/sdk)
289+
- [LiveScript](http://livescript.net/) [[GitHub]](https://github.com/gkz/LiveScript/)
290+
- ClojureScript [[GitHub]](https://github.com/clojure/clojurescript/)
293291
- Mobile App Builders
294-
- [PhoneGap / Cordova](https://cordova.apache.org/)
295-
- [MUI](http://dev.dcloud.net.cn/mui/)
296-
- [React Native](https://facebook.github.io/react-native/)
297-
- [Ionic](http://ionicframework.com/)
292+
- [PhoneGap / Cordova](https://cordova.apache.org/) [[GitHub]](https://github.com/apache/cordova-android)
293+
- [MUI](http://dev.dcloud.net.cn/mui/) [[GitHub]](https://github.com/dcloudio/mui)
294+
- [React Native](https://facebook.github.io/react-native/) [[GitHub]](https://github.com/facebook/react-native/)
295+
- [Ionic](http://ionicframework.com/) [[GitHub]](https://github.com/driftyco/ionic)
298296

299297
<!--BUILD_END-->

Web Front End Stack.png

140 KB
Loading

index.js

+54-3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,56 @@ var pageHeight = 3800;
1818
String.prototype.repeat = function(count) {
1919
return new Array(count + 1).join(this);
2020
}
21+
/**
22+
* Search Github
23+
* Useless
24+
* Didn't import the dependencies in the package.json.
25+
*/
26+
var searchGitHub = function searchGitHub() {
27+
var request = require("request");
28+
var async = require("async");
29+
var originalData = require('./ux/WebFrontEndStack.json');
30+
var q = async.queue(function(object, callback) {
31+
32+
if (object.noRequest || object.github || !object.url || /mozilla|wikipedia/.test(object.url)) {
33+
callback(false);
34+
return;
35+
}
36+
37+
console.log("Running " + object.name);
38+
request(object.url, function(err, res, body) {
39+
if (!err && res.statusCode == 200) {
40+
var rep = body.match(/<a.+?href=("|')([a-z:\/]+?github.com.+?)("|')/);
41+
if (rep === null) {
42+
callback(false);
43+
return;
44+
}
45+
object.github = rep[2];
46+
callback(true);
47+
}
48+
});
49+
50+
}, 5);
51+
var addQueue = function addQueue(object) {
52+
q.push(object, function(err) {
53+
if (err) console.log(object.name + " = " + object.github);
54+
});
55+
if (object.children) {
56+
object.children.forEach(function(val) {
57+
addQueue(val);
58+
});
59+
}
60+
};
61+
62+
addQueue(originalData);
63+
q.push({noRequest: true}, function() {
64+
console.log(originalData);
65+
console.log(JSON.stringify(originalData));
66+
fs.writeFileAsync("./ux/WebFrontEndStack.json2", JSON.stringify(originalData), "utf-8");
67+
});
68+
69+
}
70+
2171
/**
2272
* Use to build a promise for some fucking async api.
2373
* @param object object
@@ -52,10 +102,11 @@ var buildReadme = function buildReadme(object, deep) {
52102
var deeper = deep + 1;
53103
var deepString = "\t".repeat(deep) + "- ";
54104
var ret = [];
55-
ret.push((function(deepString, name, url) {
105+
ret.push((function(deepString, name, url, github) {
56106
var haveUrl = !!url;
57-
return deepString + (haveUrl ? "[" : "") + object.name + (haveUrl ? "](" + url + ")" : "");
58-
})(deepString, object.name, object.url));
107+
var haveGitHub = !!github;
108+
return deepString + (haveUrl ? "[" : "") + object.name + (haveUrl ? "](" + url + ")" : "") + (haveGitHub ? " [\[GitHub\]](" + github + ")" : "");
109+
})(deepString, object.name, object.url, object.github));
59110
if (object.children) {
60111
object.children.map(function(value, index) {
61112
ret.push(buildReadme(value, deeper));

0 commit comments

Comments
 (0)