commit dcea9868fdd16787ea7d01eafeec552a66f9843e Author: ricardo Date: Thu May 14 19:19:10 2026 -0300 Initial commit: plugins, templates, and tools diff --git a/AI-Chat/AI-Chat.zip b/AI-Chat/AI-Chat.zip new file mode 100644 index 0000000..9d96e40 Binary files /dev/null and b/AI-Chat/AI-Chat.zip differ diff --git a/AI-Chat/README.md b/AI-Chat/README.md new file mode 100644 index 0000000..011b3f4 --- /dev/null +++ b/AI-Chat/README.md @@ -0,0 +1,21 @@ +# AI Chat inside Trilium (No-Code Approach) + +An experimental, command-driven AI chat interface built directly into Trilium Notes, using OpenRouter. + +## Features + +* **Context-Aware:** Load any active note as the context for the AI prompt. +* **Quick Commands:** + * `πŸ“„ Resumo`: Generates a complete summary of the note, preserving links and bibliography. + * `πŸ”€ Mermaid`: Generates a Mermaid.js diagram (flowchart/mindmap) based on note relations. + * `πŸ’‘ Insights`: Extracts key insights, open questions, and blind spots. + * `πŸ–₯️ Slides`: Generates an HTML-based slide presentation layout based on the text. +* **Save Conversations:** Easily save the chat log as a child note of your context note. + +## Setup Requirements + +1. Import the plugin code as a `JS Frontend` note. +2. You must create a configuration note named `AI Chat - Config`. +3. Inside the config note, add your API keys in the text: + `openrouter_key: YOUR_API_KEY_HERE` + `model: anthropic/claude-3.5-sonnet` (or your preferred model). diff --git a/Canvas-Note-Tools/Canvas-note-tools.zip b/Canvas-Note-Tools/Canvas-note-tools.zip new file mode 100644 index 0000000..d49c96d Binary files /dev/null and b/Canvas-Note-Tools/Canvas-note-tools.zip differ diff --git a/Canvas-Note-Tools/README.md b/Canvas-Note-Tools/README.md new file mode 100644 index 0000000..8e6bd31 --- /dev/null +++ b/Canvas-Note-Tools/README.md @@ -0,0 +1,26 @@ +# Canvas Note Tools + +A custom Canvas workflow for TriliumNext focused on visual thinking, writing flow, and longform organization. It acts as a bridge between visual thinking, non-linear outlining, and knowledge management. + +## Features + +* **🎯 Capture Mode:** Toggle the target button to freely navigate your directory tree. Every note you click is automatically inserted as a canvas card. +* **πŸ” Quick Search Popup:** Instantly find and insert notes directly onto your canvas using a floating search window. +* **✨ Create on the Fly:** Draft and add new notes directly within your canvas. +* **✏️ Establish Relations:** Define relations directly by double-clicking arrows and typing. +* **↔️ Synthesize Knowledge:** Generate comprehensive, long-form documents automatically by combining your canvas cards. The arrow-based ordering system ensures perfect narrative flow. +* **⚑ Local & Fast:** A lightweight, fully local system with a clean floating UI. + +## Installation + +1. Create a new note of type `JS Frontend`. +2. Add the label: `#widget`. +3. Paste the full code or import the `.zip` release. +4. Reload TriliumNext (`F5`). + +## Usage +Open any Canvas note. Use the `πŸ”—` button to search, the `🎯` button to capture from the tree, the `πŸ“` button to create a new note, `πŸ•ΈοΈ` button to edit relacions( popup menu ) and the `πŸ“„` button to synthesize your document based on the flow of your Excalidraw arrows. + + +## Original link +[https://github.com/orgs/TriliumNext/discussions/9668](https://github.com/orgs/TriliumNext/discussions/9668) diff --git a/Canvas-Template-Loader/Canvas-Templater.zip b/Canvas-Template-Loader/Canvas-Templater.zip new file mode 100644 index 0000000..234a014 Binary files /dev/null and b/Canvas-Template-Loader/Canvas-Templater.zip differ diff --git a/Canvas-Template-Loader/README.md b/Canvas-Template-Loader/README.md new file mode 100644 index 0000000..48b2eeb --- /dev/null +++ b/Canvas-Template-Loader/README.md @@ -0,0 +1,26 @@ +# Canvas Template Loader Widget + +A lightweight template system for Trilium Canvas. Insert complete visual frameworks directly into your Excalidraw canvases with a single click. + +## Features + +* **🧩 1-Click Insertion:** Easily add reusable Excalidraw templates into any active canvas. +* **Native Integration:** Templates are just standard Excalidraw canvas notes, making them easy to edit, duplicate, and expand. + +## Installation + +1. Create a new note of type `JS Frontend`. +2. Add the label: `#widget`. +3. Paste the widget code or import the `.zip`. +4. Reload TriliumNext (`F5`). + +## Creating Templates + +To make a canvas available as a template: +1. Create a normal Canvas note. +2. Give it a title (e.g., "GTD", "SWOT"). +3. Add the label: `#canvasTemplate`. +The widget will automatically detect it and populate the menu! + +## Original link +[https://github.com/orgs/TriliumNext/discussions/9667](https://github.com/orgs/TriliumNext/discussions/9667) diff --git a/Canvas-Templates/Canvas-templates.zip b/Canvas-Templates/Canvas-templates.zip new file mode 100644 index 0000000..98f5304 Binary files /dev/null and b/Canvas-Templates/Canvas-templates.zip differ diff --git a/Canvas-Templates/README.md b/Canvas-Templates/README.md new file mode 100644 index 0000000..1a2dde7 --- /dev/null +++ b/Canvas-Templates/README.md @@ -0,0 +1,22 @@ +# Canvas Templates – Visual template pack + +A collection of Excalidraw templates for productivity, learning, and creativity. Ideal for use with the **Canvas Template Loader**. + +## Templates included +- OKR +- Feynman Technique +- GTD & Weekly Review +- Storyboard +- Cornell Notes +- Personal User Manual +- AIDA Funnel +- SCAMPER +- Design Thinking + +**Note**: The text is in Portuguese, but you can easily translate them by opening the `.excalidraw` file (JSON) and editing the text fields. + +## Installation +Import `Canvas_Templates.zip` into Trilium. The notes will appear with the `#canvasTemplate` label automatically. + +## Original link +[https://github.com/orgs/TriliumNext/discussions/9621](https://github.com/orgs/TriliumNext/discussions/9621) diff --git a/Minimalist-Pomodoro/Pomodoro-mini.zip b/Minimalist-Pomodoro/Pomodoro-mini.zip new file mode 100644 index 0000000..d6e3a1e Binary files /dev/null and b/Minimalist-Pomodoro/Pomodoro-mini.zip differ diff --git a/Minimalist-Pomodoro/README.md b/Minimalist-Pomodoro/README.md new file mode 100644 index 0000000..d0ddfc6 --- /dev/null +++ b/Minimalist-Pomodoro/README.md @@ -0,0 +1,27 @@ +# Minimalist Pomodoro + Time Tracker + +A monochromatic Pomodoro timer widget with per-note time tracking and automated report generation. Built with zero external dependencies in ~130 lines of code. + +## Features +* **Pomodoro Timer:** Standard 25min focus / 5min break cycles. +* **Per-Note Tracking:** Automatically logs how much time you spend on each note while the timer is running. +* **Monochromatic UI:** Uses the active theme's CSS variables for a distraction-free experience. + +## πŸš€ What's New (Latest Updates) + +**v3 - Core Bug Fixes & Stability** +* **Wall-clock time tracking:** The timer no longer stops or loses time when the Trilium window is minimized or loses focus (bypassing `setInterval` throttling). +* **Pause fix:** Fixed a bug where time wasn't accounted for correctly after unpausing a session (`lastTick` reset issue). + +**v2 - Workflow & Persistence** +* **Seamless Transitions:** Automatically chains sessions (Focus β†’ Break β†’ Focus) without stopping. +* **Safe Persistence:** Saves progress to `localStorage` on pauses or app closures. The timer automatically restores pending data if you reopen the app. +* **Auto-Reports:** Generates a formatted note on stop, detailing completed cycles (and if they were chained), total time, and time spent per note. + +## Installation +1. Create a `JS Frontend` note. +2. Paste the script code or import the `.zip`. +3. Add the label: `#widget`. Reload Trilium. + +## Original link +[https://github.com/orgs/TriliumNext/discussions/9710](https://github.com/orgs/TriliumNext/discussions/9710) diff --git a/TriliumNext-toolkit.md b/TriliumNext-toolkit.md new file mode 100644 index 0000000..1629271 --- /dev/null +++ b/TriliumNext-toolkit.md @@ -0,0 +1,37 @@ +# TriliumNext Plugins & Tools Collection + +A collection of plugins, widgets, and scripts for TriliumNext, focused on writing, productivity, canvas workflows, and note organization. +This repository serves as a centralized hub for all these projects. + +## πŸ“¦ How to Install + +1. Navigate to the folder of the plugin you want. +2. Download the `.zip` release. +3. Import it into Trilium. (The imported notes behave like a custom plugin). +4. To import correctly, right-click a parent note on Windows/Linux (or Control-click on macOS) and choose **Import**. + +> **Tip:** For better organization, you may want to import everything inside a dedicated parent note such as β€œTools”, β€œPlugins”, or β€œAddons”. + +--- + +## πŸ› οΈ Collection Index + +### Productivity & Workflow +* **[Weekly Planner & Open Tasks Panel](./Weekly-Planner)** - A drag-and-drop task board integrated with a global open tasks searcher. +* **[Minimalist Pomodoro + Time Tracker](./Minimalist-Pomodoro)** - A monochromatic Pomodoro timer widget with per-note time tracking and report generation. + +### Canvas & Note Organization +* **[Canvas Note Tools](./Canvas-Note-Tools)** - Insert notes as interactive cards, create on the fly, and synthesize knowledge directly on the canvas. +* **[Canvas Template Loader Widget](./Canvas-Template-Loader)** - Insert reusable Excalidraw templates into any canvas with a single click. +* **[Canvas Templates Pack](./Canvas-Templates)** - A collection of ready-to-use frameworks (OKR, GTD, Feynman, SCAMPER, etc.) for visual thinking. + +### Writing & Creative Tools +* **[Word Counter + Daily Goal](./Word-Counter)** - A compact right-pane widget tracking your daily writing progress. +* **[Custom Scripts for Writers](./Writers-Tools)** - Includes a Longform Compiler (Grid View) and a Fountain Screenplay Renderer. +* **[AI Chat inside Trilium](./AI-Chat)** - A no-code approach to interacting with AI directly within your notes. + +### UI +* **[CSS Tweaks: Polished UI](./UI-Tweaks)** - Polishing the UI for better readability and elegance. + +--- +*I will continue updating this collection as new tools and experiments are developed.* diff --git a/UI-Tweaks/CSS-Tweaks.zip b/UI-Tweaks/CSS-Tweaks.zip new file mode 100644 index 0000000..ac51e57 Binary files /dev/null and b/UI-Tweaks/CSS-Tweaks.zip differ diff --git a/UI-Tweaks/README.md b/UI-Tweaks/README.md new file mode 100644 index 0000000..236d680 --- /dev/null +++ b/UI-Tweaks/README.md @@ -0,0 +1,10 @@ +# CSS Tweaks – Polished UI for Trilium + +A set of CSS styles to improve readability and elegance of the TriliumNext interface. + +## Installation +1. Import `CSS_Tweaks_UI_Polished.zip` as an appearance note (or create a **Code – CSS** note with the code and apply it via settings). +2. Adjust the styles to your preference. + +## Original link +[https://github.com/orgs/TriliumNext/discussions/9553](https://github.com/orgs/TriliumNext/discussions/9553) diff --git a/Weekly-Planner/README.md b/Weekly-Planner/README.md new file mode 100644 index 0000000..8f9d278 --- /dev/null +++ b/Weekly-Planner/README.md @@ -0,0 +1,20 @@ +# Weekly Planner & Open Tasks Panel + +A unified workspace for TriliumNext featuring a drag-and-drop weekly planner and a global open tasks panel. + +## Features + +* **Shared Architecture:** A unified system that feeds both the planner and the tasks list. Any action in one panel re-renders the other. +* **Drag and Drop:** Dragging in the planner automatically updates the day badges in the tasks panel. +* **Global Synchronization:** The Open Tasks panel scans every note across the entire database to locate all pending tasks. +* **Contextual Badges:** Tasks allocated in the planner display a discreet badge (e.g., Wed 14/5) in the tasks panel. +* **Mark as Done:** Check off individual tasks directly from the panel, or click to enter the source note. Marking as done removes the task from the backlog. + +## Installation + +1. Download the `Task_Planner.zip` and `Open_tasks_list.zip` (if kept separate, or the unified zip) and import it into Trilium. +2. **Data Storage:** Create a note named "Planner Data" of type `Code - JSON`, and assign the labels `#plannerdata` and `#data`. +3. **Render:** Create a Render note to show the planner. On the Render note, add the relation: `~renderNote` pointing to the JS Frontend note. + +## Original link +[https://github.com/orgs/TriliumNext/discussions/9676](https://github.com/orgs/TriliumNext/discussions/9676) diff --git a/Weekly-Planner/weekly-planner.zip b/Weekly-Planner/weekly-planner.zip new file mode 100644 index 0000000..64f892e Binary files /dev/null and b/Weekly-Planner/weekly-planner.zip differ diff --git a/Word-Counter/README.md b/Word-Counter/README.md new file mode 100644 index 0000000..25a028a --- /dev/null +++ b/Word-Counter/README.md @@ -0,0 +1,22 @@ +# Word Counter + Daily Goal + +A compact right-pane panel showing word and character counts for the current note, alongside a daily progress bar. + +## Features + +* **Live Counting:** Displays word and character count for the active text note. +* **Daily Goal Tracking:** Set a daily word goal using labels (e.g., `#dailyGoal=1000`). Default is 500 words. +* **Global Progress:** Tracks words written across *all* notes throughout the day using `localStorage`. +* **Visuals:** Sleek, monochromatic progress bar that adapts to your active Trilium theme. +* **Efficient:** Updates automatically on note switch and debounces on content save. + +## Installation + +1. Create a `JS Frontend` note in Trilium. +2. Paste the code or import the `.zip`. +3. Add the label: `#widget`. +4. *(Optional)* Add the label `#dailyGoal=N` (replace N with your goal) to any text note. +5. Reload Trilium (`Ctrl+R` / `Cmd+R`). + +## Original link +[https://github.com/orgs/TriliumNext/discussions/9711](https://github.com/orgs/TriliumNext/discussions/9711) diff --git a/Word-Counter/Word-counter.zip b/Word-Counter/Word-counter.zip new file mode 100644 index 0000000..9bbacdb Binary files /dev/null and b/Word-Counter/Word-counter.zip differ diff --git a/Writers-Tools/README.md b/Writers-Tools/README.md new file mode 100644 index 0000000..9685d9d --- /dev/null +++ b/Writers-Tools/README.md @@ -0,0 +1,23 @@ +# Custom Scripts for Writers + +Two fully functional workflows designed to bridge the gap between Knowledge Management and Content Creation inside Trilium. + +## 1. Longform Compiler (Grid View) +Visually organize and compile smaller atomic notes into one master document. +* **Drag & Drop:** Generates a visual grid of child notes that you can reorder. +* **Persistence:** Your custom order is preserved even after a reload. +* **Compilation:** A single click automatically generates a consolidated master note based on your visual arrangement. + +## 2. Fountain Screenplay Renderer +For audiovisual scriptwriters. +* **Standard Formatting:** Displays your note text beautifully formatted as a standard screenplay using Fountain syntax. +* **Advanced Tracking:** Supports scene lists, character tracking, and word counts. +* **Export:** Includes a dedicated button to export your draft directly as a `.fountain` file. + +## General Setup +1. Create a "Render Note" and set it as the parent. +2. Add the script itself as a child note, and ensure the Render Note has a `~renderNote` relation pointing to it. +3. Organize your actual content notes as children under the Render Note. + +## Original link +[https://github.com/orgs/TriliumNext/discussions/9494](https://github.com/orgs/TriliumNext/discussions/9494) diff --git a/Writers-Tools/js-Fountain.zip b/Writers-Tools/js-Fountain.zip new file mode 100644 index 0000000..f22337f Binary files /dev/null and b/Writers-Tools/js-Fountain.zip differ diff --git a/Writers-Tools/js-grid.zip b/Writers-Tools/js-grid.zip new file mode 100644 index 0000000..e35f9ee Binary files /dev/null and b/Writers-Tools/js-grid.zip differ