Home

Awesome

Trilium-SingleFile

An addon for Trilium Notes to easily import SingleFile html pages.

Note: Due to the non-standard APIs and globals used, consider this addon in beta. I expect many issues to be found.

Preview

<!-- https://raw.githubusercontent.com/rauenzi/Trilium-SingleFile/blob/main/LICENSE -->

https://github.com/zadam/trilium/assets/6865942/8f6dd790-18ac-49bb-b494-247cd8edfa30

Features

Desktop

There are some features specific to the desktop client of Trilium.

Installation

  1. Download the zip file from the latest release on GitHub.
  2. Import the zip into Trilium, but make sure you uncheck Safe Import!

Updating

Since every install of this plugin has a new renderer html and js (though there's not always guaranteed to be changes), there was some functionality added into the plugin to make migrating to new versions a little easier.

  1. Install the new version using the steps from above
  2. Delete the old version of the plugin
  3. Open the plugins settings page
  4. Scroll to the bottom
  5. Click "Fix ~renderNote Attributes"

Once this is considered more stable, the plugin will prompt you with this as soon as you install so you don't have to remember to do it.

Usage

Import

  1. Click on the render note called Trilium SingleFile
  2. Drop any SingleFile pages in the drop zone

File Watcher

  1. Use the UI to change the folder to be watched
    • User downloads folder is used by default
  2. Download a webpage using SingleFile

Links

Check out my other Trilium-based projects:

Want more? Be sure to check out the Awesome Trilium list!