Deeplinking

Is your feature request related to a problem? Please describe.

Add deeplinking for every note so that they can be accessed from outside the app.
One of my key methods for organizing is keeping everything in one place. If I’m going to enter data into AnyType, then I’d like to be able to link to it from my other apps. A deep link or URL scheme would be perfect for that.

Describe the solution you’d like

Something like,

anytype://x-callback-url/open?id=DFWR23F4543T3R98234U

Describe alternatives you’ve considered

The only other alternative is to keep everything in AnyType and put my links to other stuff from there. However, I don’t fancy that method. Notion has weblinks, so I’m still edging towards using them more than AnyType as of now.

Additional context

https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app

29 Likes

Based on my observations and the progress of Anytype, my two cents is that the official release should not happen before 2023 or even later… And your suggestion, although very useful, will probably not be a priority.

Considering that Anytype respects its commitments, it is conceptually the best compromise for data management, but it remains a long term project.

It is also good to remember that nobody should place any valuable data in an Alpha nor Beta service/soft/app. An early development is always risky for data retention and users should only use it to push the limits of the possibilities and to find bugs in order to reach the stability and security stage of an official release, unfortunately a lot of people use it the wrong way at their own risk.

Unfortunately, I would advise you to stay on Notion for the moment, while being aware of Notion’s risky limitations too.

4 Likes

As Anytype is focused on objects, would deep linking to Objects be even more useful? Linking similar to OneNote’s linking setup (linking to sections, pages or paragraphs) would be great.

Edit: rereading your request it is not entirely clear to what kind of objects (pages, objects, all) you would like to link.

4 Likes

If they can make a deeplink to any object, that would be helpful. As long as they have a unique, immutable id for each one that will be used in the URL scheme, then it doesn’t matter

9 Likes

One thing I am wondering, isn’t this feature against the current philosophy of being a secure, offline app where your thoughts are your own?

Maybe I don’t understand the concept of deep linking but one of the things I don’t like about Notion is how it is on the web and you can acces any notes with the link (which is so long it’s probably realy secure but it doesn’t feel right).

1 Like

@Jeroen

Nope, this will not be the case because it has nothing to do with security. You can have deep linking for either offline nor online use. This means that in an offline mode, if you click on a Deep link URL from another software of yours, this link will open automatically in the app instead of let say your browser.

This will be for example very useful when Anytype will officialize the multiplayer mode. We could link to a specific nested Object or even block (with Blocks URL Scheme) of an object publicly or privately shared.

Something like:

anytype://object_ID_####/block_ID_####

anytype://public_ID_####/decrypt_key_####/object_ID_####/block_ID_####

anytype://private_ID_####/decrypt_key_####/object_ID_####/block_ID_####

You cannot just access any Notion’s pages with a link to it. This page had to be publicly or privately shared in order to be accessible with a link. A deep link gives only access to content that is accessible according to the privileges you grant it. But anyway Anytype is encrypted, so if you don’t even intend to share some of your data there is no concern at all.

7 Likes

@treadmill could you check to what extent this feature request is the same as yours? To me they seem quite similar, but you as OP might have a better feeling for whether this other topic matches your request:

Obsidian has something similar. The three-dot menu within a document has an option called “Copy Obsidian URL”, which when clicked from outside the app will open the aforementioned document in Obsidian.

E.g obsidian://open?vault=Vault%201&file=Test%20document%20test%20document%20link

Anytype, instead, uses IPFS content address to locate objects, not the filename within the filesystem like Obsidian. Thus, it might make sense to use the content identifier to create these deeplinks.

1 Like

Not the OP, but I think what the original post is asking for the ability to link Anytype Objects outside of the app, while the similar issue you linked appears to be asking for the ability to link specific blocks within an object inside of the app. It’s similar but I don’t exactly think these are similar enough to merge.

2 Likes

I would prefer deeplinking to something immutable like a content identifier rather than a file name, so it would be cool for AnyType to implement that.

3 Likes

Is your feature request related to a problem? Please describe.
The ability to link to headers of the note so users are able to click the link to read/modify the contents under the header.

Describe the solution you’d like
There are two solutions in my mind:

  1. Like other note-taking applications (e.g., obsidian), input the symbol for linking (@ for Anytype; [[ for obsidian) to list all objects, and then input the symbol # to list the headers of a specific object to link to. (Please go to the end of the post for example of this solution)

  2. Making headers as a new object type like task object but with a header style instead of the task style. And then users will be able to link to a header just like linking to a task object. (No example)

I personally think solution 1 is more straightforward from a traditional note-taking user’s perspective. However, solution 2 is more close to the Anytype’s concept.

Describe alternatives you’ve considered
I can think about an alternative solution that was taken from the Notion application’s idea. That is, giving a block an URL/URI, and then users will be able to use the URL/URI to link to a specific block. However, to my experience with Notion, this is not good UX, because there will be a lot of step to go to do a linking. (Example are as below.)

(ALSO, the craft can do both solutions but a bit different, the example is as below.)

Additional context

  • Example of solution 1 (obsidian-like internal linking):

CleanShot 2022-08-27 at 14.12.47

  • There is no example for solution 2 because Anytype is the only object-based note-taking application.

  • Example of the alternative solution (Notion-like linking to block/header):

CleanShot 2022-08-27 at 14.21.49

  • Craft Note can do both solutions:

CleanShot 2022-08-27 at 14.28.43

2 Likes

WHAT DO YOU RECOMMEND

Allow generating local URLs like anytype://738dcd1e-76fb-43d0-922a-3ebce67dbed6, which when clicked, will get picked up by AnyType and open a certain object

HOW COULD IT BE DONE

Define URL association and use whatever internal ID objects already use, I guess

REAL WORLD USE CASES

I currently use some other ToDo apps for upcoming tasks and projects, but some more details information(such as design choices and notes) I store in AnyType, and I would be able to drop a link in the ToDo app which will then open the corresponding object in AnyType for me.

RECOMMENDED ALTERNATIVES

I just put “See on AnyType” which probably isn’t the best way to do it.

ADDITIONAL CONTEXT

N/A

12 Likes

That would be really handy! Basically you’re describing a kind of cross platform transclusion, with just a simple hyper-link. Would also be very useful when collaboration is implemented.

9 Likes

I like this idea, it could really help improve the workflow when coming from other apps.

5 Likes

Dear Anytype-team, is there any progress on this feature request? It would be really great to be able to use that to link anytype with other apps like calendar or logseq… so we could jump fast between those with the direct links.

4 Likes

Any news about this?

3 Likes

An interesting use case for deeplinking is the ability to create OS shortcuts for certain objects located inside Anytype. If I wanted to be able to directly open my books shortcut from my OS search, I would be able to implement that.

5 Likes

This should really be table stakes for any kind of PKM app, IMHO.

Much more about the whys and hows can be found here:

4 Likes

The deep linking or whatever it’s called is mandatory for future. But a side note is that managing all the links is overwhelming and a major issue. Right now only computer nerds can work on meta-data. So then I have to make a list of all links and make my own columns and dashboards and then learn SQL to start linking the links together. Only a few people online seem to understand this issue in my searches. Basically to be able to browse files like iTunes does music. The hierarchy system is horrendous especially for sharing. I’ve seen large companies go out of business because nobody knows how to find anything.

So if anytype is going to get into sharing I think they could use that shareable iTunes style browsing for objects/files. And users would need full customizability of the meta-data.

Anyone else feel the user is a lot better working with registers direct - configuring the TTL like switch config. Personally in my life I think it’s mad that we can’t … I’m about ready to switch to relays and light switches for any local controls… Ranting a bit, but also advertising. Local controls for real things could work with anytype with the “deep linking” in both directions. Already does in one direction. So basically if I wanted to use a Plc program (ladder logic) for opening a valve in tangible reality I could do so - but those programs don’t show any totalities like anytype does. And Scada systems could show sequencing of processes.
So the filing system could also link to tangible folders too - by giving co-ordinates ( my office at this address file cabinet #2 red files labelled xyz). Anytype would be great for showing information connections as aspects - supplier info, maintenance info, logic, etc. Many aspects that necessarily can’t be in anytype.

But this iTunes file viewing I wonder if it could be a simple extended app? I’m not sure but if anyone wants to point me in the right direction I’ve been working on requirements and started with a tutor. I would also pay anyone to help my with anytype specifically as it’s getting pretty close to what I want and it’s open-source.

Fyi - I am an electrician by trade. And an epistemologist and ontologist. So I get the conversation but I get lost with the specific jargon as I am not fluid in the application and presentation layers of computers.

It’s probably a seperate app not a feature… Albeit a useful app that could bind all other apps. Maybe of interest to anytype? Perhaps could be done in anytype… With a more customizable list for objects - adding whatever connection -to object as content/context - to object process cycles ; becoming, operations and maintenance, relationships and transformational moment it drives to or gets driven to (object as being or as tooI) I have a generalized block labelling schema if that helps?!

Sorry, if I sound alien! Hahah. I’m pointing at a solution many non-computer people and computer people would find useful though. It seems like people have the idea in this forum - in which case a useful auxiliary condition for working with anytype that could be a conversation - the Immanence of becoming an anytyper; how user gets aligned in the real world - it’s personal but billions of people are lost in these zones! So it’s an opportunity that is part silicone switching and pixel presentation, part tangible and part human cognitive faculties - but all in circuits toward some developmental aim a human object is centre of respectively.

1 Like

I’ve just made a similar proposal in relation to a different feature request by @MrsBasilEFrankweiler.

Maybe the value I added with my suggestion there is that I suggest a simple markup syntax in line with what the OP had originally proposed there:

  1. using named links and deeplinks such as
    [link text](my-object#my-anchor)
    in addition to encrypted URLs like
    anytype:///view/4c0c4f9...0bf19de0 as suggested here

  2. using a MarkUp-type syntax like
    {#my anchor} for named deeplinks or
    ## my headline to automatically generate deeplinks for headlines,
    to be accessed via
    [link text](my-object#my-anchor) or with publish-to-web, via
    https://my.domain.url/view/my-object#my-anchor

2 Likes