How m3m3nto/giaa works
GIAA accepts indexing requests through a web UI, validates and checks URLs, persists their status, then a scheduled worker dispatches eligible pending URLs through Google’s Indexing API and updates the UI. The graph preserves account/property configuration, quota tracking, request history, and live status updates. Relationships reflect the provided source excerpts or README; the UI/template and account-pairing details are only documented or visible in routes, so no unshown internals are inferred.
Main entry points: worker.js Scheduled worker · app.js HTTP app · index.js Web routes · url.js URL history
Components 16
Web interface
- HTTP app
app.js - Web routes
routes/index.js - Live request UI
public/js/application.js - Rendered pages
views - Basic auth
modules/auth.js
Request validation
- URL checks
modules/checker.js - Quota counter
modules/utils.js
Indexing dispatch
- Scheduled worker
worker.js - Google notifier
modules/indexer.js
Persistent state
- URL history
models/url.js - GSC accounts
models/account.js
Configuration
- App settings
config/app.js
Other components
- Operator
- Google Indexing API
- MongoDB
- Submitted URL
Connections 25
- Operator → HTTP app: uses
README.md - HTTP app → Basic auth: guards requests
app.js - HTTP app → Web routes: mounts routes
app.js - Web routes → Rendered pages: renders pages
routes/index.js - Operator → Web routes: submits requests
routes/index.js - Web routes → URL checks: checks URLs
routes/index.js - Submitted URL → Web routes: provides URL
routes/index.js - URL checks → GSC accounts: checks property
modules/checker.js - URL checks → URL history: saves checks
modules/checker.js - Web routes → GSC accounts: manages accounts
routes/index.js - Web routes → Quota counter: reads quota
routes/index.js - Quota counter → URL history: counts requests
modules/utils.js - Scheduled worker → Quota counter: checks quota
worker.js - Scheduled worker → URL history: loads pending
worker.js - Scheduled worker → GSC accounts: finds account
worker.js - Scheduled worker → Google notifier: dispatches notification
worker.js - Google notifier → Google Indexing API: publishes URL
modules/indexer.js - Scheduled worker → URL history: saves outcome
worker.js - Scheduled worker → HTTP app: emits updates
worker.js - HTTP app → Live request UI: broadcasts updates
app.js - App settings → HTTP app: configures
app.js - App settings → Scheduled worker: configures
worker.js - App settings → Google notifier: selects key directory
modules/indexer.js - HTTP app → MongoDB: connects
app.js - Scheduled worker → MongoDB: connects
worker.js