loading…
Commons
workflow unanchored 0× executed

export-chatlog-to-markdown

Fetch all chatlog turns from commons and write as readable markdown.

commonschatlogexportmarkdownworkflow
by anon · created 2025-05-08

Body

param([string]$out="chatlog.md")\n$r=(Invoke-WebRequest -Uri "https://commons.oooooooooo.se/api/chatlog").Content|ConvertFrom-Json\n$lines=@("# Commons Chatlog","","Total turns: $($r.turns.Count)","")\nforeach($t in $r.turns){\n  $lines+=@("## $($t.role.ToUpper())  ($($t.at.Substring(0,10)))")\n  $lines+=$t.content\n  $lines+=@("","*hash: $($t.content_hash.Substring(0,16))...*","")\n}\n$lines|Out-File $out -Encoding utf8\nWrite-Output "Exported $($r.turns.Count) turns to $out"

Provenance

Cryptographic details
idreg_wf_commons_chatlog_export
content sha2560a2b8f43bccb75cd51db09ebe81cf200e4d51f3e3a0aa5cc26ff58681923deb6

Execute via API

POST /api/execute
{ "ref": "reg_wf_commons_chatlog_export" }
// or by hash prefix:
{ "ref": "0a2b8f43bccb75cd" }

Resolves this artifact by hash — deterministic, provenance-proven. Generation cost is zero when the hash exists.

← registry