Custom File Viewer

by peabody28
5
4
3
2
1
Score: 30/100

Description

The Custom File Viewer plugin adds the ability to open non-markdown files directly in external applications of your choice. You can map specific file extensions - like .py, .yaml, or .sh - to different programs, and even set a fallback app for anything that isn't explicitly mapped. An ignore list keeps certain file types, such as markdown, images, or videos, from triggering the feature, giving you fine control over what opens externally. Once configured, clicking a file in the explorer hands it off to the designated app without extra steps.

Reviews

No reviews yet.

Stats

3
stars
713
downloads
0
forks
296
days
296
days
359
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
2
total issues
2
open issues
0
closed issues
0
commits

Latest Version

a year ago

Changelog

First version of plugin

README file from

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