mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
make uweb private folder managable by 3rd-party file managers
This commit is contained in:
parent
70b828eba7
commit
4212feb617
14 changed files with 139 additions and 19 deletions
|
@ -208,6 +208,20 @@ commacd.sh
|
|||
.profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Tips</title>
|
||||
<link>/en/tips/</link>
|
||||
<pubDate>Mon, 01 Nov 2021 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/tips/</guid>
|
||||
<description>Configuration folder and file managers
|
||||
With shell command mode, configuration folders can be symbolic linked to other public folders or managed by 3rd party file managers via termux.
|
||||
To show web pages in desktop mode:
|
||||
PC button + option &quot;wide viewport&quot; + global js &quot;force page resizable&quot;.
|
||||
Multiple home screens and Next/Prev page:
|
||||
home5.html, home6.html/home6.search, home7.html/home7.search, ... can be visited via pressing the right arrow button while home4.html/home4.search, home3.html/home3.search ... with long pressing the left arrow.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Long pressed link menu</title>
|
||||
<link>/en/longclick/</link>
|
||||
|
|
|
@ -55,6 +55,7 @@ output;splot %25s'%0A">GNUPlot plot (3D function), needs uweb adapted termux &am
|
|||
<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/uweb"</a></p>
|
||||
<p><a href="i:15cd /data/data/com.termux/files/home;ln -s ../../../info.torapp.uweb/files uweb">Make uweb configuration folder accessible by file managers with termux installed</a></p>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -162,6 +162,12 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="tips/index.html">
|
||||
<span>Tips</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="longclick/index.html">
|
||||
<span>Long pressed link menu</span>
|
||||
|
|
16
en/index.xml
16
en/index.xml
|
@ -79,7 +79,7 @@ Note: "Engines" needs file "engine.search",whose format is sam
|
|||
<pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/sitemap/</guid>
|
||||
<description>UI Search engines UI (gitee) Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Redirection Offline cache Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual </description>
|
||||
<description>UI Search engines UI (gitee) Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Redirection Offline cache Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual Tips </description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
@ -320,6 +320,20 @@ commacd.sh
|
|||
.profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Tips</title>
|
||||
<link>/en/tips/</link>
|
||||
<pubDate>Mon, 01 Nov 2021 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/tips/</guid>
|
||||
<description>Configuration folder and file managers
|
||||
With shell command mode, configuration folders can be symbolic linked to other public folders or managed by 3rd party file managers via termux.
|
||||
To show web pages in desktop mode:
|
||||
PC button + option &quot;wide viewport&quot; + global js &quot;force page resizable&quot;.
|
||||
Multiple home screens and Next/Prev page:
|
||||
home5.html, home6.html/home6.search, home7.html/home7.search, ... can be visited via pressing the right arrow button while home4.html/home4.search, home3.html/home3.search ... with long pressing the left arrow.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Long pressed link menu</title>
|
||||
<link>/en/longclick/</link>
|
||||
|
|
|
@ -344,6 +344,19 @@
|
|||
</url><url>
|
||||
<loc>/en/termux/</loc>
|
||||
<lastmod>2022-01-01T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/en/tips/</loc>
|
||||
<lastmod>2021-11-01T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/tips/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/tips/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/longclick/</loc>
|
||||
<lastmod>2020-11-06T00:00:00+00:00</lastmod>
|
||||
|
|
|
@ -91,6 +91,7 @@
|
|||
<h5 id="tips">Tips</h5>
|
||||
<ul>
|
||||
<li><a href="../assets/help_en.html">Manual</a></li>
|
||||
<li><a href="../tips/index.html">Tips</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -49,16 +49,16 @@
|
|||
<a href="c:bc -l">GNU bc (basic calculator)</a><br>
|
||||
<a href="c:bc -l *.bc">bc with all extensions</a></p>
|
||||
<h4 id="click-the-following-links-to-install-termux-configurations">Click the following links to install termux configurations:</h4>
|
||||
<p><a href="i:0h/data/data/com.termux/files/home/.bashrc:https://fastly.jsdelivr.net/gh/torappinfo/uweb/termux/bashrc">.bashrc</a></p>
|
||||
<p><a href="i:0h/data/data/com.termux/files/home/.inputrc:https://fastly.jsdelivr.net/gh/torappinfo/uweb/termux/inputrc">.inputrc</a></p>
|
||||
<p><a href="i:0h/data/data/com.termux/files/home/.bashrc:../../termux/bashrc">.bashrc</a></p>
|
||||
<p><a href="i:0h/data/data/com.termux/files/home/.inputrc:../../termux/inputrc">.inputrc</a></p>
|
||||
<p><a href="i:0h/data/data/com.termux/files/home/z.sh:https://fastly.jsdelivr.net/gh/rupa/z/z.sh">z.sh</a></p>
|
||||
<p><a href="i:0h/data/data/com.termux/files/home/commacd.sh:https://fastly.jsdelivr.net/gh/shyiko/commacd/commacd.sh">commacd.sh</a></p>
|
||||
<p><a href="i:0h/data/data/com.termux/files/home/.profile:https://fastly.jsdelivr.net/gh/torappinfo/uweb/termux/profile">.profile</a> : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)</p>
|
||||
<p><a href="i:0h/data/data/com.termux/files/home/.profile:../../termux/profile">.profile</a> : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)</p>
|
||||
<h4 id="copy-existing-termux-installation-to-other-devices">Copy existing termux installation to other devices</h4>
|
||||
<p>Using uweb to copy (Long pressing the following links and "open in new tab" to fix/send/receive):</p>
|
||||
<ul>
|
||||
<li>target device: install termux app.</li>
|
||||
<li>(optional)<a href="d::mkdir -p /data/data/com.termux/files/home/.termux;cd /data/data/com.termux/files;mkdir usr;cd home/.termux;ln -s /system/bin/sh shell:">fix termux quick crash</a></li>
|
||||
<li>(optional)<a href="d::mkdir -p /data/data/com.termux/files/home/.termux;cd /data/data/com.termux/files;mkdir usr;cd home/.termux;ln -s /system/bin/sh shell:">fix termux quick crash with "updateonly" versions</a></li>
|
||||
<li>both devices: uweb to checke option "Use termux" in UI configuration page for long time tranferring. Uweb itself does not hold any wakelock thus may have issues for huge data transmission.</li>
|
||||
<li>source device: uweb to visit "files:///data/data/com.termux/", long click "files" folder to send to network.</li>
|
||||
<li>target device: uweb to visit "files:///data/data/com.termux/", long click "right arrow" button to receive from network.</li>
|
||||
|
|
60
en/tips/index.html
Normal file
60
en/tips/index.html
Normal file
|
@ -0,0 +1,60 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<link rel="stylesheet" href="/uwebzh/style.css" type="text/css" />
|
||||
<title>Tips</title>
|
||||
<script type="text/javascript">
|
||||
function findLang(){
|
||||
let href = location.href;
|
||||
for(let i=href.length-1;i>0;i--){
|
||||
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
|
||||
return i;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
function nav2(page){
|
||||
let i = findLang();
|
||||
location.href = location.href.substring(0,i+1)+page;
|
||||
}
|
||||
function nav2Lang(lang){
|
||||
let i = findLang();
|
||||
let href = location.href;
|
||||
location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<header class='header'>
|
||||
<a class="logo" href="javascript:void(0)" onclick="return nav2('index.html')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html')">Tags</a>
|
||||
|
||||
|
||||
<a class="logo" href="javascript:void(0)" onclick="return nav2Lang('zh')">简体中文</a>
|
||||
|
||||
|
||||
<nav>
|
||||
</nav>
|
||||
</header>
|
||||
<br />
|
||||
|
||||
<div class="container">
|
||||
<h1 class="title">Tips
|
||||
<br>
|
||||
<span class="subtitle"></span>
|
||||
</h1>
|
||||
<ul class="tags">
|
||||
|
||||
</ul>
|
||||
<p><strong>Configuration folder and file managers</strong><br>
|
||||
With <a href="../../en/acmd/index.html">shell command mode</a>, configuration folders can be symbolic linked to other public folders or managed by 3rd party file managers via termux.</p>
|
||||
<p><strong>To show web pages in desktop mode</strong>:<br>
|
||||
PC button + option "wide viewport" + global js "force page resizable".</p>
|
||||
<p><strong>Multiple home screens and Next/Prev page</strong>:<br>
|
||||
home5.html, home6.html/home6.search, home7.html/home7.search, ... can be visited via pressing the right arrow button while home4.html/home4.search, home3.html/home3.search ... with long pressing the left arrow.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -47,7 +47,7 @@ Note: "Engines" needs file "engine.search",whose format is sam
|
|||
<pubDate>Thu, 28 Jul 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/sitemap/</guid>
|
||||
<description>UI Search engines UI (gitee) Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Redirection Offline cache Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual </description>
|
||||
<description>UI Search engines UI (gitee) Customization Long pressing menus for toolbar buttons User agents Javascript Url services Links Commands Remote javascript Menu for selections Menu for long pressing hypertext Toolbar Gestures Address bar command modes Font settings Advanced Content AD blocking CSS styles Redirection Offline cache Javascript and CSS for domains Tools Bookmarklets Custom file handling Html5 application Termux Miscellaneous Configuration files Tips Manual Tips </description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue