pake-cli 0.0.6 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +79 -49
- package/dist/cli.js +2265 -1
- package/package.json +10 -7
- package/src-tauri/Cargo.lock +111 -419
- package/src-tauri/Cargo.toml +2 -2
- package/src-tauri/icons/qwerty.icns +0 -0
- package/src-tauri/png/icon_256.ico +0 -0
- package/src-tauri/png/icon_32.ico +0 -0
- package/src-tauri/png/icon_512.png +0 -0
- package/src-tauri/png/qwerty_256.ico +0 -0
- package/src-tauri/png/qwerty_32.ico +0 -0
- package/src-tauri/png/qwerty_512.png +0 -0
- package/src-tauri/src/main.rs +49 -21
- package/src-tauri/src/pake.js +44 -41
- package/src-tauri/tauri.conf.json +0 -50
- package/src-tauri/tauri.conf.json.bak +30 -0
- package/src-tauri/tauri.linux.conf.json +34 -0
- package/src-tauri/tauri.macos.conf.json +25 -0
- package/src-tauri/tauri.windows.conf.json +27 -0
- package/src-tauri/icons/translate.icns +0 -0
- package/src-tauri/png/translate_256.ico +0 -0
- package/src-tauri/png/translate_32.ico +0 -0
- package/src-tauri/png/translate_512.png +0 -0
package/dist/cli.js
CHANGED
|
@@ -1 +1,2265 @@
|
|
|
1
|
-
import*as e from"commander";import{program as a}from"commander";import i,{fileURLToPath as t}from"url";import o from"is-url";import r from"prompts";import n from"crypto";import s from"axios";import{fileTypeFromBuffer as l}from"file-type";import{dir as c}from"tmp-promise";import u from"path";import d from"fs/promises";import m from"loglevel";import p from"ora";import g from"shelljs";function h(e,a,i,t){return new(i||(i=Promise))((function(o,r){function n(e){try{l(t.next(e))}catch(e){r(e)}}function s(e){try{l(t.throw(e))}catch(e){r(e)}}function l(e){var a;e.done?o(e.value):(a=e.value,a instanceof i?a:new i((function(e){e(a)}))).then(n,s)}l((t=t.apply(e,a||[])).next())}))}const b="",f=800,y=1280,v=!1,w=!0,k=!1,x=["aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","adac","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","etisalat","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lk","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mutual","mv","mw","mx","my","mz","na","nab","nagoya","name","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","northwesternmutual","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","vermögensberater","vermögensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","ελ","ευ","бг","бел","дети","ею","католик","ком","мкд","мон","москва","онлайн","орг","рус","рф","сайт","срб","укр","қаз","հայ","ישראל","קום","ابوظبي","اتصالات","ارامكو","الاردن","البحرين","الجزائر","السعودية","العليان","المغرب","امارات","ایران","بارت","بازار","بيتك","بھارت","تونس","سودان","سورية","شبكة","عراق","عرب","عمان","فلسطين","قطر","كاثوليك","كوم","مصر","مليسيا","موريتانيا","موقع","همراه","پاکستان","ڀارت","कॉम","नेट","भारत","भारतम्","भारोत","संगठन","বাংলা","ভারত","ভাৰত","ਭਾਰਤ","ભારત","ଭାରତ","இந்தியா","இலங்கை","சிங்கப்பூர்","భారత్","ಭಾರತ","ഭാരതം","ලංකා","คอม","ไทย","ລາວ","გე","みんな","アマゾン","クラウド","グーグル","コム","ストア","セール","ファッション","ポイント","世界","中信","中国","中國","中文网","亚马逊","企业","佛山","信息","健康","八卦","公司","公益","台湾","台灣","商城","商店","商标","嘉里","嘉里大酒店","在线","大拿","天主教","娱乐","家電","广东","微博","慈善","我爱你","手机","招聘","政务","政府","新加坡","新闻","时尚","書籍","机构","淡马锡","游戏","澳門","点看","移动","组织机构","网址","网店","网站","网络","联通","诺基亚","谷歌","购物","通販","集团","電訊盈科","飞利浦","食品","餐厅","香格里拉","香港","닷넷","닷컴","삼성","한국"];function j(e){var a=i.parse(e).host.split(".");"www"===a[0]&&"com"!==a[1]&&a.shift();for(var t,o=a.length,r=o,n=a[a.length-1].length;t=a[--r];)if(0===r||r<o-2||t.length<n||x.indexOf(t)<0)return t}function z(e){const a=function(e){if(!i.parse(e).protocol)return`https://${e}`;return e}(e);if(o(a))return a;throw new Error(`Your url "${a}" is invalid`)}function q(a){const i=Number(a);if(isNaN(i))throw new e.InvalidArgumentError("Not a number.");return i}function $(e,a){return h(this,void 0,void 0,(function*(){return e.icon?e.icon.startsWith("http")?function(e){return h(this,void 0,void 0,(function*(){let a;try{a=yield s.get(e,{responseType:"arraybuffer"})}catch(e){if(e.response&&404===e.response.status)return null;throw e}const i=yield a.data;if(!i)return null;const t=yield l(i);if(!t)return null;const{path:o}=yield c(),r=`${o}/icon.${t.ext}`;return yield d.writeFile(r,i),r}))}(e.icon):u.resolve(e.icon):e.icon?void 0:function(e,a){return h(this,void 0,void 0,(function*(){m.info("You have not provided an app icon, use the default icon(can use --icon option to assign an icon)");const e=u.join(u.dirname(t(import.meta.url)),"..");return u.join(e,"pake-default.icns")}))}(e.name)}))}function N(e,a){return h(this,void 0,void 0,(function*(){const i=Object.assign(Object.assign({},e),{identifier:""});return i.name||(i.name=yield function(e,a){return h(this,void 0,void 0,(function*(){return(yield r({type:"text",name:"content",message:e,initial:a})).content}))}("please input your application name",j(a))),i.identifier=function(e,a){const i=n.createHash("md5");return i.update(a),`pake-${i.digest("hex").substring(0,6)}`}(i.name,a),i.icon=yield $(i),i}))}const A="darwin"===process.platform;function D(e){return new Promise(((a,i)=>{g.exec(e,{async:!0,silent:!1},(e=>{0===e?a(0):i(new Error(`${e}`))}))}))}process.platform,process.platform;var O={package:{productName:"WeRead",version:"1.0.0"},tauri:{windows:[{url:"https://weread.qq.com/",transparent:!0,fullscreen:!1,width:1200,height:728,resizable:!0}],allowlist:{all:!0},bundle:{icon:["icons/weread.icns","png/weread_256.ico","png/weread_32.ico","png/weread_512.png"],identifier:"com.tw93.weread",active:!0,category:"DeveloperTool",copyright:"",deb:{depends:["libwebkit2gtk-4.0-dev","build-essential","curl","wget","libssl-dev","libgtk-3-dev","libayatana-appindicator3-dev","librsvg2-dev"],files:{"/usr/share/applications/com-tw93-weread.desktop":"assets/com-tw93-weread.desktop"}},externalBin:[],longDescription:"",macOS:{entitlements:null,exceptionDomain:"",frameworks:[],providerShortName:null,signingIdentity:null},resources:["png/weread_32.ico"],shortDescription:"",targets:["deb","msi","dmg"],windows:{certificateThumbprint:null,digestAlgorithm:"sha256",timestampUrl:"",wix:{language:["en-US","zh-CN"]}}},security:{csp:null},updater:{active:!1}},build:{devPath:"../dist",distDir:"../dist",beforeBuildCommand:"",beforeDevCommand:""}};class E{prepare(){return h(this,void 0,void 0,(function*(){if(0===g.exec("rustc --version",{silent:!0}).code)return;(yield r({type:"confirm",message:"We detected that you have not installed Rust. Install it now?",name:"value"})).value?yield function(){return h(this,void 0,void 0,(function*(){const e=p("Downloading Rust").start();try{yield D("curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y"),e.succeed()}catch(a){console.error("install rust return code",a.message),e.fail(),process.exit(1)}}))}():(m.error("Error: Pake need Rust to package your webapp!!!"),process.exit(2))}))}build(e,a){return h(this,void 0,void 0,(function*(){m.debug("PakeAppOptions",a);const{width:i,height:o,fullscreen:r,transparent:n,resizable:s,identifier:l,name:c}=a,p={width:i,height:o,fullscreen:r,transparent:n,resizable:s};Object.assign(O.tauri.windows[0],Object.assign({url:e},p)),O.package.productName=c,O.tauri.bundle.identifier=l,O.tauri.bundle.icon=[a.icon];const g=u.join(u.dirname(t(import.meta.url)),".."),h=u.join(g,"src-tauri/tauri.conf.json");yield d.writeFile(h,Buffer.from(JSON.stringify(O),"utf-8")),yield D(`cd ${g} && npm run build`);const b=`${c}_${O.package.version}_universal.dmg`,f=this.getBuildedAppPath(g,b);yield d.copyFile(f,u.resolve(`${c}_universal.dmg`))}))}getBuildedAppPath(e,a){return u.join(e,"src-tauri/target/universal-apple-darwin/release/bundle/dmg",a)}}class P{static create(){if(A)return new E;throw new Error("The current system does not support")}}a.version("0.0.1").description("A cli application can package a web page to desktop application"),a.showHelpAfterError().argument("<url>","the web url you want to package",(function(a){try{return z(a)}catch(a){throw new e.InvalidArgumentError(a.message)}})).option("--name <string>","application name").option("--icon <string>","application icon",b).option("--height <number>","window height",q,f).option("--width <number>","window width",q,y).option("--no-resizable","whether the window can be resizable",w).option("--fullscreen","makes the packaged app start in full screen",v).option("--transparent","transparent title bar",k).option("--debug","debug",k).action(((e,a)=>h(void 0,void 0,void 0,(function*(){m.setDefaultLevel("info"),a.debug&&m.setLevel("debug");const i=P.create();yield i.prepare();const t=yield N(a,e);i.build(e,t)})))),a.parse();
|
|
1
|
+
import * as Commander from 'commander';
|
|
2
|
+
import { program } from 'commander';
|
|
3
|
+
import log from 'loglevel';
|
|
4
|
+
import url, { fileURLToPath } from 'url';
|
|
5
|
+
import isurl from 'is-url';
|
|
6
|
+
import prompts from 'prompts';
|
|
7
|
+
import path from 'path';
|
|
8
|
+
import fs from 'fs/promises';
|
|
9
|
+
import crypto from 'crypto';
|
|
10
|
+
import axios from 'axios';
|
|
11
|
+
import { fileTypeFromBuffer } from 'file-type';
|
|
12
|
+
import { dir } from 'tmp-promise';
|
|
13
|
+
import chalk from 'chalk';
|
|
14
|
+
import ora from 'ora';
|
|
15
|
+
import shelljs from 'shelljs';
|
|
16
|
+
import updateNotifier from 'update-notifier';
|
|
17
|
+
|
|
18
|
+
/******************************************************************************
|
|
19
|
+
Copyright (c) Microsoft Corporation.
|
|
20
|
+
|
|
21
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
22
|
+
purpose with or without fee is hereby granted.
|
|
23
|
+
|
|
24
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
25
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
26
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
27
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
28
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
29
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
30
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
31
|
+
***************************************************************************** */
|
|
32
|
+
|
|
33
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
34
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
35
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
36
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
37
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
38
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
39
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
const DEFAULT_PAKE_OPTIONS = {
|
|
44
|
+
icon: '',
|
|
45
|
+
height: 800,
|
|
46
|
+
width: 1280,
|
|
47
|
+
fullscreen: false,
|
|
48
|
+
resizable: true,
|
|
49
|
+
transparent: false,
|
|
50
|
+
debug: false,
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
const tlds = [
|
|
54
|
+
"aaa",
|
|
55
|
+
"aarp",
|
|
56
|
+
"abarth",
|
|
57
|
+
"abb",
|
|
58
|
+
"abbott",
|
|
59
|
+
"abbvie",
|
|
60
|
+
"abc",
|
|
61
|
+
"able",
|
|
62
|
+
"abogado",
|
|
63
|
+
"abudhabi",
|
|
64
|
+
"ac",
|
|
65
|
+
"academy",
|
|
66
|
+
"accenture",
|
|
67
|
+
"accountant",
|
|
68
|
+
"accountants",
|
|
69
|
+
"aco",
|
|
70
|
+
"actor",
|
|
71
|
+
"ad",
|
|
72
|
+
"adac",
|
|
73
|
+
"ads",
|
|
74
|
+
"adult",
|
|
75
|
+
"ae",
|
|
76
|
+
"aeg",
|
|
77
|
+
"aero",
|
|
78
|
+
"aetna",
|
|
79
|
+
"af",
|
|
80
|
+
"afl",
|
|
81
|
+
"africa",
|
|
82
|
+
"ag",
|
|
83
|
+
"agakhan",
|
|
84
|
+
"agency",
|
|
85
|
+
"ai",
|
|
86
|
+
"aig",
|
|
87
|
+
"airbus",
|
|
88
|
+
"airforce",
|
|
89
|
+
"airtel",
|
|
90
|
+
"akdn",
|
|
91
|
+
"al",
|
|
92
|
+
"alfaromeo",
|
|
93
|
+
"alibaba",
|
|
94
|
+
"alipay",
|
|
95
|
+
"allfinanz",
|
|
96
|
+
"allstate",
|
|
97
|
+
"ally",
|
|
98
|
+
"alsace",
|
|
99
|
+
"alstom",
|
|
100
|
+
"am",
|
|
101
|
+
"amazon",
|
|
102
|
+
"americanexpress",
|
|
103
|
+
"americanfamily",
|
|
104
|
+
"amex",
|
|
105
|
+
"amfam",
|
|
106
|
+
"amica",
|
|
107
|
+
"amsterdam",
|
|
108
|
+
"analytics",
|
|
109
|
+
"android",
|
|
110
|
+
"anquan",
|
|
111
|
+
"anz",
|
|
112
|
+
"ao",
|
|
113
|
+
"aol",
|
|
114
|
+
"apartments",
|
|
115
|
+
"app",
|
|
116
|
+
"apple",
|
|
117
|
+
"aq",
|
|
118
|
+
"aquarelle",
|
|
119
|
+
"ar",
|
|
120
|
+
"arab",
|
|
121
|
+
"aramco",
|
|
122
|
+
"archi",
|
|
123
|
+
"army",
|
|
124
|
+
"arpa",
|
|
125
|
+
"art",
|
|
126
|
+
"arte",
|
|
127
|
+
"as",
|
|
128
|
+
"asda",
|
|
129
|
+
"asia",
|
|
130
|
+
"associates",
|
|
131
|
+
"at",
|
|
132
|
+
"athleta",
|
|
133
|
+
"attorney",
|
|
134
|
+
"au",
|
|
135
|
+
"auction",
|
|
136
|
+
"audi",
|
|
137
|
+
"audible",
|
|
138
|
+
"audio",
|
|
139
|
+
"auspost",
|
|
140
|
+
"author",
|
|
141
|
+
"auto",
|
|
142
|
+
"autos",
|
|
143
|
+
"avianca",
|
|
144
|
+
"aw",
|
|
145
|
+
"aws",
|
|
146
|
+
"ax",
|
|
147
|
+
"axa",
|
|
148
|
+
"az",
|
|
149
|
+
"azure",
|
|
150
|
+
"ba",
|
|
151
|
+
"baby",
|
|
152
|
+
"baidu",
|
|
153
|
+
"banamex",
|
|
154
|
+
"bananarepublic",
|
|
155
|
+
"band",
|
|
156
|
+
"bank",
|
|
157
|
+
"bar",
|
|
158
|
+
"barcelona",
|
|
159
|
+
"barclaycard",
|
|
160
|
+
"barclays",
|
|
161
|
+
"barefoot",
|
|
162
|
+
"bargains",
|
|
163
|
+
"baseball",
|
|
164
|
+
"basketball",
|
|
165
|
+
"bauhaus",
|
|
166
|
+
"bayern",
|
|
167
|
+
"bb",
|
|
168
|
+
"bbc",
|
|
169
|
+
"bbt",
|
|
170
|
+
"bbva",
|
|
171
|
+
"bcg",
|
|
172
|
+
"bcn",
|
|
173
|
+
"bd",
|
|
174
|
+
"be",
|
|
175
|
+
"beats",
|
|
176
|
+
"beauty",
|
|
177
|
+
"beer",
|
|
178
|
+
"bentley",
|
|
179
|
+
"berlin",
|
|
180
|
+
"best",
|
|
181
|
+
"bestbuy",
|
|
182
|
+
"bet",
|
|
183
|
+
"bf",
|
|
184
|
+
"bg",
|
|
185
|
+
"bh",
|
|
186
|
+
"bharti",
|
|
187
|
+
"bi",
|
|
188
|
+
"bible",
|
|
189
|
+
"bid",
|
|
190
|
+
"bike",
|
|
191
|
+
"bing",
|
|
192
|
+
"bingo",
|
|
193
|
+
"bio",
|
|
194
|
+
"biz",
|
|
195
|
+
"bj",
|
|
196
|
+
"black",
|
|
197
|
+
"blackfriday",
|
|
198
|
+
"blockbuster",
|
|
199
|
+
"blog",
|
|
200
|
+
"bloomberg",
|
|
201
|
+
"blue",
|
|
202
|
+
"bm",
|
|
203
|
+
"bms",
|
|
204
|
+
"bmw",
|
|
205
|
+
"bn",
|
|
206
|
+
"bnpparibas",
|
|
207
|
+
"bo",
|
|
208
|
+
"boats",
|
|
209
|
+
"boehringer",
|
|
210
|
+
"bofa",
|
|
211
|
+
"bom",
|
|
212
|
+
"bond",
|
|
213
|
+
"boo",
|
|
214
|
+
"book",
|
|
215
|
+
"booking",
|
|
216
|
+
"bosch",
|
|
217
|
+
"bostik",
|
|
218
|
+
"boston",
|
|
219
|
+
"bot",
|
|
220
|
+
"boutique",
|
|
221
|
+
"box",
|
|
222
|
+
"br",
|
|
223
|
+
"bradesco",
|
|
224
|
+
"bridgestone",
|
|
225
|
+
"broadway",
|
|
226
|
+
"broker",
|
|
227
|
+
"brother",
|
|
228
|
+
"brussels",
|
|
229
|
+
"bs",
|
|
230
|
+
"bt",
|
|
231
|
+
"build",
|
|
232
|
+
"builders",
|
|
233
|
+
"business",
|
|
234
|
+
"buy",
|
|
235
|
+
"buzz",
|
|
236
|
+
"bv",
|
|
237
|
+
"bw",
|
|
238
|
+
"by",
|
|
239
|
+
"bz",
|
|
240
|
+
"bzh",
|
|
241
|
+
"ca",
|
|
242
|
+
"cab",
|
|
243
|
+
"cafe",
|
|
244
|
+
"cal",
|
|
245
|
+
"call",
|
|
246
|
+
"calvinklein",
|
|
247
|
+
"cam",
|
|
248
|
+
"camera",
|
|
249
|
+
"camp",
|
|
250
|
+
"canon",
|
|
251
|
+
"capetown",
|
|
252
|
+
"capital",
|
|
253
|
+
"capitalone",
|
|
254
|
+
"car",
|
|
255
|
+
"caravan",
|
|
256
|
+
"cards",
|
|
257
|
+
"care",
|
|
258
|
+
"career",
|
|
259
|
+
"careers",
|
|
260
|
+
"cars",
|
|
261
|
+
"casa",
|
|
262
|
+
"case",
|
|
263
|
+
"cash",
|
|
264
|
+
"casino",
|
|
265
|
+
"cat",
|
|
266
|
+
"catering",
|
|
267
|
+
"catholic",
|
|
268
|
+
"cba",
|
|
269
|
+
"cbn",
|
|
270
|
+
"cbre",
|
|
271
|
+
"cbs",
|
|
272
|
+
"cc",
|
|
273
|
+
"cd",
|
|
274
|
+
"center",
|
|
275
|
+
"ceo",
|
|
276
|
+
"cern",
|
|
277
|
+
"cf",
|
|
278
|
+
"cfa",
|
|
279
|
+
"cfd",
|
|
280
|
+
"cg",
|
|
281
|
+
"ch",
|
|
282
|
+
"chanel",
|
|
283
|
+
"channel",
|
|
284
|
+
"charity",
|
|
285
|
+
"chase",
|
|
286
|
+
"chat",
|
|
287
|
+
"cheap",
|
|
288
|
+
"chintai",
|
|
289
|
+
"christmas",
|
|
290
|
+
"chrome",
|
|
291
|
+
"church",
|
|
292
|
+
"ci",
|
|
293
|
+
"cipriani",
|
|
294
|
+
"circle",
|
|
295
|
+
"cisco",
|
|
296
|
+
"citadel",
|
|
297
|
+
"citi",
|
|
298
|
+
"citic",
|
|
299
|
+
"city",
|
|
300
|
+
"cityeats",
|
|
301
|
+
"ck",
|
|
302
|
+
"cl",
|
|
303
|
+
"claims",
|
|
304
|
+
"cleaning",
|
|
305
|
+
"click",
|
|
306
|
+
"clinic",
|
|
307
|
+
"clinique",
|
|
308
|
+
"clothing",
|
|
309
|
+
"cloud",
|
|
310
|
+
"club",
|
|
311
|
+
"clubmed",
|
|
312
|
+
"cm",
|
|
313
|
+
"cn",
|
|
314
|
+
"co",
|
|
315
|
+
"coach",
|
|
316
|
+
"codes",
|
|
317
|
+
"coffee",
|
|
318
|
+
"college",
|
|
319
|
+
"cologne",
|
|
320
|
+
"com",
|
|
321
|
+
"comcast",
|
|
322
|
+
"commbank",
|
|
323
|
+
"community",
|
|
324
|
+
"company",
|
|
325
|
+
"compare",
|
|
326
|
+
"computer",
|
|
327
|
+
"comsec",
|
|
328
|
+
"condos",
|
|
329
|
+
"construction",
|
|
330
|
+
"consulting",
|
|
331
|
+
"contact",
|
|
332
|
+
"contractors",
|
|
333
|
+
"cooking",
|
|
334
|
+
"cookingchannel",
|
|
335
|
+
"cool",
|
|
336
|
+
"coop",
|
|
337
|
+
"corsica",
|
|
338
|
+
"country",
|
|
339
|
+
"coupon",
|
|
340
|
+
"coupons",
|
|
341
|
+
"courses",
|
|
342
|
+
"cpa",
|
|
343
|
+
"cr",
|
|
344
|
+
"credit",
|
|
345
|
+
"creditcard",
|
|
346
|
+
"creditunion",
|
|
347
|
+
"cricket",
|
|
348
|
+
"crown",
|
|
349
|
+
"crs",
|
|
350
|
+
"cruise",
|
|
351
|
+
"cruises",
|
|
352
|
+
"cu",
|
|
353
|
+
"cuisinella",
|
|
354
|
+
"cv",
|
|
355
|
+
"cw",
|
|
356
|
+
"cx",
|
|
357
|
+
"cy",
|
|
358
|
+
"cymru",
|
|
359
|
+
"cyou",
|
|
360
|
+
"cz",
|
|
361
|
+
"dabur",
|
|
362
|
+
"dad",
|
|
363
|
+
"dance",
|
|
364
|
+
"data",
|
|
365
|
+
"date",
|
|
366
|
+
"dating",
|
|
367
|
+
"datsun",
|
|
368
|
+
"day",
|
|
369
|
+
"dclk",
|
|
370
|
+
"dds",
|
|
371
|
+
"de",
|
|
372
|
+
"deal",
|
|
373
|
+
"dealer",
|
|
374
|
+
"deals",
|
|
375
|
+
"degree",
|
|
376
|
+
"delivery",
|
|
377
|
+
"dell",
|
|
378
|
+
"deloitte",
|
|
379
|
+
"delta",
|
|
380
|
+
"democrat",
|
|
381
|
+
"dental",
|
|
382
|
+
"dentist",
|
|
383
|
+
"desi",
|
|
384
|
+
"design",
|
|
385
|
+
"dev",
|
|
386
|
+
"dhl",
|
|
387
|
+
"diamonds",
|
|
388
|
+
"diet",
|
|
389
|
+
"digital",
|
|
390
|
+
"direct",
|
|
391
|
+
"directory",
|
|
392
|
+
"discount",
|
|
393
|
+
"discover",
|
|
394
|
+
"dish",
|
|
395
|
+
"diy",
|
|
396
|
+
"dj",
|
|
397
|
+
"dk",
|
|
398
|
+
"dm",
|
|
399
|
+
"dnp",
|
|
400
|
+
"do",
|
|
401
|
+
"docs",
|
|
402
|
+
"doctor",
|
|
403
|
+
"dog",
|
|
404
|
+
"domains",
|
|
405
|
+
"dot",
|
|
406
|
+
"download",
|
|
407
|
+
"drive",
|
|
408
|
+
"dtv",
|
|
409
|
+
"dubai",
|
|
410
|
+
"dunlop",
|
|
411
|
+
"dupont",
|
|
412
|
+
"durban",
|
|
413
|
+
"dvag",
|
|
414
|
+
"dvr",
|
|
415
|
+
"dz",
|
|
416
|
+
"earth",
|
|
417
|
+
"eat",
|
|
418
|
+
"ec",
|
|
419
|
+
"eco",
|
|
420
|
+
"edeka",
|
|
421
|
+
"edu",
|
|
422
|
+
"education",
|
|
423
|
+
"ee",
|
|
424
|
+
"eg",
|
|
425
|
+
"email",
|
|
426
|
+
"emerck",
|
|
427
|
+
"energy",
|
|
428
|
+
"engineer",
|
|
429
|
+
"engineering",
|
|
430
|
+
"enterprises",
|
|
431
|
+
"epson",
|
|
432
|
+
"equipment",
|
|
433
|
+
"er",
|
|
434
|
+
"ericsson",
|
|
435
|
+
"erni",
|
|
436
|
+
"es",
|
|
437
|
+
"esq",
|
|
438
|
+
"estate",
|
|
439
|
+
"et",
|
|
440
|
+
"etisalat",
|
|
441
|
+
"eu",
|
|
442
|
+
"eurovision",
|
|
443
|
+
"eus",
|
|
444
|
+
"events",
|
|
445
|
+
"exchange",
|
|
446
|
+
"expert",
|
|
447
|
+
"exposed",
|
|
448
|
+
"express",
|
|
449
|
+
"extraspace",
|
|
450
|
+
"fage",
|
|
451
|
+
"fail",
|
|
452
|
+
"fairwinds",
|
|
453
|
+
"faith",
|
|
454
|
+
"family",
|
|
455
|
+
"fan",
|
|
456
|
+
"fans",
|
|
457
|
+
"farm",
|
|
458
|
+
"farmers",
|
|
459
|
+
"fashion",
|
|
460
|
+
"fast",
|
|
461
|
+
"fedex",
|
|
462
|
+
"feedback",
|
|
463
|
+
"ferrari",
|
|
464
|
+
"ferrero",
|
|
465
|
+
"fi",
|
|
466
|
+
"fiat",
|
|
467
|
+
"fidelity",
|
|
468
|
+
"fido",
|
|
469
|
+
"film",
|
|
470
|
+
"final",
|
|
471
|
+
"finance",
|
|
472
|
+
"financial",
|
|
473
|
+
"fire",
|
|
474
|
+
"firestone",
|
|
475
|
+
"firmdale",
|
|
476
|
+
"fish",
|
|
477
|
+
"fishing",
|
|
478
|
+
"fit",
|
|
479
|
+
"fitness",
|
|
480
|
+
"fj",
|
|
481
|
+
"fk",
|
|
482
|
+
"flickr",
|
|
483
|
+
"flights",
|
|
484
|
+
"flir",
|
|
485
|
+
"florist",
|
|
486
|
+
"flowers",
|
|
487
|
+
"fly",
|
|
488
|
+
"fm",
|
|
489
|
+
"fo",
|
|
490
|
+
"foo",
|
|
491
|
+
"food",
|
|
492
|
+
"foodnetwork",
|
|
493
|
+
"football",
|
|
494
|
+
"ford",
|
|
495
|
+
"forex",
|
|
496
|
+
"forsale",
|
|
497
|
+
"forum",
|
|
498
|
+
"foundation",
|
|
499
|
+
"fox",
|
|
500
|
+
"fr",
|
|
501
|
+
"free",
|
|
502
|
+
"fresenius",
|
|
503
|
+
"frl",
|
|
504
|
+
"frogans",
|
|
505
|
+
"frontdoor",
|
|
506
|
+
"frontier",
|
|
507
|
+
"ftr",
|
|
508
|
+
"fujitsu",
|
|
509
|
+
"fun",
|
|
510
|
+
"fund",
|
|
511
|
+
"furniture",
|
|
512
|
+
"futbol",
|
|
513
|
+
"fyi",
|
|
514
|
+
"ga",
|
|
515
|
+
"gal",
|
|
516
|
+
"gallery",
|
|
517
|
+
"gallo",
|
|
518
|
+
"gallup",
|
|
519
|
+
"game",
|
|
520
|
+
"games",
|
|
521
|
+
"gap",
|
|
522
|
+
"garden",
|
|
523
|
+
"gay",
|
|
524
|
+
"gb",
|
|
525
|
+
"gbiz",
|
|
526
|
+
"gd",
|
|
527
|
+
"gdn",
|
|
528
|
+
"ge",
|
|
529
|
+
"gea",
|
|
530
|
+
"gent",
|
|
531
|
+
"genting",
|
|
532
|
+
"george",
|
|
533
|
+
"gf",
|
|
534
|
+
"gg",
|
|
535
|
+
"ggee",
|
|
536
|
+
"gh",
|
|
537
|
+
"gi",
|
|
538
|
+
"gift",
|
|
539
|
+
"gifts",
|
|
540
|
+
"gives",
|
|
541
|
+
"giving",
|
|
542
|
+
"gl",
|
|
543
|
+
"glass",
|
|
544
|
+
"gle",
|
|
545
|
+
"global",
|
|
546
|
+
"globo",
|
|
547
|
+
"gm",
|
|
548
|
+
"gmail",
|
|
549
|
+
"gmbh",
|
|
550
|
+
"gmo",
|
|
551
|
+
"gmx",
|
|
552
|
+
"gn",
|
|
553
|
+
"godaddy",
|
|
554
|
+
"gold",
|
|
555
|
+
"goldpoint",
|
|
556
|
+
"golf",
|
|
557
|
+
"goo",
|
|
558
|
+
"goodyear",
|
|
559
|
+
"goog",
|
|
560
|
+
"google",
|
|
561
|
+
"gop",
|
|
562
|
+
"got",
|
|
563
|
+
"gov",
|
|
564
|
+
"gp",
|
|
565
|
+
"gq",
|
|
566
|
+
"gr",
|
|
567
|
+
"grainger",
|
|
568
|
+
"graphics",
|
|
569
|
+
"gratis",
|
|
570
|
+
"green",
|
|
571
|
+
"gripe",
|
|
572
|
+
"grocery",
|
|
573
|
+
"group",
|
|
574
|
+
"gs",
|
|
575
|
+
"gt",
|
|
576
|
+
"gu",
|
|
577
|
+
"guardian",
|
|
578
|
+
"gucci",
|
|
579
|
+
"guge",
|
|
580
|
+
"guide",
|
|
581
|
+
"guitars",
|
|
582
|
+
"guru",
|
|
583
|
+
"gw",
|
|
584
|
+
"gy",
|
|
585
|
+
"hair",
|
|
586
|
+
"hamburg",
|
|
587
|
+
"hangout",
|
|
588
|
+
"haus",
|
|
589
|
+
"hbo",
|
|
590
|
+
"hdfc",
|
|
591
|
+
"hdfcbank",
|
|
592
|
+
"health",
|
|
593
|
+
"healthcare",
|
|
594
|
+
"help",
|
|
595
|
+
"helsinki",
|
|
596
|
+
"here",
|
|
597
|
+
"hermes",
|
|
598
|
+
"hgtv",
|
|
599
|
+
"hiphop",
|
|
600
|
+
"hisamitsu",
|
|
601
|
+
"hitachi",
|
|
602
|
+
"hiv",
|
|
603
|
+
"hk",
|
|
604
|
+
"hkt",
|
|
605
|
+
"hm",
|
|
606
|
+
"hn",
|
|
607
|
+
"hockey",
|
|
608
|
+
"holdings",
|
|
609
|
+
"holiday",
|
|
610
|
+
"homedepot",
|
|
611
|
+
"homegoods",
|
|
612
|
+
"homes",
|
|
613
|
+
"homesense",
|
|
614
|
+
"honda",
|
|
615
|
+
"horse",
|
|
616
|
+
"hospital",
|
|
617
|
+
"host",
|
|
618
|
+
"hosting",
|
|
619
|
+
"hot",
|
|
620
|
+
"hoteles",
|
|
621
|
+
"hotels",
|
|
622
|
+
"hotmail",
|
|
623
|
+
"house",
|
|
624
|
+
"how",
|
|
625
|
+
"hr",
|
|
626
|
+
"hsbc",
|
|
627
|
+
"ht",
|
|
628
|
+
"hu",
|
|
629
|
+
"hughes",
|
|
630
|
+
"hyatt",
|
|
631
|
+
"hyundai",
|
|
632
|
+
"ibm",
|
|
633
|
+
"icbc",
|
|
634
|
+
"ice",
|
|
635
|
+
"icu",
|
|
636
|
+
"id",
|
|
637
|
+
"ie",
|
|
638
|
+
"ieee",
|
|
639
|
+
"ifm",
|
|
640
|
+
"ikano",
|
|
641
|
+
"il",
|
|
642
|
+
"im",
|
|
643
|
+
"imamat",
|
|
644
|
+
"imdb",
|
|
645
|
+
"immo",
|
|
646
|
+
"immobilien",
|
|
647
|
+
"in",
|
|
648
|
+
"inc",
|
|
649
|
+
"industries",
|
|
650
|
+
"infiniti",
|
|
651
|
+
"info",
|
|
652
|
+
"ing",
|
|
653
|
+
"ink",
|
|
654
|
+
"institute",
|
|
655
|
+
"insurance",
|
|
656
|
+
"insure",
|
|
657
|
+
"int",
|
|
658
|
+
"international",
|
|
659
|
+
"intuit",
|
|
660
|
+
"investments",
|
|
661
|
+
"io",
|
|
662
|
+
"ipiranga",
|
|
663
|
+
"iq",
|
|
664
|
+
"ir",
|
|
665
|
+
"irish",
|
|
666
|
+
"is",
|
|
667
|
+
"ismaili",
|
|
668
|
+
"ist",
|
|
669
|
+
"istanbul",
|
|
670
|
+
"it",
|
|
671
|
+
"itau",
|
|
672
|
+
"itv",
|
|
673
|
+
"jaguar",
|
|
674
|
+
"java",
|
|
675
|
+
"jcb",
|
|
676
|
+
"je",
|
|
677
|
+
"jeep",
|
|
678
|
+
"jetzt",
|
|
679
|
+
"jewelry",
|
|
680
|
+
"jio",
|
|
681
|
+
"jll",
|
|
682
|
+
"jm",
|
|
683
|
+
"jmp",
|
|
684
|
+
"jnj",
|
|
685
|
+
"jo",
|
|
686
|
+
"jobs",
|
|
687
|
+
"joburg",
|
|
688
|
+
"jot",
|
|
689
|
+
"joy",
|
|
690
|
+
"jp",
|
|
691
|
+
"jpmorgan",
|
|
692
|
+
"jprs",
|
|
693
|
+
"juegos",
|
|
694
|
+
"juniper",
|
|
695
|
+
"kaufen",
|
|
696
|
+
"kddi",
|
|
697
|
+
"ke",
|
|
698
|
+
"kerryhotels",
|
|
699
|
+
"kerrylogistics",
|
|
700
|
+
"kerryproperties",
|
|
701
|
+
"kfh",
|
|
702
|
+
"kg",
|
|
703
|
+
"kh",
|
|
704
|
+
"ki",
|
|
705
|
+
"kia",
|
|
706
|
+
"kids",
|
|
707
|
+
"kim",
|
|
708
|
+
"kinder",
|
|
709
|
+
"kindle",
|
|
710
|
+
"kitchen",
|
|
711
|
+
"kiwi",
|
|
712
|
+
"km",
|
|
713
|
+
"kn",
|
|
714
|
+
"koeln",
|
|
715
|
+
"komatsu",
|
|
716
|
+
"kosher",
|
|
717
|
+
"kp",
|
|
718
|
+
"kpmg",
|
|
719
|
+
"kpn",
|
|
720
|
+
"kr",
|
|
721
|
+
"krd",
|
|
722
|
+
"kred",
|
|
723
|
+
"kuokgroup",
|
|
724
|
+
"kw",
|
|
725
|
+
"ky",
|
|
726
|
+
"kyoto",
|
|
727
|
+
"kz",
|
|
728
|
+
"la",
|
|
729
|
+
"lacaixa",
|
|
730
|
+
"lamborghini",
|
|
731
|
+
"lamer",
|
|
732
|
+
"lancaster",
|
|
733
|
+
"lancia",
|
|
734
|
+
"land",
|
|
735
|
+
"landrover",
|
|
736
|
+
"lanxess",
|
|
737
|
+
"lasalle",
|
|
738
|
+
"lat",
|
|
739
|
+
"latino",
|
|
740
|
+
"latrobe",
|
|
741
|
+
"law",
|
|
742
|
+
"lawyer",
|
|
743
|
+
"lb",
|
|
744
|
+
"lc",
|
|
745
|
+
"lds",
|
|
746
|
+
"lease",
|
|
747
|
+
"leclerc",
|
|
748
|
+
"lefrak",
|
|
749
|
+
"legal",
|
|
750
|
+
"lego",
|
|
751
|
+
"lexus",
|
|
752
|
+
"lgbt",
|
|
753
|
+
"li",
|
|
754
|
+
"lidl",
|
|
755
|
+
"life",
|
|
756
|
+
"lifeinsurance",
|
|
757
|
+
"lifestyle",
|
|
758
|
+
"lighting",
|
|
759
|
+
"like",
|
|
760
|
+
"lilly",
|
|
761
|
+
"limited",
|
|
762
|
+
"limo",
|
|
763
|
+
"lincoln",
|
|
764
|
+
"linde",
|
|
765
|
+
"link",
|
|
766
|
+
"lipsy",
|
|
767
|
+
"live",
|
|
768
|
+
"living",
|
|
769
|
+
"lk",
|
|
770
|
+
"llc",
|
|
771
|
+
"llp",
|
|
772
|
+
"loan",
|
|
773
|
+
"loans",
|
|
774
|
+
"locker",
|
|
775
|
+
"locus",
|
|
776
|
+
"loft",
|
|
777
|
+
"lol",
|
|
778
|
+
"london",
|
|
779
|
+
"lotte",
|
|
780
|
+
"lotto",
|
|
781
|
+
"love",
|
|
782
|
+
"lpl",
|
|
783
|
+
"lplfinancial",
|
|
784
|
+
"lr",
|
|
785
|
+
"ls",
|
|
786
|
+
"lt",
|
|
787
|
+
"ltd",
|
|
788
|
+
"ltda",
|
|
789
|
+
"lu",
|
|
790
|
+
"lundbeck",
|
|
791
|
+
"luxe",
|
|
792
|
+
"luxury",
|
|
793
|
+
"lv",
|
|
794
|
+
"ly",
|
|
795
|
+
"ma",
|
|
796
|
+
"macys",
|
|
797
|
+
"madrid",
|
|
798
|
+
"maif",
|
|
799
|
+
"maison",
|
|
800
|
+
"makeup",
|
|
801
|
+
"man",
|
|
802
|
+
"management",
|
|
803
|
+
"mango",
|
|
804
|
+
"map",
|
|
805
|
+
"market",
|
|
806
|
+
"marketing",
|
|
807
|
+
"markets",
|
|
808
|
+
"marriott",
|
|
809
|
+
"marshalls",
|
|
810
|
+
"maserati",
|
|
811
|
+
"mattel",
|
|
812
|
+
"mba",
|
|
813
|
+
"mc",
|
|
814
|
+
"mckinsey",
|
|
815
|
+
"md",
|
|
816
|
+
"me",
|
|
817
|
+
"med",
|
|
818
|
+
"media",
|
|
819
|
+
"meet",
|
|
820
|
+
"melbourne",
|
|
821
|
+
"meme",
|
|
822
|
+
"memorial",
|
|
823
|
+
"men",
|
|
824
|
+
"menu",
|
|
825
|
+
"merckmsd",
|
|
826
|
+
"mg",
|
|
827
|
+
"mh",
|
|
828
|
+
"miami",
|
|
829
|
+
"microsoft",
|
|
830
|
+
"mil",
|
|
831
|
+
"mini",
|
|
832
|
+
"mint",
|
|
833
|
+
"mit",
|
|
834
|
+
"mitsubishi",
|
|
835
|
+
"mk",
|
|
836
|
+
"ml",
|
|
837
|
+
"mlb",
|
|
838
|
+
"mls",
|
|
839
|
+
"mm",
|
|
840
|
+
"mma",
|
|
841
|
+
"mn",
|
|
842
|
+
"mo",
|
|
843
|
+
"mobi",
|
|
844
|
+
"mobile",
|
|
845
|
+
"moda",
|
|
846
|
+
"moe",
|
|
847
|
+
"moi",
|
|
848
|
+
"mom",
|
|
849
|
+
"monash",
|
|
850
|
+
"money",
|
|
851
|
+
"monster",
|
|
852
|
+
"mormon",
|
|
853
|
+
"mortgage",
|
|
854
|
+
"moscow",
|
|
855
|
+
"moto",
|
|
856
|
+
"motorcycles",
|
|
857
|
+
"mov",
|
|
858
|
+
"movie",
|
|
859
|
+
"mp",
|
|
860
|
+
"mq",
|
|
861
|
+
"mr",
|
|
862
|
+
"ms",
|
|
863
|
+
"msd",
|
|
864
|
+
"mt",
|
|
865
|
+
"mtn",
|
|
866
|
+
"mtr",
|
|
867
|
+
"mu",
|
|
868
|
+
"museum",
|
|
869
|
+
"music",
|
|
870
|
+
"mutual",
|
|
871
|
+
"mv",
|
|
872
|
+
"mw",
|
|
873
|
+
"mx",
|
|
874
|
+
"my",
|
|
875
|
+
"mz",
|
|
876
|
+
"na",
|
|
877
|
+
"nab",
|
|
878
|
+
"nagoya",
|
|
879
|
+
"name",
|
|
880
|
+
"natura",
|
|
881
|
+
"navy",
|
|
882
|
+
"nba",
|
|
883
|
+
"nc",
|
|
884
|
+
"ne",
|
|
885
|
+
"nec",
|
|
886
|
+
"net",
|
|
887
|
+
"netbank",
|
|
888
|
+
"netflix",
|
|
889
|
+
"network",
|
|
890
|
+
"neustar",
|
|
891
|
+
"new",
|
|
892
|
+
"news",
|
|
893
|
+
"next",
|
|
894
|
+
"nextdirect",
|
|
895
|
+
"nexus",
|
|
896
|
+
"nf",
|
|
897
|
+
"nfl",
|
|
898
|
+
"ng",
|
|
899
|
+
"ngo",
|
|
900
|
+
"nhk",
|
|
901
|
+
"ni",
|
|
902
|
+
"nico",
|
|
903
|
+
"nike",
|
|
904
|
+
"nikon",
|
|
905
|
+
"ninja",
|
|
906
|
+
"nissan",
|
|
907
|
+
"nissay",
|
|
908
|
+
"nl",
|
|
909
|
+
"no",
|
|
910
|
+
"nokia",
|
|
911
|
+
"northwesternmutual",
|
|
912
|
+
"norton",
|
|
913
|
+
"now",
|
|
914
|
+
"nowruz",
|
|
915
|
+
"nowtv",
|
|
916
|
+
"np",
|
|
917
|
+
"nr",
|
|
918
|
+
"nra",
|
|
919
|
+
"nrw",
|
|
920
|
+
"ntt",
|
|
921
|
+
"nu",
|
|
922
|
+
"nyc",
|
|
923
|
+
"nz",
|
|
924
|
+
"obi",
|
|
925
|
+
"observer",
|
|
926
|
+
"office",
|
|
927
|
+
"okinawa",
|
|
928
|
+
"olayan",
|
|
929
|
+
"olayangroup",
|
|
930
|
+
"oldnavy",
|
|
931
|
+
"ollo",
|
|
932
|
+
"om",
|
|
933
|
+
"omega",
|
|
934
|
+
"one",
|
|
935
|
+
"ong",
|
|
936
|
+
"onl",
|
|
937
|
+
"online",
|
|
938
|
+
"ooo",
|
|
939
|
+
"open",
|
|
940
|
+
"oracle",
|
|
941
|
+
"orange",
|
|
942
|
+
"org",
|
|
943
|
+
"organic",
|
|
944
|
+
"origins",
|
|
945
|
+
"osaka",
|
|
946
|
+
"otsuka",
|
|
947
|
+
"ott",
|
|
948
|
+
"ovh",
|
|
949
|
+
"pa",
|
|
950
|
+
"page",
|
|
951
|
+
"panasonic",
|
|
952
|
+
"paris",
|
|
953
|
+
"pars",
|
|
954
|
+
"partners",
|
|
955
|
+
"parts",
|
|
956
|
+
"party",
|
|
957
|
+
"passagens",
|
|
958
|
+
"pay",
|
|
959
|
+
"pccw",
|
|
960
|
+
"pe",
|
|
961
|
+
"pet",
|
|
962
|
+
"pf",
|
|
963
|
+
"pfizer",
|
|
964
|
+
"pg",
|
|
965
|
+
"ph",
|
|
966
|
+
"pharmacy",
|
|
967
|
+
"phd",
|
|
968
|
+
"philips",
|
|
969
|
+
"phone",
|
|
970
|
+
"photo",
|
|
971
|
+
"photography",
|
|
972
|
+
"photos",
|
|
973
|
+
"physio",
|
|
974
|
+
"pics",
|
|
975
|
+
"pictet",
|
|
976
|
+
"pictures",
|
|
977
|
+
"pid",
|
|
978
|
+
"pin",
|
|
979
|
+
"ping",
|
|
980
|
+
"pink",
|
|
981
|
+
"pioneer",
|
|
982
|
+
"pizza",
|
|
983
|
+
"pk",
|
|
984
|
+
"pl",
|
|
985
|
+
"place",
|
|
986
|
+
"play",
|
|
987
|
+
"playstation",
|
|
988
|
+
"plumbing",
|
|
989
|
+
"plus",
|
|
990
|
+
"pm",
|
|
991
|
+
"pn",
|
|
992
|
+
"pnc",
|
|
993
|
+
"pohl",
|
|
994
|
+
"poker",
|
|
995
|
+
"politie",
|
|
996
|
+
"porn",
|
|
997
|
+
"post",
|
|
998
|
+
"pr",
|
|
999
|
+
"pramerica",
|
|
1000
|
+
"praxi",
|
|
1001
|
+
"press",
|
|
1002
|
+
"prime",
|
|
1003
|
+
"pro",
|
|
1004
|
+
"prod",
|
|
1005
|
+
"productions",
|
|
1006
|
+
"prof",
|
|
1007
|
+
"progressive",
|
|
1008
|
+
"promo",
|
|
1009
|
+
"properties",
|
|
1010
|
+
"property",
|
|
1011
|
+
"protection",
|
|
1012
|
+
"pru",
|
|
1013
|
+
"prudential",
|
|
1014
|
+
"ps",
|
|
1015
|
+
"pt",
|
|
1016
|
+
"pub",
|
|
1017
|
+
"pw",
|
|
1018
|
+
"pwc",
|
|
1019
|
+
"py",
|
|
1020
|
+
"qa",
|
|
1021
|
+
"qpon",
|
|
1022
|
+
"quebec",
|
|
1023
|
+
"quest",
|
|
1024
|
+
"racing",
|
|
1025
|
+
"radio",
|
|
1026
|
+
"re",
|
|
1027
|
+
"read",
|
|
1028
|
+
"realestate",
|
|
1029
|
+
"realtor",
|
|
1030
|
+
"realty",
|
|
1031
|
+
"recipes",
|
|
1032
|
+
"red",
|
|
1033
|
+
"redstone",
|
|
1034
|
+
"redumbrella",
|
|
1035
|
+
"rehab",
|
|
1036
|
+
"reise",
|
|
1037
|
+
"reisen",
|
|
1038
|
+
"reit",
|
|
1039
|
+
"reliance",
|
|
1040
|
+
"ren",
|
|
1041
|
+
"rent",
|
|
1042
|
+
"rentals",
|
|
1043
|
+
"repair",
|
|
1044
|
+
"report",
|
|
1045
|
+
"republican",
|
|
1046
|
+
"rest",
|
|
1047
|
+
"restaurant",
|
|
1048
|
+
"review",
|
|
1049
|
+
"reviews",
|
|
1050
|
+
"rexroth",
|
|
1051
|
+
"rich",
|
|
1052
|
+
"richardli",
|
|
1053
|
+
"ricoh",
|
|
1054
|
+
"ril",
|
|
1055
|
+
"rio",
|
|
1056
|
+
"rip",
|
|
1057
|
+
"ro",
|
|
1058
|
+
"rocher",
|
|
1059
|
+
"rocks",
|
|
1060
|
+
"rodeo",
|
|
1061
|
+
"rogers",
|
|
1062
|
+
"room",
|
|
1063
|
+
"rs",
|
|
1064
|
+
"rsvp",
|
|
1065
|
+
"ru",
|
|
1066
|
+
"rugby",
|
|
1067
|
+
"ruhr",
|
|
1068
|
+
"run",
|
|
1069
|
+
"rw",
|
|
1070
|
+
"rwe",
|
|
1071
|
+
"ryukyu",
|
|
1072
|
+
"sa",
|
|
1073
|
+
"saarland",
|
|
1074
|
+
"safe",
|
|
1075
|
+
"safety",
|
|
1076
|
+
"sakura",
|
|
1077
|
+
"sale",
|
|
1078
|
+
"salon",
|
|
1079
|
+
"samsclub",
|
|
1080
|
+
"samsung",
|
|
1081
|
+
"sandvik",
|
|
1082
|
+
"sandvikcoromant",
|
|
1083
|
+
"sanofi",
|
|
1084
|
+
"sap",
|
|
1085
|
+
"sarl",
|
|
1086
|
+
"sas",
|
|
1087
|
+
"save",
|
|
1088
|
+
"saxo",
|
|
1089
|
+
"sb",
|
|
1090
|
+
"sbi",
|
|
1091
|
+
"sbs",
|
|
1092
|
+
"sc",
|
|
1093
|
+
"sca",
|
|
1094
|
+
"scb",
|
|
1095
|
+
"schaeffler",
|
|
1096
|
+
"schmidt",
|
|
1097
|
+
"scholarships",
|
|
1098
|
+
"school",
|
|
1099
|
+
"schule",
|
|
1100
|
+
"schwarz",
|
|
1101
|
+
"science",
|
|
1102
|
+
"scot",
|
|
1103
|
+
"sd",
|
|
1104
|
+
"se",
|
|
1105
|
+
"search",
|
|
1106
|
+
"seat",
|
|
1107
|
+
"secure",
|
|
1108
|
+
"security",
|
|
1109
|
+
"seek",
|
|
1110
|
+
"select",
|
|
1111
|
+
"sener",
|
|
1112
|
+
"services",
|
|
1113
|
+
"ses",
|
|
1114
|
+
"seven",
|
|
1115
|
+
"sew",
|
|
1116
|
+
"sex",
|
|
1117
|
+
"sexy",
|
|
1118
|
+
"sfr",
|
|
1119
|
+
"sg",
|
|
1120
|
+
"sh",
|
|
1121
|
+
"shangrila",
|
|
1122
|
+
"sharp",
|
|
1123
|
+
"shaw",
|
|
1124
|
+
"shell",
|
|
1125
|
+
"shia",
|
|
1126
|
+
"shiksha",
|
|
1127
|
+
"shoes",
|
|
1128
|
+
"shop",
|
|
1129
|
+
"shopping",
|
|
1130
|
+
"shouji",
|
|
1131
|
+
"show",
|
|
1132
|
+
"showtime",
|
|
1133
|
+
"si",
|
|
1134
|
+
"silk",
|
|
1135
|
+
"sina",
|
|
1136
|
+
"singles",
|
|
1137
|
+
"site",
|
|
1138
|
+
"sj",
|
|
1139
|
+
"sk",
|
|
1140
|
+
"ski",
|
|
1141
|
+
"skin",
|
|
1142
|
+
"sky",
|
|
1143
|
+
"skype",
|
|
1144
|
+
"sl",
|
|
1145
|
+
"sling",
|
|
1146
|
+
"sm",
|
|
1147
|
+
"smart",
|
|
1148
|
+
"smile",
|
|
1149
|
+
"sn",
|
|
1150
|
+
"sncf",
|
|
1151
|
+
"so",
|
|
1152
|
+
"soccer",
|
|
1153
|
+
"social",
|
|
1154
|
+
"softbank",
|
|
1155
|
+
"software",
|
|
1156
|
+
"sohu",
|
|
1157
|
+
"solar",
|
|
1158
|
+
"solutions",
|
|
1159
|
+
"song",
|
|
1160
|
+
"sony",
|
|
1161
|
+
"soy",
|
|
1162
|
+
"spa",
|
|
1163
|
+
"space",
|
|
1164
|
+
"sport",
|
|
1165
|
+
"spot",
|
|
1166
|
+
"sr",
|
|
1167
|
+
"srl",
|
|
1168
|
+
"ss",
|
|
1169
|
+
"st",
|
|
1170
|
+
"stada",
|
|
1171
|
+
"staples",
|
|
1172
|
+
"star",
|
|
1173
|
+
"statebank",
|
|
1174
|
+
"statefarm",
|
|
1175
|
+
"stc",
|
|
1176
|
+
"stcgroup",
|
|
1177
|
+
"stockholm",
|
|
1178
|
+
"storage",
|
|
1179
|
+
"store",
|
|
1180
|
+
"stream",
|
|
1181
|
+
"studio",
|
|
1182
|
+
"study",
|
|
1183
|
+
"style",
|
|
1184
|
+
"su",
|
|
1185
|
+
"sucks",
|
|
1186
|
+
"supplies",
|
|
1187
|
+
"supply",
|
|
1188
|
+
"support",
|
|
1189
|
+
"surf",
|
|
1190
|
+
"surgery",
|
|
1191
|
+
"suzuki",
|
|
1192
|
+
"sv",
|
|
1193
|
+
"swatch",
|
|
1194
|
+
"swiss",
|
|
1195
|
+
"sx",
|
|
1196
|
+
"sy",
|
|
1197
|
+
"sydney",
|
|
1198
|
+
"systems",
|
|
1199
|
+
"sz",
|
|
1200
|
+
"tab",
|
|
1201
|
+
"taipei",
|
|
1202
|
+
"talk",
|
|
1203
|
+
"taobao",
|
|
1204
|
+
"target",
|
|
1205
|
+
"tatamotors",
|
|
1206
|
+
"tatar",
|
|
1207
|
+
"tattoo",
|
|
1208
|
+
"tax",
|
|
1209
|
+
"taxi",
|
|
1210
|
+
"tc",
|
|
1211
|
+
"tci",
|
|
1212
|
+
"td",
|
|
1213
|
+
"tdk",
|
|
1214
|
+
"team",
|
|
1215
|
+
"tech",
|
|
1216
|
+
"technology",
|
|
1217
|
+
"tel",
|
|
1218
|
+
"temasek",
|
|
1219
|
+
"tennis",
|
|
1220
|
+
"teva",
|
|
1221
|
+
"tf",
|
|
1222
|
+
"tg",
|
|
1223
|
+
"th",
|
|
1224
|
+
"thd",
|
|
1225
|
+
"theater",
|
|
1226
|
+
"theatre",
|
|
1227
|
+
"tiaa",
|
|
1228
|
+
"tickets",
|
|
1229
|
+
"tienda",
|
|
1230
|
+
"tiffany",
|
|
1231
|
+
"tips",
|
|
1232
|
+
"tires",
|
|
1233
|
+
"tirol",
|
|
1234
|
+
"tj",
|
|
1235
|
+
"tjmaxx",
|
|
1236
|
+
"tjx",
|
|
1237
|
+
"tk",
|
|
1238
|
+
"tkmaxx",
|
|
1239
|
+
"tl",
|
|
1240
|
+
"tm",
|
|
1241
|
+
"tmall",
|
|
1242
|
+
"tn",
|
|
1243
|
+
"to",
|
|
1244
|
+
"today",
|
|
1245
|
+
"tokyo",
|
|
1246
|
+
"tools",
|
|
1247
|
+
"top",
|
|
1248
|
+
"toray",
|
|
1249
|
+
"toshiba",
|
|
1250
|
+
"total",
|
|
1251
|
+
"tours",
|
|
1252
|
+
"town",
|
|
1253
|
+
"toyota",
|
|
1254
|
+
"toys",
|
|
1255
|
+
"tr",
|
|
1256
|
+
"trade",
|
|
1257
|
+
"trading",
|
|
1258
|
+
"training",
|
|
1259
|
+
"travel",
|
|
1260
|
+
"travelchannel",
|
|
1261
|
+
"travelers",
|
|
1262
|
+
"travelersinsurance",
|
|
1263
|
+
"trust",
|
|
1264
|
+
"trv",
|
|
1265
|
+
"tt",
|
|
1266
|
+
"tube",
|
|
1267
|
+
"tui",
|
|
1268
|
+
"tunes",
|
|
1269
|
+
"tushu",
|
|
1270
|
+
"tv",
|
|
1271
|
+
"tvs",
|
|
1272
|
+
"tw",
|
|
1273
|
+
"tz",
|
|
1274
|
+
"ua",
|
|
1275
|
+
"ubank",
|
|
1276
|
+
"ubs",
|
|
1277
|
+
"ug",
|
|
1278
|
+
"uk",
|
|
1279
|
+
"unicom",
|
|
1280
|
+
"university",
|
|
1281
|
+
"uno",
|
|
1282
|
+
"uol",
|
|
1283
|
+
"ups",
|
|
1284
|
+
"us",
|
|
1285
|
+
"uy",
|
|
1286
|
+
"uz",
|
|
1287
|
+
"va",
|
|
1288
|
+
"vacations",
|
|
1289
|
+
"vana",
|
|
1290
|
+
"vanguard",
|
|
1291
|
+
"vc",
|
|
1292
|
+
"ve",
|
|
1293
|
+
"vegas",
|
|
1294
|
+
"ventures",
|
|
1295
|
+
"verisign",
|
|
1296
|
+
"vermögensberater",
|
|
1297
|
+
"vermögensberatung",
|
|
1298
|
+
"versicherung",
|
|
1299
|
+
"vet",
|
|
1300
|
+
"vg",
|
|
1301
|
+
"vi",
|
|
1302
|
+
"viajes",
|
|
1303
|
+
"video",
|
|
1304
|
+
"vig",
|
|
1305
|
+
"viking",
|
|
1306
|
+
"villas",
|
|
1307
|
+
"vin",
|
|
1308
|
+
"vip",
|
|
1309
|
+
"virgin",
|
|
1310
|
+
"visa",
|
|
1311
|
+
"vision",
|
|
1312
|
+
"viva",
|
|
1313
|
+
"vivo",
|
|
1314
|
+
"vlaanderen",
|
|
1315
|
+
"vn",
|
|
1316
|
+
"vodka",
|
|
1317
|
+
"volkswagen",
|
|
1318
|
+
"volvo",
|
|
1319
|
+
"vote",
|
|
1320
|
+
"voting",
|
|
1321
|
+
"voto",
|
|
1322
|
+
"voyage",
|
|
1323
|
+
"vu",
|
|
1324
|
+
"vuelos",
|
|
1325
|
+
"wales",
|
|
1326
|
+
"walmart",
|
|
1327
|
+
"walter",
|
|
1328
|
+
"wang",
|
|
1329
|
+
"wanggou",
|
|
1330
|
+
"watch",
|
|
1331
|
+
"watches",
|
|
1332
|
+
"weather",
|
|
1333
|
+
"weatherchannel",
|
|
1334
|
+
"webcam",
|
|
1335
|
+
"weber",
|
|
1336
|
+
"website",
|
|
1337
|
+
"wed",
|
|
1338
|
+
"wedding",
|
|
1339
|
+
"weibo",
|
|
1340
|
+
"weir",
|
|
1341
|
+
"wf",
|
|
1342
|
+
"whoswho",
|
|
1343
|
+
"wien",
|
|
1344
|
+
"wiki",
|
|
1345
|
+
"williamhill",
|
|
1346
|
+
"win",
|
|
1347
|
+
"windows",
|
|
1348
|
+
"wine",
|
|
1349
|
+
"winners",
|
|
1350
|
+
"wme",
|
|
1351
|
+
"wolterskluwer",
|
|
1352
|
+
"woodside",
|
|
1353
|
+
"work",
|
|
1354
|
+
"works",
|
|
1355
|
+
"world",
|
|
1356
|
+
"wow",
|
|
1357
|
+
"ws",
|
|
1358
|
+
"wtc",
|
|
1359
|
+
"wtf",
|
|
1360
|
+
"xbox",
|
|
1361
|
+
"xerox",
|
|
1362
|
+
"xfinity",
|
|
1363
|
+
"xihuan",
|
|
1364
|
+
"xin",
|
|
1365
|
+
"xxx",
|
|
1366
|
+
"xyz",
|
|
1367
|
+
"yachts",
|
|
1368
|
+
"yahoo",
|
|
1369
|
+
"yamaxun",
|
|
1370
|
+
"yandex",
|
|
1371
|
+
"ye",
|
|
1372
|
+
"yodobashi",
|
|
1373
|
+
"yoga",
|
|
1374
|
+
"yokohama",
|
|
1375
|
+
"you",
|
|
1376
|
+
"youtube",
|
|
1377
|
+
"yt",
|
|
1378
|
+
"yun",
|
|
1379
|
+
"za",
|
|
1380
|
+
"zappos",
|
|
1381
|
+
"zara",
|
|
1382
|
+
"zero",
|
|
1383
|
+
"zip",
|
|
1384
|
+
"zm",
|
|
1385
|
+
"zone",
|
|
1386
|
+
"zuerich",
|
|
1387
|
+
"zw",
|
|
1388
|
+
"ελ",
|
|
1389
|
+
"ευ",
|
|
1390
|
+
"бг",
|
|
1391
|
+
"бел",
|
|
1392
|
+
"дети",
|
|
1393
|
+
"ею",
|
|
1394
|
+
"католик",
|
|
1395
|
+
"ком",
|
|
1396
|
+
"мкд",
|
|
1397
|
+
"мон",
|
|
1398
|
+
"москва",
|
|
1399
|
+
"онлайн",
|
|
1400
|
+
"орг",
|
|
1401
|
+
"рус",
|
|
1402
|
+
"рф",
|
|
1403
|
+
"сайт",
|
|
1404
|
+
"срб",
|
|
1405
|
+
"укр",
|
|
1406
|
+
"қаз",
|
|
1407
|
+
"հայ",
|
|
1408
|
+
"ישראל",
|
|
1409
|
+
"קום",
|
|
1410
|
+
"ابوظبي",
|
|
1411
|
+
"اتصالات",
|
|
1412
|
+
"ارامكو",
|
|
1413
|
+
"الاردن",
|
|
1414
|
+
"البحرين",
|
|
1415
|
+
"الجزائر",
|
|
1416
|
+
"السعودية",
|
|
1417
|
+
"العليان",
|
|
1418
|
+
"المغرب",
|
|
1419
|
+
"امارات",
|
|
1420
|
+
"ایران",
|
|
1421
|
+
"بارت",
|
|
1422
|
+
"بازار",
|
|
1423
|
+
"بيتك",
|
|
1424
|
+
"بھارت",
|
|
1425
|
+
"تونس",
|
|
1426
|
+
"سودان",
|
|
1427
|
+
"سورية",
|
|
1428
|
+
"شبكة",
|
|
1429
|
+
"عراق",
|
|
1430
|
+
"عرب",
|
|
1431
|
+
"عمان",
|
|
1432
|
+
"فلسطين",
|
|
1433
|
+
"قطر",
|
|
1434
|
+
"كاثوليك",
|
|
1435
|
+
"كوم",
|
|
1436
|
+
"مصر",
|
|
1437
|
+
"مليسيا",
|
|
1438
|
+
"موريتانيا",
|
|
1439
|
+
"موقع",
|
|
1440
|
+
"همراه",
|
|
1441
|
+
"پاکستان",
|
|
1442
|
+
"ڀارت",
|
|
1443
|
+
"कॉम",
|
|
1444
|
+
"नेट",
|
|
1445
|
+
"भारत",
|
|
1446
|
+
"भारतम्",
|
|
1447
|
+
"भारोत",
|
|
1448
|
+
"संगठन",
|
|
1449
|
+
"বাংলা",
|
|
1450
|
+
"ভারত",
|
|
1451
|
+
"ভাৰত",
|
|
1452
|
+
"ਭਾਰਤ",
|
|
1453
|
+
"ભારત",
|
|
1454
|
+
"ଭାରତ",
|
|
1455
|
+
"இந்தியா",
|
|
1456
|
+
"இலங்கை",
|
|
1457
|
+
"சிங்கப்பூர்",
|
|
1458
|
+
"భారత్",
|
|
1459
|
+
"ಭಾರತ",
|
|
1460
|
+
"ഭാരതം",
|
|
1461
|
+
"ලංකා",
|
|
1462
|
+
"คอม",
|
|
1463
|
+
"ไทย",
|
|
1464
|
+
"ລາວ",
|
|
1465
|
+
"გე",
|
|
1466
|
+
"みんな",
|
|
1467
|
+
"アマゾン",
|
|
1468
|
+
"クラウド",
|
|
1469
|
+
"グーグル",
|
|
1470
|
+
"コム",
|
|
1471
|
+
"ストア",
|
|
1472
|
+
"セール",
|
|
1473
|
+
"ファッション",
|
|
1474
|
+
"ポイント",
|
|
1475
|
+
"世界",
|
|
1476
|
+
"中信",
|
|
1477
|
+
"中国",
|
|
1478
|
+
"中國",
|
|
1479
|
+
"中文网",
|
|
1480
|
+
"亚马逊",
|
|
1481
|
+
"企业",
|
|
1482
|
+
"佛山",
|
|
1483
|
+
"信息",
|
|
1484
|
+
"健康",
|
|
1485
|
+
"八卦",
|
|
1486
|
+
"公司",
|
|
1487
|
+
"公益",
|
|
1488
|
+
"台湾",
|
|
1489
|
+
"台灣",
|
|
1490
|
+
"商城",
|
|
1491
|
+
"商店",
|
|
1492
|
+
"商标",
|
|
1493
|
+
"嘉里",
|
|
1494
|
+
"嘉里大酒店",
|
|
1495
|
+
"在线",
|
|
1496
|
+
"大拿",
|
|
1497
|
+
"天主教",
|
|
1498
|
+
"娱乐",
|
|
1499
|
+
"家電",
|
|
1500
|
+
"广东",
|
|
1501
|
+
"微博",
|
|
1502
|
+
"慈善",
|
|
1503
|
+
"我爱你",
|
|
1504
|
+
"手机",
|
|
1505
|
+
"招聘",
|
|
1506
|
+
"政务",
|
|
1507
|
+
"政府",
|
|
1508
|
+
"新加坡",
|
|
1509
|
+
"新闻",
|
|
1510
|
+
"时尚",
|
|
1511
|
+
"書籍",
|
|
1512
|
+
"机构",
|
|
1513
|
+
"淡马锡",
|
|
1514
|
+
"游戏",
|
|
1515
|
+
"澳門",
|
|
1516
|
+
"点看",
|
|
1517
|
+
"移动",
|
|
1518
|
+
"组织机构",
|
|
1519
|
+
"网址",
|
|
1520
|
+
"网店",
|
|
1521
|
+
"网站",
|
|
1522
|
+
"网络",
|
|
1523
|
+
"联通",
|
|
1524
|
+
"诺基亚",
|
|
1525
|
+
"谷歌",
|
|
1526
|
+
"购物",
|
|
1527
|
+
"通販",
|
|
1528
|
+
"集团",
|
|
1529
|
+
"電訊盈科",
|
|
1530
|
+
"飞利浦",
|
|
1531
|
+
"食品",
|
|
1532
|
+
"餐厅",
|
|
1533
|
+
"香格里拉",
|
|
1534
|
+
"香港",
|
|
1535
|
+
"닷넷",
|
|
1536
|
+
"닷컴",
|
|
1537
|
+
"삼성",
|
|
1538
|
+
"한국",
|
|
1539
|
+
];
|
|
1540
|
+
|
|
1541
|
+
function getDomain(inputUrl) {
|
|
1542
|
+
const parsed = url.parse(inputUrl).host;
|
|
1543
|
+
var parts = parsed.split('.');
|
|
1544
|
+
if (parts[0] === 'www' && parts[1] !== 'com') {
|
|
1545
|
+
parts.shift();
|
|
1546
|
+
}
|
|
1547
|
+
var ln = parts.length, i = ln, minLength = parts[parts.length - 1].length, part;
|
|
1548
|
+
// iterate backwards
|
|
1549
|
+
while ((part = parts[--i])) {
|
|
1550
|
+
// stop when we find a non-TLD part
|
|
1551
|
+
if (i === 0 || // 'asia.com' (last remaining must be the SLD)
|
|
1552
|
+
i < ln - 2 || // TLDs only span 2 levels
|
|
1553
|
+
part.length < minLength || // 'www.cn.com' (valid TLD as second-level domain)
|
|
1554
|
+
tlds.indexOf(part) < 0 // officialy not a TLD
|
|
1555
|
+
) {
|
|
1556
|
+
return part;
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
}
|
|
1560
|
+
function appendProtocol(inputUrl) {
|
|
1561
|
+
const parsed = url.parse(inputUrl);
|
|
1562
|
+
if (!parsed.protocol) {
|
|
1563
|
+
const urlWithProtocol = `https://${inputUrl}`;
|
|
1564
|
+
return urlWithProtocol;
|
|
1565
|
+
}
|
|
1566
|
+
return inputUrl;
|
|
1567
|
+
}
|
|
1568
|
+
function normalizeUrl(urlToNormalize) {
|
|
1569
|
+
const urlWithProtocol = appendProtocol(urlToNormalize);
|
|
1570
|
+
if (isurl(urlWithProtocol)) {
|
|
1571
|
+
return urlWithProtocol;
|
|
1572
|
+
}
|
|
1573
|
+
else {
|
|
1574
|
+
throw new Error(`Your url "${urlWithProtocol}" is invalid`);
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
function validateNumberInput(value) {
|
|
1579
|
+
const parsedValue = Number(value);
|
|
1580
|
+
if (isNaN(parsedValue)) {
|
|
1581
|
+
throw new Commander.InvalidArgumentError('Not a number.');
|
|
1582
|
+
}
|
|
1583
|
+
return parsedValue;
|
|
1584
|
+
}
|
|
1585
|
+
function validateUrlInput(url) {
|
|
1586
|
+
try {
|
|
1587
|
+
return normalizeUrl(url);
|
|
1588
|
+
}
|
|
1589
|
+
catch (error) {
|
|
1590
|
+
throw new Commander.InvalidArgumentError(error.message);
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
const npmDirectory = path.join(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
1595
|
+
|
|
1596
|
+
function promptText(message, initial) {
|
|
1597
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1598
|
+
const response = yield prompts({
|
|
1599
|
+
type: 'text',
|
|
1600
|
+
name: 'content',
|
|
1601
|
+
message,
|
|
1602
|
+
initial,
|
|
1603
|
+
});
|
|
1604
|
+
return response.content;
|
|
1605
|
+
});
|
|
1606
|
+
}
|
|
1607
|
+
function mergeTauriConfig(url, options, tauriConf) {
|
|
1608
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1609
|
+
const { width, height, fullscreen, transparent, resizable, identifier, name, } = options;
|
|
1610
|
+
const tauriConfWindowOptions = {
|
|
1611
|
+
width,
|
|
1612
|
+
height,
|
|
1613
|
+
fullscreen,
|
|
1614
|
+
transparent,
|
|
1615
|
+
resizable,
|
|
1616
|
+
};
|
|
1617
|
+
Object.assign(tauriConf.tauri.windows[0], Object.assign({ url }, tauriConfWindowOptions));
|
|
1618
|
+
tauriConf.package.productName = name;
|
|
1619
|
+
tauriConf.tauri.bundle.identifier = identifier;
|
|
1620
|
+
tauriConf.tauri.bundle.icon = [options.icon];
|
|
1621
|
+
if (process.platform === "win32") {
|
|
1622
|
+
const ico_path = path.join(npmDirectory, `src-tauri/png/${name.toLowerCase()}_32.ico`);
|
|
1623
|
+
tauriConf.tauri.bundle.resources = [`png/${name.toLowerCase()}_32.ico`];
|
|
1624
|
+
yield fs.copyFile(options.icon, ico_path);
|
|
1625
|
+
}
|
|
1626
|
+
if (process.platform === "linux") {
|
|
1627
|
+
const installSrc = `/usr/share/applications/${name}.desktop`;
|
|
1628
|
+
const assertSrc = `src-tauri/assets/${name}.desktop`;
|
|
1629
|
+
const assertPath = path.join(npmDirectory, assertSrc);
|
|
1630
|
+
tauriConf.tauri.bundle.deb.files = {
|
|
1631
|
+
[installSrc]: assertPath
|
|
1632
|
+
};
|
|
1633
|
+
}
|
|
1634
|
+
let configPath = "";
|
|
1635
|
+
switch (process.platform) {
|
|
1636
|
+
case "win32": {
|
|
1637
|
+
configPath = path.join(npmDirectory, 'src-tauri/tauri.windows.conf.json');
|
|
1638
|
+
break;
|
|
1639
|
+
}
|
|
1640
|
+
case "darwin": {
|
|
1641
|
+
configPath = path.join(npmDirectory, 'src-tauri/tauri.macos.conf.json');
|
|
1642
|
+
break;
|
|
1643
|
+
}
|
|
1644
|
+
case "linux": {
|
|
1645
|
+
configPath = path.join(npmDirectory, 'src-tauri/tauri.linux.conf.json');
|
|
1646
|
+
break;
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1649
|
+
let bundleConf = { tauri: { bundle: tauriConf.tauri.bundle } };
|
|
1650
|
+
yield fs.writeFile(configPath, Buffer.from(JSON.stringify(bundleConf), 'utf-8'));
|
|
1651
|
+
const configJsonPath = path.join(npmDirectory, 'src-tauri/tauri.conf.json');
|
|
1652
|
+
yield fs.writeFile(configJsonPath, Buffer.from(JSON.stringify(tauriConf), 'utf-8'));
|
|
1653
|
+
});
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
function getIdentifier(name, url) {
|
|
1657
|
+
const hash = crypto.createHash('md5');
|
|
1658
|
+
hash.update(url);
|
|
1659
|
+
const postFixHash = hash.digest('hex').substring(0, 6);
|
|
1660
|
+
return `pake-${postFixHash}`;
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
const logger = {
|
|
1664
|
+
info(...msg) {
|
|
1665
|
+
log.info(...msg.map((m) => chalk.blue.bold(m)));
|
|
1666
|
+
},
|
|
1667
|
+
debug(...msg) {
|
|
1668
|
+
log.debug(...msg);
|
|
1669
|
+
},
|
|
1670
|
+
error(...msg) {
|
|
1671
|
+
log.error(...msg.map((m) => chalk.red.bold(m)));
|
|
1672
|
+
},
|
|
1673
|
+
warn(...msg) {
|
|
1674
|
+
log.info(...msg.map((m) => chalk.yellow.bold(m)));
|
|
1675
|
+
},
|
|
1676
|
+
success(...msg) {
|
|
1677
|
+
log.info(...msg.map((m) => chalk.green.bold(m)));
|
|
1678
|
+
}
|
|
1679
|
+
};
|
|
1680
|
+
|
|
1681
|
+
function handleIcon(options, url) {
|
|
1682
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1683
|
+
if (options.icon) {
|
|
1684
|
+
if (options.icon.startsWith('http')) {
|
|
1685
|
+
return downloadIcon(options.icon);
|
|
1686
|
+
}
|
|
1687
|
+
else {
|
|
1688
|
+
return path.resolve(options.icon);
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
if (!options.icon) {
|
|
1692
|
+
return inferIcon(options.name);
|
|
1693
|
+
}
|
|
1694
|
+
});
|
|
1695
|
+
}
|
|
1696
|
+
function inferIcon(name, url) {
|
|
1697
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1698
|
+
logger.info('You have not provided an app icon, use the default icon.(use --icon option to assign an icon)');
|
|
1699
|
+
const npmDirectory = path.join(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
1700
|
+
return path.join(npmDirectory, 'pake-default.icns');
|
|
1701
|
+
});
|
|
1702
|
+
}
|
|
1703
|
+
// export async function getIconFromPageUrl(url: string) {
|
|
1704
|
+
// const icon = await pageIcon(url);
|
|
1705
|
+
// console.log(icon);
|
|
1706
|
+
// if (icon.ext === '.ico') {
|
|
1707
|
+
// const a = await ICO.parse(icon.data);
|
|
1708
|
+
// icon.data = Buffer.from(a[0].buffer);
|
|
1709
|
+
// }
|
|
1710
|
+
// const iconDir = (await dir()).path;
|
|
1711
|
+
// const iconPath = path.join(iconDir, `/icon.icns`);
|
|
1712
|
+
// const out = png2icons.createICNS(icon.data, png2icons.BILINEAR, 0);
|
|
1713
|
+
// await fs.writeFile(iconPath, out);
|
|
1714
|
+
// return iconPath;
|
|
1715
|
+
// }
|
|
1716
|
+
// export async function getIconFromMacosIcons(name: string) {
|
|
1717
|
+
// const data = {
|
|
1718
|
+
// query: name,
|
|
1719
|
+
// filters: 'approved:true',
|
|
1720
|
+
// hitsPerPage: 10,
|
|
1721
|
+
// page: 1,
|
|
1722
|
+
// };
|
|
1723
|
+
// const res = await axios.post('https://p1txh7zfb3-2.algolianet.com/1/indexes/macOSicons/query?x-algolia-agent=Algolia%20for%20JavaScript%20(4.13.1)%3B%20Browser', data, {
|
|
1724
|
+
// headers: {
|
|
1725
|
+
// 'x-algolia-api-key': '0ba04276e457028f3e11e38696eab32c',
|
|
1726
|
+
// 'x-algolia-application-id': 'P1TXH7ZFB3',
|
|
1727
|
+
// },
|
|
1728
|
+
// });
|
|
1729
|
+
// if (!res.data.hits.length) {
|
|
1730
|
+
// return '';
|
|
1731
|
+
// } else {
|
|
1732
|
+
// return downloadIcon(res.data.hits[0].icnsUrl);
|
|
1733
|
+
// }
|
|
1734
|
+
// }
|
|
1735
|
+
function downloadIcon(iconUrl) {
|
|
1736
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1737
|
+
let iconResponse;
|
|
1738
|
+
try {
|
|
1739
|
+
iconResponse = yield axios.get(iconUrl, {
|
|
1740
|
+
responseType: 'arraybuffer',
|
|
1741
|
+
});
|
|
1742
|
+
}
|
|
1743
|
+
catch (error) {
|
|
1744
|
+
if (error.response && error.response.status === 404) {
|
|
1745
|
+
return null;
|
|
1746
|
+
}
|
|
1747
|
+
throw error;
|
|
1748
|
+
}
|
|
1749
|
+
const iconData = yield iconResponse.data;
|
|
1750
|
+
if (!iconData) {
|
|
1751
|
+
return null;
|
|
1752
|
+
}
|
|
1753
|
+
const fileDetails = yield fileTypeFromBuffer(iconData);
|
|
1754
|
+
if (!fileDetails) {
|
|
1755
|
+
return null;
|
|
1756
|
+
}
|
|
1757
|
+
const { path } = yield dir();
|
|
1758
|
+
const iconPath = `${path}/icon.${fileDetails.ext}`;
|
|
1759
|
+
yield fs.writeFile(iconPath, iconData);
|
|
1760
|
+
return iconPath;
|
|
1761
|
+
});
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
function handleOptions(options, url) {
|
|
1765
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1766
|
+
const appOptions = Object.assign(Object.assign({}, options), { identifier: '' });
|
|
1767
|
+
if (!appOptions.name) {
|
|
1768
|
+
appOptions.name = yield promptText('please input your application name', getDomain(url));
|
|
1769
|
+
}
|
|
1770
|
+
appOptions.identifier = getIdentifier(appOptions.name, url);
|
|
1771
|
+
appOptions.icon = yield handleIcon(appOptions);
|
|
1772
|
+
return appOptions;
|
|
1773
|
+
});
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
const IS_MAC = process.platform === 'darwin';
|
|
1777
|
+
const IS_WIN = process.platform === 'win32';
|
|
1778
|
+
const IS_LINUX = process.platform === 'linux';
|
|
1779
|
+
|
|
1780
|
+
function shellExec(command) {
|
|
1781
|
+
return new Promise((resolve, reject) => {
|
|
1782
|
+
shelljs.exec(command, { async: true, silent: false }, (code) => {
|
|
1783
|
+
if (code === 0) {
|
|
1784
|
+
resolve(0);
|
|
1785
|
+
}
|
|
1786
|
+
else {
|
|
1787
|
+
reject(new Error(`${code}`));
|
|
1788
|
+
}
|
|
1789
|
+
});
|
|
1790
|
+
});
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
const RustInstallScriptFocMac = "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y";
|
|
1794
|
+
const RustInstallScriptForWin = 'winget install --id Rustlang.Rustup';
|
|
1795
|
+
function installRust() {
|
|
1796
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1797
|
+
const spinner = ora('Downloading Rust').start();
|
|
1798
|
+
try {
|
|
1799
|
+
yield shellExec(IS_WIN ? RustInstallScriptForWin : RustInstallScriptFocMac);
|
|
1800
|
+
spinner.succeed();
|
|
1801
|
+
}
|
|
1802
|
+
catch (error) {
|
|
1803
|
+
console.error('install rust return code', error.message);
|
|
1804
|
+
spinner.fail();
|
|
1805
|
+
process.exit(1);
|
|
1806
|
+
}
|
|
1807
|
+
});
|
|
1808
|
+
}
|
|
1809
|
+
function checkRustInstalled() {
|
|
1810
|
+
return shelljs.exec('rustc --version', { silent: true }).code === 0;
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
var tauri$3 = {
|
|
1814
|
+
windows: [
|
|
1815
|
+
{
|
|
1816
|
+
url: "https://weread.qq.com/",
|
|
1817
|
+
transparent: true,
|
|
1818
|
+
fullscreen: false,
|
|
1819
|
+
width: 1200,
|
|
1820
|
+
height: 728,
|
|
1821
|
+
resizable: true
|
|
1822
|
+
}
|
|
1823
|
+
],
|
|
1824
|
+
security: {
|
|
1825
|
+
csp: null
|
|
1826
|
+
},
|
|
1827
|
+
updater: {
|
|
1828
|
+
active: false
|
|
1829
|
+
}
|
|
1830
|
+
};
|
|
1831
|
+
var build = {
|
|
1832
|
+
devPath: "../dist",
|
|
1833
|
+
distDir: "../dist",
|
|
1834
|
+
beforeBuildCommand: "",
|
|
1835
|
+
beforeDevCommand: ""
|
|
1836
|
+
};
|
|
1837
|
+
var CommonConf = {
|
|
1838
|
+
"package": {
|
|
1839
|
+
productName: "WeRead",
|
|
1840
|
+
version: "1.0.0"
|
|
1841
|
+
},
|
|
1842
|
+
tauri: tauri$3,
|
|
1843
|
+
build: build
|
|
1844
|
+
};
|
|
1845
|
+
|
|
1846
|
+
var tauri$2 = {
|
|
1847
|
+
bundle: {
|
|
1848
|
+
icon: [
|
|
1849
|
+
"png/weread_256.ico",
|
|
1850
|
+
"png/weread_32.ico"
|
|
1851
|
+
],
|
|
1852
|
+
identifier: "com.tw93.weread",
|
|
1853
|
+
active: true,
|
|
1854
|
+
category: "DeveloperTool",
|
|
1855
|
+
copyright: "",
|
|
1856
|
+
externalBin: [
|
|
1857
|
+
],
|
|
1858
|
+
longDescription: "",
|
|
1859
|
+
resources: [
|
|
1860
|
+
"png/weread_32.ico"
|
|
1861
|
+
],
|
|
1862
|
+
shortDescription: "",
|
|
1863
|
+
targets: [
|
|
1864
|
+
"msi"
|
|
1865
|
+
],
|
|
1866
|
+
windows: {
|
|
1867
|
+
certificateThumbprint: null,
|
|
1868
|
+
digestAlgorithm: "sha256",
|
|
1869
|
+
timestampUrl: "",
|
|
1870
|
+
wix: {
|
|
1871
|
+
language: [
|
|
1872
|
+
"en-US"
|
|
1873
|
+
]
|
|
1874
|
+
}
|
|
1875
|
+
}
|
|
1876
|
+
}
|
|
1877
|
+
};
|
|
1878
|
+
var WinConf = {
|
|
1879
|
+
tauri: tauri$2
|
|
1880
|
+
};
|
|
1881
|
+
|
|
1882
|
+
var tauri$1 = {
|
|
1883
|
+
bundle: {
|
|
1884
|
+
icon: [
|
|
1885
|
+
"icons/weread.icns"
|
|
1886
|
+
],
|
|
1887
|
+
identifier: "com.tw93.weread",
|
|
1888
|
+
active: true,
|
|
1889
|
+
category: "DeveloperTool",
|
|
1890
|
+
copyright: "",
|
|
1891
|
+
externalBin: [
|
|
1892
|
+
],
|
|
1893
|
+
longDescription: "",
|
|
1894
|
+
macOS: {
|
|
1895
|
+
entitlements: null,
|
|
1896
|
+
exceptionDomain: "",
|
|
1897
|
+
frameworks: [
|
|
1898
|
+
],
|
|
1899
|
+
providerShortName: null,
|
|
1900
|
+
signingIdentity: null
|
|
1901
|
+
},
|
|
1902
|
+
resources: [
|
|
1903
|
+
],
|
|
1904
|
+
shortDescription: "",
|
|
1905
|
+
targets: [
|
|
1906
|
+
"dmg"
|
|
1907
|
+
]
|
|
1908
|
+
}
|
|
1909
|
+
};
|
|
1910
|
+
var MacConf = {
|
|
1911
|
+
tauri: tauri$1
|
|
1912
|
+
};
|
|
1913
|
+
|
|
1914
|
+
var tauri = {
|
|
1915
|
+
bundle: {
|
|
1916
|
+
icon: [
|
|
1917
|
+
"png/weread_256.ico",
|
|
1918
|
+
"png/weread_512.png"
|
|
1919
|
+
],
|
|
1920
|
+
identifier: "com.tw93.weread",
|
|
1921
|
+
active: true,
|
|
1922
|
+
category: "DeveloperTool",
|
|
1923
|
+
copyright: "",
|
|
1924
|
+
deb: {
|
|
1925
|
+
depends: [
|
|
1926
|
+
"libwebkit2gtk-4.0-dev",
|
|
1927
|
+
"build-essential",
|
|
1928
|
+
"curl",
|
|
1929
|
+
"wget",
|
|
1930
|
+
"libssl-dev",
|
|
1931
|
+
"libgtk-3-dev",
|
|
1932
|
+
"libayatana-appindicator3-dev",
|
|
1933
|
+
"librsvg2-dev"
|
|
1934
|
+
],
|
|
1935
|
+
files: {
|
|
1936
|
+
"/usr/share/applications/com-tw93-weread.desktop": "assets/com-tw93-weread.desktop"
|
|
1937
|
+
}
|
|
1938
|
+
},
|
|
1939
|
+
externalBin: [
|
|
1940
|
+
],
|
|
1941
|
+
longDescription: "",
|
|
1942
|
+
resources: [
|
|
1943
|
+
],
|
|
1944
|
+
shortDescription: "",
|
|
1945
|
+
targets: [
|
|
1946
|
+
"deb"
|
|
1947
|
+
]
|
|
1948
|
+
}
|
|
1949
|
+
};
|
|
1950
|
+
var LinuxConf = {
|
|
1951
|
+
tauri: tauri
|
|
1952
|
+
};
|
|
1953
|
+
|
|
1954
|
+
let tauriConf = {
|
|
1955
|
+
package: CommonConf.package,
|
|
1956
|
+
tauri: CommonConf.tauri
|
|
1957
|
+
};
|
|
1958
|
+
switch (process.platform) {
|
|
1959
|
+
case "win32": {
|
|
1960
|
+
tauriConf.tauri.bundle = WinConf.tauri.bundle;
|
|
1961
|
+
break;
|
|
1962
|
+
}
|
|
1963
|
+
case "darwin": {
|
|
1964
|
+
tauriConf.tauri.bundle = MacConf.tauri.bundle;
|
|
1965
|
+
break;
|
|
1966
|
+
}
|
|
1967
|
+
case "linux": {
|
|
1968
|
+
tauriConf.tauri.bundle = LinuxConf.tauri.bundle;
|
|
1969
|
+
break;
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
|
|
1973
|
+
class MacBuilder {
|
|
1974
|
+
prepare() {
|
|
1975
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1976
|
+
if (checkRustInstalled()) {
|
|
1977
|
+
return;
|
|
1978
|
+
}
|
|
1979
|
+
const res = yield prompts({
|
|
1980
|
+
type: 'confirm',
|
|
1981
|
+
message: 'We detected that you have not installed Rust. Install it now?',
|
|
1982
|
+
name: 'value',
|
|
1983
|
+
});
|
|
1984
|
+
if (res.value) {
|
|
1985
|
+
// TODO 国内有可能会超时
|
|
1986
|
+
yield installRust();
|
|
1987
|
+
}
|
|
1988
|
+
else {
|
|
1989
|
+
log.error('Error: Pake need Rust to package your webapp!!!');
|
|
1990
|
+
process.exit(2);
|
|
1991
|
+
}
|
|
1992
|
+
});
|
|
1993
|
+
}
|
|
1994
|
+
build(url, options) {
|
|
1995
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1996
|
+
log.debug('PakeAppOptions', options);
|
|
1997
|
+
const { name } = options;
|
|
1998
|
+
yield mergeTauriConfig(url, options, tauriConf);
|
|
1999
|
+
yield shellExec(`cd ${npmDirectory} && npm install && npm run build:release`);
|
|
2000
|
+
let arch = "x64";
|
|
2001
|
+
if (process.arch === "arm64") {
|
|
2002
|
+
arch = "aarch64";
|
|
2003
|
+
}
|
|
2004
|
+
else {
|
|
2005
|
+
arch = process.arch;
|
|
2006
|
+
}
|
|
2007
|
+
const dmgName = `${name}_${tauriConf.package.version}_${arch}.dmg`;
|
|
2008
|
+
const appPath = this.getBuildedAppPath(npmDirectory, dmgName);
|
|
2009
|
+
const distPath = path.resolve(`${name}.dmg`);
|
|
2010
|
+
yield fs.copyFile(appPath, distPath);
|
|
2011
|
+
yield fs.unlink(appPath);
|
|
2012
|
+
logger.success('Build success!');
|
|
2013
|
+
logger.success('You can find the app installer in', distPath);
|
|
2014
|
+
});
|
|
2015
|
+
}
|
|
2016
|
+
getBuildedAppPath(npmDirectory, dmgName) {
|
|
2017
|
+
return path.join(npmDirectory, 'src-tauri/target/release/bundle/dmg', dmgName);
|
|
2018
|
+
}
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
class WinBuilder {
|
|
2022
|
+
prepare() {
|
|
2023
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2024
|
+
logger.info('To build the Windows app, you need to install Rust and VS Build Tools.');
|
|
2025
|
+
logger.info('See more in https://tauri.app/v1/guides/getting-started/prerequisites#installing\n');
|
|
2026
|
+
if (checkRustInstalled()) {
|
|
2027
|
+
return;
|
|
2028
|
+
}
|
|
2029
|
+
const res = yield prompts({
|
|
2030
|
+
type: 'confirm',
|
|
2031
|
+
message: 'We detected that you have not installed Rust. Install it now?',
|
|
2032
|
+
name: 'value',
|
|
2033
|
+
});
|
|
2034
|
+
if (res.value) {
|
|
2035
|
+
// TODO 国内有可能会超时
|
|
2036
|
+
yield installRust();
|
|
2037
|
+
}
|
|
2038
|
+
else {
|
|
2039
|
+
logger.error('Error: Pake needs Rust to package your webapp!!!');
|
|
2040
|
+
process.exit(2);
|
|
2041
|
+
}
|
|
2042
|
+
});
|
|
2043
|
+
}
|
|
2044
|
+
build(url, options) {
|
|
2045
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2046
|
+
logger.debug('PakeAppOptions', options);
|
|
2047
|
+
const { name } = options;
|
|
2048
|
+
yield mergeTauriConfig(url, options, tauriConf);
|
|
2049
|
+
yield shellExec(`cd ${npmDirectory} && npm install && npm run build:release`);
|
|
2050
|
+
const language = tauriConf.tauri.bundle.windows.wix.language[0];
|
|
2051
|
+
const arch = process.arch;
|
|
2052
|
+
const msiName = `${name}_${tauriConf.package.version}_${arch}_${language}.msi`;
|
|
2053
|
+
const appPath = this.getBuildedAppPath(npmDirectory, msiName);
|
|
2054
|
+
const distPath = path.resolve(`${name}.msi`);
|
|
2055
|
+
yield fs.copyFile(appPath, distPath);
|
|
2056
|
+
yield fs.unlink(appPath);
|
|
2057
|
+
logger.success('Build success!');
|
|
2058
|
+
logger.success('You can find the app installer in', distPath);
|
|
2059
|
+
});
|
|
2060
|
+
}
|
|
2061
|
+
getBuildedAppPath(npmDirectory, dmgName) {
|
|
2062
|
+
return path.join(npmDirectory, 'src-tauri/target/release/bundle/msi', dmgName);
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
class LinuxBuilder {
|
|
2067
|
+
prepare() {
|
|
2068
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2069
|
+
logger.info('To build the Linux app, you need to install Rust and Linux package');
|
|
2070
|
+
logger.info('See more in https://tauri.app/v1/guides/getting-started/prerequisites#installing\n');
|
|
2071
|
+
if (checkRustInstalled()) {
|
|
2072
|
+
return;
|
|
2073
|
+
}
|
|
2074
|
+
const res = yield prompts({
|
|
2075
|
+
type: 'confirm',
|
|
2076
|
+
message: 'We detected that you have not installed Rust. Install it now?',
|
|
2077
|
+
name: 'value',
|
|
2078
|
+
});
|
|
2079
|
+
if (res.value) {
|
|
2080
|
+
// TODO 国内有可能会超时
|
|
2081
|
+
yield installRust();
|
|
2082
|
+
}
|
|
2083
|
+
else {
|
|
2084
|
+
logger.error('Error: Pake needs Rust to package your webapp!!!');
|
|
2085
|
+
process.exit(2);
|
|
2086
|
+
}
|
|
2087
|
+
});
|
|
2088
|
+
}
|
|
2089
|
+
build(url, options) {
|
|
2090
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2091
|
+
logger.debug('PakeAppOptions', options);
|
|
2092
|
+
const { name } = options;
|
|
2093
|
+
yield mergeTauriConfig(url, options, tauriConf);
|
|
2094
|
+
// write desktop
|
|
2095
|
+
const assertSrc = `src-tauri/assets/${name}.desktop`;
|
|
2096
|
+
const assertPath = path.join(npmDirectory, assertSrc);
|
|
2097
|
+
const desktopStr = `
|
|
2098
|
+
[Desktop Entry]
|
|
2099
|
+
Encoding=UTF-8
|
|
2100
|
+
Categories=Office
|
|
2101
|
+
Exec=${name}
|
|
2102
|
+
Icon=${name}
|
|
2103
|
+
Name=${name}
|
|
2104
|
+
StartupNotify=true
|
|
2105
|
+
Terminal=false
|
|
2106
|
+
Type=Application
|
|
2107
|
+
`;
|
|
2108
|
+
yield fs.writeFile(assertPath, desktopStr);
|
|
2109
|
+
yield shellExec(`cd ${npmDirectory} && npm install && npm run build:release`);
|
|
2110
|
+
let arch = "";
|
|
2111
|
+
if (process.arch === "x64") {
|
|
2112
|
+
arch = "amd64";
|
|
2113
|
+
}
|
|
2114
|
+
else {
|
|
2115
|
+
arch = process.arch;
|
|
2116
|
+
}
|
|
2117
|
+
const debName = `${name}_${tauriConf.package.version}_${arch}.deb`;
|
|
2118
|
+
const appPath = this.getBuildedAppPath(npmDirectory, debName);
|
|
2119
|
+
const distPath = path.resolve(`${name}.deb`);
|
|
2120
|
+
yield fs.copyFile(appPath, distPath);
|
|
2121
|
+
yield fs.unlink(appPath);
|
|
2122
|
+
logger.success('Build success!');
|
|
2123
|
+
logger.success('You can find the app installer in', distPath);
|
|
2124
|
+
});
|
|
2125
|
+
}
|
|
2126
|
+
getBuildedAppPath(npmDirectory, dmgName) {
|
|
2127
|
+
return path.join(npmDirectory, 'src-tauri/target/release/bundle/deb', dmgName);
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
2130
|
+
|
|
2131
|
+
class BuilderFactory {
|
|
2132
|
+
static create() {
|
|
2133
|
+
console.log("now platform is ", process.platform);
|
|
2134
|
+
if (IS_MAC) {
|
|
2135
|
+
return new MacBuilder();
|
|
2136
|
+
}
|
|
2137
|
+
if (IS_WIN) {
|
|
2138
|
+
return new WinBuilder();
|
|
2139
|
+
}
|
|
2140
|
+
if (IS_LINUX) {
|
|
2141
|
+
return new LinuxBuilder();
|
|
2142
|
+
}
|
|
2143
|
+
throw new Error('The current system does not support!!');
|
|
2144
|
+
}
|
|
2145
|
+
}
|
|
2146
|
+
|
|
2147
|
+
var name = "pake-cli";
|
|
2148
|
+
var version = "0.1.1";
|
|
2149
|
+
var description = "🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App 🤱🏻 A simple way to make any web page a desktop application using Rust.";
|
|
2150
|
+
var bin = {
|
|
2151
|
+
pake: "./cli.js"
|
|
2152
|
+
};
|
|
2153
|
+
var repository = {
|
|
2154
|
+
type: "git",
|
|
2155
|
+
url: "https://github.com/tw93/pake.git"
|
|
2156
|
+
};
|
|
2157
|
+
var author = {
|
|
2158
|
+
name: "Tw93",
|
|
2159
|
+
email: "tw93@qq.com"
|
|
2160
|
+
};
|
|
2161
|
+
var files = [
|
|
2162
|
+
"dist",
|
|
2163
|
+
"src-tauri",
|
|
2164
|
+
"cli.js",
|
|
2165
|
+
"pake-default.icns"
|
|
2166
|
+
];
|
|
2167
|
+
var scripts = {
|
|
2168
|
+
start: "npm run dev",
|
|
2169
|
+
dev: "npm run tauri dev",
|
|
2170
|
+
"dev:debug": "npm run tauri dev -- --features devtools",
|
|
2171
|
+
"build:release": "npm run tauri build --release",
|
|
2172
|
+
"build:all-unix": "chmod +x ./script/build.sh && ./script/build.sh",
|
|
2173
|
+
"build:all-windows": ".\\script\\build.bat",
|
|
2174
|
+
tauri: "tauri",
|
|
2175
|
+
cli: "rollup -c rollup.config.js --watch",
|
|
2176
|
+
"cli:build": "cross-env NODE_ENV=production rollup -c rollup.config.js",
|
|
2177
|
+
"cli:publish": "npm run cli:build && npm publish"
|
|
2178
|
+
};
|
|
2179
|
+
var type = "module";
|
|
2180
|
+
var exports = "./dist/pake.js";
|
|
2181
|
+
var license = "MIT";
|
|
2182
|
+
var dependencies = {
|
|
2183
|
+
"@tauri-apps/api": "^1.2.0",
|
|
2184
|
+
"@tauri-apps/cli": "^1.2.1",
|
|
2185
|
+
axios: "^1.1.3",
|
|
2186
|
+
chalk: "^5.1.2",
|
|
2187
|
+
commander: "^9.4.1",
|
|
2188
|
+
"file-type": "^18.0.0",
|
|
2189
|
+
"is-url": "^1.2.4",
|
|
2190
|
+
loglevel: "^1.8.1",
|
|
2191
|
+
ora: "^6.1.2",
|
|
2192
|
+
prompts: "^2.4.2",
|
|
2193
|
+
shelljs: "^0.8.5",
|
|
2194
|
+
"tmp-promise": "^3.0.3",
|
|
2195
|
+
"update-notifier": "^6.0.2"
|
|
2196
|
+
};
|
|
2197
|
+
var devDependencies = {
|
|
2198
|
+
"@rollup/plugin-alias": "^4.0.2",
|
|
2199
|
+
"@rollup/plugin-commonjs": "^23.0.2",
|
|
2200
|
+
"@rollup/plugin-json": "^5.0.1",
|
|
2201
|
+
"@rollup/plugin-terser": "^0.1.0",
|
|
2202
|
+
"@rollup/plugin-typescript": "^9.0.2",
|
|
2203
|
+
"@types/is-url": "^1.2.30",
|
|
2204
|
+
"@types/page-icon": "^0.3.4",
|
|
2205
|
+
"@types/prompts": "^2.4.1",
|
|
2206
|
+
"@types/shelljs": "^0.8.11",
|
|
2207
|
+
"@types/tmp": "^0.2.3",
|
|
2208
|
+
"@types/update-notifier": "^6.0.1",
|
|
2209
|
+
"app-root-path": "^3.1.0",
|
|
2210
|
+
concurrently: "^7.5.0",
|
|
2211
|
+
"cross-env": "^7.0.3",
|
|
2212
|
+
rollup: "^3.3.0",
|
|
2213
|
+
tslib: "^2.4.1",
|
|
2214
|
+
typescript: "^4.9.3"
|
|
2215
|
+
};
|
|
2216
|
+
var packageJson = {
|
|
2217
|
+
name: name,
|
|
2218
|
+
version: version,
|
|
2219
|
+
description: description,
|
|
2220
|
+
bin: bin,
|
|
2221
|
+
repository: repository,
|
|
2222
|
+
author: author,
|
|
2223
|
+
files: files,
|
|
2224
|
+
scripts: scripts,
|
|
2225
|
+
type: type,
|
|
2226
|
+
exports: exports,
|
|
2227
|
+
license: license,
|
|
2228
|
+
dependencies: dependencies,
|
|
2229
|
+
devDependencies: devDependencies
|
|
2230
|
+
};
|
|
2231
|
+
|
|
2232
|
+
function checkUpdateTips() {
|
|
2233
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2234
|
+
updateNotifier({ pkg: packageJson }).notify();
|
|
2235
|
+
});
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
program.version(packageJson.version).description('A cli application can package a web page to desktop application.');
|
|
2239
|
+
program
|
|
2240
|
+
.showHelpAfterError()
|
|
2241
|
+
.argument('[url]', 'the web url you want to package', validateUrlInput)
|
|
2242
|
+
.option('--name <string>', 'application name')
|
|
2243
|
+
.option('--icon <string>', 'application icon', DEFAULT_PAKE_OPTIONS.icon)
|
|
2244
|
+
.option('--height <number>', 'window height', validateNumberInput, DEFAULT_PAKE_OPTIONS.height)
|
|
2245
|
+
.option('--width <number>', 'window width', validateNumberInput, DEFAULT_PAKE_OPTIONS.width)
|
|
2246
|
+
.option('--no-resizable', 'whether the window can be resizable', DEFAULT_PAKE_OPTIONS.resizable)
|
|
2247
|
+
.option('--fullscreen', 'makes the packaged app start in full screen', DEFAULT_PAKE_OPTIONS.fullscreen)
|
|
2248
|
+
.option('--transparent', 'transparent title bar', DEFAULT_PAKE_OPTIONS.transparent)
|
|
2249
|
+
.option('--debug', 'debug', DEFAULT_PAKE_OPTIONS.transparent)
|
|
2250
|
+
.action((url, options) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2251
|
+
checkUpdateTips();
|
|
2252
|
+
if (!url) {
|
|
2253
|
+
// 直接 pake 不需要出现url提示
|
|
2254
|
+
program.help();
|
|
2255
|
+
}
|
|
2256
|
+
log.setDefaultLevel('info');
|
|
2257
|
+
if (options.debug) {
|
|
2258
|
+
log.setLevel('debug');
|
|
2259
|
+
}
|
|
2260
|
+
const builder = BuilderFactory.create();
|
|
2261
|
+
yield builder.prepare();
|
|
2262
|
+
const appOptions = yield handleOptions(options, url);
|
|
2263
|
+
builder.build(url, appOptions);
|
|
2264
|
+
}));
|
|
2265
|
+
program.parse();
|