diff --git a/en/_posts/index.xml b/en/_posts/index.xml
index 67b03acf..4b3e37f1 100644
--- a/en/_posts/index.xml
+++ b/en/_posts/index.xml
@@ -165,7 +165,7 @@ Click the following links to install termux configurations: .bashrc
.inputrc
z.sh
commacd.sh
-Copy existing termux installation to other devices Using uweb to copy (Long pressing the following links and "open in new tab" to fix/send/receive):
+.profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)
-
diff --git a/en/cmds/index.html b/en/cmds/index.html
index c2fa9c0b..be2dbe25 100644
--- a/en/cmds/index.html
+++ b/en/cmds/index.html
@@ -50,8 +50,6 @@
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
@@ -60,27 +58,30 @@
config in Download::cd /data/data/info.torinfo.uweb;toybox rm -rf files;toybox mkdir -p /sdcard/Download/uweb;toybox ln -s /sdcard/Download/uweb files
html5 in Download::cd /data/data/info.torinfo.uweb/files;toybox rm -rf app;toybox mkdir -p /sdcard/Download/app;toybox ln -s /sdcard/Download/app
tgz install::toybox tar -xzf %f -C /
+Users should change the IP addresses in the following menus accordingly. In all cases, TV side needs to execute "wait for network msg " first. Send message to network (ex. for android TVs):
+Send clipboard:clip/uweb:printf 'i:5ji:5b';cat
+Send url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500
+Send url(player)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500
+Sendurl(bookmark)::printf 'i:51../home5:i:0mc16:%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
+Send url(video)::printf 'i:0mc16:%u'|/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
Need root permissions:
Need termux:
-cd:termux/*:cd %f;exit 1
+VPN::am start -a android.net.vpn.SETTINGS
+wireless::am start -a android.settings.WIRELESS_SETTINGS
+cd:termux/*:cd %f;exit 1
vim:termux/*:vim %f
deduplicate history::awk -F'\t' '!s[$2]++' /data/data/info.torinfo.uweb/files/history.rec>/sdcard/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/history.rec
deduplicate bookmarks::awk '!s[$0]++' /data/data/info.torinfo.uweb/files/bookmark.html>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/bookmark.html
deduplicate hosts::toybox tac /data/data/info.torinfo.uweb/files/default.hosts|awk -F' ' '!s[$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/default.hosts
deduplicate siteconf::toybox tac /data/data/info.torinfo.uweb/files/default.siteconf|awk -F':' '!s[$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/default.siteconf
-Send url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500
-Send url(player)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500
-Sendurl(bookmark)::printf 'i:51../home5:i:0mc16:%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
-Send url(video)::printf 'i:0mc16:%u'|/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
Clipboard2PC:clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -i'
ClipboardFromPC:/clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -o'
Clipboard broadcast:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast
Clipboard from broadcast:/clip:socat -u udp-recvfrom:1500 SYSTEM:'cat;exit'
Clipboard2QR:clip/uweb:qrencode -o /sdcard/Download/a.png;echo file:///sdcard/Download/a.png
-"Send url" needs to modify Android TV ip address.
-Clipboard2PC needs to modify username, PC needs xsel. ssh needs to be installed inside termux (apt install openssh).
+
Clipboard2PC needs to modify username, PC needs xsel. ssh needs to be installed inside termux (apt install openssh).
Clipboard broadcast needs socat(apt install socat)。
Clipboard2QR needs libqrencode.
More commands (click to install)
diff --git a/en/index.xml b/en/index.xml
index b0b647e8..afb6f496 100644
--- a/en/index.xml
+++ b/en/index.xml
@@ -193,11 +193,11 @@ trace.moe:https://trace.moe/?url=
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
+Clear logcat::logcat -c
+logcat.log::logcat -d > logcat.log
+copy cookie:/clip:printf '%c'
-
@@ -272,7 +272,7 @@ Click the following links to install termux configurations: .bashrc
.inputrc
z.sh
commacd.sh
-Copy existing termux installation to other devices Using uweb to copy (Long pressing the following links and "open in new tab" to fix/send/receive):
+.profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)
-
diff --git a/en/sitemap/index.html b/en/sitemap/index.html
index 6f63e999..a5a394b5 100644
--- a/en/sitemap/index.html
+++ b/en/sitemap/index.html
@@ -50,7 +50,7 @@
UI
Customization
Advanced
Content
diff --git a/en/termux/index.html b/en/termux/index.html
index 3fa0ef93..3f5481f5 100644
--- a/en/termux/index.html
+++ b/en/termux/index.html
@@ -53,6 +53,7 @@
.inputrc
z.sh
commacd.sh
+.profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)
Copy existing termux installation to other devices
Using uweb to copy (Long pressing the following links and "open in new tab" to fix/send/receive):
diff --git a/en/topposts/index.xml b/en/topposts/index.xml
index 6494ae0e..6c66e3be 100644
--- a/en/topposts/index.xml
+++ b/en/topposts/index.xml
@@ -90,11 +90,11 @@ trace.moe:https://trace.moe/?url=
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
+Clear logcat::logcat -c
+logcat.log::logcat -d > logcat.log
+copy cookie:/clip:printf '%c'
-
diff --git a/index.html b/index.html
index d7ba57d6..f9c0beec 100644
--- a/index.html
+++ b/index.html
@@ -1,10 +1 @@
-
-
-
-
zh/
-
-
-
-
-
-
+
diff --git a/termux/profile b/termux/profile
new file mode 100644
index 00000000..047ad3ea
--- /dev/null
+++ b/termux/profile
@@ -0,0 +1,3 @@
+PATH=/system/bin:/system/xbin
+export PATH
+
diff --git a/zh/cmds/index.html b/zh/cmds/index.html
index 1b7f858d..b9ff0777 100644
--- a/zh/cmds/index.html
+++ b/zh/cmds/index.html
@@ -53,33 +53,35 @@
清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb
本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.
-VPN::am start -a android.net.vpn.SETTINGS
-无线::am start -a android.settings.WIRELESS_SETTINGS
合并查询历史至自动填充: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
清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache
清空logcat::logcat -c
输出logcat.log::logcat -d > logcat.log
复制cookie:/clip:printf '%c'
tgz install::toybox tar -xzf %f -C /
+以下命令需修改接收端IP定制。另外,发送消息前接收端需首先执行“等待网络消息 ”命令。
+发送剪贴板:clip/uweb:printf 'i:5ji:5b';cat
+发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500
+发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500
+发送url(书签)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500
+发送url(全屏)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500
+发送url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500
+发送剪贴板2:clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500
下面配置需要root权限:
解冻微信::su -c 'pm enable com.tencent.mm'
冻结微信::su -c 'pm disable com.tencent.mm'
解冻拼多多::su -c 'pm enable com.xunmeng.pinduoduo'
冻结拼多多::su -c 'pm disable com.xunmeng.pinduoduo'
下面配置需要termux:
-cd:termux/*:cd %f;exit 1
+VPN::am start -a android.net.vpn.SETTINGS
+无线::am start -a android.settings.WIRELESS_SETTINGS
+cd:termux/*:cd %f;exit 1
vim:termux/*:vim %f
历史去重::awk -F'\t' '!s[$2]++' /data/data/info.torinfo.uweb/files/history.rec>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/history.rec
书签去重::awk '!s[$0]++' /data/data/info.torinfo.uweb/files/bookmark.html>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/bookmark.html
hosts去重::toybox tac /data/data/info.torinfo.uweb/files/default.hosts|awk -F' ' '!s[$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/default.hosts
网站设置去重::toybox tac /data/data/info.torinfo.uweb/files/default.siteconf|awk -F':' '!s[$1]++' |toybox tac>/sdcard/Download/a.tmp;mv /sdcard/Download/a.tmp /data/data/info.torinfo.uweb/files/default.siteconf
代理8888:termux/*:tinyproxy;am start -a android.settings.WIFI_SETTINGS
-发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500
-发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500
-发送url(书签)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500
-发送url(全屏)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500
-发送url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500
-发送剪贴板:clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500
剪贴板_至PC:clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -i'
剪贴板_从PC:/clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -o'
剪贴板广播:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast
diff --git a/zh/index.xml b/zh/index.xml
index 0fb8dfbc..db79272d 100644
--- a/zh/index.xml
+++ b/zh/index.xml
@@ -260,17 +260,17 @@ BugMeNot
清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb
本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/.
-VPN::am start -a android.net.vpn.SETTINGS
-无线::am start -a android.settings.WIRELESS_SETTINGS
合并查询历史至自动填充: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
清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache
清空logcat::logcat -c
输出logcat.log::logcat -d > logcat.log
复制cookie:/clip:printf '%c'
tgz install::toybox tar -xzf %f -C /
-下面配置需要root权限:
-解冻微信::su -c 'pm enable com.tencent.mm'
-冻结微信::su -c 'pm disable com.
+以下命令需修改接收端IP定制。另外,发送消息前接收端需首先执行“等待网络消息”命令。
+发送剪贴板:clip/uweb:printf 'i:5ji:5b';cat
+发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500
+发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500
+发送url(书签)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500
-
diff --git a/zh/searchurl/backup.html b/zh/searchurl/backup.html
index ec176199..35c6e248 100644
--- a/zh/searchurl/backup.html
+++ b/zh/searchurl/backup.html
@@ -2,7 +2,7 @@
'&'+ f.fixed.value +
'&'+ f.sansserif.value +
'&'+ f.serif.value +
-':https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/template/config.html';return false;" accept-charset=utf-8 >`];
+':https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/template/config.html';return false;" accept-charset=utf-8 >`];
let strs = text.split('\n');
diff --git a/zh/searchurl/homescreen.html b/zh/searchurl/homescreen.html
index ea0400af..876978d7 100644
--- a/zh/searchurl/homescreen.html
+++ b/zh/searchurl/homescreen.html
@@ -2,14 +2,14 @@