← Discourse Answers using Downloads , JSON3 , Dates
function fetch_tiddlywiki_store (url)
html = String (take! (Downloads . download (url, IOBuffer ())))
m = match (r " <script class=\"tiddlywiki-tiddler-store\"[^>]*>(.*?)</script> " s , html)
m === nothing && error (" no tiddlywiki-tiddler-store script found in $ url" )
JSON3 . read (m. captures[1 ])
end
const _tiddler_cache = Dict {String ,Any }()
get_tiddlers (url) = get! (() -> fetch_tiddlywiki_store (url), _tiddler_cache, url)
function filter_titles (tiddlers, show_system, filter_text)
q = lowercase (filter_text)
titles = [t. title for t in tiddlers]
show_system || filter! (t -> ! startswith (t, " \$:/ " ), titles)
isempty (q) ? titles : filter (t -> occursin (q, lowercase (t)), titles)
end
function resolve_tiddler (tiddlers, title)
i = isempty (title) ? nothing : findfirst (t -> t. title == title, tiddlers)
i === nothing ? nothing : tiddlers[i]
end
tw_date (s) = isempty (s) ? " " : DateTime (s[1 : 14 ], dateformat " yyyymmddHHMMSS " )
pretty_json (x) = sprint (io -> JSON3 . pretty (io, x))
url_host (url) = (m = match (r " ^\w+://([^/]+) " , url); m === nothing ? url : m. captures[1 ])
function slugify (s)
s = replace (lowercase (strip (s)), r " [^a-z0-9]+ " => " - " )
strip (s, ' - ' )
end
;
TiddlyWiki URL https://demos.tiddlyhost.com
Filter tiddlers
Include system tiddlers ($:/...)
Tiddler 1950's Large Farmhouse 2-Bedroom Apartment 3-Bedroom Apartment A Accountant Acronym maker Alpha Bravo Tango.. Athletic Trainer B Baker Bank Teller base64 image: flower Blinking save button Bob Bruxelles Budget builder Budget builder export Building an accessible nav Bulk operations Business Manager Button to set the lang of a tiddler Buy coffee c C Caption instead of title Cashier Charcode table Checkbox macro Checkbox macro with genesis widget Checkbox/Macro Checkbox/Style chemistry Color gradients Color palette with color contrast Combo search combobox/style Computer Scientist Content Creator Content editable style Cook copy/paste viewTemplate Crowd of zombies CryptedImageBackground CryptedVideoBackground CSS Theme Tweaks CSS to hide the topbar when scrolling custom shortcuts Custom tags Custom tooltip Customizing the select widget Cycle trough a list each day DarkMode Date +-2 Demo details macro Diagram from drawio.svg Disabling parsing Display an icon with just a class Display caption instead of title Do not freelink me Documentation Macros doing done Dont list this tiddler Download Draft of 'Combo search' by Telumire Draft of 'New Tiddler 3' by Telumire Draft of 'Quote of the day' by Telumire Draft of 'Recursive filter' by Telumire droppable widget Dynamic let widget with genesis widget Dynamic variables with macro text substitution Dynamic variables with macro text substitution/code Edit a tiddler in a separate window edit-search-field edit-search-field/style edit/edit-text widget lose focus on tiddler tagged with $:/tags/Macro editfield/macro Editing date field Editor Editor/Metadata Editor/Style Editor/Template Ellipsis icon EmbedDemo Explorer mockup Explorer mockup/Style export/macro external image: tiddlyhost External links icon v1 (concataining the fill in the svg background) External links icon v2 (using masks) External links icon/CSS Output for CSS validation External links icon/Demo External plugins and core Extracting zones from json and check if a coordinate is inside or outside of one of the zone Favicons for dark and light mode Felix Fido Fill with mask image Filter error: Missing [ in filter expression Florist Form Freelink me Genesis bug: name begining with 'on' doesnt work Get the current tiddler title from the transclusion variable Glossary Graphic Designer Grok TiddlyWiki Guides Help hey Historic apartment building near the city center Horizontal time selector Hotel Clerk How to add a video in the background of a crypted wiki How to apply conditional filters How to build a glossary How to build an index How to Build an Interactive Character Explorer with Animated Popups in TiddlyWiki How to check for empty parameter in macro How to combine the fields of parent/child tiddlers in one tiddler How to convert a number of minutes into hh:mm notation How to copy/paste fields to other tiddler(s) How to count words frequency How to create a download link for tiddlyhost hosted tiddlers How to create a navigation history (WIP) How to create a TagFilter macro How to cycle through a list of values How to detect scroll direction for animation How to display an icon with class How to display text with logic statements How to download a tiddlyhost wiki How to easily fill forms using a set of field values from template tiddlers How to filter by field value that contain links to tiddlers How to get the latest modification date How to get tomorrow and yesterday date in the Gregorian calendar How to get unique popups in a list widget How to get verified on Mastodon How to handle content drag and dropped How to hide the editor buttons but keep the shortcuts How to learn filters How to make a Kanban (Todo, Doing, Done) How to make the editor toolbar sticky How to open a pdf tiddler at a specific page How to open a random tiddler using saq's shuffle filter operator How to place content spanning cells inside of a dynamic grid/table How to reduce the size of your wiki How to repeat an image How to scope CSS How to search by transclusions How to search for chemical formula matching a set of elements How to toggle a value in a list with a checkbox How to use custom macros in filter How to use the event catcher widget to pass html attribute to macro How to use tiddlywiki on webdav Human Resources Icon Gallery Include tag and exclude tag Increase/decrease field count Infos Interesting links for chemistry students Javascript RSS Reader job job 1 job 2 Job Editor Job editor form Jonh Journal JSON Learn more about using TiddlyWiki Lille Link data to tiddler based on tiddler title Link to several tiddlers List marked text List of books List of survival books list-links Live with your family Login button for tiddlyhost Lorem Luxury high-rise apartment with many amenities Macro substitution in filter Marseille Maybe a bug - fields edit template Mechanic Moderate family home in the suburbs Multiple merged cells in a grid Muscle Wiki Style Muscle Wiki SVG Back female Muscle Wiki SVG Back male Muscle Wiki SVG Front female Muscle Wiki SVG Front male Music player signets Named color wheel by arantius Navigating with a svg New job New Tiddler New Tiddler 1 New Tiddler 2 New Tiddler 3 New townhouse near the mass transit station NewBook NewBook 1 NewBook 10 NewBook 11 NewBook 12 NewBook 2 NewBook 3 NewBook 4 NewBook 5 NewBook 6 NewBook 7 NewBook 8 NewBook 9 Nurse Open a link in a new tab open a list of tiddlers in a new tab button Open a pdf at a specific page Open a tiddler without scroll open current tiddler in a new tab button Open pdf tiddler at page X/Demo Open pdf tiddler at page X/Macro Open pdf tiddler at page X/Style openInNewTab Optimizing tiddlywiki Paris party time button Paul pdf PDF URL Parameters Editor Pizza cutter playground playground sandboxed Portrait preview editor Post Office Clerk Prévôt Q&A qr-link macro demo qr-link macro wip Quote of the day Quotes Read a book Reading and modifying json Recipe Recursive filter Recursive macro Rename tiddlers edited by safe mode Repeating tasks Research on SVG Reverse search hints Run 10 km Safe position Scroll detection Scroll indicator Scroll indicator v2 Scrollbar indicator (work best on very long tiddler) Scrollbar indicator demo Scrollbar indicator explanation Scrollbar indicator v2/style Scrollbar indicator v3/style Scrollbar indicator v4 Scrollbar indicator/Style Search wikipedia using iframe Security Guard select-translation Self typing svg animation WIP Set the focus to an input short-link Show element if tiddler height is over 100vh Show system language without js Show the info of the latest tiddler clicked Small quiz in tiddlywiki Social Worker Some text to translate Star rating start Stats Sticky editor toolbar Studio Apartment Style elements when the wiki is locked Style github comment Style warning Subtitle/Style System images as CSS icons Tag picker with custom list of tags TagCloud TagCloud/Style TagFilterOutput Tagged filter Tags TagCloud task 1 task 2 task 3 tasks Tasks Teacher Telemarketer Test CORS Test freelinks Testing svg fragment for better performances text TextEditor/Snippet/Export thé Thé This tiddler has a very very very very long title so we are gonna shorten it This tiddler is tagged with $:/tags/Macro Tid01 Tid02 Tiddler 1 Tiddler 2 Tiddler 3 Tiddler 4 Tiddler 5 Tiddler A Tiddler B Tiddler EN Tiddler FR Tiddler transcluded Tiddler transcluding Tiddlywiki todo TODO: css icon Tomorrow and yesterday date Tools Traduction de "Some text to translate" Transclusion macro filters Turn a list in a simple task list Typed block and CSS variables Unique popups in the same tiddler Untitled Video macro with drag and drop link support wd wiki/id/first-wiki wiki/id/second-wiki Wikitext in detail element Wikitext style editor Words
t = resolve_tiddler (tiddlers, selected_title)
if t === nothing
" no tiddler selected "
else
slate_table ([(field= " title " , value= string (t. title)),
(field= " tags " , value= get (t, : tags , " " )),
(field= " modified " , value= string (tw_date (get (t, : modified , " " )))),
(field= " type " , value= get (t, : type , " " )),
(field= " text " , value= get (t, : text , " " ))])
end
field value title 1950's Large Farmhouse tags housing modified 2023-02-16T02:31:51 type text
t = resolve_tiddler (tiddlers, selected_title)
t === nothing ? Text (" " ) : Text (pretty_json (t)){
"created": "20230216020225285",
"creator": "Telumire",
"text": "",
"tags": "housing",
"title": "1950's Large Farmhouse",
"modified": "20230216023151868",
"modifier": "Telumire",
"cost": "200",
"description": "You are living with your family which has social and emotional pros and cons. "
} Run this notebook live Get the full interactive notebook (with the AI agent) on your machine. Needs Julia 1.10+ . The launch script installs Kaimon + KaimonSlate and starts the notebook (its exact environment is reconstructed from the bundle).
One-liner — your platform (paste into a terminal):
Show the command for another OS ▾
macOS / Linux (bash):
Windows (PowerShell):
Or download run.jl to inspect first, then julia run.jl. On Windows, grab run.bat + run.ps1 beside it and double-click run.bat. Just the env? download the bundle .
Copy one-liner Close