Add and remove relations for files, such as images, PDF, etc + improved management of files

Is your feature request related to a problem? Please describe.
This feature request is not strictly related to a problem, but it does seem to violate the basic principles on which Anytype is built on.

Describe the solution you’d like
Anytype is built on the fundamental concept that everything - including files - are an object. And each object is connected with relations. However, as of this moment, it is not possible to add or edit relations for files (images, PDFs, audio, etc), only the default relation for each file type is available (size, creation date, width, height, ISO, etc).

Adding a feature to add and edit relations for files would fulfill the expected behavior on which Anytype is built on - that everything is an object and that every object is connected with relations.

Additionally, adding the ability to connect file objects with relations can help create a few new usecases, such as a tag-based file management system, as outlined in this article.

A image of the current interface for viewing a file. There is no option to create or edit relations.

Describe alternatives you’ve considered
There are a few applications which exist for having a tag-based file organizations system, such as the Mac Finder, but integration with Anytype is not possible.

Additional context


+1 Great request :smiley:

Even without the ability to add a relation to a file object, we can sort of mimic it by creating a custom type with an attachment relation and a tag relation and can filter them by tag in a set.

But yes, it would be great to have the ability to add relations to file objects. TBH, it would be great to build on that and add the ability to add relation to any objects - i.e, even audio, video and images as well


Wow - thanks for drawing my attention to the Attachment relation. I’d completely neglected to use that relation, and it seems very powerful for some other uses that I’d had in mind. Although as you said, yes, having the ability to add tags and relations for files would make the software much more powerful and flexible for many new use cases.


This is a must have for finding back files. Many relations could be automatically added upon uploading the file into Anytype such as:

  • File name (already there, but not as a relation I think)
  • File size (same, it is in the details about the file, but not something searchable/findable)
  • File type (like Word document, PDF, web page, etc., or at least the file extension in text/as a tag)
  • Creation date
  • Created by
  • Last modified date
  • Last modified by
  • Upload date
  • Uploaded by
  • File type specific properties such as
    • Version
    • Word count
    • Resolution
    • Subject
    • Etc.

I love the idea of being able to add relations to images, pdfs, and such. It would make file-specific sets much, much more powerful.


I like idea, i wanna to file system suport for better intergration with my OS device like drive