termux-url-opener has been an excellent tool to easily make use of Android's share menu. Taking inspiration from "YouTube-DL the easy way on Android" [1], I made a script that adds a URL to my bookmarks server [2]. It'd be even better to write a script that has some rules or a prompt so that different URLs can be handled differently (e.g. video URLs prompt for download, or there could be a prompt to add the page to archive.org).
[1] https://www.reddit.com/r/Piracy/comments/baufql/youtubedl_th...