In Maple - recipes | meal-planning | grocery - Showcase - Talk TW (tiddlywiki.org) a plugin called shortid
has been used.
ShortId creates amazingly short non-sequential url-friendly unique ids. Perfect for url shorteners, MongoDB and Redis ids, and any other id users might see.
The source of shorid can be found in the GitHub
- ShortID source: dylang/shortid: Short id generator. Url-friendly. Non-predictable. Cluster-compatible. (github.com)
- ShortID TiddlyWiki plugin: reidgould/tiddlywiki-shortid-plugin: A TiddlyWiki plugin that is a bundle of shortid for use as a macro. (github.com)
The author states that shortid is unsafe and instead nanoid is recommended.
NanoID is a tiny (130 bytes), secure, URL-friendly, unique string ID generator for JavaScript
- Nano Id Source: ai/nanoid: A tiny (130 bytes), secure, URL-friendly, unique string ID generator for JavaScript (github.com)
Our JS knowledgeable fellows may create the nanoid plugin for TW.
Use cases
- Create tiddler title using nano id
- Create states like the one we use with qualify
- …