mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding site Tue Jul 26 05:05:34 PM CST 2022
This commit is contained in:
parent
479dfc3a26
commit
ac3c78e978
7 changed files with 72 additions and 113 deletions
|
@ -10,17 +10,24 @@ Click the following links to install commands with <a href="../index.html">uweb
|
|||
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.</p>
|
||||
<h4 id="more-commands-click-to-install">More commands (click to install)</h4>
|
||||
<p><a href="i:0gdefault.cmds::mdme:text/html:echo %22<script src=https://fastly.jsdelivr.net/npm/mdme></script><textarea>%22;cat %25f%0A">mdme: Show local markdown file</a> </p>
|
||||
<p><a href="i:0gdefault.cmds::texme:text/html:echo %22<script src=https://fastly.jsdelivr.net/npm/texme></script><textarea>%22;cat %25f%0A">texme: Show local tex+markdown file</a></p>
|
||||
<p><a href="i:0gdefault.cmds::markdeep:text/html:cat %25f;echo %22<style class=fallback>body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src=https://casual-effects.com/markdeep/latest/markdeep.min.js charset=utf-8></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility=visible)</script>%22%0A">markdeep: Show local markdown+tex+diagrams file</a></p>
|
||||
<p><a href="i:0gdefault.cmds::remark slide:text/html:echo %22<script src=https://remarkjs.com/downloads/remark-latest.min.js></script><script>window.onload=function(){var slideshow=remark.create({navigation:{click:true,},});}</script><textarea id=%27source%27>class:middle%22;cat %25f%0A">remark slide: slide show for local markdown file</a></p>
|
||||
<p><a href="i:0gdefault.cmds:https://cdn.jsdelivr.net/gh/torappinfo/uwebzh/en/searchurl/txt/cmds.cfg">Code editor, open url in clipboard etc.</a></p>
|
||||
<h4 id="cmds-file-format">".cmds" file format</h4>
|
||||
<p>Each line has the following format:
|
||||
[Name]:[mimetype]:[command line]</p>
|
||||
<p>Each line has the following format:<br>[Name]:[mimetype]:[command line]</p>
|
||||
<p>[command line] can have "%c" (cookie), "%s" (address bar text), "%u" (url), "%t" (title).
|
||||
[mimetype] have the following formats:
|
||||
- regular mimetype such as "text/html" to indicate the content type of the command output.
|
||||
- "clip/clip" to indicate "clipboard" as input and the command output is copied to clipboard.
|
||||
- "/clip": copy the command output to clipboard.
|
||||
- "clip/text/html" : clipboard as input, and the command output is processed as "text/html".
|
||||
- "termux/*": command line is executed under termux.
|
||||
- "/uweb": the command output is processed as <a href="../links/index.html">links</a>.</p>
|
||||
[mimetype] have the following formats:</p>
|
||||
<ul>
|
||||
<li>regular mimetype such as "text/html" to indicate the content type of the command output.</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/text/html" : clipboard as input, and the command output is processed as "text/html".</li>
|
||||
<li>"termux/*": command line is executed under termux.</li>
|
||||
<li>"/uweb": the command output is processed as <a href="../links/index.html">links</a>.</li>
|
||||
</ul>
|
||||
|
||||
|
||||
</body></html>
|
||||
|
|
|
@ -95,6 +95,16 @@ Engines that can use as documentation:<br>
|
|||
<p><a href="i:00yandex:https://yandex.com/search/?text=">yandex:https://yandex.com/search/?text=</a></p>
|
||||
<p><a href="i:00searx:https://searchx.mobi/?q=">searx:https://searchx.mobi/?q=</a></p>
|
||||
</p><p>
|
||||
Medical:<br>
|
||||
<p><a href="i:00merckmanuals:https://www.merckmanuals.com/professional/SearchResults?query=">merckmanuals:https://www.merckmanuals.com/professional/SearchResults?query=</a></p>
|
||||
<p><a href="i:00openmd:https://openmd.com/search?q=">openmd:https://openmd.com/search?q=</a></p>
|
||||
<p><a href="i:00medical-dict:https://medical-dictionary.com/results.php?term=">medical-dict:https://medical-dictionary.com/results.php?term=</a></p>
|
||||
<p><a href="i:00ncbiBooks:https://www.ncbi.nlm.nih.gov/books/?term=">ncbiBooks:https://www.ncbi.nlm.nih.gov/books/?term=</a></p>
|
||||
<p><a href="i:00healio:https://journals.healio.com/action/doSearch?AllField=">healio:https://journals.healio.com/action/doSearch?AllField=</a></p>
|
||||
<p><a href="i:00pubmed:https://pubmed.ncbi.nlm.nih.gov/?term=">pubmed:https://pubmed.ncbi.nlm.nih.gov/?term=</a></p>
|
||||
<p><a href="i:00pmc:https://www.ncbi.nlm.nih.gov/pmc/?term=">pmc:https://www.ncbi.nlm.nih.gov/pmc/?term=</a></p>
|
||||
<p><a href="i:00Tabers:https://www.tabers.com/tabersonline/search?st=OSS&q=">Tabers:https://www.tabers.com/tabersonline/search?st=OSS&q=</a></p>
|
||||
</p><p>
|
||||
Cloud storage:<br>
|
||||
</p><p>
|
||||
Scholar:<br>
|
||||
|
|
2
en/searchurl/txt/cmds.cfg
Normal file
2
en/searchurl/txt/cmds.cfg
Normal file
|
@ -0,0 +1,2 @@
|
|||
open clipboard link:clip/uweb:/system/bin/toybox grep -m1 -Eo '(http|https)://[^ "'\'']+'
|
||||
code editor:text/html:printf "<style>#div{position:fixed;top:2px}#editor{position: absolute;top:30;right:0;bottom:0;left:0;}#textarea{display:none}</style><script src='http://cdn.bootcss.com/ace/1.4.9/ace.js'></script><script src='http://cdn.bootcss.com/ace/1.4.9/ext-language_tools.js'></script><script src='https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/ace.js'></script><div id='div'><button onclick='onSave(\"%f\")'>Save</button> <a href=''>Run</a></div><pre id='editor'></pre><textarea id='textarea'>";cat "%f";
|
Loading…
Add table
Add a link
Reference in a new issue