How mun2ddd/image-baanright works
image-BaanRight is a browser-extension popup for translating and extracting details from Thai property listings, with tools for saving listings, setting search alerts, and composing Thai replies. The main workflow takes listing text, translates it, extracts useful details, and presents a result that can be saved. The sampled code is concentrated in popup.js; relationships to the translation service are not included because the excerpts do not show the request.
Main entry points: popup.js Popup interactions
Components 9
Listing workflow
- Translation
popup.js - Listing extraction
popup.js - Image handling
popup.js
Listing tools
- Saved listings
popup.js - Search alerts
popup.js - Thai replies
popup.js - Extension storage
Popup interface
- Popup interactions
popup.js
Other components
- User
Connections 9
- User → Popup interactions: uses
popup.js - Popup interactions → Listing extraction: runs extraction
popup.js - Listing extraction → Translation: translates text
popup.js - Popup interactions → Image handling: selects image
popup.js - Popup interactions → Saved listings: saves listing
popup.js - Saved listings → Extension storage: reads and writes
popup.js - Popup interactions → Search alerts: manages alerts
popup.js - Search alerts → Extension storage: reads and writes
popup.js - Popup interactions → Thai replies: generates reply
popup.js