Is there a way to render all the tiddlers in a filter into a single JSON file (array of tiddlers)?

Continuing the discussion from [tw5] Export multiple tiddlers by filter to single JSON file from command-line:

I actually would like them all to be in a single file.

Use $:/AdvanceSearch, “Filter” tab. Enter the desired filter syntax. Then, use the “export” button (up arrow in a half-box) that is to the right of the filter input field. Select “JSON” from the popup menu that appears when you click the button.

Note: this same functionality is also available in my TiddlyTools FilterGenerators “PowerSearch” interface, which helps you to construct the desired filter syntax from a set of drop-down lists.
https://tiddlytools.com/filtergenerators.html#TiddlyTools%2FFilterGenerators%2FPowerSearch

2 Likes

It’s not command line related, but FYI Tiddlyhost users can access this kind of data via https://{{site}}.tiddlyhost.com/tiddlers.json .

There are two url params: include_system and skinny.

Examples:
https://simon.tiddlyhost.com/tiddlers.json
https://simon.tiddlyhost.com/tiddlers.json?include_system=1&skinny=1

3 Likes

Right, I want to be able to do exactly that same thing from the command-line