mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding site Thu Jun 30 11:43:08 AM CST 2022
This commit is contained in:
parent
ce465b53e3
commit
d5e26f165a
228 changed files with 1786 additions and 26411 deletions
7
zh/searchurl/script/axel.sh
Normal file
7
zh/searchurl/script/axel.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
apt update
|
||||
apt upgrade
|
||||
apt install axel
|
||||
(cat /sdcard/uweb/default.longclick;cat<<HERE )|awk '!s[$0]++'>a.tmp;mv a.tmp /sdcard/uweb/default.longclick
|
||||
axel::cd /sdcard/Download;axel -n 9
|
||||
HERE
|
||||
|
13
zh/searchurl/script/baidupcs.sh
Normal file
13
zh/searchurl/script/baidupcs.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
(cat /data/data/com.termux/files/usr/etc/apt/sources.list;cat<<EOF )|awk '!s[$0]++'>a.tmp;mv a.tmp /data/data/com.termux/files/usr/etc/apt/sources.list
|
||||
deb [trusted=yes] http://termux.iikira.com stable main
|
||||
EOF
|
||||
|
||||
apt update
|
||||
apt upgrade
|
||||
apt install baidupcs-go
|
||||
BaiduPCS-Go config set -appid=266719
|
||||
(cat /sdcard/uweb/default.longclick;cat<<HERE )|awk '!s[$0]++'>a.tmp;mv a.tmp /sdcard/uweb/default.longclick
|
||||
百度离线下载:/data/data/com.termux/files/usr/bin/BaiduPCS-Go od add
|
||||
HERE
|
||||
BaiduPCS-Go login
|
||||
|
5
zh/searchurl/script/bc.sh
Normal file
5
zh/searchurl/script/bc.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
pkg install bc
|
||||
(cat<<EOF ;cat /sdcard/uweb/default.acmd)|awk -F: '!s[$1]++'>a.tmp;mv a.tmp /sdcard/uweb/default.acmd
|
||||
超级计算器:text/html:echo "%s"|bc -l -q
|
||||
EOF
|
||||
|
1
zh/searchurl/script/disable_sh.sh
Normal file
1
zh/searchurl/script/disable_sh.sh
Normal file
|
@ -0,0 +1 @@
|
|||
sed -i '/^sh:/d;/^deb:/d' /sdcard/uweb/default.filecap
|
14
zh/searchurl/script/filecap_app.sh
Normal file
14
zh/searchurl/script/filecap_app.sh
Normal file
|
@ -0,0 +1,14 @@
|
|||
(cat<<EOF ;cat /sdcard/uweb/default.filecap)|awk -F: '!s[$1]++'>a.tmp;mv a.tmp /sdcard/uweb/default.filecap
|
||||
m3u8:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>'
|
||||
mp3:text/html:echo '<audio controls width=100% height=100%><source src="%u"></audio>'
|
||||
m4b:text/html:echo '<audio controls width=100% height=100%><source src="%u"></audio>'
|
||||
mp4:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>'
|
||||
mkv:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>'
|
||||
doc::am start --user 0 -a android.intent.action.VIEW -d "%u" -t "application/vnd.ms-word"
|
||||
xls::am start --user 0 -a android.intent.action.VIEW -d "%u" -t "application/vnd.ms-excel"
|
||||
ppt::am start --user 0 -a android.intent.action.VIEW -d "%u" -t "application/vnd.ms-powerpoint"
|
||||
docx::am start --user 0 -a android.intent.action.VIEW -d "%u" -t "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
||||
xlsx::am start --user 0 -a android.intent.action.VIEW -d "%u" -t "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
||||
pptx::am start --user 0 -a android.intent.action.VIEW -d "%u" -t "application/vnd.openxmlformats-officedocument.presentationml.presentation"
|
||||
EOF
|
||||
|
14
zh/searchurl/script/filecap_microsoft.sh
Normal file
14
zh/searchurl/script/filecap_microsoft.sh
Normal file
|
@ -0,0 +1,14 @@
|
|||
(cat<<EOF ;cat /sdcard/uweb/default.filecap)|awk -F: '!s[$1]++'>a.tmp;mv a.tmp /sdcard/uweb/default.filecap
|
||||
m3u8:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>'
|
||||
mp3:text/html:echo '<audio controls width=100% height=100%><source src="%u"></audio>'
|
||||
m4b:text/html:echo '<audio controls width=100% height=100%><source src="%u"></audio>'
|
||||
mp4:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>'
|
||||
mkv:text/html:echo '<video controls width=100% height=100%><source src="%u"></video>'
|
||||
doc:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
|
||||
xls:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
|
||||
ppt:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
|
||||
docx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
|
||||
xlsx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
|
||||
pptx:uweb:echo https://view.officeapps.live.com/op/view.aspx?src=%U
|
||||
EOF
|
||||
|
4
zh/searchurl/script/filecap_search.sh
Normal file
4
zh/searchurl/script/filecap_search.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
(cat<<EOF ;cat /sdcard/uweb/default.filecap)|awk -F: '!s[$1]++'>a.tmp;mv a.tmp /sdcard/uweb/default.filecap
|
||||
search:termux/*:!mkdir search;cd search;curl %u>%s;
|
||||
EOF
|
||||
|
1
zh/searchurl/script/filecap_sh.sh
Normal file
1
zh/searchurl/script/filecap_sh.sh
Normal file
|
@ -0,0 +1 @@
|
|||
echo 'sh:termux/*:!bash <(curl -s %''u)'>>/sdcard/uweb/default.filecap
|
8
zh/searchurl/script/filecap_tar.sh
Normal file
8
zh/searchurl/script/filecap_tar.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
(cat<<EOF ;cat /sdcard/uweb/default.filecap)|awk -F: '!s[$1]++'>a.tmp;mv a.tmp /sdcard/uweb/default.filecap
|
||||
txt:text/plain:curl -r 0-10240 -s "%u"
|
||||
tar.xz:text/plain:curl -r 0-10240 -s "%u"|tar -J -t
|
||||
tar.gz:text/plain:curl -r 0-10240 -s "%u"|tar -J -t
|
||||
tgz:text/plain:curl -r 0-10240 -s "%u"|tar -J -t
|
||||
tar:text/plain:curl -r 0-10240 -s "%u"|tar -t
|
||||
EOF
|
||||
|
7
zh/searchurl/script/filecap_ziprar.sh
Normal file
7
zh/searchurl/script/filecap_ziprar.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
(cat<<EOF ;cat /sdcard/uweb/default.filecap)|awk -F: '!s[$1]++'>a.tmp;mv a.tmp /sdcard/uweb/default.filecap
|
||||
zip:text/plain:curl -r -1024 -s "%u">tmp.zip;unzip -l tmp.zip
|
||||
rar:text/plain:curl -r 0-1024 -s "%u">tmp.rar;unrar l tmp.rar
|
||||
EOF
|
||||
apt install unzip unrar
|
||||
|
||||
|
7
zh/searchurl/script/gnuplot.sh
Normal file
7
zh/searchurl/script/gnuplot.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
pkg install gnuplot
|
||||
(cat<<EOF ;cat /sdcard/uweb/default.acmd)|awk -F: '!s[$1]++'>a.tmp;mv a.tmp /sdcard/uweb/default.acmd
|
||||
命令:text/plain:%s
|
||||
函数作图:image/svg+xml:gnuplot -e 'set term svg;set output; plot %s'
|
||||
函数作图(3d):image/svg+xml:gnuplot -e 'set term svg;set output; splot %s'
|
||||
EOF
|
||||
|
4
zh/searchurl/script/histuniq.sh
Normal file
4
zh/searchurl/script/histuniq.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
(cat<<EOF ;cat /sdcard/uweb/default.cmds)|awk -F: '!s[$1]++'>a.tmp;mv a.tmp /sdcard/uweb/default.cmds
|
||||
历史记录去重::awk -F'\t' '!s[\$2]++' /sdcard/uweb/history.log>a.tmp;mv a.tmp /sdcard/uweb/history.log
|
||||
EOF
|
||||
|
29
zh/searchurl/script/hosts_ad.sh
Normal file
29
zh/searchurl/script/hosts_ad.sh
Normal file
|
@ -0,0 +1,29 @@
|
|||
(cat<<EOF ;cat /sdcard/uweb/default.hosts)|awk '!s[$0]++'>a.tmp;mv a.tmp /sdcard/uweb/default.hosts
|
||||
lianmeng.360.cn
|
||||
appjiagu.com
|
||||
adm-cnzz.net
|
||||
alimama.com
|
||||
ipinyou.com
|
||||
mct01.com
|
||||
tanx.com
|
||||
wrating.com
|
||||
cpro.baidu.com
|
||||
pos.baidu.com
|
||||
share.baidu.com
|
||||
bcebos.com
|
||||
e.qq.com
|
||||
gdt.qq.com
|
||||
l.qq.com
|
||||
push.qq.com
|
||||
beacon.sina.com.cn
|
||||
mix.sina.com.cn
|
||||
go.sohu.com
|
||||
inte.sogou.com
|
||||
epro.sogou.com
|
||||
golden1.sogou.com
|
||||
uranus.sogou.com
|
||||
inte.sogoucdn.com
|
||||
lu.sogoucdn.com
|
||||
theta.sogoucdn.com
|
||||
ad.xiaomi.com
|
||||
EOF
|
2
zh/searchurl/script/js_caiyun.sh
Normal file
2
zh/searchurl/script/js_caiyun.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
mkdir -p /sdcard/uweb/bookmarklet
|
||||
curl 'https://caiyunapp.com/dest/trs.js' >/sdcard/uweb/bookmarklet/彩云小译.js
|
4
zh/searchurl/script/xzdic.sh
Normal file
4
zh/searchurl/script/xzdic.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
apt install less
|
||||
cd /sdcard/uweb/dict
|
||||
(cat /sdcard/uweb/home5.search;ls *.xz|awk '{print $0 ":c:xz -cdfq -- /sdcard/uweb/dict/" $0,"|less -n +\"/^####%s\""}')|awk -F: '!s[$1]++'>a.tmp;mv a.tmp /sdcard/uweb/home5.search
|
||||
|
4
zh/searchurl/script/xzgrep.sh
Normal file
4
zh/searchurl/script/xzgrep.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
apt install xz-utils grep less
|
||||
cd /sdcard/uweb/dict
|
||||
(cat /sdcard/uweb/home5.search;ls *.xz|awk -F: '{print $0 "G:c:xz -cdfq /sdcard/uweb/dict/" $0,"|grep -i \\\\'%s\\\\'|less" }')|awk -F: '!s[$1]++'>a.tmp;mv a.tmp /sdcard/uweb/home5.search
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue