Custom File Viewer
approvedby peabody28
Open files with custom external applications based on file extension
★ 2 stars↓ 553 downloadsUpdated 10mo agoMIT
'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
- Clone or download this repository.
- Build the plugin (see below) or use the pre-built version if available.
- Copy
main.jsto your Obsidian plugins directory: - 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.