2022-12-09
Add Certificate To Termux, Especially For Fastgithub

install openssl-tools then use add-trusted-certificate against the .crt file, so curl will work fine (still not for elinks, i wonder why that works on macos and linux, or maybe not? just use playwright instead.)

chromebook is different. you need to export the proxy to 0.0.0.0 by means of nginx or something, so you can configure proxy to 100.115.92.14 or 100.115.92.2 as seen in termux by ifconfig

Read More

2022-08-06
Termux_Boot Autostart Program Fixes

Termux:Boot Autostart Program Fixes

according to this, termux:boot on android 10 and above will not work. instead, change all executables with relative paths in init scripts to their absolute paths. if any referred executable is a script file containing other executable with non-absolute paths(except for those built-in programs like am), change that too.

mostly we hold wakelock, start sshd, crond or nginx and other non-blocking, non-interactive apps at start.

Read More

2022-06-01
Bookmark Browsing History Collection

Bookmark Browsing Directory Tree Browsing History Collection

Using Kali forensic tool. (turned out not needed. just some googling for answers)

do you need to export your own good old notes? i mean mi notes. 2 phone numbers, 2 accounts. one with physical storage. the other you may want to download the mi note app and extract in the same way.

Organized under modifier termux ~/works/bookmark_dirtree_traverse. search via rg.

maybe we can organize directory trees using other methods, like some javascript library with both a search tool and a browsing tool. we can host a search engine via javascript, only static resources and client side computation.

this client side search engine usage example can be found at /data/data/com.termux/files/home/storage/shared/works/milkshake_server and ./external/milkshake_server. the js searching library is called fuse.js.

I have made this into meilisearch, and i have backed it up to github/james4ever0/notes2 and aliyunpan and baiduyunpan. desktop search experience is better. meilisearch consume too much ram. i consider to find alternatives with less ram consumption.

using rg will be much faster.

Read More