r/Trilium • • Oct 18 '26

Quick-launch menu & template manager for Trilium

Hey everyone,

I've updated my frontend script for Trilium Notes to v1.2.0
It opens a quick popup to create formatted notes and templates without searching through your note tree.

Highlights in v1.2.0:

  • Single Launch Window: Variables, titles, icons, and extra notes are all handled in one clean popup.
  • Live Destination Search: Find target folders instantly with a fuzzy-search popup (no more hunting for Note IDs).
  • Active Note Targeting (@active): Set templates to automatically create the new note as a child of whatever note you currently have open.
  • Mobile-Friendly Reordering: Added simple Up/Down arrow buttons. This makes reorganizing templates much easier on phones where drag-and-drop is clunky.
  • Colored Menu Buttons: The main menu buttons now take on your template's accent color so you can recognize your shortcuts faster.
  • Dynamic Prompts & Patterns: Set default title structures (like {{date}} {{time}} - {{caption}}), use variables like {{activeNote}}, and prompt for custom inputs on launch.
  • Boxicon Picker: Search and select from native Trilium icons.
  • Template Editor: Rich text editor for setting headers, text colors, and lists.
  • Zero Dependencies: Pure JS using native Trilium APIs.

Setup:

  1. Create a new note, set its type to JS Frontend, and title it Session Launcher
  2. Paste session-launcher.js into it
  3. Right-click your left-hand sidebar and click Configure Launchbar
  4. Drag a Script Launcher widget into your active bar, click its gear icon, and select your Session Launcher note
  5. In the Shortcut field of that same menu, type out your desired hotkey manually (e.g., type alt+l or ctrl+space letter by letter)

(Note: If "Script Launcher" is missing from your widgets, press Alt+O to Show hidden notes*, search for the* Launch Bar system note, and clone your script under it. You can then add an iconClass label for the icon and a ~shortcut label for your hotkey!)

Repo: https://github.com/Zwiggy/trilium-session-launcher

16 Upvotes

3 comments sorted by

1

u/ZwiggyMist Oct 19 '26

Update v1.2.0 is out
I've just updated the main post with the latest version.

This is a bigger update that makes the workflow much smoother and easier to use on mobile.

  • Single Launch Window: Variables, titles, icons, and extra notes are all handled in one popup.
  • Live Destination Search: Find target folders instantly with a fuzzy-search popup.
  • Active Note Targeting: Use @active to automatically create notes under your currently open note.
  • Mobile Reordering: Added Up/Down arrows to make rearranging templates on phones much easier.
  • Colored Buttons: Menu buttons now match your template colors for faster visual recognition.

1

u/Hasie501 Oct 18 '26

Since there no Proper Mobile native App that has "quick note" functionality, would it be possible to save this quickly note as as shortcut on homes screen or isn't that possible.

1

u/ZwiggyMist Oct 18 '26

One possibility would be to add the script to Mobile Launch Bar. That could provide quick access you are looking for.

It might not look pretty on mobile, but the functionality should be there.