sonnyp / Junction

Application/browser chooser
https://flathub.org/apps/re.sonny.Junction
GNU General Public License v3.0
458 stars 29 forks source link

Add junction:// protocol #38

Closed sonnyp closed 2 years ago

sonnyp commented 2 years ago

Taken from the README update


Junction has a very simple API that doesn't require any programming. To open any resource with Junction, even if it's not configured as the default application, simply use the following URI format x-junction://$RESOURCE. For examples

You can use this in web pages, the terminal, native applications and anything that is able to open URIs.

If Junction is installed - you can test this in the terminal with xdg-open "x-junction://file:///etc/os-release" and in the browser with <a href="x-junction://file:///etc/os-release">Test Junction URI</a>.