Binary File Manager

approved

by qawatake

Detect new binary files in the vault and create Markdown files with metadata.

79 stars10,961 downloadsUpdated 4y agoMIT
View on GitHub

Binary File Manager Plugin

This plugin detects new binary files in the vault and create markdown files with metadata.

By using metadata files, you can take advantage of the rich functionality provied by Obsidian such as

  • full text search,
  • tags and aliases,
  • internal links, and so on.

For example, if you add tags to the metadata of an image file, then you can indirectly access the image file by tag-searching (and following an internal link in the metadata).

Image from Gyazo

Quick start

  1. Install and enable this plugin.
  2. Go to the setting tab of Binary File Manager and enable auto detection.
  3. Add a static file like sample.pdf to your vault.

Then you will find a meta data file INFO_sample_PDF.md in the root directory. You can customize the new file location and the templates for names and contents of metadata files.

Format syntax

You can use the following syntax to format the names and contents of metadata files.

Date

SyntaxDescription
{{CDATE:<FORMAT>}}Creation time of the static file.
{{NOW:<FORMAT>}}Current time.

Link

SyntaxDescription
{{LINK}}Internal link like [[image.png]]
{{EMBED}}Embedded link like ![[image.png]]

Path

SyntaxDescription
{{PATH}}Path of a static file.
{{FULLNAME}}Name of a static file.
{{NAME}}Name of a static file with extension removed.
{{EXTENSION}}Extension of a static file.
  • You can choose between uppercase and lowercase letters by adding suffixes :UP and :LOW, respectively. For example, {{NAME:UP}}.

Templater plugin support

You can also use Templater plugin to format your meta data files. Just install Templater plugin and set Use Templater in the setting tab of Binary File Manager.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.