blob: 6ef46b3a9257854aac0cb2702fdd70b063ae1990 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
---
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.
<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.
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.
|