summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2026-01-12 20:21:51 +0800
committerSadeep Madurange <sadeep@asciimx.com>2026-01-12 20:21:51 +0800
commit864d12f042eb4f2cc228781e3dd889f05907d47a (patch)
tree8c1efe38e6602aa82aaadfaac2fc72f0ab48f381
parentbfc7122157352802fcb5f9a42b13244aed71ecb0 (diff)
downloadwww-864d12f042eb4f2cc228781e3dd889f05907d47a.tar.gz
Improve Bumblebee post.
-rw-r--r--_log/bumblebee.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/_log/bumblebee.md b/_log/bumblebee.md
index 6ef46b3..57dc49d 100644
--- a/_log/bumblebee.md
+++ b/_log/bumblebee.md
@@ -6,27 +6,27 @@ project: true
thumbnail: thumb_sm.png
---
-Browser session-to-code conversion. For work. Pre-LLM.
+For work. Browser session-to-code conversion. Pre-LLM.
<video style="max-width:100%; margin-bottom: 10px" controls="" poster="poster.png">
<source src="bee.mp4" type="video/mp4">
</video>
-Quality of scripts are pitiful.
+Script quality pitiful. Created tool to generate them by analyzing browser events.
-Created tool to generate them real-time (as the user browses the web).
+Stack: C# WinForms host, WebView2 browser, Scintilla.NET editor.
-Architecture: C# WinForms host, embedded WebView2 browser, Scintilla.NET
-editor.
+Data structure: twin lists--one for events, one for text.
Implementation:
- Interception: Injected JS hooks + internal browser events.
- Transformation: Event → Token → Instruction table → String.
- - Optimization: Parallel event/text lists.
- - Two-way binding of code to Scintilla editor.
+ - Optimization: Toss unnecessary clicks, squash input events.
+ - Rendering: Two-way binding between text and Scintilla editor.
-NOTE: Abstract syntax trees.
+NOTE: Lists desync on manual edits; blocks optimizer. Replace lists
+with ASTs.
Script generation: minutes/hours → seconds.