mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
add ddns support
This commit is contained in:
parent
71fb1c09eb
commit
79f9980fb5
7 changed files with 25 additions and 7 deletions
|
@ -67,7 +67,8 @@ box cloud:POST:type=webdav&url=https://dav.box.com/dav&username=xxx&
|
||||||
<a href="i:0hbookmark/novel.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/bookmark/novel.html">"novel.html": auto reader's mode</a></p>
|
<a href="i:0hbookmark/novel.html:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/bookmark/novel.html">"novel.html": auto reader's mode</a></p>
|
||||||
<h3 id="science">Science</h3>
|
<h3 id="science">Science</h3>
|
||||||
<h4 id="physics">Physics</h4>
|
<h4 id="physics">Physics</h4>
|
||||||
<p><a href="https://www.feynmanlectures.caltech.edu/">Feynman lectures</a></p>
|
<p><a href="https://www.feynmanlectures.caltech.edu/">Feynman lectures</a><br>
|
||||||
|
<a href="https://webspace.science.uu.nl/~gadda001/goodtheorist/index.html">goodtheorist</a></p>
|
||||||
<h4 id="chemistry">Chemistry</h4>
|
<h4 id="chemistry">Chemistry</h4>
|
||||||
<p><a href="https://www.chemspider.com">chemspider</a><br>
|
<p><a href="https://www.chemspider.com">chemspider</a><br>
|
||||||
<a href="http://bl.ocks.org/chemplexity/raw/180e960a6d9e68adf28429dd16f05fa0/">molecule SMILES</a><br>
|
<a href="http://bl.ocks.org/chemplexity/raw/180e960a6d9e68adf28429dd16f05fa0/">molecule SMILES</a><br>
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
<p><a href="https://releases.pagure.org/uweb/">pagure</a></p>
|
<p><a href="https://releases.pagure.org/uweb/">pagure</a></p>
|
||||||
<p><a href="https://sourceforge.net/projects/uwebbrowser/files/v1/">sourceforge</a></p>
|
<p><a href="https://sourceforge.net/projects/uwebbrowser/files/v1/">sourceforge</a></p>
|
||||||
<h4 id="change-logs">Change logs</h4>
|
<h4 id="change-logs">Change logs</h4>
|
||||||
|
<p>945: commands to support evaluation of generated js code.</p>
|
||||||
<p>943: Multiple home screens support .mht (offline webpage), .search & .html local files.</p>
|
<p>943: Multiple home screens support .mht (offline webpage), .search & .html local files.</p>
|
||||||
<p>940: <a href="../url2site/index.html">Any url as website</a> with local html processing (<a href="../links/index.html">"i:0m/..../xxx.html:url"</a>)</p>
|
<p>940: <a href="../url2site/index.html">Any url as website</a> with local html processing (<a href="../links/index.html">"i:0m/..../xxx.html:url"</a>)</p>
|
||||||
<p>935:</p>
|
<p>935:</p>
|
||||||
|
|
|
@ -66,6 +66,9 @@
|
||||||
<p><a href="i:03Send url(fullscreen)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500">Send url(fullscreen)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
<p><a href="i:03Send url(fullscreen)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500">Send url(fullscreen)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
||||||
<p><a href="i:03Send url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500">Send url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
<p><a href="i:03Send url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500">Send url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
||||||
<p><a href="i:03Send url(clipboard):clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500">Send url(clipboard):clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
<p><a href="i:03Send url(clipboard):clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500">Send url(clipboard):clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500</a></p>
|
||||||
|
<p>Modify with your own info:<br>
|
||||||
|
<a href="i:03dynv6_sim1:/uweb:print 'http://dynv6.com/api/update?hostname=&token=&ipv6=';ip addr|grep 'inet6 [^f]'|grep global|grep -v temporary|head -n 1|sed 's/^.*inet6 //'|sed 's/\/.*$//'">Refresh dynv6 ddns for sim card 1</a></p>
|
||||||
|
<p><a href="i:03dynv6_wifi:/uweb:print 'http://dynv6.com/api/update?hostname=&token=&ipv6=';ip addr|grep 'inet6 [^f]'|grep global|grep -v temporary|tail -n 1|sed 's/^.*inet6 //'|sed 's/\/.*$//'">Refresh dynv6 ddns for wifi</a></p>
|
||||||
<p>Need root permissions:</p>
|
<p>Need root permissions:</p>
|
||||||
<p>Need termux:<br>
|
<p>Need termux:<br>
|
||||||
<a href="i:03VPN::am start -a android.net.vpn.SETTINGS">VPN::am start -a android.net.vpn.SETTINGS</a></p>
|
<a href="i:03VPN::am start -a android.net.vpn.SETTINGS">VPN::am start -a android.net.vpn.SETTINGS</a></p>
|
||||||
|
@ -96,7 +99,7 @@ Clipboard2QR needs libqrencode.</p>
|
||||||
<p>[command line] can have "%c" (cookie), "%s" (address bar text), "%u" (url), "%t" (title).<br>
|
<p>[command line] can have "%c" (cookie), "%s" (address bar text), "%u" (url), "%t" (title).<br>
|
||||||
[mimetype] have the following formats:</p>
|
[mimetype] have the following formats:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>regular mimetype such as "text/html" to indicate the content type of the command output.</li>
|
<li>regular mimetype such as "text/html" to indicate the content type of the command output. Ex. "text/javascript" makes browser to evaluate the js code.</li>
|
||||||
<li>"clip/clip" to indicate "clipboard" as input and the command output is copied to clipboard.</li>
|
<li>"clip/clip" to indicate "clipboard" as input and the command output is copied to clipboard.</li>
|
||||||
<li>"/clip": copy the command output to clipboard.</li>
|
<li>"/clip": copy the command output to clipboard.</li>
|
||||||
<li>"clip/text/html" : clipboard as input, and the command output is processed as "text/html".</li>
|
<li>"clip/text/html" : clipboard as input, and the command output is processed as "text/html".</li>
|
||||||
|
|
|
@ -59,11 +59,12 @@ uweb, termux &amp; history versions
|
||||||
github
|
github
|
||||||
pagure
|
pagure
|
||||||
sourceforge
|
sourceforge
|
||||||
Change logs 943: Multiple home screens support .mht (offline webpage), .search &amp; .html local files.
|
Change logs 945: commands to support evaluation of generated js code.
|
||||||
|
943: Multiple home screens support .mht (offline webpage), .search &amp; .html local files.
|
||||||
940: Any url as website with local html processing (&quot;i:0m/..../xxx.html:url&quot;)
|
940: Any url as website with local html processing (&quot;i:0m/..../xxx.html:url&quot;)
|
||||||
935:
|
935:
|
||||||
Pipe support: command line output to uweb tabs. 934:
|
Pipe support: command line output to uweb tabs. 934:
|
||||||
Serverless local sites: PWA-kind web extension (chrome .crx &amp; firefox .xpi) support. PWAs and web extensions to be used as search engines, ex. kiwix zim as search engines.</description>
|
Serverless local sites: PWA-kind web extension (chrome .crx &amp; firefox .xpi) support. PWAs and web extensions to be used as search engines, ex.</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
|
|
@ -49,7 +49,15 @@
|
||||||
</ul>
|
</ul>
|
||||||
<p><a href="i:01Extract webapp:i:0bsitecache/local/:">Click to install url service that extracts web apps to the folder "sitecache/local/"</a>: support web extensions (.crx for chrome & .xpi for firefox).</p>
|
<p><a href="i:01Extract webapp:i:0bsitecache/local/:">Click to install url service that extracts web apps to the folder "sitecache/local/"</a>: support web extensions (.crx for chrome & .xpi for firefox).</p>
|
||||||
<p>Offline resources locate in the folder "sitecache". With the option "use offline resources" enabled, the corresponding files in "sitecache/[domain name]/[full path including filename, '?' , '&' , '='. exactly as url]" are loaded first before reaching the network.</p>
|
<p>Offline resources locate in the folder "sitecache". With the option "use offline resources" enabled, the corresponding files in "sitecache/[domain name]/[full path including filename, '?' , '&' , '='. exactly as url]" are loaded first before reaching the network.</p>
|
||||||
<p>PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome & .xpi for firefox) are just packaged websites. Ex. the "kiwix" extension can be extracted to the folder "sitecache/local/kiwix", then the kiwix extension can be accessed via url "https://local/kiwix/www/index.html" in the browser. Note: the folder name "local" is used as the domain name in the url.</p>
|
<p>PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome & .xpi for firefox) are just packaged websites. Ex. the "kiwix" extension can be extracted to the folder "sitecache/local/kiwix"<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>, then the kiwix extension can be accessed via url "https://local/kiwix/www/index.html" in the browser.</p>
|
||||||
|
<div class="footnotes" role="doc-endnotes">
|
||||||
|
<hr>
|
||||||
|
<ol>
|
||||||
|
<li id="fn:1">
|
||||||
|
<p>the folder name "local" is used as the domain name in the url. <a href="#fnref:1" class="footnote-backref" role="doc-backlink">↩︎</a></p>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -17,11 +17,12 @@ uweb, termux &amp; history versions
|
||||||
github
|
github
|
||||||
pagure
|
pagure
|
||||||
sourceforge
|
sourceforge
|
||||||
Change logs 943: Multiple home screens support .mht (offline webpage), .search &amp; .html local files.
|
Change logs 945: commands to support evaluation of generated js code.
|
||||||
|
943: Multiple home screens support .mht (offline webpage), .search &amp; .html local files.
|
||||||
940: Any url as website with local html processing (&quot;i:0m/..../xxx.html:url&quot;)
|
940: Any url as website with local html processing (&quot;i:0m/..../xxx.html:url&quot;)
|
||||||
935:
|
935:
|
||||||
Pipe support: command line output to uweb tabs. 934:
|
Pipe support: command line output to uweb tabs. 934:
|
||||||
Serverless local sites: PWA-kind web extension (chrome .crx &amp; firefox .xpi) support. PWAs and web extensions to be used as search engines, ex. kiwix zim as search engines.</description>
|
Serverless local sites: PWA-kind web extension (chrome .crx &amp; firefox .xpi) support. PWAs and web extensions to be used as search engines, ex.</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
|
|
@ -19,6 +19,9 @@
|
||||||
//return await resp.text();
|
//return await resp.text();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
marked.setOptions({
|
||||||
|
gfm: true,
|
||||||
|
});
|
||||||
|
|
||||||
var file;
|
var file;
|
||||||
var blocksize = 20480;
|
var blocksize = 20480;
|
||||||
|
|
Loading…
Reference in a new issue