Trilium

0.10.0

Powershell wrapper for the TriliumNext API

Minimum PowerShell version

7.5

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Trilium -RequiredVersion 0.10.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Trilium -Version 0.10.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

2024-25 Patrick Morris

Package Details

Author(s)

  • Patrick Morris

Tags

Windows TriliumNext PowerShell Trilium

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

# 📅 Changelog

All notable changes to the **TriliumNext-Powershell-Module** will be documented in this file.

---

## [0.10.0] - 2025-06-11

### Added

* Added markdig library (v0.41.2) for Markdown to HTML conversion.
* Added parameter `-Markdown` to `New-TriliumNote` to convert markdown content to HTML for rendering in text notes.
* Added function `Get-TriliumAttachmentID` - Parses all attachment IDs from a note's contents (no direct API equivalent).
* Added parameter `-Math` (used with `-Markdown`) to convert math markdown for rendering.
* Added function `Create-TriliumAttribute`.

---

## [0.8.0] - 2025-05-27

### Updated

* Updated `Set-TriliumNoteDetails` to improve `-NoteType` parameter handling and type/mime mapping for special note types.
* Updated `New-TriliumNote` to include `-NoteType` parameter and unified type/mime mapping logic.

---

## [0.7.0] - 2025-05-25

### Added

* Added function `Get-TriliumInbox` - GET /inbox/{date}
* Added function `Get-TriliumDayNote` - GET /calendar/days/{date}
* Added function `Get-TriliumWeekNote` - GET /calendar/weeks/{date} (Note: This appears to be broken due to a bug in TriliumNext)
* Added function `Get-TriliumMonthNote` - GET /calendar/months/{month}
* Added function `Get-TriliumYearNote` - GET /calendar/years/{year}
* Added function `Set-TriliumNoteDetails` - PATCH /notes/{noteId}
* Added function `Set-TriliumBranch` - PATCH /branches/{branchId}

---

## [0.6.0] - 2025-05-24

### Added

* Added function `Get-TriliumAttachment` - GET /attachments/{attachmentId}
* Added function `Get-TriliumAttachmentContent` - GET /attachments/{attachmentId}/content

---

## [0.5.0] -

### Fixed

* Fixed `Export-TriliumNote`.

### Added

* Added Markdown option to `Export-TriliumNote`. Default is HTML.

### Updated

* Updated and improved some documentation.
* Split out functions into their own .ps1 file.

---

## [0.4.0] -

### Improved

* Improved `Connect-TriliumAuth` to use PSCredential object.
 * See documentation for new usage.

---

## [0.3.0] -

### Added

* Added check for `/` at the end of base URL.
* Added `-SkipCertCheck` switch to ALL functions.

### Updated

* Updated `Connect-TriliumAuth` to use `-SkipCertCheck` switch.

---

## [0.2.0] -

### Fixed

* Fixed parameter sets in `Find-TriliumNote`.
 * `orderBy` and `Limit` must be used together.

### Updated

* Updated/added some documentation.

---

## [0.1.0] -

### Initial Release

* Initial release of TriliumNext-Powershell-Module.
 * A command for almost every documented TriliumNext API.

---

> 📌 This changelog follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) principles.

FileList

  • Trilium.nuspec
  • .git\objects\ed\ffe76815bb38ca5d6dce73e49b580d326f9ace
  • assets\Get-TriliumInfo.png
  • public\Get-TriliumAttachmentID.ps1
  • public\Import-TriliumNoteZip.ps1
  • CHANGELOG.md
  • .git\ORIG_HEAD
  • .git\hooks\push-to-checkout.sample
  • .git\objects\0e\2d544a7733ff41bb37b99af5190e6080b34028
  • .git\objects\21\3f46e5b0631320a462f8bf689f0ef1ea875f6f
  • .git\objects\3a\a0be4ceb3b64a840ece0bb2daac288f563c786
  • .git\objects\58\67b668e29ce9e45ca82abe018e0d351cc82a38
  • .git\objects\74\4ccba50781c00f4859d784f4a4cf67c8c24222
  • .git\objects\84\74fe67c27351ceab5837c25a1257f9aa4edafe
  • .git\objects\9d\106f12d59f4016da216b512795df93eafe14f6
  • .git\objects\b7\de42148b1de0b18bfab62e04ec2637a2133552
  • .git\objects\d4\120cd6374ba3cf3bce1912e3d6772711862573
  • .git\objects\ee\91081257da64733401a2a7c91216baf1072180
  • assets\Get-TriliumRootNote.png
  • public\Get-TriliumAttribute.ps1
  • public\New-TriliumBackup.ps1
  • LICENSE
  • .git\packed-refs
  • .git\hooks\sendemail-validate.sample
  • .git\objects\0e\ca332a85e12c4bbcd9c87cb7b51e02e3045667
  • .git\objects\22\05de73ed9852066fc7b5ef7073f7f0db477ba8
  • .git\objects\3f\6664aad861e203934182a9f292c7b309b25e19
  • .git\objects\58\a2942a61244349671dac44af76298eed7b2634
  • .git\objects\75\82d3228eaf75321879f2372bad89e30c0fa1b3
  • .git\objects\86\b3e30c2e1536f419d2d15d000f2e44c9c6f7ce
  • .git\objects\a0\037c4145fa2da43347bcb17672bde36f1057aa
  • .git\objects\b9\b8fadbe15f4e93698cbf6c153c454312fa8d6c
  • .git\objects\d6\075d90848b1f6eb7ca5e29b6ae8613cdb53237
  • .git\objects\ef\b6f428a65f21c2a51e11ff96613b4c7e61545f
  • lib\Markdig.dll
  • public\Get-TriliumBranch.ps1
  • public\New-TriliumNote.ps1
  • README.md
  • .git\hooks\applypatch-msg.sample
  • .git\hooks\update.sample
  • .git\objects\0f\4ac9e804d7cf30e27a4945e747f78696f1cdd7
  • .git\objects\22\0fd66be3f917cc530f435ee05bd572360d009f
  • .git\objects\3f\e2965eb8fe749f3e867eb4aad12cf94131ff1c
  • .git\objects\5a\3c1864704cc6d4f352e6e889d7cd40fd6770de
  • .git\objects\77\ad3d6c20db5694af8831ba05a7087b502e7ce6
  • .git\objects\8e\587853fe09a0e507703ca3066da3612b95074e
  • .git\objects\a2\9837b960aaac46ed206ea515a2ca0a281c66e2
  • .git\objects\bf\e46a93cd4d81caebcd62f98bbf6ccea832d546
  • .git\objects\d6\32db810e1b1e3556d07c0fbece1752ee30d366
  • .git\objects\f7\7f523cb77858ad81e4f4821cccf02834452f09
  • lib\Markdig.xml
  • public\Get-TriliumDayNote.ps1
  • public\New-TriliumNoteRevision.ps1
  • THIRD-PARTY-NOTICES.txt
  • .git\hooks\commit-msg.sample
  • .git\info\exclude
  • .git\objects\10\1fdb3a730522c90edda7aa55d41fc9f1f30fb3
  • .git\objects\22\106a768508834002829c294ba08a6fa188c183
  • .git\objects\41\8c44f2eb8c8b7cd9e09774aeff33a0ff5f0e44
  • .git\objects\5a\92396c43284313c5362d8ab5ab9079effaf5d2
  • .git\objects\7c\1848901c61cc3d4b6b76b949eb2aac19c2be7d
  • .git\objects\8e\91c70e91a8dc6783591a046d5a6951ddd6e786
  • .git\objects\a4\8637fd913af1725ebeac050bddeba9d0f6fa20
  • .git\objects\c3\624407067a2c7eedd04d740f69aa4d833587c8
  • .git\objects\d6\61135a90bb709aeacbe65d49709e225444b9f7
  • .git\objects\fa\8bdb76823017e555bb536e5b5f27b1a4d8c5ad
  • public\Connect-TriliumAuth.ps1
  • public\Get-TriliumInbox.ps1
  • public\Remove-TriliumAttribute.ps1
  • .git\hooks\fsmonitor-watchman.sample
  • .git\logs\HEAD
  • .git\objects\11\24cea08e01e2c45a9f79c6c3606d62a6105c09
  • .git\objects\22\41deca317deccb9135478e52996d353326308d
  • .git\objects\42\d6fb5a3d82ef68169aee254fa28380bc7178d3
  • .git\objects\5a\eb97356a52d14e15ebd17f48b811e9baae1b9f
  • .git\objects\7d\238f12cb1df29b3b2b782eb941335469fc0d5c
  • .git\objects\8e\f1d10df15446bbc490a2a1285aab9ac6771566
  • .git\objects\a7\387e396ee4ed374dcbdc0f650d7724318a9ff8
  • .git\objects\c4\6df04336a76dadf94559e1bc3e9e6297330e83
  • .git\objects\d7\171e8bf1c57591c98a794fefd2c542c706f984
  • .git\objects\pack\pack-83ba3f1d3a3518125b6ee158d44ef5cdf099affd.idx
  • public\Copy-TriliumNote.ps1
  • public\Get-TriliumInfo.ps1
  • public\Remove-TriliumBranch.ps1
  • Trilium.psd1
  • .git\hooks\post-update.sample
  • .git\logs\refs\heads\main
  • .git\objects\11\e9aa7b112b1690e3abb34034cc157b5695681b
  • .git\objects\27\6485a1f21aba866c42a5c894942083ecc6b307
  • .git\objects\4b\17453b40dd0d18d493608b0e2576590ae7ea81
  • .git\objects\63\b5d723991fe1317da3e811fc8cf8ff64329833
  • .git\objects\7d\2c9830e6ddac725d798f5c3f94efdcefafac7f
  • .git\objects\91\166799e8dfc5ccdba36940baf3a2716a3c07f7
  • .git\objects\a9\09d235285cc1a770af9e9e29ce59e804c73fa2
  • .git\objects\c5\9466512ea9c92f924f2d5a641da30c06dd18c1
  • .git\objects\d7\1f8f960ffd2db8fd62d9d0e137eb2c3fb0aa68
  • .git\objects\pack\pack-83ba3f1d3a3518125b6ee158d44ef5cdf099affd.pack
  • public\Create-TriliumAttribute.ps1
  • public\Get-TriliumMonthNote.ps1
  • public\Remove-TriliumNote.ps1
  • Trilium.psm1
  • .git\hooks\pre-applypatch.sample
  • .git\logs\refs\remotes\origin\HEAD
  • .git\objects\12\205531361031838f5687a73eb53fa2b7ba588e
  • .git\objects\28\83150dedda457c3ccc427ee5663493374dc423
  • .git\objects\4d\8c81597142fda03c6745994342bfe41d2c817a
  • .git\objects\66\eea933f7f6c8254cb02871347c7423e5747847
  • .git\objects\7e\a1045b14aba06ceb683479ccb5a06d1176ddbb
  • .git\objects\98\365dd9612cbff74b6429cec0c23c69e610154f
  • .git\objects\aa\02f01e8699ebb882e34096febb072c9c904d5c
  • .git\objects\c5\9f36345fee16f7f9f4bbeb7f2174ff4b35e38f
  • .git\objects\dc\0a97d9fc14915ddd06abf9e9b010580752d7f1
  • .git\objects\pack\pack-83ba3f1d3a3518125b6ee158d44ef5cdf099affd.rev
  • public\Disconnect-TriliumAuth.ps1
  • public\Get-TriliumNoteContent.ps1
  • public\Set-TriliumBranch.ps1
  • .git\COMMIT_EDITMSG
  • .git\hooks\pre-commit.sample
  • .git\logs\refs\remotes\origin\main
  • .git\objects\14\74f607a27172538fa4546f4cf411ab18fb65d2
  • .git\objects\2a\390d8a6c883b3bc8caf1ae97f34453c077ac90
  • .git\objects\4e\285a6a83dc44a374db4917e0f47c1b183a0d70
  • .git\objects\6b\00c9d094395eb4df02e27ed3fdceab5ccaa1e7
  • .git\objects\7f\433d07ea78b8d9eae6953c2823f6a9df167cdc
  • .git\objects\98\3e709c686464766a6bb514ac4b270a39ba7fd3
  • .git\objects\ab\6a0feb587cff669cdcf2863e4e4f210f2272ed
  • .git\objects\c7\30727e5bb3cc0d9f0ecfd958ce3771fe9941db
  • .git\objects\dd\5af200977ba5cfba0f80af41c46da8a8c5e178
  • .git\refs\heads\main
  • public\Export-TriliumNote.ps1
  • public\Get-TriliumNoteDetail.ps1
  • public\Set-TriliumNoteContent.ps1
  • .git\config
  • .git\hooks\pre-merge-commit.sample
  • .git\objects\01\04d3a974830c087a9ff10c28e0bec55360826c
  • .git\objects\16\13642d58ab96f2f43690c6c96b965539217eee
  • .git\objects\2e\c19995cedca8452a2d3b474277b4af11c7f04e
  • .git\objects\4e\5868396a56bf707f3f52813fc902da5f314da8
  • .git\objects\6b\5745e54fea150bfb5e8207a341017b8b1d4a6e
  • .git\objects\7f\85174334ca9e19dcd34bbc62ea117d69bbdfd0
  • .git\objects\98\837e0681be5aa9e22a4adc3dab5e7a432ee9f0
  • .git\objects\ab\c59ac6a665ddc4e3e81b0a7c9ba2a2d4e820cb
  • .git\objects\ca\0fd66928065b0eca0e78a39f751aa4b9c47ddb
  • .git\objects\e3\0c53e19e0feaf0392902f8b725bbc78fc09c59
  • .git\refs\remotes\origin\HEAD
  • public\Find-TriliumNote.ps1
  • public\Get-TriliumRootNote.ps1
  • public\Set-TriliumNoteDetails.ps1
  • .git\description
  • .git\hooks\pre-push.sample
  • .git\objects\02\58f501e8abe1b145801e8813f207651c0c8513
  • .git\objects\1c\e6f7e2ee1bd8b597c36f8ea92bb1e7f714c74b
  • .git\objects\2f\b1067c9ccdd1a8e3cb781829f0bdc5e98b0662
  • .git\objects\54\7d7915936b18f6519ff4b3126e413a6f81ef78
  • .git\objects\6f\dd686115c548db5129164325e0aed5ac83891d
  • .git\objects\80\32d47216ff05752556788d0bd49a65c419316b
  • .git\objects\98\88f912c22817ca7cb6f536a7978e41b92b5b8e
  • .git\objects\ae\34e954aba708eb9b4944bc27d948fb07d16bf8
  • .git\objects\cb\1f79cacc4eed3b625ab5967a2350a6af52d199
  • .git\objects\eb\584a21cd715f90cc36e6a0bfb91e4f2266836d
  • .git\refs\remotes\origin\main
  • public\Get-TriliumAttachment.ps1
  • public\Get-TriliumWeekNote.ps1
  • public\Update-TriliumNoteOrder.ps1
  • .git\FETCH_HEAD
  • .git\hooks\pre-rebase.sample
  • .git\objects\03\82537e038a8a7911c71259ee7548b85b4d2b72
  • .git\objects\1f\3057b7ff09651527ac8ff92ee5c9046e7826b2
  • .git\objects\38\5ee4d7b14d5b57e72a01259efa0aa86ac07ee9
  • .git\objects\56\56572c4fc494a8a096de54a2b43aaec2c4bd02
  • .git\objects\71\e6be32a292a0ba3f12d2af7e461d21ea4b4dda
  • .git\objects\82\1f6ffd8087836818c5d7fdc7c67512fe5389a0
  • .git\objects\9a\4f7699a971098c063f2c6204d1a449cfaf400e
  • .git\objects\b3\5bbc566894df334e04df6e6fc6b1267cc1b842
  • .git\objects\d2\c876aa3a3f54e22bedcf24fb36c3ca8ea11894
  • .git\objects\ec\21563f6532d4824b1aa1f1d5b1439e6e029b96
  • .git\refs\tags\v0.8.0
  • public\Get-TriliumAttachmentContent.ps1
  • public\Get-TriliumYearNote.ps1
  • tests\Trilium.tests.ps1
  • .git\HEAD
  • .git\hooks\pre-receive.sample
  • .git\objects\04\05df6f7f7bb9fe6ad8eb20ef0e26dd58446d69
  • .git\objects\1f\d2eb4e34a194400480744ccbc7ae186bcfe8d9
  • .git\objects\38\6cc5795d76a4f96c4be69260b3f64233b731e7
  • .git\objects\58\4b1175b1e0631a78eb65915e7820cf8b704d8c
  • .git\objects\73\2f5b1ae1de0675053080e54857f6ad253660e3
  • .git\objects\83\1051d508d1385be0624b4d5ae94cdeed63b550
  • .git\objects\9b\f6e9f35f6fe1025f1d462a93a99a51f35fd996
  • .git\objects\b6\936ffd707bae989d9d10c90a2a0c8dcf85cf62
  • .git\objects\d2\f785042afec07e1bfa5918f0f092710e059881
  • .git\objects\ec\6d45c9b51d8f8da28f7d87ae40a79dffb48898
  • .git\index
  • .git\hooks\prepare-commit-msg.sample
  • .git\objects\05\59b44e9c9c689938ccd1becb7f05562f8372ff
  • .git\objects\21\0148919b48c199852fcda81928a07a5d0861ff

Version History

Version Downloads Last updated
0.13.0 8 7/4/2025
0.12.0 10 6/15/2025
0.11.0 5 6/13/2025
0.10.0 (current version) 4 6/11/2025
0.8.0 5 5/27/2025
0.7.0 5 5/25/2025
0.6.0 6 5/24/2025
0.5.0 5 5/15/2025
0.4.0 10 12/29/2024
0.3.0 50 12/25/2024
0.2.0 178 12/11/2024
0.1.0 16 12/8/2024
Show more