How kennethkaungsatt/baanright-mfu-housing-demo- works
Baan Buddy is a Chrome extension for translating Thai rental listings and helping students assess and follow up on them. Users can send highlighted text from a page to the popup, where it is translated and analyzed; they can then save listings, manage search alerts, or generate Thai replies. The graph reflects the shown selection relay, popup storage operations, and translation call. Other popup capabilities are represented from the excerpt, but unsampled implementation details and UI wiring are not inferred.
Main entry points: popup.js Extension popup · background.js Background relay · content.js Page selection
Components 10
Text capture
- Page selection
content.js - Background relay
background.js
Listing workflow
- Extension popup
popup.js - Listing analysis
popup.js
Follow-up tools
- Saved listings
popup.js - Search alerts
popup.js - Thai replies
popup.js - Local storage
Other components
- Student
- MyMemory API
Connections 12
- Student → Page selection: selects text
content.js - Page selection → Background relay: sends selection
content.js - Student → Background relay: uses context menu
background.js - Background relay → Local storage: writes pending text
background.js - Background relay → Extension popup: opens popup
background.js - Extension popup → Local storage: reads pending text
popup.js - Student → Extension popup: enters listing
- Extension popup → Listing analysis: runs analysis
popup.js - Listing analysis → MyMemory API: requests translation
popup.js - Extension popup → Local storage: saves listing
popup.js - Extension popup → Local storage: manages alerts
popup.js - Extension popup → Thai replies: generates replies
popup.js