--- title: 'Bumblebee: web script synthesizer' date: 2025-04-02 layout: post project: true thumbnail: thumb_sm.png --- Browser session-to-code conversion. For work. Pre-LLM. Quality of scripts are pitiful. Created tool to generate them real-time (as the user browses the web). Architecture: C# WinForms host, embedded WebView2 browser, Scintilla.NET editor. 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. NOTE: Abstract syntax trees. Script generation: minutes/hours → seconds.