Skip to content

Instantly share code, notes, and snippets.

A doc that writes itself

StreamWeaver University · Step 4 Live · written by a script, while you watch

A script is writing this document into your pane, one push at a time. Each push carries everything before it plus one new section, so the page grows instead of blinking. Watch the outline on the left fill in as it goes.

A doc that writes itself

StreamWeaver University · Step 4 Live · written by a script, while you watch

A script is writing this document into your pane, one push at a time. Each push carries everything before it plus one new section, so the page grows instead of blinking. Watch the outline on the left fill in as it goes.

A doc that writes itself

StreamWeaver University · Step 4 Live · written by a script, while you watch

A script is writing this document into your pane, one push at a time. Each push carries everything before it plus one new section, so the page grows instead of blinking. Watch the outline on the left fill in as it goes.

A doc that writes itself

StreamWeaver University · Step 4 Live · written by a script, while you watch

A script is writing this document into your pane, one push at a time. Each push carries everything before it plus one new section, so the page grows instead of blinking. Watch the outline on the left fill in as it goes.

A doc that writes itself

StreamWeaver University · Step 4 Live · written by a script, while you watch

A script is writing this document into your pane, one push at a time. Each push carries everything before it plus one new section, so the page grows instead of blinking. Watch the outline on the left fill in as it goes.

@fkchang
fkchang / demo.org
Created August 25, 2026 01:02
StreamWeaver Doc Viewer demo: beautiful UI with markdown-level fallback (both .org and .rb formats)

Incident: Duplicate Notification Sends

Incident Report · INC-4471 [warn] P1 · [good] Resolved · Notification Service

01 Summary

{
"Products": [
{
"ProductName": "Product A",
"Reviews": [
{"Rating": 5, "Text": "Amazing product! Highly recommend."},
{"Rating": 4, "Text": "Good quality, satisfied with my purchase."},
{"Rating": 3, "Text": "It's okay, but I expected better."},
{"Rating": 2, "Text": "Not what I expected, poor quality."},
{"Rating": 1, "Text": "Terrible, stopped working after a week."}
from collections import defaultdict
str = '''company_name,service
Johns Refuge,Normal Pickup
Johns Refuge,Bulk Pickup
Johns Refuge,Tree Removal
Bobs Limited,Normal Pickup
Bobs Limited,Bulk Pickup
'''
lines = str.split("\n")
data = lines[1:-1]
# Write a recursive function that Fibonacci sequence
# 0, 1, 1, 2, 3, 5, 8, 13
# fib(0) == 0
# fib(1) == 1
# fib(2) == 1 (0 + 1)
# fib(3) == 2 (1 + 1)
# fib(4) == 3 (2 + 1)
# fib(5) == 5 (3 + 2)
# fib(6) == 8 (5 + 3)
# fib(7) == 13 (8 + 5)

i.e. take this format

company_name,service
Johns Refuge,Normal Pickup
Johns Refuge,Bulk Pickup
Johns Refuge,Tree Removal
Bobs Limited,Normal Pickup
Bobs Limited,Bulk Pickup

and output