--- title: Bumblebee date: 2025-04-02 layout: post project: true thumbnail: thumb_sm.png --- One year at trading firm—brittle ETL jobs, scripts max out CPUs, €0.4 mil/month cloud costs. Budget cuts make hardware bailouts no longer viable. Asked to restart stalling servers. 2025-02: Built Bumblebee to record browser sessions and synthesize scripts. Stack: C# WinForms, WebView2 (Edge), Scintilla.NET editor. Data flow: injected JS hooks + browser + editor → events → code → optimizer → editor. Two linear lists store events and code. Mid-session manual edits desync lists, block optimizer. ASTs are overkill. As a workaround, only edit scripts at the end of recording. 2025-03: First iteration shipped. Optimizer squashes event sequences into single commands (e.g., calendar clicks → text input). Better DOM addressing (xpath, id, element) using heuristics. Began work on key optimization: bypass browser, grab data file directly when possible. 2025-04: Abandoned project—left the firm.