New feature idea: 'Open link with...' item
Another feature which could be useful is an 'Open link with...' item. An item in the link menu which runs a command with the link as an argument. For example: Open link with... mpv (open a media stream or yt link) wget (save link/custom download) etc... Commands could be defined in dillorc, or maybe a separate text file is better (like bm.txt)? Any interest in this? Not sure how far I would get, it's probably a bit more complicated than my previous ideas.
On Wed, Apr 10, 2024 at 03:55:11PM +0200, a1ex@dismail.de wrote:
Another feature which could be useful is an 'Open link with...' item.
An item in the link menu which runs a command with the link as an argument.
For example: Open link with... mpv (open a media stream or yt link) wget (save link/custom download) etc...
This feature is partially covered by the issue #3 [1] (opened long time ago): [1]: https://github.com/dillo-browser/dillo/issues/3 Check also dilloNG patches: https://github.com/w00fpack/dilloNG/commit/d8b885b3d2d4f755f1f7755543962ee96... https://github.com/w00fpack/dilloNG/commit/7bd6b1c4592466d6e717eaf795e98b7ce...
Commands could be defined in dillorc, or maybe a separate text file is better (like bm.txt)?
Any interest in this? Not sure how far I would get, it's probably a bit more complicated than my previous ideas.
I think it is useful as long as you can specify which actions you want in a configuration file, not just opening videos. As we probably would need a syntax for specifying the content handling too[2], we may want to reuse the same syntax and/or file to specify the "open with" options, so the actions can also be used when writing other rules for content matching. [2]: https://github.com/dillo-browser/dillo/issues/56 Rodrigo.
participants (2)
-
a1ex@dismail.de
-
Rodrigo Arias