Custom File Viewer

approved

by peabody28

Open files with custom external applications based on file extension

2 stars553 downloadsUpdated 10mo agoMIT
View on GitHub

'Custom File Viewer' Plugin

A plugin for Obsidian that allows you to open non-markdown files using custom external applications, based on file extensions.

Features

  • Automatically opens files (e.g., .py, .sh, .yaml, etc.) with the application you specify.
  • Configurable mapping of file extensions to application paths.
  • Separate default app for all unmapped extensions.
  • Optional ignore list for specific file types (e.g., .md, images, video).
  • Seamless integration into the Obsidian file explorer — just click a file, and it opens in your external app.

Installation

  1. Clone or download this repository.
  2. Build the plugin (see below) or use the pre-built version if available.
  3. Copy main.js to your Obsidian plugins directory:
  4. Enable the plugin in Obsidian → Settings → Community Plugins → Installed plugins.

Build Instructions

If you're modifying the source:

npm install
npm run build

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.