Important note: This plugin is still very much in beta. There are still bugs I'm trying to work out, so before we go live in the Community Plugin repository, I'd be delighted if you could report any bugs you find. Thank you!
An Obsidian plugin to automatically delete or archive notes that have "expired". With this, you can give your notes a "best by" date and make them disappear as soon as they're obsolete, keeping your vault clean and uncluttered.
Example for those ephemeral notes include:
As this plugin is currently in early development, you can use BRAT to install it. Use the path joerncodes/obsidian-expiring-notes
.
If you're interested in helping to make Expiring Notes a finished product, please see Contributing.
To mark a note to expire in the future, this plugin uses a predefined frontmatter key like so:
expires: 2021-01-01
In this example, this note will automatically be either archived or deleted after January 1st, 2021.
You can either write the frontmatter yourself or use the Set Expiry Date command.
Expiring Notes has two different modes of operation: delete and archive.
If a note gets deleted, it vanishes from your vault forever - there is no undo. Please use with appropriate caution.
If a note is archived, it gets moved to a predefined archive folder (you can customize the path in settings). Please note that if a file with the same name already exists in the archive, it will get overwritten.
Use this command to set or modify the expiry date of the currently opened note. You can provide the date either in your chosen date format (see Settings), or using natural date parsing. Some examples include:
Scan your vault for expired notes and then either delete or archive them, depending on the behavior you set in your Settings.
expires
.You can find the changelog here.
I'm hoping to make Expiring Notes as awesome as possible, and I need your help to do it. Any issue opened here on GitHub is appreciated, whether it be a bug or a feature request.
If you want to take the time to do a PR, those are welcomed with open arms.