Trilium

0.8.0

Powershell wrapper for the TriliumNext API

Installation Options

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

Install-Module -Name Trilium

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

Install-PSResource -Name Trilium

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

Version History

Version Downloads Last updated
0.8.0 (current version) 4 5/27/2025
0.7.0 4 5/25/2025
0.6.0 5 5/24/2025
0.5.0 4 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