Disclaimer
Is this plugin open source? Yes
Is this plugin completely free? Yes
Is this plugin vibe-coded beyond the author’s ability to comprehend how it works? No
Community Directory:[Link](https://community.obsidian.md/plugins/local-web-page-viewer)
I export chats from Telegram Desktop from time to time (produces a `messages.html` + `css/`, `images/`, `video_files/` folder) and wanted to just keep them in my vault and read them like any other note. Turns out Obsidian doesn’t render `.html` files at all - it just doesn’t show anything for them by default. I tried a couple of existing plugins and none of them really worked: one rendered the page without any CSS, another silently failed to show some content, and another only worked on desktop because it spins up its own local server. So I built one.
**Local Web Page Viewer** opens local `.html` files as real rendered pages - CSS, images and video all work, on desktop and mobile alike.
What it does beyond just “the text is visible”:
- Zoom in/out/reset and Fit to width, so a fixed-width export doesn’t sit tiny in the middle of a wide pane (or overflow a phone screen)
- Clicking a photo or video opens it in an in-app viewer instead of navigating you away with no way back - pinch-zoom for images, a real player for video, with a fallback if the codec can’t be decoded (HEVC exports from iPhone are common)
- Bookmarks inside a page - click a spot, name it, jump back later, synced across devices
- Remembers your scroll position per device when you come back to a file
- A configurable toolbar (pin/reorder actions), independently for desktop and mobile
No local server, no native code, no bundled browser engine - just reads the HTML and rewrites resource paths to load through Obsidian’s own resource handling.
Would love any feedback, especially if you throw a weirder HTML export at it than a Telegram one and something breaks.