Branch map

The conversation as a tree: fork from any reply, see every branch as a coloured lane on a map, hop between them, compare two endings side by side and merge one back into Main.

Chat and canvasNo. 2132 variationsFree with an account

Playing on its own
Variation
The idea
The conversation as a tree: fork from any message, hop between branches, compare two endings, merge one back
Autoplay
The second reply is forked with Branch from here and a dashed limb appears on the map; a playful ask is sent and the branch's lane draws in; Main's last reply is picked on the map and the thread cross-fades back; Compare shows both endings; Merge into Main draws a curve back into the trunk and the summary lands in the thread.
When you click
Hover or focus any reply for Branch from here, write on the new branch (or cancel it), click a map row or use the arrow keys and Enter to open any message, click a branch chip to switch, compare the latest branch with Main, merge it or keep Main. Esc closes the top layer. On phones the map is a bottom sheet.
Look
map rail beside a thread, path drawing, cross-fade, sans, mono labels type
Variations
Midnight, Blueprint
Files
index.html, style.css, script.js and prompt.md. No framework, no CDN, works offline.

The prompt and the files

Paste the prompt into Claude, ChatGPT, Lovable or any coding agent to rebuild it in your own product, or take the three files as they are.

Loading the files

More chat and canvas

See all