mirror of
https://github.com/ricolandia/TriliumNext-Toolkit.git
synced 2026-05-17 10:55:40 -04:00
Initial commit: plugins, templates, and tools
This commit is contained in:
commit
dcea9868fd
20 changed files with 234 additions and 0 deletions
BIN
AI-Chat/AI-Chat.zip
Normal file
BIN
AI-Chat/AI-Chat.zip
Normal file
Binary file not shown.
21
AI-Chat/README.md
Normal file
21
AI-Chat/README.md
Normal file
|
|
@ -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).
|
||||
BIN
Canvas-Note-Tools/Canvas-note-tools.zip
Normal file
BIN
Canvas-Note-Tools/Canvas-note-tools.zip
Normal file
Binary file not shown.
26
Canvas-Note-Tools/README.md
Normal file
26
Canvas-Note-Tools/README.md
Normal file
|
|
@ -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)
|
||||
BIN
Canvas-Template-Loader/Canvas-Templater.zip
Normal file
BIN
Canvas-Template-Loader/Canvas-Templater.zip
Normal file
Binary file not shown.
26
Canvas-Template-Loader/README.md
Normal file
26
Canvas-Template-Loader/README.md
Normal file
|
|
@ -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)
|
||||
BIN
Canvas-Templates/Canvas-templates.zip
Normal file
BIN
Canvas-Templates/Canvas-templates.zip
Normal file
Binary file not shown.
22
Canvas-Templates/README.md
Normal file
22
Canvas-Templates/README.md
Normal file
|
|
@ -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)
|
||||
BIN
Minimalist-Pomodoro/Pomodoro-mini.zip
Normal file
BIN
Minimalist-Pomodoro/Pomodoro-mini.zip
Normal file
Binary file not shown.
27
Minimalist-Pomodoro/README.md
Normal file
27
Minimalist-Pomodoro/README.md
Normal file
|
|
@ -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)
|
||||
37
TriliumNext-toolkit.md
Normal file
37
TriliumNext-toolkit.md
Normal file
|
|
@ -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.*
|
||||
BIN
UI-Tweaks/CSS-Tweaks.zip
Normal file
BIN
UI-Tweaks/CSS-Tweaks.zip
Normal file
Binary file not shown.
10
UI-Tweaks/README.md
Normal file
10
UI-Tweaks/README.md
Normal file
|
|
@ -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)
|
||||
20
Weekly-Planner/README.md
Normal file
20
Weekly-Planner/README.md
Normal file
|
|
@ -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)
|
||||
BIN
Weekly-Planner/weekly-planner.zip
Normal file
BIN
Weekly-Planner/weekly-planner.zip
Normal file
Binary file not shown.
22
Word-Counter/README.md
Normal file
22
Word-Counter/README.md
Normal file
|
|
@ -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)
|
||||
BIN
Word-Counter/Word-counter.zip
Normal file
BIN
Word-Counter/Word-counter.zip
Normal file
Binary file not shown.
23
Writers-Tools/README.md
Normal file
23
Writers-Tools/README.md
Normal file
|
|
@ -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)
|
||||
BIN
Writers-Tools/js-Fountain.zip
Normal file
BIN
Writers-Tools/js-Fountain.zip
Normal file
Binary file not shown.
BIN
Writers-Tools/js-grid.zip
Normal file
BIN
Writers-Tools/js-grid.zip
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue