Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
docs(user): update web clipper
Elian Doranada22e496679
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.htmlindex b406c7b3ce..effb6e395b 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Installation & Setup/Web Clipper.html@@ -4,17 +4,34 @@<p>Trilium Web Clipper is a web browser extension which allows user to cliptext, screenshots, whole pages and short notes and save them directly toTrilium Notes.</p>-<p>Project is hosted <a href="https://github.com/TriliumNext/web-clipper">here</a>.</p>-<p>Firefox and Chrome are supported browsers, but the chrome build should- work on other chromium based browsers as well.</p>+<h2>Supported browsers</h2>+<p>Trilium Web Clipper officially supports the following web browsers:</p>+<ul>+ <li>+ <p>Mozilla Firefox, using Manifest v2.</p>+ </li>+ <li>+ <p>Google Chrome, using Manifest v3. Theoretically the extension should work+ on other Chromium-based browsers as well, but they are not officially supported.</p>+ </li>+</ul>+<h2>Obtaining the extension</h2>+<aside class="admonition warning">+ <p>The extension is currently under development. A preview with unsigned+ extensions is available on <a href="https://github.com/TriliumNext/Trilium/actions/runs/21318809414">GitHub Actions</a>.</p>+ <p>We have already submitted the extension to both Chrome and Firefox web+ stores, but they are pending validation.</p>+</aside><h2>Functionality</h2><ul><li>select text and clip it with the right-click context menu</li><li>click on an image or link and save it through context menu</li><li>save whole page from the popup or context menu</li><li>save screenshot (with crop tool) from either popup or context menu</li>- <li>create short text note from popup</li>+ <li+ >create short text note from popup</li></ul>+<h2>Location of clippings</h2><p>Trilium will save these clippings as a new child note under a "clipperinbox" note.</p><p>By default, that's the <a href="#root/_help_l0tKav7yLHGF">day note</a> but you@@ -23,21 +40,33 @@spellcheck="false">clipperInbox</code>, on any other note.</p><p>If there's multiple clippings from the same page (and on the same day),then they will be added to the same note.</p>-<p><strong>Extension is available from:</strong>-</p>+<h2>Keyboard shortcuts</h2>+<p>Keyboard shortcuts are available for most functions:</p>+<ul>+ <li>Save selected text: <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd> (Mac: <kbd>⌘</kbd>+<kbd>⇧</kbd>+<kbd>S</kbd>)</li>+ <li+ >Save whole page: <kbd>Alt</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd> (Mac: <kbd>⌥</kbd>+<kbd>⇧</kbd>+<kbd>S</kbd>)</li>+ <li+ >Save screenshot: <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>E</kbd> (Mac: <kbd>⌘</kbd>+<kbd>⇧</kbd>+<kbd>E</kbd>)</li>+</ul>+<p>To set custom shortcuts, follow the directions for your browser.</p><ul>- <li><a href="https://github.com/TriliumNext/web-clipper/releases">Project release page</a> -- .xpi for Firefox and .zip for Chromium based browsers.</li>- <li><a href="https://chromewebstore.google.com/detail/trilium-web-clipper/dfhgmnfclbebfobmblelddiejjcijbjm">Chrome Web Store</a>+ <li><strong>Firefox</strong>: <code spellcheck="false">about:addons</code> →+ Gear icon ⚙️ → Manage extension shortcuts</li>+ <li><strong>Chrome</strong>: <code spellcheck="false">chrome://extensions/shortcuts</code></li></ul>+<aside class="admonition note">+ <p>On Firefox, the default shortcuts interfere with some browser features.+ As such, the keyboard combinations will not trigger the Web Clipper action.+ To fix this, simply change the keyboard shortcut to something that works.+ The defaults will be adjusted in future versions.</p>+</aside><h2>Configuration</h2><p>The extension needs to connect to a running Trilium instance. By default,it scans a port range on the local computer to find a desktop Trilium instance.</p><p>It's also possible to configure the <a href="#root/_help_WOcw2SLH6tbX">server</a> addressif you don't run the desktop application, or want it to work without thedesktop application running.</p>-<h2>Username</h2>-<p>Older versions of Trilium (before 0.50) required username & password- to authenticate, but this is no longer the case. You may enter anything- in that field, it will not have any effect.</p>\ No newline at end of file+<h2>Credits</h2>+<p>Some parts of the code are based on the <a href="https://github.com/laurent22/joplin/tree/master/Clipper">Joplin Notes browser extension</a>.</p>\ No newline at end of filediff --git a/apps/web-clipper/README.md b/apps/web-clipper/README.mddeleted file mode 100644index a37d0e1817..0000000000--- a/apps/web-clipper/README.md+++ /dev/null@@ -1,24 +0,0 @@-# Trilium Web Clipper--## This repo is dead--**Trilium is in maintenance mode and Web Clipper is not likely to get new releases.**--Trilium Web Clipper is a web browser extension which allows user to clip text, screenshots, whole pages and short notes and save them directly to [Trilium Notes](https://github.com/zadam/trilium).--For more details, see the [wiki page](https://github.com/zadam/trilium/wiki/Web-clipper).--## Keyboard shortcuts-Keyboard shortcuts are available for most functions:-* Save selected text: `Ctrl+Shift+S` (Mac: `Cmd+Shift+S`)-* Save whole page: `Alt+Shift+S` (Mac: `Opt+Shift+S`)-* Save screenshot: `Ctrl+Shift+E` (Mac: `Cmd+Shift+E`)--To set custom shortcuts, follow the directions for your browser.--**Firefox**: `about:addons` > Gear icon ⚙️ > Manage extension shortcuts--**Chrome**: `chrome://extensions/shortcuts`--## Credits-Some parts of the code are based on the [Joplin Notes browser extension](https://github.com/laurent22/joplin/tree/master/Clipper).diff --git a/docs/Developer Guide/Developer Guide/Documentation.md b/docs/Developer Guide/Developer Guide/Documentation.mdindex ea5d135a22..d840ffd46a 100644--- a/docs/Developer Guide/Developer Guide/Documentation.md+++ b/docs/Developer Guide/Developer Guide/Documentation.md@@ -1,5 +1,5 @@# Documentation-There are multiple types of documentation for Trilium:<img class="image-style-align-right" src="api/images/TzNwfb67k5Dh/Documentation_image.png" width="205" height="162">+There are multiple types of documentation for Trilium:<img class="image-style-align-right" src="api/images/rFcOjCdtKSRx/Documentation_image.png" width="205" height="162">* The _User Guide_ represents the user-facing documentation. This documentation can be browsed by users directly from within Trilium, by pressing <kbd>F1</kbd>.* The _Developer's Guide_ represents a set of Markdown documents that present the internals of Trilium, for developers.diff --git a/docs/User Guide/User Guide/Installation & Setup/Web Clipper.md b/docs/User Guide/User Guide/Installation & Setup/Web Clipper.mdindex bd5731d34f..a74fb72d05 100644--- a/docs/User Guide/User Guide/Installation & Setup/Web Clipper.md+++ b/docs/User Guide/User Guide/Installation & Setup/Web Clipper.md@@ -3,9 +3,19 @@Trilium Web Clipper is a web browser extension which allows user to clip text, screenshots, whole pages and short notes and save them directly to Trilium Notes.-Project is hosted [here](https://github.com/TriliumNext/web-clipper).+## Supported browsers-Firefox and Chrome are supported browsers, but the chrome build should work on other chromium based browsers as well.+Trilium Web Clipper officially supports the following web browsers:++* Mozilla Firefox, using Manifest v2.+* Google Chrome, using Manifest v3. Theoretically the extension should work on other Chromium-based browsers as well, but they are not officially supported.++## Obtaining the extension++> [!WARNING]+> The extension is currently under development. A preview with unsigned extensions is available on [GitHub Actions](https://github.com/TriliumNext/Trilium/actions/runs/21318809414).+>+> We have already submitted the extension to both Chrome and Firefox web stores, but they are pending validation.## Functionality@@ -15,16 +25,29 @@ Firefox and Chrome are supported browsers, but the chrome build should work on o* save screenshot (with crop tool) from either popup or context menu* create short text note from popup+## Location of clippings+Trilium will save these clippings as a new child note under a "clipper inbox" note.By default, that's the [day note](../Advanced%20Usage/Advanced%20Showcases/Day%20Notes.md) but you can override that by setting the [label](../Advanced%20Usage/Attributes.md) `clipperInbox`, on any other note.If there's multiple clippings from the same page (and on the same day), then they will be added to the same note.-**Extension is available from:**+## Keyboard shortcuts++Keyboard shortcuts are available for most functions:++* Save selected text: <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd> (Mac: <kbd>⌘</kbd>+<kbd>⇧</kbd>+<kbd>S</kbd>)+* Save whole page: <kbd>Alt</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd> (Mac: <kbd>⌥</kbd>+<kbd>⇧</kbd>+<kbd>S</kbd>)+* Save screenshot: <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>E</kbd> (Mac: <kbd>⌘</kbd>+<kbd>⇧</kbd>+<kbd>E</kbd>)++To set custom shortcuts, follow the directions for your browser.++* **Firefox**: `about:addons` → Gear icon ⚙️ → Manage extension shortcuts+* **Chrome**: `chrome://extensions/shortcuts`-* [Project release page](https://github.com/TriliumNext/web-clipper/releases) - .xpi for Firefox and .zip for Chromium based browsers.-* [Chrome Web Store](https://chromewebstore.google.com/detail/trilium-web-clipper/dfhgmnfclbebfobmblelddiejjcijbjm)+> [!NOTE]+> On Firefox, the default shortcuts interfere with some browser features. As such, the keyboard combinations will not trigger the Web Clipper action. To fix this, simply change the keyboard shortcut to something that works. The defaults will be adjusted in future versions.## Configuration@@ -32,6 +55,6 @@ The extension needs to connect to a running Trilium instance. By default, it scaIt's also possible to configure the [server](Server%20Installation.md) address if you don't run the desktop application, or want it to work without the desktop application running.-## Username+## Credits-Older versions of Trilium (before 0.50) required username & password to authenticate, but this is no longer the case. You may enter anything in that field, it will not have any effect.\ No newline at end of file+Some parts of the code are based on the [Joplin Notes browser extension](https://github.com/laurent22/joplin/tree/master/Clipper).\ No newline at end of file