How gillotvi/lbc works
This is a Google Sheets-bound leboncoin alert script. A user installs it in a spreadsheet, configures alert settings, and runs a search that fetches leboncoin results, tracks seen listings in sheet cells, and can email a formatted alert. The single source file combines menu setup, search orchestration, parsing, spreadsheet state, and notification. The excerpts omit some function bodies, so the diagram shows only relationships visible in the excerpt or README.
Main entry points: script.js Alert script
Components 8
Setup and menus
- Setup menus
script.js - Alert settings
script.js
Search and parsing
- Alert script
script.js - Listing parser
script.js
State and alerts
- Google Sheet
- Email service
Other components
- Spreadsheet user
- leboncoin
Connections 7
- Spreadsheet user → Setup menus: opens sheet
README.md - Setup menus → Alert settings: offers setup
script.js - Spreadsheet user → Alert script: runs search
README.md - Alert script → leboncoin: fetches results
script.js - Alert script → Listing parser: extracts listings
script.js - Alert script → Google Sheet: reads and updates
script.js - Alert script → Email service: sends alerts
script.js