├── .gitignore ├── LICENSE ├── README.md ├── alist ├── AlistTool.js ├── 主页.js ├── 子页面-webdav上传文件.js ├── 子页面-代码.js ├── 子页面-全局搜索.js ├── 子页面-密码管理.js ├── 子页面-工具.js ├── 子页面-文件上传.js ├── 子页面-文件类型.js ├── 子页面-点击函数.js ├── 子页面-观看历史.js ├── 更新内容.md ├── 设置.js ├── 预处理.js └── 高级设置.js ├── class └── hikerClass.js ├── dp ├── ParseVersion.txt ├── Parse_Dn.js ├── batch_delete.html ├── 小白模式.js └── 解析测试.js ├── fastify_tvbox ├── myproject │ ├── .gitignore │ ├── README.md │ ├── app.js │ ├── package-lock.json │ ├── package.json │ ├── plugins │ │ ├── README.md │ │ ├── sensible.js │ │ └── support.js │ ├── routes │ │ ├── README.md │ │ ├── example │ │ │ └── index.js │ │ └── root.js │ └── test │ │ ├── helper.js │ │ ├── plugins │ │ └── support.test.js │ │ └── routes │ │ ├── example.test.js │ │ └── root.test.js └── 教程.md ├── footmanager └── 足迹管理器.js ├── house ├── $预处理.js ├── $预处理仓库.js ├── coding白嫖.js ├── 仓库主页.js ├── 仓库规则列表.js ├── 仓库规则详细-开发者.js ├── 仓库规则详细.js ├── 复活器.js ├── 接口管理.js ├── 更多分享.js ├── 白嫖对照.md ├── 聚影外挂.js ├── 视界.js ├── 选择文件.f.js └── 选择文件.f.min.js ├── html ├── Parse_Dn-vue.html ├── calendar.js ├── getVideo.html ├── xml2json.html ├── 主页时钟天气.html ├── 白色时钟.html └── 白色时钟旧.html ├── img ├── ai │ ├── 1.ai │ ├── 1.jpg │ ├── 2.jpg │ ├── alogo799.ai │ ├── alogo799.jpg │ └── 立体图标.jpg ├── big.png ├── cbgs.png ├── dao.png ├── house │ └── home.txt ├── icon │ ├── douban.png │ ├── icon │ ├── wandou.png │ └── xiaomi.png ├── lucky.png ├── meinv │ ├── home.txt │ ├── 兔女1.jpg │ ├── 小甜心_01.jpg │ ├── 海滩.png │ ├── 狐狸.png │ ├── 画师_BIYA_01.jpg │ ├── 画师_BIYA_02.jpg │ ├── 画师_BIYA_03.png │ ├── 美女_01.jpg │ ├── 美女_02.jpg │ ├── 美女_03.jpg │ ├── 美女_04.jpg │ ├── 美女_05.jpg │ ├── 美女_06.png │ ├── 美女_07.jpg │ ├── 美女_08.jpg │ ├── 美女_09.jpg │ ├── 美女_10.jpg │ ├── 美女_11.jpg │ ├── 美女_12.jpg │ ├── 美女_13.jpg │ ├── 美女_14.jpg │ ├── 美女_15.jpg │ ├── 美女_16.jpg │ ├── 美女_17.jpg │ ├── 美女_18.jpg │ ├── 美女_19.jpg │ ├── 美女_20.jpg │ ├── 美女_21.jpg │ ├── 美女_22.jpg │ ├── 美女_23.jpg │ ├── 美女_24.jpg │ ├── 美女_25.jpg │ ├── 美女_26.jpg │ ├── 美女_27.jpg │ ├── 美女_28.jpg │ ├── 美女_29.jpg │ ├── 美女_30.jpg │ ├── 美女_31.jpg │ └── 美女_32.jpg ├── yuedu │ ├── 01.jpg │ ├── 02.jpg │ ├── 03.jpg │ ├── 04.jpg │ ├── 05.jpg │ ├── 06.jpg │ ├── 07.jpg │ ├── 08.jpg │ ├── 09.jpg │ ├── 10.jpg │ ├── 11.jpg │ ├── 12.jpg │ ├── 13.jpg │ ├── 14.jpg │ ├── 15.jpg │ ├── 16.jpg │ ├── 17.jpg │ ├── 18.jpg │ ├── 19.jpg │ ├── 20.jpg │ ├── 21.jpg │ └── home.txt ├── 主题.svg ├── 文件类型 │ ├── ai.svg │ ├── apk.svg │ ├── avi.svg │ ├── css.svg │ ├── dmg.svg │ ├── exe.svg │ ├── flv.svg │ ├── gif.svg │ ├── hiker.svg │ ├── html.svg │ ├── iso.svg │ ├── jpg.svg │ ├── js.svg │ ├── json.svg │ ├── log.svg │ ├── mov.svg │ ├── mp3.svg │ ├── mp4.svg │ ├── otf.svg │ ├── php.svg │ ├── png.svg │ ├── ppt.svg │ ├── psd.svg │ ├── table.svg │ ├── txt.svg │ ├── wav.svg │ ├── xls.svg │ ├── zip.svg │ ├── 文件.svg │ └── 文件夹.svg ├── 文件类型2 │ ├── ai.svg │ ├── apk.svg │ ├── avi.svg │ ├── css.svg │ ├── dmg.svg │ ├── doc.svg │ ├── epub.svg │ ├── exc.svg │ ├── exe.svg │ ├── flv.svg │ ├── gif.svg │ ├── hiker.svg │ ├── htm.svg │ ├── html.svg │ ├── iso.svg │ ├── jpg.svg │ ├── js.svg │ ├── json.svg │ ├── log.svg │ ├── m3u8.svg │ ├── mov.svg │ ├── mp3.svg │ ├── mp4.svg │ ├── otf.svg │ ├── php.svg │ ├── png.svg │ ├── ppt.svg │ ├── psd.svg │ ├── txt.svg │ ├── wav.svg │ ├── xls.svg │ ├── xlsx.svg │ ├── zip.svg │ ├── 文件.svg │ └── 文件夹.svg ├── 道长仓库.svg └── 道长壁纸.png ├── index.html ├── js ├── File.js ├── ali.js ├── bookmark.txt ├── categories-header.js ├── classes2.dex ├── cms.js ├── cmsDemo.txt ├── dr.js ├── dr_help.md ├── dr模板.js ├── fileSelect.js ├── fileSelect.min.js ├── fxp.min.js ├── hikerUi.js ├── houseLazy.js ├── jiexis.txt ├── js修仙心得.js ├── lazy.js ├── logtail.html ├── logtail.js ├── logtail2.html ├── lsg.js ├── maotv.json ├── ruleEditor.js ├── subscribe.js ├── video.js ├── vue.js ├── vue.min.js ├── vue.small.js ├── wap_game │ ├── sweetalert-dev.js │ ├── sweetalert.css │ └── wap_game ├── xmljson.dex ├── zyw.js ├── 仓库公告.md ├── 依赖检测.js ├── 动态分类const.js ├── 多线路顺序优先.js ├── 小说搜索引擎搭建.md ├── 帮助.html ├── 更新.js ├── 自动模板匹配.js ├── 资源网预处理.js ├── 身份证.txt ├── 预处理.js └── 飞瓜.dex ├── json ├── hiker.json └── readme.txt ├── libs ├── cms.js ├── cmsm.js ├── cmspre.js ├── dr.js ├── drm.js ├── drmatch.js ├── drpre.js ├── drup.js ├── dt.js ├── file.js ├── fileSelect.js ├── hikerLibs.js ├── hikerUi.js ├── houseLazy.js ├── lazy.js ├── libcheck.js ├── lsg.js ├── ruleEditor.js ├── searchSug.js ├── sub.js ├── 依赖文件使用说明.md └── 小说净化.json ├── lunjian ├── dzlunjianinstallnew.js ├── dzlunjianinstallnew.min.js └── go_lib.js ├── odoo ├── odoo快捷键0722.exe ├── portainer │ ├── public.zip │ └── ubuntu安装docker.txt ├── pycharmForOdoo.e └── templates │ ├── Pycharm配置手册.md │ ├── odoo.xml │ └── opython.xml ├── plugins ├── $hiker.js ├── $hiker.min.js └── localStorage.js ├── py ├── cms_edit.py ├── flaskBljxDz.py ├── flaskOcrDz.py └── 批量重命名.py ├── static ├── redoc │ ├── bundles │ │ └── redoc.standalone.js │ └── favicon.png └── swagger-ui │ ├── favicon-32x32.png │ ├── swagger-ui-bundle.js │ └── swagger-ui.css ├── test └── 测试evalPrivateJs加$工具传参.js ├── theme └── djt.js ├── tvbox ├── local.json ├── plugin │ ├── py_ali.py │ ├── py_cokemv.py │ ├── py_genmov.py │ ├── py_gimytv.py │ ├── py_pansou.py │ ├── py_voflix.py │ ├── py_xmaomi.py │ ├── py_yanaifei.py │ └── py_zhaozy.py ├── py.json └── readme.md ├── vue_demo └── myapp │ ├── .gitignore │ ├── README.md │ ├── db.json │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── public │ └── favicon.ico │ ├── src │ ├── App.vue │ ├── assets │ │ ├── base.css │ │ ├── logo.svg │ │ └── main.css │ ├── components │ │ ├── HelloWorld.vue │ │ ├── TheWelcome.vue │ │ ├── WelcomeItem.vue │ │ └── icons │ │ │ ├── IconCommunity.vue │ │ │ ├── IconDocumentation.vue │ │ │ ├── IconEcosystem.vue │ │ │ ├── IconSupport.vue │ │ │ └── IconTooling.vue │ ├── main.js │ └── views │ │ └── Home.vue │ └── vite.config.js └── 加入购物车.js /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | lerna-debug.log* 8 | .pnpm-debug.log* 9 | 10 | # Diagnostic reports (https://nodejs.org/api/report.html) 11 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 12 | 13 | # Runtime data 14 | pids 15 | *.pid 16 | *.seed 17 | *.pid.lock 18 | 19 | # Directory for instrumented libs generated by jscoverage/JSCover 20 | lib-cov 21 | 22 | # Coverage directory used by tools like istanbul 23 | coverage 24 | *.lcov 25 | 26 | # nyc test coverage 27 | .nyc_output 28 | 29 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 30 | .grunt 31 | 32 | # Bower dependency directory (https://bower.io/) 33 | bower_components 34 | 35 | # node-waf configuration 36 | .lock-wscript 37 | 38 | # Compiled binary addons (https://nodejs.org/api/addons.html) 39 | build/Release 40 | 41 | # Dependency directories 42 | node_modules/ 43 | jspm_packages/ 44 | 45 | # Snowpack dependency directory (https://snowpack.dev/) 46 | web_modules/ 47 | 48 | # TypeScript cache 49 | *.tsbuildinfo 50 | 51 | # Optional npm cache directory 52 | .npm 53 | 54 | # Optional eslint cache 55 | .eslintcache 56 | 57 | # Optional stylelint cache 58 | .stylelintcache 59 | 60 | # Microbundle cache 61 | .rpt2_cache/ 62 | .rts2_cache_cjs/ 63 | .rts2_cache_es/ 64 | .rts2_cache_umd/ 65 | 66 | # Optional REPL history 67 | .node_repl_history 68 | 69 | # Output of 'npm pack' 70 | *.tgz 71 | 72 | # Yarn Integrity file 73 | .yarn-integrity 74 | 75 | # dotenv environment variable files 76 | .env 77 | .env.development.local 78 | .env.test.local 79 | .env.production.local 80 | .env.local 81 | 82 | # parcel-bundler cache (https://parceljs.org/) 83 | .cache 84 | .parcel-cache 85 | 86 | # Next.js build output 87 | .next 88 | out 89 | 90 | # Nuxt.js build / generate output 91 | .nuxt 92 | dist 93 | 94 | # Gatsby files 95 | .cache/ 96 | # Comment in the public line in if your project uses Gatsby and not Next.js 97 | # https://nextjs.org/blog/next-9-1#public-directory-support 98 | # public 99 | 100 | # vuepress build output 101 | .vuepress/dist 102 | 103 | # vuepress v2.x temp and cache directory 104 | .temp 105 | .cache 106 | 107 | # Docusaurus cache and generated files 108 | .docusaurus 109 | 110 | # Serverless directories 111 | .serverless/ 112 | 113 | # FuseBox cache 114 | .fusebox/ 115 | 116 | # DynamoDB Local files 117 | .dynamodb/ 118 | 119 | # TernJS port file 120 | .tern-port 121 | 122 | # Stores VSCode versions used for testing VSCode extensions 123 | .vscode-test 124 | 125 | # yarn v2 126 | .yarn/cache 127 | .yarn/unplugged 128 | .yarn/build-state.yml 129 | .yarn/install-state.gz 130 | .pnp.* 131 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # hiker海阔视界道长项目库 2 | 3 | #### 用户存放一些相关的静态文件以及插件依赖 4 | 5 | #### 文件变更日志 6 | 7 | ###### 2025.1.1 8 | 9 | * [本项目主页-免翻](https://git-proxy.playdreamer.cn/hjdhnx/hiker) 10 | * [本项目pages-cf](https://dr.playdreamer.cn) 11 | 12 | ###### 2024.10.7 13 | 14 | 由于gitcode开始做限制,大量直链提示请登录,无法正常访问,因此gitcode项目全部转移至github 15 | 项目中所有链接做了统一修改: 16 | 17 | ```text 18 | https://gitcode.net/qq_32394351/dr/-/raw/master/ 19 | ``` 20 | 21 | 修改为 22 | 23 | ```text 24 | https://dr.playdreamer.cn/ 25 | ``` 26 | 27 | ```text 28 | https://dr.playdreamer.cn/html/主页时钟天气.html 29 | ``` 30 | 31 | ###### 2022.07.28 32 | 33 | 由于coding开始做限制,大量直链提示请登录,无法正常访问,因此coding项目全部转移至gitcode 34 | 项目中所有链接做了统一修改: 35 | 36 | ```text 37 | https://hjdhnx.coding.net/p/hiker/d/dr/git/raw/master/ 38 | ``` 39 | 40 | 修改为 41 | 42 | ```text 43 | https://gitcode.net/qq_32394351/dr/-/raw/master/ 44 | ``` 45 | 46 | ```text 47 | http://dr.nokia.press/html/主页时钟天气.html 48 | ``` 49 | 50 | 上面这个地址是coding上的pages服务,暂无迁移,道德经刷新海报用的这个地址 51 | 52 | ### 代码格式化压缩成一行教程 53 | 54 | ```text 55 | npm install uglify-js -g 56 | uglifyjs xx.js -o xx.min.js 57 | 58 | 配置webstorm 59 | C:\Users\dashen\AppData\Roaming\npm\uglifyjs.cmd 60 | $FileName$ -o $FileNameWithoutExtension$.min.js 61 | $FileDir$ 62 | ``` 63 | 64 | ### 格式化教程 65 | 66 | ```text 67 | vscode安装插件 prettier 68 | webstorm安装插件 prettier 69 | 在设置里找到prettier配置保存时执行 70 | 对js文件右键,最下面的使用prettier重新格式化 71 | ``` 72 | 73 | ### 自动函数参数注释教程 74 | 75 | ```text 76 | 在函数上方输入 /**然后回车即可 77 | 完结 78 | ``` 79 | -------------------------------------------------------------------------------- /alist/AlistTool.js: -------------------------------------------------------------------------------- 1 | js: 2 | let d=[]; 3 | d.push({ 4 | title:'Alist订阅转换器by道长', 5 | url: 'hiker://empty', 6 | col_type: "text_1", 7 | desc: "可以把Pro版订阅转为普通版", 8 | }); 9 | 10 | d.push({ 11 | title:'Pro版订阅', 12 | desc:'输入Pro版订阅文本', 13 | col_type:'input', 14 | extra:{ 15 | height:4, 16 | type: "textarea", 17 | highlight:getMyVar('switch','开')==='开', 18 | defaultValue:getMyVar('input',''), 19 | onChange:'putMyVar("input",input)' 20 | } 21 | }); 22 | d.push({ 23 | title: '高亮开关:'+getMyVar('switch','开'), 24 | url: $('#noLoading#').lazyRule(()=>{ 25 | putMyVar('switch',getMyVar('switch','开')==='开'?'关':'开'); 26 | refreshPage(false); 27 | return 'hiker://empty' 28 | }), 29 | col_type: "text_3", 30 | }); 31 | 32 | d.push({ 33 | title: '清空输入', 34 | url: $('#noLoading#').lazyRule(()=>{ 35 | clearMyVar('input'); 36 | refreshPage(false); 37 | return 'hiker://empty' 38 | }), 39 | col_type: "text_3", 40 | }); 41 | d.push({ 42 | title: '清空输出', 43 | url: $('#noLoading#').lazyRule(()=>{ 44 | clearMyVar('output'); 45 | refreshPage(false); 46 | return 'hiker://empty' 47 | }), 48 | col_type: "text_3", 49 | }); 50 | 51 | d.push({ 52 | title:'开始转化', 53 | col_type:'text_center_1', 54 | url:$('#noLoading#').lazyRule(()=>{ 55 | input=getMyVar("input",''); 56 | if(!input){ 57 | return 'toast://啥也没有转换个鸡鸡?' 58 | } 59 | try{ 60 | let ret=eval(input); 61 | ret = ret.map((it)=>{ 62 | return { 63 | name:it.name, 64 | url:it.host 65 | } 66 | }); 67 | putMyVar("output",JSON.stringify(ret)); 68 | refreshPage(false); 69 | return 'toast://转换成功' 70 | }catch(e){ 71 | return 'toast://出错了!'+e.message 72 | } 73 | }) 74 | }); 75 | d.push({ 76 | title:'普通版订阅', 77 | desc:'输出普通版订阅文本', 78 | col_type:'input', 79 | extra:{ 80 | defaultValue:getMyVar('output',''), 81 | height:4, 82 | highlight:getMyVar('switch','开')==='开', 83 | type: "textarea", 84 | onChange:'putMyVar("output",input)' 85 | } 86 | }); 87 | d.push({ 88 | title:'复制转换结果', 89 | col_type:'text_center_1', 90 | url:$('#noLoading#').lazyRule(()=>{ 91 | let output=getMyVar('output',''); 92 | if(!output){ 93 | return 'toast://啥也没有复制个鸡鸡?' 94 | } 95 | try{ 96 | let ret=JSON.stringify(eval(output)); 97 | return 'copy://'+ret 98 | }catch(e){ 99 | return 'toast://出错了!'+e.message 100 | } 101 | 102 | }) 103 | }); 104 | setResult(d) -------------------------------------------------------------------------------- /alist/子页面-webdav上传文件.js: -------------------------------------------------------------------------------- 1 | js: 2 | let d=[]; 3 | setPageTitle('Alist|webdav上传'); 4 | addListener('onClose', $.toString(() => { 5 | refreshPage(false); //刷新 6 | })); 7 | d.push({ 8 | title: '上传☁️', 9 | url: $.toString(()=>{ 10 | let input = getMyVar('webdav_path',''); 11 | if(!/^(hiker|file|\/storage\/|\/sdcard\/)/.test(input)){ 12 | return 'toast://文件路径有误!' 13 | } 14 | showLoading("上传中,请稍候"); 15 | let sub_urls = $.get_sub_urls(); 16 | let rstrip = $.rstrip; 17 | var base_path = rstrip(getMyVar("baseurl", sub_urls[0].url), '/'); 18 | var path = getMyVar("path", ""); 19 | let nowSub = sub_urls.find(x=>rstrip(x.url,'/')===base_path); 20 | let url = base_path +'/dav'+path; 21 | let name = input.split("/").slice(-1)[0]; 22 | log(`开始将${name}上传至${url}`); 23 | let webdav = buildWebDav(url, nowSub.webdav.user, nowSub.webdav.pwd); 24 | webdav.upload(name, input); 25 | hideLoading(); 26 | refreshPage(false); 27 | return "toast://上传完毕,可以在此继续选择文件上传或者返回上级查看成功的文件" 28 | }), 29 | col_type: "input", 30 | desc: "待上传的文件路径,支持hiker://,file://,/storage/开头", 31 | pic_url: "", 32 | extra:{ 33 | height:3, 34 | type:'textarea', 35 | id:'webdav_path', 36 | defaultValue:getMyVar('webdav_path',''), 37 | onChange:"putMyVar('webdav_path',input)", 38 | } 39 | }); 40 | d.push({ 41 | title: "选择文件路径", 42 | url:$('#noLoading#').lazyRule(()=>{ 43 | let fp=config.lib.fileSelect; 44 | let f=$.rc(fp); 45 | return f.fileSelectionUri({ 46 | callback: $.toString(() => { 47 | let target = findItem("webdav_path").extra; 48 | updateItem("webdav_path", { 49 | extra: Object.assign(target, { 50 | defaultValue: PATH 51 | }) 52 | }); 53 | putMyVar('webdav_path',PATH); 54 | return true; 55 | }), 56 | onClickType:'confirm', 57 | fileType: "", 58 | pattern: 0, 59 | requireUrl:fp, 60 | initialPath:getPath('hiker://files/').slice(7), 61 | memory:'true', 62 | }); 63 | }), 64 | col_type: "text_center_1", 65 | }); 66 | 67 | setResult(d) -------------------------------------------------------------------------------- /alist/子页面-文件类型.js: -------------------------------------------------------------------------------- 1 | const type_dict = { 2 | 0: 'zip|exe|apk|crx', 3 | 1: '文件夹', 4 | 2: 'pdf|xls|doc', 5 | 3: 'mp4|mkv|mp3|flv', 6 | 4: '?', 7 | 5: 'md|txt|json|js', 8 | 6: 'gif|jpg|hiec', 9 | } 10 | 11 | function get_icon_dict() { 12 | let root = 'https://dr.playdreamer.cn/img/文件类型/'; 13 | return { 14 | 0: root + 'zip.svg', 15 | 1: root + '文件夹.svg', 16 | 2: root + '文件.svg', 17 | 3: root + 'mp4.svg', 18 | 4: root + '文件.svg', 19 | 5: root + '文件.svg', 20 | 6: root + 'gif.svg', 21 | } 22 | } 23 | let iconStyles = [{ 24 | name:'默认', 25 | url:'https://dr.playdreamer.cn/img/文件类型/' 26 | },{ 27 | name:'蓝莓', 28 | url:'https://dr.playdreamer.cn/img/文件类型2/' 29 | }]; 30 | let iconStyle = getItem('iconStyle','默认'); 31 | let nowStyle = iconStyles.find(x=>x.name===iconStyle); 32 | let iconRoot = nowStyle?nowStyle.url:iconStyles[0].url; 33 | 34 | function get_icons() { 35 | // let root = 'https://dr.playdreamer.cn/img/文件类型/'; 36 | let root = iconRoot; 37 | let files = 'ai|apk|avi|css|dmg|exe|flv|gif|hiker|html|iso|jpg|js|json|log|mov|mp3|mp4|otf|php|png|ppt|psd|table|txt|wav|xls|zip|文件|文件夹'.split('|'); 38 | let obj = {}; 39 | files.forEach((it) => { 40 | obj[it] = root + it + '.svg'; 41 | }); 42 | return obj 43 | } 44 | 45 | function isOffice(url){ 46 | let str='doc|docx|docm|dotm|dotx|xlsx|xlsb|xls|xlsm|pptx|ppsx|ppt|pps|pptm|potm|ppam|potx|ppsm'.split('|').map(it=>'\\.'+it+'$').join('|'); 47 | let mc=new RegExp(str); 48 | return mc.test(url); 49 | } 50 | 51 | $.exports.type_dict = type_dict; 52 | $.exports.get_icon_dict = get_icon_dict; 53 | $.exports.get_icons = get_icons; 54 | $.exports.isOffice = isOffice; 55 | $.exports.iconStyles = iconStyles; 56 | -------------------------------------------------------------------------------- /alist/子页面-观看历史.js: -------------------------------------------------------------------------------- 1 | js: 2 | var d = []; 3 | setPageTitle('Alist|观影历史'); 4 | const {color,small} = $.require('hiker://page/utils'); 5 | d.push({ 6 | title: "清空", 7 | url: $('确认清空历史记录?').confirm(() => { 8 | // deleteFile('view_history.json'); 9 | saveFile('view_history.json','[]',0); 10 | refreshPage(false); 11 | return "toast://观影历史已清空!" 12 | }), 13 | col_type: "text_3" 14 | }); 15 | let hisPath = `hiker://files/rules/files/${MY_RULE.title}/view_history.json`; 16 | d.push({ 17 | title: "编辑", 18 | url: $('#noLoading#').lazyRule((hisPath)=>{ 19 | if(!fileExist(hisPath)){ 20 | saveFile('view_history.json','[]',0); 21 | } 22 | return 'editFile://'+hisPath 23 | },hisPath), 24 | col_type: "text_3" 25 | }); 26 | let option = getItem('his_click','播放'); 27 | d.push({ 28 | title: option==='播放'?option:color(option,'#ab2415'), 29 | url: $('#noLoading#').lazyRule((color)=>{ 30 | let option = getItem('his_click','播放'); 31 | let nextOption = option === '播放'?'删除':'播放'; 32 | setItem('his_click',nextOption); 33 | updateItem("his_click", { 34 | title:nextOption==='播放'?nextOption:color(nextOption,'#ab2415') 35 | }); 36 | refreshPage(false); 37 | return 'hiker://empty' 38 | },color), 39 | col_type: "text_3", 40 | extra:{ 41 | id:'his_click' 42 | } 43 | }); 44 | let view_history = JSON.parse(readFile('view_history.json', 0) || '[]'); 45 | if(view_history.length > 0){ 46 | view_history.forEach((it)=>{ 47 | it.col_type = 'text_1'; 48 | if(option==='删除'){ 49 | it.url = $('#noLoading#').lazyRule((id)=>{ 50 | let view_history = JSON.parse(readFile('view_history.json', 0) || '[]'); 51 | let idex = view_history.findIndex(x=>x.extra.id === id); 52 | view_history.splice(idex,1); 53 | saveFile('view_history.json', JSON.stringify(view_history),0); 54 | refreshPage(false); 55 | return 'hiker://empty' 56 | },it.extra.id); 57 | } 58 | d.push(it); 59 | }); 60 | }else{ 61 | d.push({ 62 | title:'暂无观影记录,先去观看一个视频吧!', 63 | col_type:'text_center_1', 64 | url:'hiker://empty' 65 | }); 66 | } 67 | setResult(d); -------------------------------------------------------------------------------- /alist/更新内容.md: -------------------------------------------------------------------------------- 1 | ### 2022/08/20 2 | 1. 验证并保存webdav账号密码增加了try catch 3 | 2. 对支持webdav的文件增加点击事件为菜单时可以删除文件(暂不支持删目录) 4 | 5 | ### 2022/08/18 6 | 1. 设置-单击订阅-密码管理里可以配置某个订阅的webdav账号密码 7 | 2. 对配置了账号密码的alist目录非顶级目录显示创建,上传功能(基于webdav) 8 | 9 | ### 2022/08/15 10 | 1. 细节优化文本预览功能同Pro版 11 | 2. 细节优化观影历史支持切换点击模式为删除/播放,可单删历史了 12 | 3. 细节优化订阅分享支持单选编码分享,含密码分享或者无密码分享 13 | 4. 新增订阅导入和全编码分享功能(询问是否分享密码) 14 | 5. 优化点击模式为打开时的视频文件直链,可投屏 15 | 16 | ### 2022/08/13 17 | 1. 增加文件上传功能,90%代码搬自pro版 18 | 2. 高级设置增加图标风格切换按钮。可选默认/蓝莓 19 | 3. 过滤支持前面写!实现逆向筛选 20 | 4. 修复单个保存订阅的去重异常问题 21 | 5. 增加全局搜索功能,支持高级设置每页数量,翻页。 22 | 6. 特殊优化全局搜索结果同步主页点击效果(支持字幕) 23 | 7. 自定义过滤此支持!开头表示反向过滤 24 | 25 | ### 2022/08/12 26 | 1. 去除全部按钮的loading等待黑窗口,增加视觉体验 27 | 2. 按名称排序拷贝了pro版逻辑,观剧体验更精准 28 | 3. 主页返回上级按钮2个点改为3个点,更标准 29 | 4. 主页分割线将排序和筛选按钮笼进去 30 | 5. 主页时间按钮后面增加筛选按钮,可以筛选全部,文件夹,文件类型。追剧的朋友到文件夹后可以筛选文件。 31 | 避免文件夹与文件混搭的情况追剧不方便自动下一集 32 | 6. 增加搜索按钮,支持正则表达式对文件名进行搜索 33 | 7. 兼容道德经里全功能正常使用,优化点击操作为菜单时的加载速度 34 | 8. 智能判断自动链接补齐http:或https: 35 | 9. 增加设置-外挂字幕开关,及开关打开后点击媒体文件执行的自动匹配逻辑 36 | 10. 增加设置-高级设置,可自定义切换目录自动清除搜索 37 | 11. 增加自定义过滤条件,能附加到主页(开发中) 38 | 12. 完成高级设置相关功能,增加自定义过滤和示例 39 | 13. 增加观影历史,按钮位置在搜索按钮之后方便点击 40 | 观影历史逻辑为存本地私有文件,支持自动置顶和续播,字幕,不会重复 41 | 14. 文档预览增加doc格式 42 | 15. 自定义过滤支持启用/禁用(不需要删除) 43 | 44 | ### 画大饼的功能(基本没法实现) 45 | - [X] 1.自动挂载字幕和弹幕 46 | - [ ] 2.访客上传功能 47 | - [ ] 3.转码播放(解决阿里违禁视频问题) 48 | 49 | 50 | ### alist普通版和alistPro版区别 51 | ```text 52 | alistPro 共计 1700行左右代码,alist 共计 1100行左右代码 53 | 普通版相比pro版功耗体积下降 35% [ (1700-1100)/1700 ] 54 | pro版相比普通版功耗体积增加 55% [ (1700-1100)/1100 ] 55 | pro版支持动态元素,界面更丝滑,子页面更多。修改难度较高 56 | 普通版功能传统简单,菜字开头的人员都能任意修改 57 | 普通版可以在道德经/轻合集里完美使用,pro版不支持轻合集 58 | ``` -------------------------------------------------------------------------------- /alist/预处理.js: -------------------------------------------------------------------------------- 1 | $.require('hiker://page/libs?rule=道长仓库Pro'); 2 | if (!(getAppVersion() < 3204)) { 3 | const {getU}=$.require('hiker://page/api'); 4 | const {isOffice}=$.require('hiker://page/fileType'); 5 | const {similar,removeExt,saveHistory,renderText}=$.require('hiker://page/utils'); 6 | $.extend({ 7 | get_sub_urls() { 8 | let sub_urls = JSON.parse(readFile('sub_urls.json', 0) || '[]'); 9 | if (sub_urls.length < 1) { 10 | sub_urls = this.sub_urls; 11 | } 12 | return sub_urls 13 | }, 14 | getU:getU, 15 | isOffice:isOffice, 16 | similar:similar, 17 | removeExt:removeExt, 18 | saveHistory:saveHistory, 19 | renderText:renderText, 20 | lstrip(string,char){//去除左边指定字符 21 | return string.replace(new RegExp('^\\'+char+'+', 'g'), ''); 22 | }, 23 | rstrip(string,char){//去除右边指定字符 24 | return string.replace(new RegExp('\\'+char+'+$', 'g'), ''); 25 | }, 26 | strip(string,char){//去除两边指定字符 27 | return string.replace(new RegExp('^\\'+char+'+|\\'+char+'+$', 'g'), ''); 28 | }, 29 | getTimeOut(){ 30 | return Number(getItem('timeout',this.timeout+'')) 31 | }, 32 | timeout:3500, 33 | sub_urls: [{ 34 | name: '小棉袄仓库', 35 | url: 'http://pan.haikuoshijie.cn/', 36 | }, { 37 | name: '嗨翻', 38 | url: 'https://pan.hikerfans.com/', 39 | }, { 40 | name: '非盘', 41 | url: 'http://www.feifwp.top/', 42 | }, { 43 | name: '姬路白雪', 44 | url: 'https://pan.jlbx.xyz/', 45 | }, { 46 | name: '听闻', 47 | url: 'https://wangpan.sangxuesheng.com/', 48 | }, { 49 | name: 'Joe自用', 50 | url: 'http://joegu.tk/', 51 | }], 52 | }); 53 | } -------------------------------------------------------------------------------- /class/hikerClass.js: -------------------------------------------------------------------------------- 1 | class 组件{ 2 | // 构造函数 3 | constructor(carname){ 4 | this.carname = carname 5 | } 6 | // 行驶 7 | move(){ 8 | log(this.carname+"我可以移动") 9 | } 10 | } 11 | 12 | class 工具{ 13 | // 构造函数 14 | constructor(carname){ 15 | this.carname = carname 16 | } 17 | // 行驶 18 | move(){ 19 | log(this.carname+"我可以移动") 20 | } 21 | } 22 | 23 | 24 | class 模板{ 25 | // 构造函数 26 | constructor(carname){ 27 | this.carname = carname 28 | } 29 | // 行驶 30 | move(){ 31 | log(this.carname+"我可以移动") 32 | } 33 | } -------------------------------------------------------------------------------- /dp/ParseVersion.txt: -------------------------------------------------------------------------------- 1 | 3.49220803 -------------------------------------------------------------------------------- /fastify_tvbox/myproject/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | 6 | # Runtime data 7 | pids 8 | *.pid 9 | *.seed 10 | 11 | # Directory for instrumented libs generated by jscoverage/JSCover 12 | lib-cov 13 | 14 | # Coverage directory used by tools like istanbul 15 | coverage 16 | 17 | # nyc test coverage 18 | .nyc_output 19 | 20 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 21 | .grunt 22 | 23 | # node-waf configuration 24 | .lock-wscript 25 | 26 | # Compiled binary addons (http://nodejs.org/api/addons.html) 27 | build/Release 28 | 29 | # Dependency directories 30 | node_modules 31 | jspm_packages 32 | 33 | # Optional npm cache directory 34 | .npm 35 | 36 | # Optional REPL history 37 | .node_repl_history 38 | 39 | # 0x 40 | profile-* 41 | 42 | # mac files 43 | .DS_Store 44 | 45 | # vim swap files 46 | *.swp 47 | 48 | # webstorm 49 | .idea 50 | 51 | # vscode 52 | .vscode 53 | *code-workspace 54 | 55 | # clinic 56 | profile* 57 | *clinic* 58 | *flamegraph* 59 | -------------------------------------------------------------------------------- /fastify_tvbox/myproject/README.md: -------------------------------------------------------------------------------- 1 | # Getting Started with [Fastify-CLI](https://www.npmjs.com/package/fastify-cli) 2 | This project was bootstrapped with Fastify-CLI. 3 | 4 | ## Available Scripts 5 | 6 | In the project directory, you can run: 7 | 8 | ### `npm run dev` 9 | 10 | To start the app in dev mode.\ 11 | Open [http://localhost:3000](http://localhost:3000) to view it in the browser. 12 | 13 | ### `npm start` 14 | 15 | For production mode 16 | 17 | ### `npm run test` 18 | 19 | Run the test cases. 20 | 21 | ## Learn More 22 | 23 | To learn Fastify, check out the [Fastify documentation](https://www.fastify.io/docs/latest/). 24 | -------------------------------------------------------------------------------- /fastify_tvbox/myproject/app.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const path = require('path') 4 | const AutoLoad = require('@fastify/autoload') 5 | 6 | module.exports = async function (fastify, opts) { 7 | // Place here your custom code! 8 | 9 | // Do not touch the following lines 10 | 11 | // This loads all plugins defined in plugins 12 | // those should be support plugins that are reused 13 | // through your application 14 | fastify.register(AutoLoad, { 15 | dir: path.join(__dirname, 'plugins'), 16 | options: Object.assign({}, opts) 17 | }) 18 | 19 | // This loads all plugins defined in routes 20 | // define your routes in one of these 21 | fastify.register(AutoLoad, { 22 | dir: path.join(__dirname, 'routes'), 23 | options: Object.assign({}, opts) 24 | }) 25 | } 26 | -------------------------------------------------------------------------------- /fastify_tvbox/myproject/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "myproject", 3 | "version": "1.0.0", 4 | "description": "This project was bootstrapped with Fastify-CLI.", 5 | "main": "app.js", 6 | "directories": { 7 | "test": "test" 8 | }, 9 | "scripts": { 10 | "test": "tap \"test/**/*.test.js\"", 11 | "start": "fastify start -l info app.js", 12 | "dev": "fastify start -w -l info -P app.js" 13 | }, 14 | "keywords": [], 15 | "author": "", 16 | "license": "ISC", 17 | "dependencies": { 18 | "@fastify/autoload": "^5.0.0", 19 | "@fastify/sensible": "^5.0.0", 20 | "fastify": "^4.5.2", 21 | "fastify-cli": "^5.1.0", 22 | "fastify-plugin": "^4.0.0" 23 | }, 24 | "devDependencies": { 25 | "tap": "^16.1.0" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /fastify_tvbox/myproject/plugins/README.md: -------------------------------------------------------------------------------- 1 | # Plugins Folder 2 | 3 | Plugins define behavior that is common to all the routes in your 4 | application. Authentication, caching, templates, and all the other cross 5 | cutting concerns should be handled by plugins placed in this folder. 6 | 7 | Files in this folder are typically defined through the 8 | [`fastify-plugin`](https://github.com/fastify/fastify-plugin) module, 9 | making them non-encapsulated. They can define decorators and set hooks 10 | that will then be used in the rest of your application. 11 | 12 | Check out: 13 | 14 | * [The hitchhiker's guide to plugins](https://www.fastify.io/docs/latest/Guides/Plugins-Guide/) 15 | * [Fastify decorators](https://www.fastify.io/docs/latest/Reference/Decorators/). 16 | * [Fastify lifecycle](https://www.fastify.io/docs/latest/Reference/Lifecycle/). 17 | -------------------------------------------------------------------------------- /fastify_tvbox/myproject/plugins/sensible.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fp = require('fastify-plugin') 4 | 5 | /** 6 | * This plugins adds some utilities to handle http errors 7 | * 8 | * @see https://github.com/fastify/fastify-sensible 9 | */ 10 | module.exports = fp(async function (fastify, opts) { 11 | fastify.register(require('@fastify/sensible'), { 12 | errorHandler: false 13 | }) 14 | }) 15 | -------------------------------------------------------------------------------- /fastify_tvbox/myproject/plugins/support.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fp = require('fastify-plugin') 4 | 5 | // the use of fastify-plugin is required to be able 6 | // to export the decorators to the outer scope 7 | 8 | module.exports = fp(async function (fastify, opts) { 9 | fastify.decorate('someSupport', function () { 10 | return 'hugs' 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /fastify_tvbox/myproject/routes/README.md: -------------------------------------------------------------------------------- 1 | # Routes Folder 2 | 3 | Routes define routes within your application. Fastify provides an 4 | easy path to a microservice architecture, in the future you might want 5 | to independently deploy some of those. 6 | 7 | In this folder you should define all the routes that define the endpoints 8 | of your web application. 9 | Each service is a [Fastify 10 | plugin](https://www.fastify.io/docs/latest/Reference/Plugins/), it is 11 | encapsulated (it can have its own independent plugins) and it is 12 | typically stored in a file; be careful to group your routes logically, 13 | e.g. all `/users` routes in a `users.js` file. We have added 14 | a `root.js` file for you with a '/' root added. 15 | 16 | If a single file become too large, create a folder and add a `index.js` file there: 17 | this file must be a Fastify plugin, and it will be loaded automatically 18 | by the application. You can now add as many files as you want inside that folder. 19 | In this way you can create complex routes within a single monolith, 20 | and eventually extract them. 21 | 22 | If you need to share functionality between routes, place that 23 | functionality into the `plugins` folder, and share it via 24 | [decorators](https://www.fastify.io/docs/latest/Reference/Decorators/). 25 | 26 | If you're a bit confused about using `async/await` to write routes, you would 27 | better take a look at [Promise resolution](https://www.fastify.io/docs/latest/Reference/Routes/#promise-resolution) for more details. 28 | -------------------------------------------------------------------------------- /fastify_tvbox/myproject/routes/example/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = async function (fastify, opts) { 4 | fastify.get('/', async function (request, reply) { 5 | return 'this is an example' 6 | }) 7 | } 8 | -------------------------------------------------------------------------------- /fastify_tvbox/myproject/routes/root.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = async function (fastify, opts) { 4 | fastify.get('/', async function (request, reply) { 5 | return { root: true } 6 | }) 7 | } 8 | -------------------------------------------------------------------------------- /fastify_tvbox/myproject/test/helper.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // This file contains code that we reuse 4 | // between our tests. 5 | 6 | const { build: buildApplication } = require('fastify-cli/helper') 7 | const path = require('path') 8 | const AppPath = path.join(__dirname, '..', 'app.js') 9 | 10 | // Fill in this config with all the configurations 11 | // needed for testing the application 12 | function config () { 13 | return {} 14 | } 15 | 16 | // automatically build and tear down our instance 17 | async function build (t) { 18 | // you can set all the options supported by the fastify CLI command 19 | const argv = [AppPath] 20 | 21 | // fastify-plugin ensures that all decorators 22 | // are exposed for testing purposes, this is 23 | // different from the production setup 24 | const app = await buildApplication(argv, config()) 25 | 26 | // tear down our app after we are done 27 | t.teardown(app.close.bind(app)) 28 | 29 | return app 30 | } 31 | 32 | module.exports = { 33 | config, 34 | build 35 | } 36 | -------------------------------------------------------------------------------- /fastify_tvbox/myproject/test/plugins/support.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const { test } = require('tap') 4 | const Fastify = require('fastify') 5 | const Support = require('../../plugins/support') 6 | 7 | test('support works standalone', async (t) => { 8 | const fastify = Fastify() 9 | fastify.register(Support) 10 | 11 | await fastify.ready() 12 | t.equal(fastify.someSupport(), 'hugs') 13 | }) 14 | 15 | // You can also use plugin with opts in fastify v2 16 | // 17 | // test('support works standalone', (t) => { 18 | // t.plan(2) 19 | // const fastify = Fastify() 20 | // fastify.register(Support) 21 | // 22 | // fastify.ready((err) => { 23 | // t.error(err) 24 | // t.equal(fastify.someSupport(), 'hugs') 25 | // }) 26 | // }) 27 | -------------------------------------------------------------------------------- /fastify_tvbox/myproject/test/routes/example.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const { test } = require('tap') 4 | const { build } = require('../helper') 5 | 6 | test('example is loaded', async (t) => { 7 | const app = await build(t) 8 | 9 | const res = await app.inject({ 10 | url: '/example' 11 | }) 12 | t.equal(res.payload, 'this is an example') 13 | }) 14 | 15 | // inject callback style: 16 | // 17 | // test('example is loaded', (t) => { 18 | // t.plan(2) 19 | // const app = await build(t) 20 | // 21 | // app.inject({ 22 | // url: '/example' 23 | // }, (err, res) => { 24 | // t.error(err) 25 | // t.equal(res.payload, 'this is an example') 26 | // }) 27 | // }) 28 | -------------------------------------------------------------------------------- /fastify_tvbox/myproject/test/routes/root.test.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const { test } = require('tap') 4 | const { build } = require('../helper') 5 | 6 | test('default root route', async (t) => { 7 | const app = await build(t) 8 | 9 | const res = await app.inject({ 10 | url: '/' 11 | }) 12 | t.same(JSON.parse(res.payload), { root: true }) 13 | }) 14 | 15 | // inject callback style: 16 | // 17 | // test('default root route', (t) => { 18 | // t.plan(2) 19 | // const app = await build(t) 20 | // 21 | // app.inject({ 22 | // url: '/' 23 | // }, (err, res) => { 24 | // t.error(err) 25 | // t.same(JSON.parse(res.payload), { root: true }) 26 | // }) 27 | // }) 28 | -------------------------------------------------------------------------------- /fastify_tvbox/教程.md: -------------------------------------------------------------------------------- 1 | ### nodejs最快的web框架fastity 2 | [教程看这里](https://www.w3cschool.cn/fastify/fastify-47ju35zi.html) -------------------------------------------------------------------------------- /footmanager/足迹管理器.js: -------------------------------------------------------------------------------- 1 | js: 2 | var d = []; 3 | const {color, small} = $.require("hiker://page/utiliy?rule=道长仓库Pro"); 4 | let t1=(new Date()).getTime(); // 记录获取历史或者收藏的耗时 5 | let mode = getItem('mode','历史'); 6 | let options = ['历史','收藏'].map(x=>x === mode ? color(x,'#12b668') : x); 7 | options.forEach(it=>{ 8 | d.push({ 9 | title: it, 10 | col_type:'scroll_button', 11 | url:$('#noLoading#').lazyRule((it)=>{ 12 | it = pdfh(it,'body&&Text').replace('““””',''); 13 | setItem('mode',it); 14 | refreshPage(false); 15 | return 'hiker://empty' 16 | },it) 17 | }) 18 | }); 19 | let route = mode === '历史' ? 'hiker://history': 'hiker://collection'; 20 | let code = fetch(route); 21 | let arr = JSON.parse(code)||'[]'; 22 | let his = []; 23 | if(arr.length > 0){ 24 | let show = `${mode} 共有至少以下属性:${Object.keys(arr[0]).join(',')}` 25 | log(show); 26 | } 27 | arr.forEach(it=>{ 28 | let title = mode === '历史' ? it.title : it.mTitle; 29 | let desc = mode === '历史' ? it.url : it.cUrl; 30 | let tips = mode === '历史' ? it.type : it.mITitle; 31 | title += small(color('('+tips+')','#aaaaaa')); 32 | if(it.lastClick){ 33 | title += '\n' + color('足迹:','#12b668') + small(color(it.lastClick,'#aaaaaa')); 34 | } 35 | his.push({ 36 | title: title, 37 | url: $(`要删除这条${mode}记录吗?`).confirm(()=>{return 'toast://抱歉没接口'}), 38 | col_type: "text_1", 39 | desc: small(desc), 40 | }); 41 | }); 42 | let t2=(new Date()).getTime(); // 记录获取历史或者收藏的结束耗时 43 | let cnt = his.length; 44 | his.unshift({ 45 | title:`共计${color(cnt,'#d96715')}条记录,获取足迹耗时:${color(t2-t1,'#d96715')}毫秒`, 46 | url:'', 47 | col_type:'text_1' 48 | }); 49 | // d.push.apply(his); 50 | d = d.concat(his); 51 | setResult(d); -------------------------------------------------------------------------------- /house/$预处理.js: -------------------------------------------------------------------------------- 1 | rc("hiker://files/rules/js/$hiker.js", -1); 2 | //$.setRoot('https://hjdhnx.coding.net/public/hiker/hiker/git/files/master/js/'); 3 | $.setRoot(); 4 | $.setLib({ 5 | lsg: "localStorage.js", //本地储存 6 | file: "File.js", //文件os 7 | fileSelect: "fileSelect.js", //文件选择器 8 | dt: "categories-header.js", //动态分类 9 | dr: "dr.js", //dr模板依赖 10 | drpre: "预处理.js", //dr模板预处理 11 | drup: "更新.js", //dr模板自动更新 12 | drmatch: "自动模板匹配.js", //dr模板自动模板匹配 13 | drm: "dr模板.js", //dr模板小程序 14 | cms: "zyw.js", //cms模板依赖 15 | cmspre: "资源网预处理.js", //cms预处理 16 | cmsm: "cms.js", //cms模板小程序 17 | libcheck: "依赖检测.js", //dr检测依赖 18 | ruleEditor: "ruleEditor.js", //写页源神器小程序 19 | houseLazy: "houseLazy.js", //仓库通免 20 | lazy: "lazy.js", //香免 21 | sub: "subscribe.js", //道德经订阅 22 | hikerUi: "hikerUi.js", //海阔组件依赖 23 | }); 24 | -------------------------------------------------------------------------------- /house/$预处理仓库.js: -------------------------------------------------------------------------------- 1 | $.exports.initPre = function () { 2 | rc("hiker://files/rules/js/$hiker.js", -1); 3 | //$.setRoot('https://hjdhnx.coding.net/public/hiker/hiker/git/files/master/js/'); 4 | $.setRoot(); 5 | $.setLib({ 6 | lsg: "localStorage.js", //本地储存 7 | file: "File.js", //文件os 8 | fileSelect: "fileSelect.js", //文件选择器 9 | dt: "categories-header.js", //动态分类 10 | dr: "dr.js", //dr模板依赖 11 | drpre: "预处理.js", //dr模板预处理 12 | drup: "更新.js", //dr模板自动更新 13 | drmatch: "自动模板匹配.js", //dr模板自动模板匹配 14 | drm: "dr模板.js", //dr模板小程序 15 | cms: "zyw.js", //cms模板依赖 16 | cmspre: "资源网预处理.js", //cms预处理 17 | cmsm: "cms.js", //cms模板小程序 18 | libcheck: "依赖检测.js", //dr检测依赖 19 | ruleEditor: "ruleEditor.js", //写页源神器小程序 20 | houseLazy: "houseLazy.js", //仓库通免 21 | lazy: "lazy.js", //香免 22 | sub: "subscribe.js", //道德经订阅 23 | hikerUi: "hikerUi.js", //海阔组件依赖 24 | }); 25 | }; 26 | -------------------------------------------------------------------------------- /house/coding白嫖.js: -------------------------------------------------------------------------------- 1 | Object(g.useEffect)((function() { 2 | var A; 3 | (A = t.enterprise.globalKey, 4 | M("/api/user/" + A + "/shared-depots")).then((function(A) { 5 | var e = A.data; 6 | I(e.depots.sort((function(A, e) { 7 | return e.lastCommitTime - A.lastCommitTime 8 | } 9 | ))) 10 | } 11 | )).finally((function() { 12 | return f(!1) 13 | } 14 | )) 15 | } 16 | ), []) -------------------------------------------------------------------------------- /house/接口管理.js: -------------------------------------------------------------------------------- 1 | js: 2 | $().rule(()=> { 3 | const {color, small} = $.require("hiker://page/utiliy?rule=道长仓库Pro"); 4 | var path_djt = 'hiker://files/rules/home/apiSet_word.txt'; 5 | var path_imgs = 'hiker://files/rules/home/apiSet_image.txt'; 6 | let d = []; 7 | setPageTitle('主页-接口管理'); 8 | d.push({ 9 | title: '接口说明', 10 | extra: {lineVisible: false}, 11 | desc: '用于管理全局的随机图片接口及随机文字\n点此可更新插件', 12 | url: $("确认要更新插件?点错的话请取消").confirm(() => { 13 | let code = fetch('http://hiker.nokia.press/hikerule/rulelist.json?id=1756'); 14 | if(/接口管理/.test(code)) { 15 | writeFile('hiker://files/rules/dzHouse/js/主页接口设置.js',code); 16 | back(true); 17 | return 'toast://更新成功' 18 | }else{ 19 | return 'toast://仓库或网络不通畅,更新失败' 20 | } 21 | }), 22 | col_type: 'text_center_1' 23 | }); 24 | d.push({ 25 | title: '接口文件管理(支持图片,一言接口,一行一个)', 26 | desc: '点击可以重置接口文件', 27 | url: $('确定要重置图片接口与一言接口配置?').confirm((path_djt,path_imgs)=>{ 28 | let djts = fetch('http://hiker.nokia.press/hikerule/zyw_data/29'); 29 | let imgs = fetch('http://hiker.nokia.press/hikerule/rulelist.json?id=1759'); 30 | let text = ''; 31 | if(djts&&/http/.test(djts)){ 32 | writeFile(path_djt,djts); 33 | text+='毒鸡汤接口;' 34 | } 35 | if(imgs&&/http/.test(imgs)){ 36 | writeFile(path_imgs,imgs); 37 | text+='随机图接口' 38 | } 39 | return 'toast://已重置:'+text 40 | },path_djt,path_imgs), 41 | col_type: 'text_center_1' 42 | }); 43 | d.push({ 44 | title: '编辑图片接口', 45 | url: $().lazyRule((path_imgs) => { 46 | if(!fetch(path_imgs)){ 47 | let apis = fetch('http://hiker.nokia.press/hikerule/rulelist.json?id=1759'); 48 | writeFile(path_imgs,apis); 49 | } 50 | return 'editFile://'+path_imgs; 51 | },path_imgs), 52 | col_type: 'text_2' 53 | }); 54 | d.push({ 55 | title: '编辑一言接口', 56 | url: $().lazyRule((path_djt) => { 57 | if(!fetch(path_djt)){ 58 | let apis = fetch('http://hiker.nokia.press/hikerule/zyw_data/29'); 59 | writeFile(path_djt,apis); 60 | } 61 | return 'editFile://'+path_djt; 62 | },path_djt), 63 | col_type: 'text_2' 64 | }); 65 | setResult(d); 66 | }) -------------------------------------------------------------------------------- /house/白嫖对照.md: -------------------------------------------------------------------------------- 1 | ```text 2 | https://hjdhnx.coding.net/public/hiker/dr/git/files/master/js/dr.js 3 | https://hjdhnx.coding.net/api/user/hjdhnx/project/hiker/shared-depot/dr/git/blob/master/js/dr.js 4 | https://hjdhnx.coding.net/api/user/hjdhnx/project/hiker/shared-depot/dr/git/blob/master/js/dr.js 5 | https://hjdhnx.coding.net/api/user/project/hiker/shared-depot/dr/git/blob/master/js/dr.js 6 | 7 | https://hjdhnx.coding.net/api/user/hjdhnx/shared-depots 8 | 9 | https://hjdhnx.coding.net/public/hiker/dr/git/files/master/js/飞瓜.dex 10 | https://hjdhnx.coding.net/api/user/hjdhnx/project/hiker/shared-depot/dr/git/blob/master/js/飞瓜.dex 11 | 12 | 13 | https://raw.codehub.cn/p/hiker/d/dr/git/raw/master/js/%e9%a3%9e%e7%93%9c.dex?token=lT8vREnuCToK9qZFHkU59M8MvG4qTxD8wWYu2VcJO3 14 | ``` 15 | -------------------------------------------------------------------------------- /html/getVideo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 道长专用多线程x5 7 | 8 | 9 | 10 | 11 | 12 | 13 |
欢迎海阔视界用户使用本页面,你的本地环境看起来一切正常
14 | 15 | 30 | -------------------------------------------------------------------------------- /html/xml2json.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 海阔视界神器-xml转json 5 | 6 |

海阔视界道长静态文件库

7 | 腾讯PAGES部署教程 8 | 白色时钟 9 | 10 | 11 | 12 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /img/ai/1.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/ai/1.ai -------------------------------------------------------------------------------- /img/ai/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/ai/1.jpg -------------------------------------------------------------------------------- /img/ai/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/ai/2.jpg -------------------------------------------------------------------------------- /img/ai/alogo799.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/ai/alogo799.ai -------------------------------------------------------------------------------- /img/ai/alogo799.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/ai/alogo799.jpg -------------------------------------------------------------------------------- /img/ai/立体图标.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/ai/立体图标.jpg -------------------------------------------------------------------------------- /img/big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/big.png -------------------------------------------------------------------------------- /img/cbgs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/cbgs.png -------------------------------------------------------------------------------- /img/dao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/dao.png -------------------------------------------------------------------------------- /img/icon/douban.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/icon/douban.png -------------------------------------------------------------------------------- /img/icon/icon: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /img/icon/wandou.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/icon/wandou.png -------------------------------------------------------------------------------- /img/icon/xiaomi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/icon/xiaomi.png -------------------------------------------------------------------------------- /img/lucky.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/lucky.png -------------------------------------------------------------------------------- /img/meinv/home.txt: -------------------------------------------------------------------------------- 1 | 兔女1.jpg,https://dr.playdreamer.cn/img/meinv/兔女1.jpg 2 | 小甜心_01.jpg,https://dr.playdreamer.cn/img/meinv/小甜心_01.jpg 3 | 海滩.png,https://dr.playdreamer.cn/img/meinv/海滩.png 4 | 狐狸.png,https://dr.playdreamer.cn/img/meinv/狐狸.png 5 | 画师_BIYA_01.jpg,https://dr.playdreamer.cn/img/meinv/画师_BIYA_01.jpg 6 | 画师_BIYA_02.jpg,https://dr.playdreamer.cn/img/meinv/画师_BIYA_02.jpg 7 | 画师_BIYA_03.png,https://dr.playdreamer.cn/img/meinv/画师_BIYA_03.png 8 | 美女_01.jpg,https://dr.playdreamer.cn/img/meinv/美女_01.jpg 9 | 美女_02.jpg,https://dr.playdreamer.cn/img/meinv/美女_02.jpg 10 | 美女_03.jpg,https://dr.playdreamer.cn/img/meinv/美女_03.jpg 11 | 美女_04.jpg,https://dr.playdreamer.cn/img/meinv/美女_04.jpg 12 | 美女_05.jpg,https://dr.playdreamer.cn/img/meinv/美女_05.jpg 13 | 美女_06.jpg,https://dr.playdreamer.cn/img/meinv/美女_06.jpg 14 | 美女_07.jpg,https://dr.playdreamer.cn/img/meinv/美女_07.jpg 15 | 美女_08.jpg,https://dr.playdreamer.cn/img/meinv/美女_08.jpg 16 | 美女_09.jpg,https://dr.playdreamer.cn/img/meinv/美女_09.jpg 17 | 美女_10.jpg,https://dr.playdreamer.cn/img/meinv/美女_10.jpg 18 | 美女_11.jpg,https://dr.playdreamer.cn/img/meinv/美女_11.jpg 19 | 美女_12.jpg,https://dr.playdreamer.cn/img/meinv/美女_12.jpg 20 | 美女_13.jpg,https://dr.playdreamer.cn/img/meinv/美女_13.jpg 21 | 美女_14.jpg,https://dr.playdreamer.cn/img/meinv/美女_14.jpg 22 | 美女_15.jpg,https://dr.playdreamer.cn/img/meinv/美女_15.jpg 23 | 美女_16.jpg,https://dr.playdreamer.cn/img/meinv/美女_16.jpg 24 | 美女_17.jpg,https://dr.playdreamer.cn/img/meinv/美女_17.jpg 25 | 美女_18.jpg,https://dr.playdreamer.cn/img/meinv/美女_18.jpg 26 | 美女_19.jpg,https://dr.playdreamer.cn/img/meinv/美女_19.jpg 27 | 美女_20.jpg,https://dr.playdreamer.cn/img/meinv/美女_20.jpg 28 | 美女_21.jpg,https://dr.playdreamer.cn/img/meinv/美女_21.jpg 29 | 美女_22.jpg,https://dr.playdreamer.cn/img/meinv/美女_22.jpg 30 | 美女_23.jpg,https://dr.playdreamer.cn/img/meinv/美女_23.jpg 31 | 美女_24.jpg,https://dr.playdreamer.cn/img/meinv/美女_24.jpg 32 | 美女_25.jpg,https://dr.playdreamer.cn/img/meinv/美女_25.jpg 33 | 美女_26.jpg,https://dr.playdreamer.cn/img/meinv/美女_26.jpg 34 | 美女_27.jpg,https://dr.playdreamer.cn/img/meinv/美女_27.jpg 35 | 美女_28.jpg,https://dr.playdreamer.cn/img/meinv/美女_28.jpg 36 | 美女_29.jpg,https://dr.playdreamer.cn/img/meinv/美女_29.jpg 37 | 美女_30.jpg,https://dr.playdreamer.cn/img/meinv/美女_30.jpg 38 | 美女_31.jpg,https://dr.playdreamer.cn/img/meinv/美女_31.jpg 39 | 美女_32.jpg,https://dr.playdreamer.cn/img/meinv/美女_32.jpg 40 | -------------------------------------------------------------------------------- /img/meinv/兔女1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/兔女1.jpg -------------------------------------------------------------------------------- /img/meinv/小甜心_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/小甜心_01.jpg -------------------------------------------------------------------------------- /img/meinv/海滩.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/海滩.png -------------------------------------------------------------------------------- /img/meinv/狐狸.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/狐狸.png -------------------------------------------------------------------------------- /img/meinv/画师_BIYA_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/画师_BIYA_01.jpg -------------------------------------------------------------------------------- /img/meinv/画师_BIYA_02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/画师_BIYA_02.jpg -------------------------------------------------------------------------------- /img/meinv/画师_BIYA_03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/画师_BIYA_03.png -------------------------------------------------------------------------------- /img/meinv/美女_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_01.jpg -------------------------------------------------------------------------------- /img/meinv/美女_02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_02.jpg -------------------------------------------------------------------------------- /img/meinv/美女_03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_03.jpg -------------------------------------------------------------------------------- /img/meinv/美女_04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_04.jpg -------------------------------------------------------------------------------- /img/meinv/美女_05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_05.jpg -------------------------------------------------------------------------------- /img/meinv/美女_06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_06.png -------------------------------------------------------------------------------- /img/meinv/美女_07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_07.jpg -------------------------------------------------------------------------------- /img/meinv/美女_08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_08.jpg -------------------------------------------------------------------------------- /img/meinv/美女_09.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_09.jpg -------------------------------------------------------------------------------- /img/meinv/美女_10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_10.jpg -------------------------------------------------------------------------------- /img/meinv/美女_11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_11.jpg -------------------------------------------------------------------------------- /img/meinv/美女_12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_12.jpg -------------------------------------------------------------------------------- /img/meinv/美女_13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_13.jpg -------------------------------------------------------------------------------- /img/meinv/美女_14.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_14.jpg -------------------------------------------------------------------------------- /img/meinv/美女_15.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_15.jpg -------------------------------------------------------------------------------- /img/meinv/美女_16.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_16.jpg -------------------------------------------------------------------------------- /img/meinv/美女_17.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_17.jpg -------------------------------------------------------------------------------- /img/meinv/美女_18.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_18.jpg -------------------------------------------------------------------------------- /img/meinv/美女_19.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_19.jpg -------------------------------------------------------------------------------- /img/meinv/美女_20.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_20.jpg -------------------------------------------------------------------------------- /img/meinv/美女_21.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_21.jpg -------------------------------------------------------------------------------- /img/meinv/美女_22.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_22.jpg -------------------------------------------------------------------------------- /img/meinv/美女_23.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_23.jpg -------------------------------------------------------------------------------- /img/meinv/美女_24.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_24.jpg -------------------------------------------------------------------------------- /img/meinv/美女_25.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_25.jpg -------------------------------------------------------------------------------- /img/meinv/美女_26.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_26.jpg -------------------------------------------------------------------------------- /img/meinv/美女_27.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_27.jpg -------------------------------------------------------------------------------- /img/meinv/美女_28.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_28.jpg -------------------------------------------------------------------------------- /img/meinv/美女_29.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_29.jpg -------------------------------------------------------------------------------- /img/meinv/美女_30.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_30.jpg -------------------------------------------------------------------------------- /img/meinv/美女_31.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_31.jpg -------------------------------------------------------------------------------- /img/meinv/美女_32.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/meinv/美女_32.jpg -------------------------------------------------------------------------------- /img/yuedu/01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/01.jpg -------------------------------------------------------------------------------- /img/yuedu/02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/02.jpg -------------------------------------------------------------------------------- /img/yuedu/03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/03.jpg -------------------------------------------------------------------------------- /img/yuedu/04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/04.jpg -------------------------------------------------------------------------------- /img/yuedu/05.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/05.jpg -------------------------------------------------------------------------------- /img/yuedu/06.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/06.jpg -------------------------------------------------------------------------------- /img/yuedu/07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/07.jpg -------------------------------------------------------------------------------- /img/yuedu/08.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/08.jpg -------------------------------------------------------------------------------- /img/yuedu/09.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/09.jpg -------------------------------------------------------------------------------- /img/yuedu/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/10.jpg -------------------------------------------------------------------------------- /img/yuedu/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/11.jpg -------------------------------------------------------------------------------- /img/yuedu/12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/12.jpg -------------------------------------------------------------------------------- /img/yuedu/13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/13.jpg -------------------------------------------------------------------------------- /img/yuedu/14.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/14.jpg -------------------------------------------------------------------------------- /img/yuedu/15.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/15.jpg -------------------------------------------------------------------------------- /img/yuedu/16.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/16.jpg -------------------------------------------------------------------------------- /img/yuedu/17.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/17.jpg -------------------------------------------------------------------------------- /img/yuedu/18.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/18.jpg -------------------------------------------------------------------------------- /img/yuedu/19.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/19.jpg -------------------------------------------------------------------------------- /img/yuedu/20.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/20.jpg -------------------------------------------------------------------------------- /img/yuedu/21.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/yuedu/21.jpg -------------------------------------------------------------------------------- /img/yuedu/home.txt: -------------------------------------------------------------------------------- 1 | 01.jpg,https://dr.playdreamer.cn/img/yuedu/01.jpg 2 | 02.jpg,https://dr.playdreamer.cn/img/yuedu/02.jpg 3 | 03.jpg,https://dr.playdreamer.cn/img/yuedu/03.jpg 4 | 04.jpg,https://dr.playdreamer.cn/img/yuedu/04.jpg 5 | 05.jpg,https://dr.playdreamer.cn/img/yuedu/05.jpg 6 | 06.jpg,https://dr.playdreamer.cn/img/yuedu/06.jpg 7 | 07.jpg,https://dr.playdreamer.cn/img/yuedu/07.jpg 8 | 08.jpg,https://dr.playdreamer.cn/img/yuedu/08.jpg 9 | 09.jpg,https://dr.playdreamer.cn/img/yuedu/09.jpg 10 | 10.jpg,https://dr.playdreamer.cn/img/yuedu/10.jpg 11 | 11.jpg,https://dr.playdreamer.cn/img/yuedu/11.jpg 12 | 12.jpg,https://dr.playdreamer.cn/img/yuedu/12.jpg 13 | 13.jpg,https://dr.playdreamer.cn/img/yuedu/13.jpg 14 | 14.jpg,https://dr.playdreamer.cn/img/yuedu/14.jpg 15 | 15.jpg,https://dr.playdreamer.cn/img/yuedu/15.jpg 16 | 16.jpg,https://dr.playdreamer.cn/img/yuedu/16.jpg 17 | 17.jpg,https://dr.playdreamer.cn/img/yuedu/17.jpg 18 | 18.jpg,https://dr.playdreamer.cn/img/yuedu/18.jpg 19 | 19.jpg,https://dr.playdreamer.cn/img/yuedu/19.jpg 20 | 20.jpg,https://dr.playdreamer.cn/img/yuedu/20.jpg 21 | 21.jpg,https://dr.playdreamer.cn/img/yuedu/21.jpg 22 | -------------------------------------------------------------------------------- /img/主题.svg: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /img/文件类型/ai.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/apk.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/avi.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/css.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/dmg.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/exe.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/flv.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/gif.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/hiker.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/html.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/iso.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/jpg.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/js.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/json.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 10 | 11 | 22 | 23 | 36 | 37 | -------------------------------------------------------------------------------- /img/文件类型/log.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/mov.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/mp3.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/otf.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/php.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/png.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/ppt.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/table.svg: -------------------------------------------------------------------------------- 1 | 9 | 13 | 14 | 18 | 19 | 23 | 24 | 28 | 29 | -------------------------------------------------------------------------------- /img/文件类型/txt.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /img/文件类型/wav.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/xls.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/zip.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型/文件.svg: -------------------------------------------------------------------------------- 1 | 9 | 15 | 16 | 20 | 21 | -------------------------------------------------------------------------------- /img/文件类型/文件夹.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/ai.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/apk.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/avi.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/dmg.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/doc.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/exc.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/exe.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/flv.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/gif.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/hiker.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/htm.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/html.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/iso.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/jpg.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/log.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/m3u8.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/mov.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/mp3.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/mp4.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/png.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/ppt.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/psd.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/txt.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/wav.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/xls.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/xlsx.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/zip.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/文件类型2/文件.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /img/道长壁纸.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/img/道长壁纸.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |

海阔视界道长静态文件库

6 | 腾讯PAGES部署教程 7 | 白色时钟 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /js/bookmark.txt: -------------------------------------------------------------------------------- 1 | #文件外链神器 2 | 蝙蝠,https://pan.losfer.cn/,https://image.api.losfer.cn/view.php/4b652c3c67c0d6a819ee5321032b7c32.jpg 3 | 往事,https://wp.wangshi520.com/,https://wp.wangshi520.com/favicon.ico 4 | 情韵,http://yunpanpan.cn,https://wp.wangshi520.com/favicon.ico 5 | 枫茗,https://pan.dkpoi.com,https://wp.wangshi520.com/favicon.ico 6 | 天雨,http://pan.05kr.com,https://wp.wangshi520.com/favicon.ico 7 | 老虎,https://pan.tigerroot.cn,https://wp.wangshi520.com/favicon.ico 8 | 星隐,http://y.xy47.top,https://wp.wangshi520.com/favicon.ico 9 | 峰哥,https://pan.fgboke.com,https://wp.wangshi520.com/favicon.ico 10 | # 11 | #局域网文本文件分享神器 12 | 道长自建Snapdrop,http://share.nokia.press/,https://drop.ioiox.com/images/android-chrome-192x192.png 13 | F搜,https://fsoufsou.com/,https://static.hetaousercontent.com/static/assets/favicon.ico 14 | Snapdrop,https://drop.ioiox.com/,https://drop.ioiox.com/images/android-chrome-192x192.png 15 | 牛逼魔改Snapdrop,https://snapdrop.fairysoft.net/,https://snapdrop.fairysoft.net/images/android-chrome-192x192.png 16 | 聊天室,https://snapchat.fairysoft.net/hiker,https://snapdrop.fairysoft.net/images/android-chrome-192x192.png 17 | # 18 | #临时邮箱 19 | mailsac,https://mailsac.com/ 20 | 查错IT网,http://24mail.chacuo.net/ 21 | # 22 | #白嫖解析 23 | 鸭奈非,http://jx.yanaifei.cn/user/api/ys 24 | 鸭奈非解析,http://jx.yanaifei.cn/home/api?type=ys&uid=4348670&key=bghikortvwzHLMOVW0&url= 25 | 老极速解析,https://js.jisujiexi.vip/home/api?type=ys&uid=3502774&key=bhlmnruzADFGISXY06&url= 26 | 全网最牛白送,https://json.mtosz.com/user/auth/login.go 27 | # 28 | #在线播放器 29 | 尘烟,https://jx.mrcy0.com/?url= 30 | 尘烟播猫派对,https://jx.mrcy0.com/?url=https://miaoparty-qun-902221255--------------1----------1.iremind.me/miaoparty-com-2/2a8bf78c4e7bd6c5e6f7353e773eee2f.m3u8 31 | # 32 | #云仓库 33 | Gitee,https://gitee.com,https://gitee.com/static/images/logo-black.svg?t=158106664 34 | Github,https://github.com/,https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fku.90sjimg.com%2Felement_pic%2F00%2F86%2F93%2F9156ec75a6b0300.jpg&refer=http%3A%2F%2Fku.90sjimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1651304354&t=5e8f0526e88efa6468e027e834cb4245 35 | NotaBug,https://notabug.org/,https://notabug.org/img/notabug-lg.png 36 | 书源,https://shuyuan.miaogongzi.net/index.php,https://hikerfans.com/tubiao/q/47.png 37 | Muse,https://musetransfer.com/,https://static-cdn.tezign.com/tezign-transfer-web/static/logo.e5feb5a9.svg@Referer=https://static-cdn.tezign.com/tezign-transfer-web/layouts__web__index.04e74f61.chunk.css 38 | Coding,https://coding.net,https://help-assets.codehub.cn/enterprise/guanwang/CODING-logo.svg 39 | Codeberg,https://codeberg.org,https://codeberg.org/assets/img/logo.svg 40 | Gitlab,https://gitlab.com/users/sign_in,https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.zhoushengfe.com%2Fupload%2Fapk%2F2015%2F12%2F16%2F5670fcf7b14ab.png&refer=http%3A%2F%2Fimg.zhoushengfe.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1651311290&t=f577e3f850f811d1a494a660648fabdb 41 | # 42 | #资源 43 | 小纸条,https://u.gitcafe.net/ 44 | 害羞,https://qingbuyaohaixiu.com/ 45 | 云手机,https://www.chinac.com/Cloud/pro_cloudMoblie.html 46 | 爱给网,https://www.aigei.com/game/ 47 | van微信小程序,https://vant-contrib.gitee.io/ 48 | 电子课本,http://m.dzkbw.com/ 49 | # 50 | #工具 51 | 道长图片压缩,http://img.nokia.press/img_reduce?size=1920&qt=95&url= 52 | excel转json,http://www.esjson.com/exceltojson.html 53 | word转pdf,https://xpdf.cn/word-to-pdf 54 | # 55 | #图标下载 56 | 插图库,https://undraw.co/illustrations 57 | 图标库,https://vectorwiki.com/ 58 | # 59 | -------------------------------------------------------------------------------- /js/classes2.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/js/classes2.dex -------------------------------------------------------------------------------- /js/jiexis.txt: -------------------------------------------------------------------------------- 1 | m3u8tv,https://jx.m3u8.tv/jiexi/?url= 2 | 思古解析,https://jsap.attakids.com/?url= 3 | 云解析,https://jx.ppflv.com/?url= 4 | 云解析2,https://jx.aidouer.net/?url= 5 | BL解析,https://vip.bljiex.cc/?v= 6 | 虾米解析,https://jx.xmflv.com/?url= 7 | 飞飞智能,https://y.9dan.cc/?v= 8 | 左岸解析,https://jx.bozrc.com:4433/player/?url= 9 | ok解析,https://okjx.cc/?url= 10 | 8090解析,https://www.8090g.cn/?url= 11 | ckplayer无广,https://www.ckplayer.vip/jiexi/?url= 12 | 盘古无广,http://www.pangujiexi.cc/jiexi.php?url= -------------------------------------------------------------------------------- /js/js修仙心得.js: -------------------------------------------------------------------------------- 1 | // 函数七重关 2 | // 定义、作用域、传参、闭包、自执行函数、new一个函数、回调函数 3 | // 箭头函数,链式调用,代理,异步等高级用法 -------------------------------------------------------------------------------- /js/lazy.js: -------------------------------------------------------------------------------- 1 | var lazy = $('').lazyRule(()=>{ 2 | rc('https://agit.ai/lzk23559/PublicRule/raw/branch/master/x5rule.js', 24); 3 | return x5rule(input, input); 4 | }); -------------------------------------------------------------------------------- /js/video.js: -------------------------------------------------------------------------------- 1 | var lazy = $('').lazyRule(()=>{ 2 | return 'video://'+input; 3 | }); -------------------------------------------------------------------------------- /js/wap_game/wap_game: -------------------------------------------------------------------------------- 1 | init -------------------------------------------------------------------------------- /js/xmljson.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/js/xmljson.dex -------------------------------------------------------------------------------- /js/依赖检测.js: -------------------------------------------------------------------------------- 1 | function 检测依赖(titles){ 2 | let libs = [{ 3 | title:'道长仓库Pro', 4 | url:'http://hiker.nokia.press/hikerule/rulelist.json?id=1094', 5 | version:139 6 | },{ 7 | title:'DR模板', 8 | url:'http://hiker.nokia.press/hikerule/rulelist.json?id=4549', 9 | version:14 10 | }]; 11 | if(titles && Array.isArray(titles) && titles.length > 0){ 12 | libs = libs.filter(it=>titles.includes(it.title)); 13 | } 14 | let d=[]; 15 | let ruleHead = '海阔视界首页频道规则【'; 16 | let ruleEnd = '】¥home_rule_url¥'; 17 | // log(ruleHead); 18 | for(let i in libs){ 19 | let it = libs[i]; 20 | let rule = "hiker://home@"+it.title; 21 | // log(rule); 22 | let r=fetch(rule); 23 | let ruleCode = ruleHead+it.title+ruleEnd+it.url; 24 | // log(ruleCode); 25 | if(r&&r!=='null'){ 26 | r = JSON.parse(r); 27 | if(r.version0) { 45 | let tips = d.map(it => it.title.replace('版本不符', '')).join(',') 46 | setResult(d); 47 | throw "请在上方先导入" + tips + '等前置规则,方能刷新使用本程序'; 48 | } 49 | } -------------------------------------------------------------------------------- /js/小说搜索引擎搭建.md: -------------------------------------------------------------------------------- 1 | ## 安装owllook 2 | 3 | 1.安装mongodb: 4 | ```shell 5 | sudo apt update && sudo apt upgrade -y 6 | sudo apt install mongodb 7 | sudo systemctl status mongodb 8 | sudo systemctl stop mongodb 9 | sudo systemctl start mongodb 10 | sudo systemctl restart mongodb 11 | # 下面的是是否自动启动,默认自启动 12 | sudo systemctl disable mongodb 13 | sudo systemctl enable mongodb 14 | 15 | service mongod stop 16 | service mongod restart 17 | 18 | vi /etc/mongodb.conf 19 | 注释掉绑定地址#bind 127.0.0.1 20 | bind_ip = 0.0.0.0 21 | # 端口是 27017 22 | # 进入shell 23 | mongo 24 | ``` 25 | 2.安装redis: 26 | ```shell 27 | sudo apt-get install redis-server 28 | ps -aux|grep redis 29 | netstat -nlt|grep 6379 30 | vi /etc/redis/redis.conf 31 | # 设置密码 32 | requirepass hjdhnx 33 | # 开远程链接 34 | 注释掉绑定地址#bind 127.0.0.1 35 | 0.0.0.0 36 | # 修改端口 37 | port 6379 38 | # 推荐改为yes,以守护进程运行 39 | daemonize no|yes 40 | # 数据文件 41 | dbfilename dump.rdb 42 | # 数据文件储存路径 43 | dir /var/lib/redis 44 | # 重启 45 | service redis-server restart 46 | 47 | # 进入客户端 48 | redis-cli 49 | auth hjdhnx 50 | ``` 51 | 3.安装owllook 52 | ```shell 53 | cd /home/owllook 54 | docker pull howie6879/owllook 55 | vi dev_owllook.env 56 | # 写入一些环境变量 57 | # start =============== 58 | # 需要设置就填写 不需要就删掉 59 | MODE=DEV 60 | REDIS_ENDPOINT= ip 61 | REDIS_PORT= port 62 | REDIS_PASSWORD='' 63 | MONGO_HOST= ip 64 | MONGO_PORT= port 65 | MONGO_USERNAME='' 66 | MONGO_PASSWORD='' 67 | # end =============== 68 | # 运行 在dev_owllook.env里面填上数据库配置 数据库ip需要注意 请将连接ip设置为ifconfig显示的ip 69 | docker run --env-file ./dev_owllook.env -d -p 8021:8001 --name owllook --restart always howie6879/owllook:latest 70 | # 也可以自己打包 71 | docker build -t owllook:0.1 . 72 | # 运行 73 | docker run --env-file ./dev_owllook.env -d -p 8001:8001 owllook:0.1 74 | ``` -------------------------------------------------------------------------------- /js/帮助.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 道长影视漫画模板帮助 6 | 7 | 8 |

一级函数用法: 一级(参数1,2,3,4,5)

9 |

一级函数共有5个参数,用于一级解析及搜索解析。图片无需手动加referer

10 |

参数1,parStr(解析规则),必填字符串 列表;标题;图片;描述;链接

11 |

参数2,ej(是否有二级),选填boolean,必须填true才有 适用于无需二级的小程序,比如常见车类

12 |

参数3,d(前置数据列表),选填数组,可不填,或者注入动态分类,搜索框之类的

13 |

参数4,rule_id(规则id),选填字符串,规则唯一标志通常为规则名,用于自动注入在第一次打开小程序显示免责申明,传false或者null则无需免责声明

14 |

参数5,html(源码),选填字符串,通常为规则名,用于动态分类这种场景场景或者频道链接不是http开头必须手动取源码

15 |

隐藏全局变量1: lazy,在一级直接var lazy=$().lazyRule(()=>{})自定义一级免嗅探代码,常用车类规则。无需传参

16 |

隐藏全局变量2: page,动态分类正确页数 var page =,在一级注入动态分类固定写法

17 |

特殊情况,一级函数用于搜索解析规则时,参数1 表示 列表;标题;图片;描述;链接;内容

18 |

一级隐士注入函数

19 |

true_url,动态分类正确链接 true_url = 获取正确链接() 在一级注入动态分类固定写法

20 |

打造动态分类 let cates=打造动态分类([]) 在一级注入动态分类固定写法

21 |

获取正确链接(参数1)

22 |

打造动态分类(参数1)

23 |

参数1,定位列表。具体参考轮回天尊(reborn)的动态分类示例

24 |

二级函数用法: 二级(参数1,2,3)

25 |

参数1,parse(解析定位对象),必填obj 内部key选填,其中title和desc的定位支持多级英文分号隔开

26 |

参数2,lazy(自定义免嗅探),选择。不填就是默认用道长仓库通免

27 |

参数3,是否启用魔断,启用后会将二级图片点击自动设为魔断的html配置界面

28 |

最新章节函数用法: 最新(参数1)

29 |

参数1,最新选集内部文本定位,例子:

30 | 31 | js: 32 | require(config.模板); 33 | 最新('.tab-content&&ul,0&&li,-1&&a&&Text'); 34 | 35 |

预处理固定写法

36 | 37 | const {getApi} = $.require("hiker://page/utiliy?rule=道长仓库Pro"); 38 | var 模板 = getApi('importUrl')+"2505"; 39 | require(模板); 40 | 预处理() 41 | 42 |

特殊情况可在预处理initConfig注入其他依赖或者lazy免嗅探代码

43 |

其他一级和搜索的地方都能直接var lazy=config.lazy拿出来播放。适用于车类规则一级需要写免嗅探和搜索需要写免嗅探代码重复问题

44 | 45 | 46 | -------------------------------------------------------------------------------- /js/更新.js: -------------------------------------------------------------------------------- 1 | var updateT = '2022/11/11 22:50'; 2 | var 更新依赖 = function (){ 3 | let jsRoot = 'https://dr.playdreamer.cn/js/'; 4 | let jss = ['自动模板匹配.js','categories-header.js', 5 | 'houseLazy.js','hikerUi.js','dr.js'].map(it=>jsRoot+it); 6 | let libs = [ 7 | config.UrlProcessorLib,version.requireId, 8 | 'http://hiker.nokia.press/hikerule/rulelist.json?id=2971', 9 | ]; 10 | libs = libs.concat(jss); 11 | for(let lib of libs){ 12 | deleteCache(lib); 13 | } 14 | log('已清除依赖:'+libs.join(',')); 15 | } 16 | -------------------------------------------------------------------------------- /js/资源网预处理.js: -------------------------------------------------------------------------------- 1 | let obj = { 2 | // 模板:'https://dr.playdreamer.cn/js/zyw.js', 3 | 模板:'https://dr.playdreamer.cn/js/zyw.js', 4 | }; 5 | ua = (typeof (ua) !== 'undefined' && ua) ? ua :''; 6 | type = (typeof (type) !== 'undefined' && type) ? type :''; 7 | jm = (typeof (jm) !== 'undefined' && jm) ? jm :''; 8 | debug = (typeof (debug) !== 'undefined' && debug) ? debug :''; 9 | timeout = (typeof (timeout) !== 'undefined' && timeout && !!Number(timeout)) ? timeout :'5000'; 10 | if(ua){ 11 | Object.assign(obj,{ua:ua}); 12 | } 13 | if(type){ 14 | Object.assign(obj,{type:type}); 15 | } 16 | if(jm){ 17 | Object.assign(obj,{jm:jm}); 18 | } 19 | if(debug){ 20 | Object.assign(obj,{debug:true}); 21 | } 22 | Object.assign(obj,{timeout:parseInt(timeout)}); 23 | initConfig(obj); 24 | -------------------------------------------------------------------------------- /js/预处理.js: -------------------------------------------------------------------------------- 1 | var dr_jsRoot = 'https://dr.playdreamer.cn/js/'; 2 | try { 3 | const {getApi} = $.require("hiker://page/utiliy?rule=道长仓库Pro"); 4 | var 模板 = getApi('importUrl')+"2505"; 5 | require(模板); 6 | 预处理(模板) 7 | }catch (e) { 8 | log('预处理执行失败:'+e.message); 9 | var 模板 = dr_jsRoot+'dr.js'; 10 | require(模板); 11 | 预处理(模板) 12 | } 13 | -------------------------------------------------------------------------------- /js/飞瓜.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/js/飞瓜.dex -------------------------------------------------------------------------------- /json/readme.txt: -------------------------------------------------------------------------------- 1 | 记录龙腾的切片地址 -------------------------------------------------------------------------------- /libs/cmspre.js: -------------------------------------------------------------------------------- 1 | let obj = { 2 | // 模板:'https://dr.playdreamer.cn/js/zyw.js', 3 | 模板:'https://dr.playdreamer.cn/js/zyw.js', 4 | }; 5 | ua = (typeof (ua) !== 'undefined' && ua) ? ua :''; 6 | type = (typeof (type) !== 'undefined' && type) ? type :''; 7 | jm = (typeof (jm) !== 'undefined' && jm) ? jm :''; 8 | debug = (typeof (debug) !== 'undefined' && debug) ? debug :''; 9 | timeout = (typeof (timeout) !== 'undefined' && timeout && !!Number(timeout)) ? timeout :'5000'; 10 | if(ua){ 11 | Object.assign(obj,{ua:ua}); 12 | } 13 | if(type){ 14 | Object.assign(obj,{type:type}); 15 | } 16 | if(jm){ 17 | Object.assign(obj,{jm:jm}); 18 | } 19 | if(debug){ 20 | Object.assign(obj,{debug:true}); 21 | } 22 | Object.assign(obj,{timeout:parseInt(timeout)}); 23 | initConfig(obj); 24 | -------------------------------------------------------------------------------- /libs/drpre.js: -------------------------------------------------------------------------------- 1 | var dr_jsRoot = 'https://dr.playdreamer.cn/js/'; 2 | try { 3 | const {getApi} = $.require("hiker://page/utiliy?rule=道长仓库Pro"); 4 | var 模板 = getApi('importUrl')+"2505"; 5 | require(模板); 6 | 预处理(模板) 7 | }catch (e) { 8 | log('预处理执行失败:'+e.message); 9 | var 模板 = dr_jsRoot+'dr.js'; 10 | require(模板); 11 | 预处理(模板) 12 | } 13 | -------------------------------------------------------------------------------- /libs/drup.js: -------------------------------------------------------------------------------- 1 | var updateT = '2022/07/30 10:15'; 2 | var 更新依赖 = function (){ 3 | let jsRoot = 'https://dr.playdreamer.cn/js/'; 4 | let jss = ['自动模板匹配.js','categories-header.js', 5 | 'houseLazy.js','hikerUi.js','dr.js'].map(it=>jsRoot+it); 6 | let libs = [ 7 | config.UrlProcessorLib,version.requireId, 8 | 'http://hiker.nokia.press/hikerule/rulelist.json?id=2971', 9 | ]; 10 | libs = libs.concat(jss); 11 | for(let lib of libs){ 12 | deleteCache(lib); 13 | } 14 | log('已清除依赖:'+libs.join(',')); 15 | } 16 | -------------------------------------------------------------------------------- /libs/lazy.js: -------------------------------------------------------------------------------- 1 | var lazy = $('').lazyRule(()=>{ 2 | rc('https://code.aliyun.com/lzk23559/PublicRule/raw/master/x5rule.js', 24); 3 | return x5rule(input, input); 4 | }); -------------------------------------------------------------------------------- /libs/libcheck.js: -------------------------------------------------------------------------------- 1 | function 检测依赖(titles){ 2 | let libs = [{ 3 | title:'道长仓库Pro', 4 | url:'http://hiker.nokia.press/hikerule/rulelist.json?id=1094', 5 | version:139 6 | },{ 7 | title:'DR模板', 8 | url:'http://hiker.nokia.press/hikerule/rulelist.json?id=4549', 9 | version:14 10 | }]; 11 | if(titles && Array.isArray(titles) && titles.length > 0){ 12 | libs = libs.filter(it=>titles.includes(it.title)); 13 | } 14 | let d=[]; 15 | let ruleHead = '海阔视界首页频道规则【'; 16 | let ruleEnd = '】¥home_rule_url¥'; 17 | // log(ruleHead); 18 | for(let i in libs){ 19 | let it = libs[i]; 20 | let rule = "hiker://home@"+it.title; 21 | // log(rule); 22 | let r=fetch(rule); 23 | let ruleCode = ruleHead+it.title+ruleEnd+it.url; 24 | // log(ruleCode); 25 | if(r&&r!=='null'){ 26 | r = JSON.parse(r); 27 | if(r.version0) { 45 | let tips = d.map(it => it.title.replace('版本不符', '')).join(',') 46 | setResult(d); 47 | throw "请在上方先导入" + tips + '等前置规则,方能刷新使用本程序'; 48 | } 49 | } -------------------------------------------------------------------------------- /libs/依赖文件使用说明.md: -------------------------------------------------------------------------------- 1 | #### 仓库子页面预处理代码以及其他地方调用方式 2 | 3 | ```js 4 | if(getAppVersion()>=3200){ 5 | try{ 6 | rc("hiker://files/rules/js/$hiker.js", -1); 7 | //$.setRoot('https://hjdhnx.coding.net/public/hiker/hiker/git/files/master/js/'); 8 | $.setRoot(); 9 | $.setLib({ 10 | lsg: "lsg.js", //本地储存 11 | file: "file.js", //文件os 12 | fileSelect: "fileSelect.js", //文件选择器 13 | dt: "dt.js", //动态分类 14 | dr: "dr.js", //dr模板依赖 15 | drpre: "drpre.js", //dr模板预处理 16 | drup: "drup.js", //dr模板自动更新 17 | drmatch: "drmatch.js", //dr模板自动模板匹配 18 | drm: "drm.js", //dr模板小程序 19 | cms: "cms.js", //cms模板依赖 20 | cmspre: "cmspre.js", //cms预处理 21 | cmsm: "cmsm.js", //cms模板小程序 22 | libcheck: "libcheck.js", //dr检测依赖 23 | ruleEditor: "ruleEditor.js", //写页源神器小程序 24 | houseLazy: "houseLazy.js", //仓库通免 25 | lazy: "lazy.js", //香免 26 | sub: "sub.js", //道德经订阅 27 | hikerUi: "hikerUi.js", //海阔组件依赖 28 | hikerLibs: "hikerLibs.js", //海阔全能依赖 29 | }); 30 | }catch(e){ 31 | //toast('请尝试点击仓库主页的升级仓库旁边的按钮升级$扩展,否则某些功能不能正常使用'); 32 | confirm({ 33 | title: '提示-点击确定可以导入', 34 | content: '请尝试点击仓库主页的升级仓库旁边的按钮升级$扩展,否则某些功能不能正常使用', 35 | confirm: $.toString(()=>{ 36 | const {getApi} = $.require("hiker://page/utiliy?rule=道长仓库Pro"); 37 | let ruleHead = '海阔视界,网页插件¥js_url¥$hiker@'; 38 | let url = getApi('importUrl')+"5111"; 39 | let importUrl = 'rule://'+base64Encode(ruleHead+url); 40 | return importUrl 41 | }), 42 | cancel: $.toString(()=>{ 43 | 44 | }), 45 | }) 46 | } 47 | } 48 | ``` 49 | ##### 引用方式 50 | ```js 51 | $.require('hiker://page/libs?rule=道长仓库Pro'); 52 | ``` -------------------------------------------------------------------------------- /odoo/odoo快捷键0722.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/odoo/odoo快捷键0722.exe -------------------------------------------------------------------------------- /odoo/portainer/public.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/odoo/portainer/public.zip -------------------------------------------------------------------------------- /odoo/portainer/ubuntu安装docker.txt: -------------------------------------------------------------------------------- 1 | 首先更换阿里源 2 | rm /etc/apt/sources.list 3 | vi /etc/apt/sources.list 4 | 5 | 把下面这些粘贴进去: 6 | deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse 7 | deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse 8 | deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse 9 | deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse 10 | deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse 11 | deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse 12 | deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse 13 | deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse 14 | deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse 15 | deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse 16 | 17 | :wq保存后更新以下 18 | 19 | sudo apt-get update 20 | sudo apt-get upgrade 21 | 22 | 23 | 24 | 然后安docker 25 | sudo apt install docker.io 26 | sudo systemctl start docker 27 | sudo systemctl enable docker 28 | docker -v 29 | 30 | 31 | 镜像换源加速 32 | /etc/docker/daemon.json 33 | 34 | {"registry-mirrors":["https://registry.docker-cn.com"]} 35 | 36 | 重启docker 37 | 38 | sudo systemctl daemon-reload 39 | sudo systemctl restart docker 40 | 41 | 安装portainer 42 | 新方法: 43 | mkdir -p /data/portainer/data /data/portainer/public 44 | cd /data/portainer 45 | wget https://labx.me/dl/4nat/public.zip 46 | unzip public.zip 47 | docker run -d --restart=always --name portainer -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v /data/portainer/data:/data -v /data/portainer/public:/public portainer/portainer:latest 48 | 49 | 汉化镜像: 50 | docker pull 6053537/portainer-ce #直接用汉化版镜像 51 | docker volume create portainer_data 52 | docker run -d --name portainer -p 9000:9000 --restart=always \ 53 | -v /var/run/docker.sock:/var/run/docker.sock \ 54 | -v portainer_data:/data 6053537/portainer-ce 55 | 56 | docker volume create portainer_data 57 | docker run -d --name portainer -p 9000:9000 --restart=always \ 58 | -v /var/run/docker.sock:/var/run/docker.sock \ 59 | -v portainer_data:/data 6053537/portainer-ce 60 | 61 | 62 | docker volume create portainer_data1 63 | docker run -d --name portainer1 -p 9001:9000 --restart=always \ 64 | -v /var/run/docker.sock:/var/run/docker.sock \ 65 | -v portainer_data1:/data 6053537/portainer-ce 66 | 67 | docker volume create portainer_data 68 | docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data --name portainer portainer/portainer 69 | 70 | 71 | 从主机复制到容器 sudo docker cp host_path containerID:container_path 72 | 从容器复制到主机 sudo docker cp containerID:container_path host_path -------------------------------------------------------------------------------- /odoo/pycharmForOdoo.e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/odoo/pycharmForOdoo.e -------------------------------------------------------------------------------- /plugins/$hiker.min.js: -------------------------------------------------------------------------------- 1 | (function(){if(getAppVersion()>=3196){$.extend({_rootUrl:"https://dr.playdreamer.cn/libs/",rc(url,is_blob){if(/^hiker:\/\/|^file:\/\/|^\/storage\/|^\/sdcard\//.test(url)){if(/^\/storage\/|^\/sdcard\//.test(url)){url="file://"+url}return eval.call(null,fetch(url))}else if(/^http/.test(url)){if(!(/coding\.net/.test(url)&&/git\/files\/|git\/blob\//.test(url))){return require(url)}else{is_blob=typeof is_blob==="undefined"?/git\/blob\//.test(url):is_blob;let md5_path=`hiker://files/libs/${md5(url)}.js`;if(!fileExist(md5_path)){try{var rurl=is_blob?url:this.getBlob(url);var res=JSON.parse(request(rurl,{timeout:5e3}));var file=res.data.file.data}catch(e){throw new Error("获取远程依赖"+url+"失败!"+e.message)}writeFile(md5_path,file);let rec=JSON.parse(readFile("require.json",0)||"[]");let obj={url:url,file:getPath(md5_path).slice(7),accessTime:(new Date).getTime()};let idex=rec.findIndex(it=>it.url===url);if(idex>-1){rec[idex]=obj}else{rec.push(obj)}log("开始保存依赖信息:"+JSON.stringify(rec));saveFile("require.json",JSON.stringify(rec),0)}return eval.call(null,fetch(md5_path))}}else{throw new Error("链接地址有误!必须是本地文件地址或者http开头的远程链接!")}},getBlob(url){let globalKey=function(url){var A=getHome(url).split("//")[1].split(".");return A.length<3?"":A[0]};let project=url.match(/public\/(.*?)\//)[1];let ext=url.split(`public/${project}/`)[1].replace("/git/files/","/git/blob/");let blobUrl=getHome(url)+"/api/user/"+globalKey(url)+"/project/"+project+"/shared-depot/"+ext;return blobUrl},setRoot(url){initConfig({_rootUrl:url||this._rootUrl})},getRoot(){return config._rootUrl},setLib(obj){let root=this.getRoot();if(typeof obj==="object"){for(let i in obj){obj[i]=obj[i].startsWith("http")?obj[i]:root+obj[i]}}initConfig({lib:obj||{}})},getLib(){return config.lib||{}},url(url){return(config._rootUrl||"")+url}})}})(); -------------------------------------------------------------------------------- /py/批量重命名.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- coding: utf-8 -*- 3 | # File : 批量重命名.py 4 | # Author: DaShenHan&道长-----先苦后甜,任凭晚风拂柳颜------ 5 | # Date : 2022/3/22 6 | 7 | 8 | import os 9 | 10 | def reName(dirname): 11 | ''' 12 | 实现将所有类别中的所有文章重新命名 13 | ''' 14 | # 该文件夹下所有的文件(包括文件夹) 15 | for category in os.listdir(dirname): 16 | # print(category) 17 | catdir = os.path.join(dirname,category) 18 | # 如果不是文件夹则跳过 19 | if not os.path.isdir(catdir): 20 | continue 21 | files = os.listdir(catdir) 22 | # print(files) 23 | # files.remove('.DS_Store') 24 | count = 0 25 | for cur_file in files: 26 | print("正在处理" + category + "分类下的" + cur_file) 27 | filename = os.path.join(catdir,cur_file) 28 | count = count + 1 29 | # 原来的文件路径 30 | oldDir = os.path.join(catdir,cur_file) 31 | # 如果是文件夹则跳过 32 | if os.path.isdir(oldDir): 33 | continue 34 | # 文件名 35 | filename=os.path.splitext(cur_file)[0] 36 | # 文件扩展 37 | filetype=os.path.splitext(cur_file)[1] 38 | # 新的文件路径 39 | newDir=os.path.join(catdir,str(count)+filetype) 40 | print(newDir) 41 | # 重命名 42 | # os.rename(oldDir,newDir) 43 | 44 | def reName2(dir,qz='美女_',count=1): 45 | files = os.listdir(dir) 46 | print(files) 47 | count = count 48 | for file in files: 49 | oldDir = os.path.join(dir, file) 50 | print(oldDir) 51 | 52 | # 文件名 53 | filename = os.path.splitext(file)[0] 54 | # 文件扩展 55 | filetype = os.path.splitext(file)[1] 56 | filetype = '.jpg' 57 | # 新的文件路径 58 | newDir = os.path.join(dir, qz+str(count) + filetype) 59 | print(newDir) 60 | os.rename(oldDir, newDir) 61 | count += 1 62 | 63 | 64 | if __name__ == '__main__': 65 | dirname = r'E:\Users\dashen\Desktop\图片3' 66 | reName2(dirname,'美女_',19) 67 | -------------------------------------------------------------------------------- /static/redoc/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/static/redoc/favicon.png -------------------------------------------------------------------------------- /static/swagger-ui/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/static/swagger-ui/favicon-32x32.png -------------------------------------------------------------------------------- /test/测试evalPrivateJs加$工具传参.js: -------------------------------------------------------------------------------- 1 | js: 2 | var a=33; 3 | //evalPrivateJS('e212J82fXV7pTsazk0ig9Q=='); 4 | //evalPrivateJS.call(null,'e212J82fXV7pTsazk0ig9Q=='); 5 | setResult([ 6 | { 7 | title:'测', 8 | col_type:'text_1', 9 | url:$().lazyRule((a)=>{ 10 | log(a); 11 | log(typeof(evalPrivateJS)); 12 | eval.call(null,'var a='+a); 13 | evalPrivateJS('e212J82fXV7pTsazk0ig9Q=='); 14 | return 'toast://看日志' 15 | },a), 16 | } 17 | ]) 18 | -------------------------------------------------------------------------------- /theme/djt.js: -------------------------------------------------------------------------------- 1 | function getDjt() { 2 | var api_list = request('hiker://files/rules/home/apiSet_word.txt').split('\n').filter(it => !it.trim().startsWith('//')); 3 | //log(JSON.stringify(api_list)); 4 | if (api_list && api_list.length > 0) { 5 | api_list = api_list.map((it) => { 6 | let li = it.split(','); 7 | li.splice(0, 1); 8 | return li.join(',') 9 | }).filter(it => it.trim()); 10 | } else { 11 | api_list = ["https://api.ixiaowai.cn/api/ylapi.php", "https://v1.hitokoto.cn/?encode=text", 12 | "@js:JSON.parse(request('https://v2.jinrishici.com/one.json')).data.content"]; 13 | } 14 | // log(api_list); 15 | var colors = ['grey', '#ff7512', '#cb54ff', '#ff5358', '#ff9044', '#7678ff', '#34b1ff']; 16 | 17 | function getOne(items) { 18 | return items[Math.floor(Math.random() * items.length)] 19 | } 20 | 21 | let word = "此情若是长久时,网络不好可不行"; 22 | var tips = '““””' + word + ''; 23 | var api = getOne(api_list).trim(); 24 | // log(api); 25 | try { 26 | let word = !/^@js:/.test(api) ? request(api, { 27 | timeout: Gtimeout 28 | }) : eval(api.split('@js:')[1]); 29 | if (word.length < 2) { 30 | putMyVar(This_Group.name, tips); 31 | return tips 32 | } else { 33 | putMyVar(This_Group.name, word); 34 | return '““””' + word + '' 35 | } 36 | } catch (e) { 37 | log('发生了错误:'+e.message); 38 | return tips 39 | } 40 | } 41 | getDjt(); -------------------------------------------------------------------------------- /tvbox/plugin/py_pansou.py: -------------------------------------------------------------------------------- 1 | #coding=utf-8 2 | #!/usr/bin/python 3 | import sys 4 | sys.path.append('..') 5 | from base.spider import Spider 6 | 7 | class Spider(Spider): 8 | def getDependence(self): 9 | return ['py_ali'] 10 | def getName(self): 11 | return "py_pansou" 12 | def init(self,extend): 13 | self.ali = extend[0] 14 | print("============py_pansou============") 15 | pass 16 | def isVideoFormat(self,url): 17 | pass 18 | def manualVideoCheck(self): 19 | pass 20 | def homeContent(self,filter): 21 | result = {} 22 | return result 23 | def homeVideoContent(self): 24 | result = {} 25 | return result 26 | def categoryContent(self,tid,pg,filter,extend): 27 | result = {} 28 | return result 29 | 30 | def detailContent(self,array): 31 | tid = array[0] 32 | print(self.getName()) 33 | pattern = '(https:\\/\\/www.aliyundrive.com\\/s\\/[^\\\"]+)' 34 | url = self.regStr(tid,pattern) 35 | if len(url) > 0: 36 | return self.ali.detailContent(array) 37 | 38 | rsp = self.fetch('https://www.alipansou.com'+tid) 39 | url = self.regStr(rsp.text,pattern) 40 | if len(url) == 0: 41 | return "" 42 | url = url.replace('\\','') 43 | newArray = [url] 44 | print(newArray) 45 | return self.ali.detailContent(newArray) 46 | 47 | 48 | def searchContent(self,key,quick): 49 | map = { 50 | '7':'文件夹', 51 | '1':'视频' 52 | } 53 | ja = [] 54 | for tKey in map.keys(): 55 | url = "https://www.alipansou.com/search?k={0}&t={1}".format(key,tKey) 56 | rsp = self.fetch(url) 57 | root = self.html(self.cleanText(rsp.text)) 58 | aList = root.xpath("//van-row/a") 59 | for a in aList: 60 | title = '' 61 | # title = a.xpath('string(.//template/div)') 62 | # title = self.cleanText(title).strip() 63 | 64 | divList = a.xpath('.//template/div') 65 | for div in divList: 66 | t = div.xpath('string(.)') 67 | t = self.cleanText(t).strip() 68 | title = title + t 69 | if key in title: 70 | pic = 'https://www.alipansou.com'+ self.xpText(a,'.//van-card/@thumb') 71 | jo = { 72 | 'vod_id': a.xpath('@href')[0], 73 | 'vod_name': '[{0}]{1}'.format(key,title), 74 | 'vod_pic': pic 75 | } 76 | ja.append(jo) 77 | result = { 78 | 'list':ja 79 | } 80 | return result 81 | 82 | def playerContent(self,flag,id,vipFlags): 83 | return self.ali.playerContent(flag,id,vipFlags) 84 | 85 | config = { 86 | "player": {}, 87 | "filter": {} 88 | } 89 | header = {} 90 | 91 | def localProxy(self,param): 92 | return [200, "video/MP2T", action, ""] -------------------------------------------------------------------------------- /tvbox/plugin/py_zhaozy.py: -------------------------------------------------------------------------------- 1 | #coding=utf-8 2 | #!/usr/bin/python 3 | import sys 4 | sys.path.append('..') 5 | from base.spider import Spider 6 | 7 | class Spider(Spider): 8 | def getDependence(self): 9 | return ['py_ali'] 10 | def getName(self): 11 | return "py_zhaozy" 12 | def init(self,extend): 13 | self.ali = extend[0] 14 | print("============py_zhaozy============") 15 | pass 16 | def isVideoFormat(self,url): 17 | pass 18 | def manualVideoCheck(self): 19 | pass 20 | def homeContent(self,filter): 21 | result = {} 22 | return result 23 | def homeVideoContent(self): 24 | result = {} 25 | return result 26 | def categoryContent(self,tid,pg,filter,extend): 27 | result = {} 28 | return result 29 | header = { 30 | "User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.54 Safari/537.36", 31 | "Referer": "https://zhaoziyuan.me/" 32 | } 33 | def detailContent(self,array): 34 | tid = array[0] 35 | print(self.getName()) 36 | pattern = '(https://www.aliyundrive.com/s/[^\"]+)' 37 | url = self.regStr(tid,pattern) 38 | if len(url) > 0: 39 | return self.ali.detailContent(array) 40 | 41 | rsp = self.fetch('https://zhaoziyuan.me/'+tid) 42 | url = self.regStr(rsp.text,pattern) 43 | if len(url) == 0: 44 | return "" 45 | newArray = [url] 46 | print(newArray) 47 | return self.ali.detailContent(newArray) 48 | 49 | def searchContent(self,key,quick): 50 | map = { 51 | '7':'文件夹', 52 | '1':'视频' 53 | } 54 | ja = [] 55 | for tKey in map.keys(): 56 | url = "https://zhaoziyuan.me/so?filename={0}&t={1}".format(key,tKey) 57 | rsp = self.fetch(url,headers=self.header) 58 | root = self.html(self.cleanText(rsp.text)) 59 | aList = root.xpath("//li[@class='clear']//a") 60 | for a in aList: 61 | # title = a.xpath('./h3/text()')[0] + a.xpath('./p/text()')[0] 62 | title = self.xpText(a,'./h3/text()') + self.xpText(a,'./p/text()') 63 | pic = 'https://img0.baidu.com/it/u=603086994,1727626977&fm=253&fmt=auto?w=500&h=667' 64 | jo = { 65 | 'vod_id': self.xpText(a,'@href'), 66 | 'vod_name': '[{0}]{1}'.format(key,title), 67 | 'vod_pic': pic 68 | } 69 | ja.append(jo) 70 | result = { 71 | 'list':ja 72 | } 73 | return result 74 | 75 | def playerContent(self,flag,id,vipFlags): 76 | return self.ali.playerContent(flag,id,vipFlags) 77 | 78 | config = { 79 | "player": {}, 80 | "filter": {} 81 | } 82 | header = {} 83 | 84 | def localProxy(self,param): 85 | return [200, "video/MP2T", action, ""] -------------------------------------------------------------------------------- /tvbox/readme.md: -------------------------------------------------------------------------------- 1 | [地址](https://dr.playdreamer.cn/tvbox/py.json) 2 | -------------------------------------------------------------------------------- /vue_demo/myapp/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | .DS_Store 12 | dist 13 | dist-ssr 14 | coverage 15 | *.local 16 | 17 | /cypress/videos/ 18 | /cypress/screenshots/ 19 | 20 | # Editor directories and files 21 | .vscode/* 22 | !.vscode/extensions.json 23 | .idea 24 | *.suo 25 | *.ntvs* 26 | *.njsproj 27 | *.sln 28 | *.sw? 29 | -------------------------------------------------------------------------------- /vue_demo/myapp/README.md: -------------------------------------------------------------------------------- 1 | # myapp 2 | 3 | This template should help get you started developing with Vue 3 in Vite. 4 | 5 | ## Recommended IDE Setup 6 | 7 | [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin). 8 | 9 | ## Customize configuration 10 | 11 | See [Vite Configuration Reference](https://vitejs.dev/config/). 12 | 13 | ## Project Setup 14 | 15 | ```sh 16 | npm install 17 | ``` 18 | 19 | ### Compile and Hot-Reload for Development 20 | 21 | ```sh 22 | npm run dev 23 | ``` 24 | 25 | ### Compile and Minify for Production 26 | 27 | ```sh 28 | npm run build 29 | ``` 30 | 31 | [找包下载 json-server](https://www.npmjs.com/package/json-server) 32 | ```shell 33 | npm i -g json-server 34 | 35 | db.json: 36 | { 37 | "posts": [ 38 | { "id": 1, "title": "json-server", "author": "typicode" } 39 | ], 40 | "comments": [ 41 | { "id": 1, "body": "some comment", "postId": 1 } 42 | ], 43 | "profile": { "name": "typicode" } 44 | } 45 | 46 | 47 | 48 | json-server --watch db.json 49 | ``` -------------------------------------------------------------------------------- /vue_demo/myapp/db.json: -------------------------------------------------------------------------------- 1 | { 2 | "posts": [ 3 | { "id": 1, "title": "json-server", "author": "typicode" } 4 | ], 5 | "comments": [ 6 | { "id": 1, "body": "some comment", "postId": 1 } 7 | ], 8 | "profile": { "name": "typicode" } 9 | } -------------------------------------------------------------------------------- /vue_demo/myapp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Vite App 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /vue_demo/myapp/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "myapp", 3 | "version": "0.0.0", 4 | "private": true, 5 | "scripts": { 6 | "dev": "vite", 7 | "build": "vite build", 8 | "preview": "vite preview" 9 | }, 10 | "dependencies": { 11 | "vue": "^3.2.47" 12 | }, 13 | "devDependencies": { 14 | "@vitejs/plugin-vue": "^4.0.0", 15 | "vite": "^4.1.4" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /vue_demo/myapp/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjdhnx/hiker/5dc0122430ea21ac05d64854e6593c75c61f8935/vue_demo/myapp/public/favicon.ico -------------------------------------------------------------------------------- /vue_demo/myapp/src/App.vue: -------------------------------------------------------------------------------- 1 | 18 | 19 | 22 | 23 | 25 | -------------------------------------------------------------------------------- /vue_demo/myapp/src/assets/base.css: -------------------------------------------------------------------------------- 1 | /* color palette from */ 2 | :root { 3 | --vt-c-white: #ffffff; 4 | --vt-c-white-soft: #f8f8f8; 5 | --vt-c-white-mute: #f2f2f2; 6 | 7 | --vt-c-black: #181818; 8 | --vt-c-black-soft: #222222; 9 | --vt-c-black-mute: #282828; 10 | 11 | --vt-c-indigo: #2c3e50; 12 | 13 | --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); 14 | --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); 15 | --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); 16 | --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); 17 | 18 | --vt-c-text-light-1: var(--vt-c-indigo); 19 | --vt-c-text-light-2: rgba(60, 60, 60, 0.66); 20 | --vt-c-text-dark-1: var(--vt-c-white); 21 | --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); 22 | } 23 | 24 | /* semantic color variables for this project */ 25 | :root { 26 | --color-background: var(--vt-c-white); 27 | --color-background-soft: var(--vt-c-white-soft); 28 | --color-background-mute: var(--vt-c-white-mute); 29 | 30 | --color-border: var(--vt-c-divider-light-2); 31 | --color-border-hover: var(--vt-c-divider-light-1); 32 | 33 | --color-heading: var(--vt-c-text-light-1); 34 | --color-text: var(--vt-c-text-light-1); 35 | 36 | --section-gap: 160px; 37 | } 38 | 39 | @media (prefers-color-scheme: dark) { 40 | :root { 41 | --color-background: var(--vt-c-black); 42 | --color-background-soft: var(--vt-c-black-soft); 43 | --color-background-mute: var(--vt-c-black-mute); 44 | 45 | --color-border: var(--vt-c-divider-dark-2); 46 | --color-border-hover: var(--vt-c-divider-dark-1); 47 | 48 | --color-heading: var(--vt-c-text-dark-1); 49 | --color-text: var(--vt-c-text-dark-2); 50 | } 51 | } 52 | 53 | *, 54 | *::before, 55 | *::after { 56 | box-sizing: border-box; 57 | margin: 0; 58 | position: relative; 59 | font-weight: normal; 60 | } 61 | 62 | body { 63 | min-height: 100vh; 64 | color: var(--color-text); 65 | background: var(--color-background); 66 | transition: color 0.5s, background-color 0.5s; 67 | line-height: 1.6; 68 | font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 69 | Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; 70 | font-size: 15px; 71 | text-rendering: optimizeLegibility; 72 | -webkit-font-smoothing: antialiased; 73 | -moz-osx-font-smoothing: grayscale; 74 | } 75 | -------------------------------------------------------------------------------- /vue_demo/myapp/src/assets/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vue_demo/myapp/src/assets/main.css: -------------------------------------------------------------------------------- 1 | @import './base.css'; 2 | 3 | #app { 4 | max-width: 1280px; 5 | margin: 0 auto; 6 | padding: 2rem; 7 | 8 | font-weight: normal; 9 | } 10 | 11 | a, 12 | .green { 13 | text-decoration: none; 14 | color: hsla(160, 100%, 37%, 1); 15 | transition: 0.4s; 16 | } 17 | 18 | @media (hover: hover) { 19 | a:hover { 20 | background-color: hsla(160, 100%, 37%, 0.2); 21 | } 22 | } 23 | 24 | @media (min-width: 1024px) { 25 | body { 26 | display: flex; 27 | place-items: center; 28 | } 29 | 30 | #app { 31 | display: grid; 32 | grid-template-columns: 1fr 1fr; 33 | padding: 0 2rem; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vue_demo/myapp/src/components/HelloWorld.vue: -------------------------------------------------------------------------------- 1 | 9 | 10 | 20 | 21 | 44 | -------------------------------------------------------------------------------- /vue_demo/myapp/src/components/WelcomeItem.vue: -------------------------------------------------------------------------------- 1 | 14 | 15 | 87 | -------------------------------------------------------------------------------- /vue_demo/myapp/src/components/icons/IconCommunity.vue: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /vue_demo/myapp/src/components/icons/IconDocumentation.vue: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /vue_demo/myapp/src/components/icons/IconEcosystem.vue: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /vue_demo/myapp/src/components/icons/IconSupport.vue: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /vue_demo/myapp/src/components/icons/IconTooling.vue: -------------------------------------------------------------------------------- 1 | 2 | 20 | -------------------------------------------------------------------------------- /vue_demo/myapp/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue' 2 | import App from './App.vue' 3 | 4 | import './assets/main.css' 5 | 6 | createApp(App).mount('#app') 7 | -------------------------------------------------------------------------------- /vue_demo/myapp/src/views/Home.vue: -------------------------------------------------------------------------------- 1 | 62 | 63 | 77 | 78 | -------------------------------------------------------------------------------- /vue_demo/myapp/vite.config.js: -------------------------------------------------------------------------------- 1 | import { fileURLToPath, URL } from 'node:url' 2 | 3 | import { defineConfig } from 'vite' 4 | import vue from '@vitejs/plugin-vue' 5 | 6 | // https://vitejs.dev/config/ 7 | export default defineConfig({ 8 | plugins: [vue()], 9 | resolve: { 10 | alias: { 11 | '@': fileURLToPath(new URL('./src', import.meta.url)) 12 | } 13 | } 14 | }) 15 | -------------------------------------------------------------------------------- /加入购物车.js: -------------------------------------------------------------------------------- 1 | let product = this.data.list; 2 | console.log(product); 3 | let cartlist = Storage.getStorageSync('cartlist')||[]; 4 | 5 | if(Array.isArray(cartlist) && cartlist.length > 0){ 6 | let idx = cartlist.findIndex(it=>it.id===product.id); 7 | if(idx > -1){ 8 | cartlist[idx].num+=product.num; 9 | }else{ 10 | cartlist.push(product); 11 | } 12 | }else{ 13 | cartlist = []; 14 | cartlist.push(product); 15 | } 16 | 17 | cartlist.find() --------------------------------------------------------------------------------