From 1d24854e0bceea2f3f5d100287fcc436d625f7a1 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sun, 31 Jul 2022 16:18:31 +0800 Subject: [PATCH] rebuilding site Sun Jul 31 04:18:31 PM CST 2022 --- README.md | 6 +-- en/_posts/index.xml | 50 ++++++++++++++-------- en/acmd/index.html | 61 ++++++++++++++++++++++++++ en/html5/index.html | 85 +++++++++++++++++++++++++++++++++++++ en/index.html | 18 +++++--- en/index.xml | 50 ++++++++++++++-------- en/search/index.html | 1 + en/sitemap.xml | 57 +++++++++++++------------ sitemap.xml | 2 +- zh/_posts/index.xml | 3 +- zh/bc/index.html | 3 +- zh/html5/index.html | 6 ++- zh/index.xml | 3 +- zh/searchurl/txt/mdict.html | 20 +++++---- zh/sitemap.xml | 20 ++++----- 15 files changed, 289 insertions(+), 96 deletions(-) create mode 100644 en/acmd/index.html create mode 100644 en/html5/index.html diff --git a/README.md b/README.md index 1cd5c61..6ad6bbe 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,10 @@ ) - Tiny: less than 200k -- Fast: run fast, more apparently with thousands of user provided css/scripts +- Fast: run fast, even with thousands of user provided css/scripts - Efficient: less touches, one click to reach any number of search engines without repeated input. -- Customizable: user-defined menus (or buttons/gestures) for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc. -- Powerful: enabling html5 applications to work like native; javascript and shell scripting for general processing and more with uweb compatible Termux. +- Customizable: user-defined menus, (new) buttons and gestures for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc. +- Powerful: enabling html5 applications to work like native; javascript and shell scripting for general processing and more if enhanced by Termux. #### Main features TTS, text reflow, resource sniffer, translation, reader's mode, user-defined url redirection, webdav/http backup & restore, auto next page, sending/receiving msg/file(s), site config (UA, no JS, no image, no 3rd party script/resource,active script, global scripts), http(s)/socks proxy, enabling html5 apps for local files (pdf/djvu/epub viewer, mdict dictionary lookup etc.). diff --git a/en/_posts/index.xml b/en/_posts/index.xml index d7a4e9d..974ddf2 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -5,7 +5,39 @@ /en/_posts/ Recent content in _posts on Hugo -- gohugo.io - Thu, 30 Jun 2022 00:00:00 +0000 + Sun, 31 Jul 2022 00:00:00 +0000 + + Html5 applications + /en/html5/ + Sun, 31 Jul 2022 00:00:00 +0000 + + /en/html5/ + mdict dictionary lookup search engine: +i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word= +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". +Html5 applications Click to install the following html5 apps: +Huge markdown file viewer +Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.) +plyr video player +dplayer video player +pdf viewer +epub reader (author:llili) +djvu viewer +The corresponding menu can be installed with url services. + + + + Address bar command modes + /en/acmd/ + Sat, 30 Jul 2022 00:00:00 +0000 + + /en/acmd/ + Commands are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easyly. +The configure file "default.acmd" 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 "refresh" botton to switch modes): +Shell command mode +<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- ) + + Configuration folders/files /en/filenames/ @@ -77,22 +109,6 @@ Toggle all checkboxes in forms Enable selection - - Commands - /en/cmds/ - Thu, 02 Jun 2022 00:00:00 +0000 - - /en/cmds/ - Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu. -Configuration file "default.cmds" examples: -Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete -VPN::am start -a android.net.vpn.SETTINGS -wireless::am start -a android.settings.WIRELESS_SETTINGS -Append query to autocomplete:uweb:cd /data/data/info.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc -Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache -Clear logcat::logcat -c - - Text selection /en/pccopy/ diff --git a/en/acmd/index.html b/en/acmd/index.html new file mode 100644 index 0000000..4b71208 --- /dev/null +++ b/en/acmd/index.html @@ -0,0 +1,61 @@ + + + + + + + + Address bar command modes + + + +
+ + + +
+
+ +
+

Address bar command modes +
+ +

+
    + +
+

Commands are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easyly.

+

The configure file "default.acmd" 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 "refresh" botton to switch modes):

+

Shell command mode

+

<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- )

+

GNUPlot plot (2D function), needs uweb adapted termux & gnuplot

+

GNUPlot plot (3D function), needs uweb adapted termux & gnuplot

+

Shell command mode

+

Click the following links to make commands appear in address bar, then press "enter" to execute:
+symbolic link "app" folder to be under the "Download" folder

+ +
+ + + diff --git a/en/html5/index.html b/en/html5/index.html new file mode 100644 index 0000000..2391551 --- /dev/null +++ b/en/html5/index.html @@ -0,0 +1,85 @@ + + + + + + + + Html5 applications + + + +
+ + + + + + + +
+
+ +
+

Html5 applications +
+ +

+
    + +
+

mdict dictionary lookup search engine:
+i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=

+

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".

+

Html5 applications

+

Click to install the following html5 apps:
+Huge markdown file viewer
+Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)
+plyr video player
+dplayer video player
+pdf viewer
+epub reader (author:llili)
+djvu viewer

+

The corresponding menu can be installed with url services.

+

Features

+

The following mentioned subfolders locate in the configuration folder.

+
    +
  • All html5 applications locating in a subfolder whose name begins with "app" (such as "appPDF") are allowed to read local files. Use url "https://local/sdcard/..." for a local file.
  • +
  • All files under the subfolder "app" can be automatically choosed as file objects by any web page.
  • +
+

Click to configure default.filecap to open local files, and to open remote files with the option "custom file handling":
+use pdf.js,djvu.js,epub.js, huge markdown viewer for local files

+

url examples are as follows:

+
    +
  • file:///data/data/info.torinfo.uweb/files/app/pdfviewer.html?file=[path].pdf#page=[xxx]
  • +
  • file:///data/data/info.torinfo.uweb/files/app/djvu.html?url=...xx.pdf#page=[xxx]
  • +
  • file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#page=[xxx]
  • +
  • file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#offset=[xxxx]&[length]
  • +
  • file:///data/data/info.torinfo.uweb/files/app/markdeep.html?url=[url]#page=[xxx]
  • +
  • file:///data/data/info.torinfo.uweb/files/app/markdeep.html?url=[url]#offset=[xxxx]&[length]
  • +
+

Ex. "#offset=10000&500" will retrieve 500 bytes from offset 10000. Click the right arrow button to next page in all above file viewers.

+ +
+ + + diff --git a/en/index.html b/en/index.html index c7ae7e8..1f00dee 100644 --- a/en/index.html +++ b/en/index.html @@ -89,6 +89,18 @@ +
  • + + Html5 applications + +
  • + +
  • + + Address bar command modes + +
  • +
  • Configuration folders/files @@ -113,12 +125,6 @@
  • -
  • - - Commands - -
  • -
  • Text selection diff --git a/en/index.xml b/en/index.xml index 6cc9d6e..8345c73 100644 --- a/en/index.xml +++ b/en/index.xml @@ -5,7 +5,39 @@ /en/ Recent content on Hugo -- gohugo.io - Fri, 29 Jul 2022 00:00:00 +0000 + Sun, 31 Jul 2022 00:00:00 +0000 + + Html5 applications + /en/html5/ + Sun, 31 Jul 2022 00:00:00 +0000 + + /en/html5/ + mdict dictionary lookup search engine: +i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word= +The dictionary files (mdx, mdd) must locate in the &quot;app&quot; subfolder under the configuration folder. In above example, the files &quot;xxx.mdx&quot; and &quot;xxx.mdd&quot; locate in the folder &quot;.../app/mdict&quot;. +Html5 applications Click to install the following html5 apps: +Huge markdown file viewer +Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.) +plyr video player +dplayer video player +pdf viewer +epub reader (author:llili) +djvu viewer +The corresponding menu can be installed with url services. + + + + Address bar command modes + /en/acmd/ + Sat, 30 Jul 2022 00:00:00 +0000 + + /en/acmd/ + Commands are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easyly. +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- ) + + Search engines /en/search/ @@ -168,22 +200,6 @@ Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache Clear logcat::logcat -c - - Commands - /en/cmds/ - Thu, 02 Jun 2022 00:00:00 +0000 - - /en/cmds/ - Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu. -Configuration file &quot;default.cmds&quot; examples: -Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete -VPN::am start -a android.net.vpn.SETTINGS -wireless::am start -a android.settings.WIRELESS_SETTINGS -Append query to autocomplete:uweb:cd /data/data/info.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&gt;a.tmp;mv a.tmp default.autoc;&gt;query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc -Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache -Clear logcat::logcat -c - - Execute javascript codes /en/rjs/ diff --git a/en/search/index.html b/en/search/index.html index a089745..919448d 100644 --- a/en/search/index.html +++ b/en/search/index.html @@ -140,6 +140,7 @@ medical_freedict:https://medical-dictionary.thefreedictionary.com/

    merckmanuals:https://www.merckmanuals.com/professional/SearchResults?query=

    openmd:https://openmd.com/search?q=

    +

    radiopaedia:https://radiopaedia.org/search?q=

    medical-dict:https://medical-dictionary.com/results.php?term=

    ncbiBooks:https://www.ncbi.nlm.nih.gov/books/?term=

    healio:https://journals.healio.com/action/doSearch?AllField=

    diff --git a/en/sitemap.xml b/en/sitemap.xml index 8d401f5..ef78a7a 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /en/ - 2022-07-29T00:00:00+00:00 + 2022-07-31T00:00:00+00:00 + + /en/_posts/ + 2022-07-31T00:00:00+00:00 + + + + /en/html5/ + 2022-07-31T00:00:00+00:00 + + + + /en/acmd/ + 2022-07-30T00:00:00+00:00 /en/search/ 2022-07-29T00:00:00+00:00 @@ -56,19 +85,6 @@ /en/changelog/ 2022-07-09T00:00:00+00:00 - - /en/_posts/ - 2022-06-30T00:00:00+00:00 - - /en/filenames/ 2022-06-30T00:00:00+00:00 @@ -173,19 +189,6 @@ hreflang="en" href="/en/cmds/" /> - - /en/cmds/ - 2022-06-02T00:00:00+00:00 - - /en/rjs/ 2022-06-01T00:00:00+00:00 diff --git a/sitemap.xml b/sitemap.xml index 4bb4cef..88e5078 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -4,7 +4,7 @@ en/sitemap.xml - 2022-07-29T00:00:00+00:00 + 2022-07-31T00:00:00+00:00 diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml index e4386db..dc3b10f 100644 --- a/zh/_posts/index.xml +++ b/zh/_posts/index.xml @@ -399,8 +399,7 @@ webview 80- 夜间模式 Thu, 10 Feb 2022 00:00:00 +0000 /zh/bc/ - 使用uweb浏览器。 -Gnu bc计算器支持无限精度,可扩展函数库、常数库。 + Gnu bc计算器支持无限精度,可扩展函数库、常数库。 安装bc (Android11+无需安装) 安装uweb定制Termux应用 Termux下运行以下命令: apt update apt upgrade diff --git a/zh/bc/index.html b/zh/bc/index.html index bead69e..8423aa5 100644 --- a/zh/bc/index.html +++ b/zh/bc/index.html @@ -43,8 +43,7 @@
    -

    使用uweb浏览器
    -Gnu bc计算器支持无限精度,可扩展函数库、常数库。

    +

    Gnu bc计算器支持无限精度,可扩展函数库、常数库。

    安装bc (Android11+无需安装)

    • 安装uweb定制Termux应用
    • diff --git a/zh/html5/index.html b/zh/html5/index.html index 5e5945f..9c8960d 100644 --- a/zh/html5/index.html +++ b/zh/html5/index.html @@ -30,6 +30,10 @@
      + + + +
      @@ -55,7 +59,7 @@ i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx, 点击安装djvu阅读器
      相应的菜单安装可见浏览器特色服务

      超微配置目录下的子目录名如果以"app"开始(譬如"appPDF"),则这些"app"开头目录树下放置的html5应用将可获得功能增强。

      -

      配置default.filecap并打开选项“文件预处理”,清后台重启浏览器后超微可直接阅读应用对应格式文件。
      +

      配置default.filecap并打开选项“文件预处理”,清后台重启浏览器后超微可直接阅读应用对应格式文件。
      点击配置pdf.js,djvu.js,epub.js,超大文件阅读器

      超大文件阅读器txtview.html url如下:
      file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#page=[xxx]
      diff --git a/zh/index.xml b/zh/index.xml index 3de772d..4b8c20a 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -611,8 +611,7 @@ webview 80- 夜间模式 Thu, 10 Feb 2022 00:00:00 +0000 /zh/bc/ - 使用uweb浏览器。 -Gnu bc计算器支持无限精度,可扩展函数库、常数库。 + Gnu bc计算器支持无限精度,可扩展函数库、常数库。 安装bc (Android11+无需安装) 安装uweb定制Termux应用 Termux下运行以下命令: apt update apt upgrade diff --git a/zh/searchurl/txt/mdict.html b/zh/searchurl/txt/mdict.html index 71c3234..21b0133 100644 --- a/zh/searchurl/txt/mdict.html +++ b/zh/searchurl/txt/mdict.html @@ -75,20 +75,24 @@ diff --git a/zh/sitemap.xml b/zh/sitemap.xml index cb972ed..a9f7cd8 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -56,6 +56,16 @@ /zh/html5/ 2022-07-27T00:00:00+00:00 + + /zh/sitemap/ 2022-07-27T00:00:00+00:00 @@ -137,16 +147,6 @@ /zh/cmds/ 2022-06-01T00:00:00+00:00 - - /zh/cmds/ 2022-06-01T00:00:00+00:00