mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
Compare commits
5 commits
cf79a7086b
...
d129d310c9
Author | SHA1 | Date | |
---|---|---|---|
|
d129d310c9 | ||
|
5fdd9e45f6 | ||
|
dc5bab9f17 | ||
|
d9de58e5e5 | ||
|
fa127bb88e |
9 changed files with 27 additions and 18 deletions
|
@ -13,7 +13,7 @@
|
|||
|
||||
<guid>/en/html5/</guid>
|
||||
<description>This page is for uweb browser.
|
||||
Html5 applications Click to install the following html5 apps:
|
||||
Click to install the following html5 apps:
|
||||
Huge markdown file viewer
|
||||
Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)
|
||||
plyr video player
|
||||
|
@ -35,7 +35,7 @@ All html5 applications locating in a subfolder whose name begins with &quot;
|
|||
<description>Commands are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easily.
|
||||
The configure file &quot;default.acmd&quot; has the exactly same format as default.cmds. Click the following links to install new modes (cold start the app to take effect, then long click the &quot;refresh&quot; botton to switch modes):
|
||||
Shell command mode
|
||||
&lt;a href=&quot;i:0gdefault.acmd::bc:text/plain:echo &quot;%25s&quot;|bc -l -q%0A&quot;&gt;GNU bc (basic calculator) command mode (need termux for Android 10- )</description>
|
||||
GNU bc (basic calculator) command mode (need termux for Android 10- )</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
<p><a href="../cmds/index.html">Commands</a> are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easily.</p>
|
||||
<p>The configure file "default.acmd" has the exactly same format as <a href="../cmds/index.html">default.cmds</a>. Click the following links to install new modes (cold start the app to take effect, then long click the "refresh" botton to switch modes):</p>
|
||||
<p><a href="i:0gdefault.acmd::shell:text/plain:%25s%0A">Shell command mode</a></p>
|
||||
<p><a href="i:0gdefault.acmd::bc:text/plain:echo "%25s"|bc -l -q%0A">GNU bc (basic calculator) command mode (need termux for Android 10- )</a></p>
|
||||
<p><a href="i:0gdefault.acmd::bc:text/plain:echo '%25s'|bc -l -q%0A">GNU bc (basic calculator) command mode (need termux for Android 10- )</a></p>
|
||||
<p><a href="i:0gdefault.acmd::plot 2D function:image/svg%2Bxml:gnuplot -e 'set term svg;set
|
||||
output;plot %25s'%0A">GNUPlot plot (2D function), needs uweb adapted termux & gnuplot</a></p>
|
||||
<p><a href="i:0gdefault.acmd::plot 3D function:image/svg%2Bxml:gnuplot -e 'set term svg;set
|
||||
|
@ -54,7 +54,7 @@ output;splot %25s'%0A">GNUPlot plot (3D function), needs uweb adapted termux &am
|
|||
<h4 id="shell-command-mode">Shell command mode</h4>
|
||||
<p>Click the following links to make commands appear in address bar, then press "enter" to execute:<br>
|
||||
<a href="i:15cd;toybox mkdir -p /sdcard/Download/app;toybox ln -s /sdcard/Download/app">symbolic link "app" folder to be under the "Download" folder</a></p>
|
||||
<p><a href="i:15cd;cd ../..;toybox cp -r files /sdcard/Download/uweb;toybox rm -rf files;toybox ln -s /sdcard/Download/uweb files">symbolic link configuration folder to "/sdcard/Download/uwweb"</a></p>
|
||||
<p><a href="i:15cd;cd ../..;toybox cp -r files /sdcard/Download/uweb;toybox rm -rf files;toybox ln -s /sdcard/Download/uweb files">symbolic link configuration folder to "/sdcard/Download/uweb"</a></p>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -47,9 +47,8 @@
|
|||
<ul class="tags">
|
||||
|
||||
</ul>
|
||||
<p>This page is for <a href="../index.html">uweb browser</a>.</p>
|
||||
<h4 id="html5-applications">Html5 applications</h4>
|
||||
<p>Click to install the following html5 apps:<br>
|
||||
<p>This page is for <a href="../index.html">uweb browser</a>.<br>
|
||||
Click to install the following html5 apps:<br>
|
||||
<a target="_self" href="i:0happ/txtview.html:../../zh/searchurl/txt/txtview.html">Huge markdown file viewer</a><br>
|
||||
<a target="_self" href="i:0happ/markdeep.html:../../zh/searchurl/txt/markdeep.html">Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)</a><br>
|
||||
<a target="_self" href="i:0happ/plyr.html:../../zh/searchurl/txt/plyr.cfg">plyr video player</a><br>
|
||||
|
@ -89,8 +88,9 @@
|
|||
<li>Press "enter" on the address bar to execute the command.</li>
|
||||
</ul>
|
||||
<h4 id="mdict-dictionary-lookup-search-engine">mdict dictionary lookup search engine:</h4>
|
||||
<p>i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=%s</p>
|
||||
<p>i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s</p>
|
||||
<p>The dictionary files (mdx, mdd) must locate in the "app" subfolder under the configuration folder. In above example, the files "xxx.mdx" and "xxx.mdd" locate in the folder ".../app/mdict".</p>
|
||||
<p>To make life easier, users can <a href="../acmd/index.html">link the "app" subfolder</a> to any public accessible folder.</p>
|
||||
<p><a href="i:15d:text/plain:cd /data/data/info.torapp.uweb/files/app/mdict;for i in *.mdx; do b=`basename ${i} .mdx`;fs=%22./mdict/${i}%22;if [ -f ${b}.mdd ];then fs=${fs}%22,./mdict/${b}.mdd%22;fi;echo ${b}:i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=${fs}#word=%25s >>../../home5.search;done:">Clip to paste commands to the address bar</a>, the commands scan mdx/mdd files under app/mdict and add search engines to home screen.</p>
|
||||
<p>After pasting the command to the address bar, press home screen button, then press "enter" on the address bar to execute the command.</p>
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
<guid>/en/html5/</guid>
|
||||
<description>This page is for uweb browser.
|
||||
Html5 applications Click to install the following html5 apps:
|
||||
Click to install the following html5 apps:
|
||||
Huge markdown file viewer
|
||||
Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)
|
||||
plyr video player
|
||||
|
@ -35,7 +35,7 @@ All html5 applications locating in a subfolder whose name begins with &quot;
|
|||
<description>Commands are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easily.
|
||||
The configure file &quot;default.acmd&quot; has the exactly same format as default.cmds. Click the following links to install new modes (cold start the app to take effect, then long click the &quot;refresh&quot; botton to switch modes):
|
||||
Shell command mode
|
||||
&lt;a href=&quot;i:0gdefault.acmd::bc:text/plain:echo &quot;%25s&quot;|bc -l -q%0A&quot;&gt;GNU bc (basic calculator) command mode (need termux for Android 10- )</description>
|
||||
GNU bc (basic calculator) command mode (need termux for Android 10- )</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
11
index.html
11
index.html
|
@ -1 +1,10 @@
|
|||
<meta http-equiv="refresh" content="0; url=zh/index.html">
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>en/</title>
|
||||
<link rel="canonical" href="en/">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="refresh" content="0; url=en/">
|
||||
</head>
|
||||
</html>
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
|
||||
<guid>/zh/html5/</guid>
|
||||
<description>mdict字典搜索引擎:
|
||||
i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=
|
||||
字典文件必须位于配置目录应用子目录&quot;app&quot;下。上述字典搜索引擎例子中文件&quot;xxx.mdx&quot;及&quot;xxx.mdd&quot;位于&quot;.../app/mdict&quot;下。
|
||||
i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s
|
||||
字典文件必须位于配置目录应用子目录&quot;app&quot;下。上述字典搜索引擎例子中文件&quot;xxx.mdx&quot;及&quot;xxx.mdd&quot;位于&quot;.../app/mdict&quot;下。为方便文件操作,用户可符号链接&quot;app&quot;至任意公共目录。
|
||||
点击安装超大文件阅读器(支持txt, html, markdown)
|
||||
点击安装超大文件阅读器(markdeep版, latex, diagram,graphviz等)
|
||||
点击安装plyr视频播放器
|
||||
|
|
|
@ -48,8 +48,8 @@
|
|||
|
||||
</ul>
|
||||
<p>mdict字典搜索引擎:<br>
|
||||
i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=</p>
|
||||
<p>字典文件必须位于配置目录应用子目录"app"下。上述字典搜索引擎例子中文件"xxx.mdx"及"xxx.mdd"位于".../app/mdict"下。</p>
|
||||
i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s</p>
|
||||
<p>字典文件必须位于配置目录应用子目录"app"下。上述字典搜索引擎例子中文件"xxx.mdx"及"xxx.mdd"位于".../app/mdict"下。为方便文件操作,用户可<a href="../../en/acmd/index.html">符号链接"app"至任意公共目录</a>。</p>
|
||||
<p><a target="_self" href="i:0happ/txtview.html:../searchurl/txt/txtview.html">点击安装超大文件阅读器(支持txt, html, markdown)</a><br>
|
||||
<a target="_self" href="i:0happ/markdeep.html:../searchurl/txt/markdeep.html">点击安装超大文件阅读器(markdeep版, latex, diagram,graphviz等)</a><br>
|
||||
<a target="_self" href="i:0happ/plyr.html:../searchurl/txt/plyr.cfg">点击安装plyr视频播放器</a><br>
|
||||
|
|
|
@ -88,8 +88,8 @@ novip:https://www.novipnoad.com/s=
|
|||
|
||||
<guid>/zh/html5/</guid>
|
||||
<description>mdict字典搜索引擎:
|
||||
i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=
|
||||
字典文件必须位于配置目录应用子目录&quot;app&quot;下。上述字典搜索引擎例子中文件&quot;xxx.mdx&quot;及&quot;xxx.mdd&quot;位于&quot;.../app/mdict&quot;下。
|
||||
i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s
|
||||
字典文件必须位于配置目录应用子目录&quot;app&quot;下。上述字典搜索引擎例子中文件&quot;xxx.mdx&quot;及&quot;xxx.mdd&quot;位于&quot;.../app/mdict&quot;下。为方便文件操作,用户可符号链接&quot;app&quot;至任意公共目录。
|
||||
点击安装超大文件阅读器(支持txt, html, markdown)
|
||||
点击安装超大文件阅读器(markdeep版, latex, diagram,graphviz等)
|
||||
点击安装plyr视频播放器
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
打开剪贴板链接:clip/uweb:/system/bin/toybox grep -m1 -Eo '(http|https)://[^ "'\'']+'
|
||||
行编辑器:text/html:cat %f|while read LINE; do echo "<a href=\"i:AA${LINE//\"/%22}\">$LINE</a><br>";done
|
||||
代码编辑器:text/html:printf "<style>#div{position:fixed;top:2px}#editor{position: absolute;top:30;right:0;bottom:0;left:0;}#textarea{display:none}</style><script src='http://cdn.bootcss.com/ace/1.4.9/ace.js'></script><script src='http://cdn.bootcss.com/ace/1.4.9/ext-language_tools.js'></script><script src='https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/ace.js'></script><div id='div'><button onclick='onSave(\"%f\")'>Save</button> <a href=''>Run</a></div><pre id='editor'></pre><textarea id='textarea'>";cat "%f";
|
||||
代码编辑器:text/html:printf "<style>#div{position:fixed;top:2px}#editor{position: absolute;top:30;right:0;bottom:0;left:0;}#textarea{display:none}</style><script src='http://cdn.bootcss.com/ace/1.4.9/ace.js'></script><script src='http://cdn.bootcss.com/ace/1.4.9/ext-language_tools.js'></script><script src='https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/ace.js'></script><div id='div'><button onclick='onSave(\"%f\")'>Save</button> <a href=''>Run</a></div><pre id='editor'></pre><textarea id='textarea'>";cat "%f";
|
||||
淘宝比价:clip/uweb:grep -m1 -Eo '(http|https)://[^ "'\'']+'|curl -s "`cat`"|grep -m1 -Eo '(http|https)://[^ ?]+'|grep -Eo '[0-9]+'|echo "http://tool.manmanbuy.com/historyLowest.aspx?url=https://detail.tmall.com/item.htm?id=`cat`"
|
||||
markdeep:text/html:cat %f;echo "<style class=fallback>body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src=https://casual-effects.com/markdeep/latest/markdeep.min.js charset=utf-8></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility=visible)</script>"
|
||||
显示本地md:text/html:echo "<script src=https://fastly.jsdelivr.net/npm/mdme></script><textarea>";cat %f
|
||||
|
|
Loading…
Reference in a new issue