Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

.any

bdsqqqbdsqqq274 downloads

Map any file extension to any view.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates11

map any file extension to any obsidian view.

install

manual

  1. download latest release
  2. extract to .obsidian/plugins/dot-any/
  3. enable in settings → community plugins

brat

  1. install BRAT
  2. add bdsqqq/obsd.any

usage

open settings → .any. you'll see a text input for each view type (markdown, image, audio, video, pdf, canvas). add comma-separated extensions to map them.

changes apply immediately—no restart needed.

what it does

uses obsidian's registerExtensions() to route file types to built-in views. no custom views created; just unlocks existing obsidian functionality for more extensions.

ships with defaults for common cases:

  • code/config → markdown view: .py, .rs, .go, .sh, .toml, .c, .cpp, etc.
  • extra audio → audio view: .aiff, .wma (obsidian misses these)
  • extra video → video view: .avi, .wmv, .m4v, .flv
  • extra image → image view: .ico, .tiff

obsidian already handles .txt, .js, .ts, .json, .yaml, .md, .png, .mp3, etc.—the plugin skips these by default. you can override this in settings if you want.

how it works

view discovery: pulls available view types from app.viewRegistry.viewByType, filtering out panel views (graph, backlinks, etc.). works with views from other plugins too.

protected extensions: maintains a list of extensions obsidian handles natively. warns you if you remove one from the list (you're opting out of obsidian's behavior).

clean unload: uses the undocumented but stable app.viewRegistry.unregisterExtensions() to properly deregister when disabled. without this, extensions stay registered until obsidian restarts.

prior art

inspired by custom-file-extensions-plugin. that plugin does the same thing and has view discovery too. main difference: we use per-view-type text inputs instead of a single json blob, and ship with defaults so it works out of the box. they have mobile-specific settings we don't.

development

npm install
npm run dev
npm run build

license

MIT

80%
HealthExcellent
ReviewCaution
About
Map any file extension to Obsidian's built-in views (markdown, image, audio, video, PDF, canvas) to open nonstandard files in the chosen viewer. Add extensions per view via simple inputs — changes apply immediately, warn before overriding Obsidian's native extensions, and work with plugin-provided views.
FilesFormatsIntegrations
Details
Current version
1.2.7
Last updated
4 months ago
Created
5 months ago
Updates
11 releases
Downloads
274
Compatible with
Obsidian 1.6.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
bdsqqqbdsqqq
github.com/bdsqqq
GitHubbdsqqq
  1. Community
  2. Plugins
  3. Files
  4. .any

Related plugins

Local REST API & MCP Server

Unlock your automation needs by interacting with your notes over a secure REST API.

WebDAV Sync

General-purpose & bidirectional WebDAV syncing for your vault. Designed for stability and robust file handling without vendor lock-in.

Google Drive Sync

Syncs a vault into Google Drive for cross-platform use (works for iOS).

Telegram Sync

Transfer messages and files from Telegram to Obsidian.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

QuickAdd

Quickly add new notes or content to your vault.

Recent Files

Display a list of recently opened files.

Importer

Import data from Notion, Evernote, Apple Notes, Microsoft OneNote, Google Keep, Bear, Roam, and HTML files.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Claudian

Embeds Claude Code/Codex as an AI collaborator in your vault. Your vault becomes agent's working directory, giving it full agentic capabilities: file read/write, search, bash commands, and multi-step workflows.