Edit: The myTideR package for R can be found at myTideR: Gotta Tiddl' Em All! • myTideR
The new MultiWikiServer plugin is very exciting, and the ability to have many collections of tiddlers gathered in one database - while still being able to keep them separate - revives an old dream that many of us have surely had: to let TiddlyWiki be one’s external brain that collects and remembers everything important.
Imagine having one bag of tiddlers called scripts
. These tiddlers contain scripts that run, for example, every hour. We may call them tides, representing waves of tiddlers being added by the external scripts. Some of us prefer R, so I started drafting the myTideR package as a proof-of-concept:
Examples of what the tides can be:
- Import emails to the mail bag. Using IMAP, the script downloads new emails, converts them to TiddlyWiki format. Attachments are downloaded to the file storage (see below).
- Import files to the file bag. The file storage contains external files. The script ensures that all files have a corresponding tiddler containing the file hash (to avoid duplicates) and file path. Also, I know Jeremy is working on improved handling of external files. Perhaps we can even use pandoc to convert some file formats to TiddlyWiki.
- Import calendar events to the event bag. The script creates new tiddlers from a list of iCal files.
- Import external notes to the external-note bag. The script converts markdown files from Obsidian or Logseq to TiddlyWiki format and creates corresponding tiddlers. Imports file attachments and embeds images.
-
Import web pages to the web-archive bag. If you mention a URL in a tiddler and put it in brackets (
[[http://example.com]]
) the script will try to archive it through SingleFile and the Internet Archive, and create a corresponding tiddler. - Import RSS feed to the RSS bag.
- Import historical weather data to the weather bag.
- Export static site. For public - redacts links to private tiddlers - or just for easier interaction with external files etc.
Does anyone have experience with this type of pipeline? Or have ideas for other types of scripts (Python?) that could be useful?
(Somewhat inspired by Peter Hajas: TiddlyWiki Everywhere)