Enhance Web Viewer: Support for Local HTML Documents

Use case or problem

I have developed a few small, self-contained utilities that each work in a single HTML file. I’d love to be able to access these directly within Obsidian. Currently, links starting with “file:///” redirect me out of Obsidian.

Proposed solution

It would be great if the Web Viewer could support local HTML files. This way, I could view my utilities right inside Obsidian. To address any security concerns, perhaps we could implement a user permission option or a whitelist for trusted local folders.

8 Likes

I would also like to request that local html files be supported in web viewer. I don’t understand how local files could pose more of a security risk than external sites. My use case is that I archive pages using SingleFile (from gildas-lormeau) and would like to view those pages in the context of my vault rather than having to use an external browser.

2 Likes

Yes, I thought the web viewer might allow local html files. I have continued to use the HTML Reader plugin by Nuthrash which has been working nicely for me for local html. I only use it for storing a formatted version of my emails which I save to Obsidian. It seems to work fine in combination with the Web viewer core plugin.

2 Likes

Yes please, this would be so great! I also have a local project which runs through a html file system (basically a local website) and having it in obsidian would make it so much cleaner to connect my notes and workflow with it.

This feature would make Web Viewer better for me too.

Would love to see this, too!

I create and edit a lot of html files and opening them in web-viewer will be a game changer