[DONE] Deep Linking or URL Scheme / Allow linking to Logseq pages from outside the app

Yes this is what I meant (Deep linking) I don’t mark it as solved, but the discussion may be merged

Electron apps are capable of this: Enable Electron to set/unset itself as default protocol handler (OS X, Windows) by felixrieseberg · Pull Request #4896 · electron/electron (github.com)

This guide is old, but might be useful: Electron app with custom protocol | Better world by better software (glebbahmutov.com)

2 Likes

The founder of Logseq said that the deep linking will be available in the near future. Looking forward to it!

4 Likes

Any news about that ?

Actually this feature would be very usefull. I could e.g. link from Zotero and from Anki back to the corresponding logseq page. Any news on the state of this feature?

1 Like

Related to this android has the Storage Access Framework which makes it possible for users to grant finegrained access of files or directories in an apps sandboxed private storage to other apps. Details are in This topic

4 Likes

With the release of 0.6.6., this feature is now implemented.

1 Like

If you use the Flatpak version on Linux and you can’t make Logseq handle logseq:// URIs, be sure that in your com.logseq.Logseq.desktop (it should be in ~/.local/share/applications/) the Exec and MimeType lines are like the following:

Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=run.sh --file-forwarding com.logseq.Logseq @@u %u @@
MimeType=x-scheme-handler/logseq;

You may need to run:

sudo update-desktop-database

Now clicking logseq:// URIs from some other app should open Logseq at the right page. From the terminal the command is:

xdg-open “logseq://…”

Tested on Logseq 0.7.0.

2 Likes

Is there to map a shortcut to “Copy page URL”? Also could it be included in the command palette?

There is no “Copy page URL” shortcut currently. But it’s a great suggestion.

For visibility, could you please create a new feature request?

1 Like

Thanks! (and voted!)

The kind of Deep Linking that Hook enables in macOS would also allow external links to blocks in Logseq. Is this available now? If so, I can’t figure out how to do it.

Also, I would add my vote for direct Hook support.