# nox-automation/nox-autofill architecture

> Architecture diagram of the GitHub repository nox-automation/nox-autofill, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/nox-automation/nox-autofill
- Repository: https://github.com/nox-automation/nox-autofill

## Overview

NOX Autofill is a Chrome extension for automating e-commerce checkout across supported stores. Its main user workflow is configuring profiles and per-site autofill/autocheckout settings, then using the extension on a supported store; the README documents those capabilities, but the sampled sources do not establish the content-script injection or checkout call path. The dashboard also manages proxies and settings and presents checkout analytics. Controller-to-model/view links follow sampled imports; unsampled store integrations are represented as a subsystem rather than individually inferred flows.

Main entry points: [`js/controllers/homeController.js`](https://github.com/nox-automation/nox-autofill/blob/main/js/controllers/homeController.js) (Checkout analytics), [`js/views/profilesView.js`](https://github.com/nox-automation/nox-autofill/blob/main/js/views/profilesView.js) (Profile editor), [`js/dashboard.js`](https://github.com/nox-automation/nox-autofill/blob/main/js/dashboard.js) (Dashboard entry), [`js/controllers`](https://github.com/nox-automation/nox-autofill/tree/main/js/controllers) (Dashboard controllers)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_dashboard["Dashboard"]
  node_dashboard_entry["Dashboard entry<br/>[dashboard.js]"]
  node_dashboard_controllers["Dashboard controllers"]
  node_home_analytics["Checkout analytics<br/>[homeController.js]"]
  node_home_view["Home dashboard<br/>[homeView.js]"]
  node_announcements["Announcements"]
  node_checkout_records[("Checkout records<br/>[checkoutsModel.js]")]
end

subgraph group_configuration["Checkout configuration"]
  node_profiles_ui["Profile editor<br/>[profilesView.js]"]
  node_profiles_state[("Profile state<br/>[profilesModel.js]")]
  node_profile_layouts["Address layouts"]
  node_administrative_levels["Address levels"]
  node_scripts_ui["Script controls<br/>[scriptsView.js]"]
  node_scripts_state[("Script settings<br/>[scriptsModel.js]")]
  node_proxies_ui["Proxy manager<br/>[proxiesView.js]"]
  node_proxy_state[("Proxy state<br/>[proxyModel.js]")]
  node_settings_ui["Settings<br/>[settingsView.js]"]
  node_settings_state[("Preferences<br/>[settingsModel.js]")]
  node_license_state[("License state<br/>[licenseModel.js]")]
end

subgraph group_automation["Store automation"]
  node_store_scripts["Store integrations"]
  node_universal_scripts["Universal scripts"]
end

subgraph group_platform["Extension platform"]
  node_browser(("Chrome browser"))
  node_payment_helpers["Payment formatting<br/>[payment.js]"]
end

node_user(("User"))

node_user -->|"opens dashboard"| node_dashboard_entry
node_dashboard_entry -->|"loads controllers"| node_dashboard_controllers
node_dashboard_controllers -->|"includes"| node_home_analytics
node_home_analytics -->|"updates"| node_home_view
node_home_analytics -->|"reads"| node_announcements
node_home_analytics -->|"aggregates"| node_checkout_records
node_home_analytics -->|"counts"| node_profiles_state
node_home_analytics -->|"counts"| node_scripts_state
node_profiles_ui -.->|"edits profiles"| node_profiles_state
node_profiles_ui -->|"uses layouts"| node_profile_layouts
node_profiles_ui -->|"uses address levels"| node_administrative_levels
node_scripts_ui -.->|"configures"| node_scripts_state
node_proxies_ui -.->|"manages proxies"| node_proxy_state
node_settings_ui -.->|"changes preferences"| node_settings_state
node_browser -->|"runs on stores"| node_store_scripts
node_user -->|"uses autofill"| node_store_scripts
node_user -->|"uses utilities"| node_universal_scripts
node_profiles_ui -.->|"formats card data"| node_payment_helpers

click node_dashboard_entry "https://github.com/nox-automation/nox-autofill/blob/main/js/dashboard.js"
click node_dashboard_controllers "https://github.com/nox-automation/nox-autofill/tree/main/js/controllers"
click node_home_analytics "https://github.com/nox-automation/nox-autofill/blob/main/js/controllers/homeController.js"
click node_home_view "https://github.com/nox-automation/nox-autofill/blob/main/js/views/homeView.js"
click node_announcements "https://github.com/nox-automation/nox-autofill/blob/main/js/models/announcementsModel.js"
click node_checkout_records "https://github.com/nox-automation/nox-autofill/blob/main/js/models/checkoutsModel.js"
click node_profiles_ui "https://github.com/nox-automation/nox-autofill/blob/main/js/views/profilesView.js"
click node_profiles_state "https://github.com/nox-automation/nox-autofill/blob/main/js/models/profilesModel.js"
click node_profile_layouts "https://github.com/nox-automation/nox-autofill/blob/main/js/utils/addressFieldSetLayouts.js"
click node_administrative_levels "https://github.com/nox-automation/nox-autofill/blob/main/js/utils/administrativeLevels.js"
click node_scripts_ui "https://github.com/nox-automation/nox-autofill/blob/main/js/views/scriptsView.js"
click node_scripts_state "https://github.com/nox-automation/nox-autofill/blob/main/js/models/scriptsModel.js"
click node_proxies_ui "https://github.com/nox-automation/nox-autofill/blob/main/js/views/proxiesView.js"
click node_proxy_state "https://github.com/nox-automation/nox-autofill/blob/main/js/models/proxyModel.js"
click node_settings_ui "https://github.com/nox-automation/nox-autofill/blob/main/js/views/settingsView.js"
click node_settings_state "https://github.com/nox-automation/nox-autofill/blob/main/js/models/settingsModel.js"
click node_license_state "https://github.com/nox-automation/nox-autofill/blob/main/js/models/licenseModel.js"
click node_store_scripts "https://github.com/nox-automation/nox-autofill/tree/main/js/contentScripts"
click node_universal_scripts "https://github.com/nox-automation/nox-autofill/tree/main/js/contentScripts"
click node_payment_helpers "https://github.com/nox-automation/nox-autofill/blob/main/js/libraries/payment.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_dashboard_entry,node_dashboard_controllers,node_home_analytics,node_home_view,node_announcements,node_checkout_records,node_user toneBlue
class node_profiles_ui,node_profiles_state,node_profile_layouts,node_administrative_levels,node_scripts_ui,node_scripts_state,node_proxies_ui,node_proxy_state,node_settings_ui,node_settings_state,node_license_state toneAmber
class node_store_scripts,node_universal_scripts toneMint
class node_browser,node_payment_helpers toneRose
```

## Components

### Dashboard

- [Dashboard entry](https://github.com/nox-automation/nox-autofill/blob/main/js/dashboard.js): `js/dashboard.js`
- [Dashboard controllers](https://github.com/nox-automation/nox-autofill/tree/main/js/controllers): `js/controllers`
- [Checkout analytics](https://github.com/nox-automation/nox-autofill/blob/main/js/controllers/homeController.js): `js/controllers/homeController.js`
- [Home dashboard](https://github.com/nox-automation/nox-autofill/blob/main/js/views/homeView.js): `js/views/homeView.js`
- [Announcements](https://github.com/nox-automation/nox-autofill/blob/main/js/models/announcementsModel.js): `js/models/announcementsModel.js`
- [Checkout records](https://github.com/nox-automation/nox-autofill/blob/main/js/models/checkoutsModel.js): `js/models/checkoutsModel.js`

### Checkout configuration

- [Profile editor](https://github.com/nox-automation/nox-autofill/blob/main/js/views/profilesView.js): `js/views/profilesView.js`
- [Profile state](https://github.com/nox-automation/nox-autofill/blob/main/js/models/profilesModel.js): `js/models/profilesModel.js`
- [Address layouts](https://github.com/nox-automation/nox-autofill/blob/main/js/utils/addressFieldSetLayouts.js): `js/utils/addressFieldSetLayouts.js`
- [Address levels](https://github.com/nox-automation/nox-autofill/blob/main/js/utils/administrativeLevels.js): `js/utils/administrativeLevels.js`
- [Script controls](https://github.com/nox-automation/nox-autofill/blob/main/js/views/scriptsView.js): `js/views/scriptsView.js`
- [Script settings](https://github.com/nox-automation/nox-autofill/blob/main/js/models/scriptsModel.js): `js/models/scriptsModel.js`
- [Proxy manager](https://github.com/nox-automation/nox-autofill/blob/main/js/views/proxiesView.js): `js/views/proxiesView.js`
- [Proxy state](https://github.com/nox-automation/nox-autofill/blob/main/js/models/proxyModel.js): `js/models/proxyModel.js`
- [Settings](https://github.com/nox-automation/nox-autofill/blob/main/js/views/settingsView.js): `js/views/settingsView.js`
- [Preferences](https://github.com/nox-automation/nox-autofill/blob/main/js/models/settingsModel.js): `js/models/settingsModel.js`
- [License state](https://github.com/nox-automation/nox-autofill/blob/main/js/models/licenseModel.js): `js/models/licenseModel.js`

### Store automation

- [Store integrations](https://github.com/nox-automation/nox-autofill/tree/main/js/contentScripts): `js/contentScripts`
- [Universal scripts](https://github.com/nox-automation/nox-autofill/tree/main/js/contentScripts): `js/contentScripts`

### Extension platform

- **Chrome browser**
- [Payment formatting](https://github.com/nox-automation/nox-autofill/blob/main/js/libraries/payment.js): `js/libraries/payment.js`

### Other components

- **User**

## Connections

- User → Dashboard entry: opens dashboard (evidence: `README.md`)
- Dashboard entry → Dashboard controllers: loads controllers (evidence: `js/dashboard.js`)
- Dashboard controllers → Checkout analytics: includes (evidence: `js/dashboard.js`)
- Checkout analytics → Home dashboard: updates (evidence: `js/controllers/homeController.js`)
- Checkout analytics → Announcements: reads (evidence: `js/controllers/homeController.js`)
- Checkout analytics → Checkout records: aggregates (evidence: `js/controllers/homeController.js`)
- Checkout analytics → Profile state: counts (evidence: `js/controllers/homeController.js`)
- Checkout analytics → Script settings: counts (evidence: `js/controllers/homeController.js`)
- Profile editor → Profile state: edits profiles
- Profile editor → Address layouts: uses layouts (evidence: `js/views/profilesView.js`)
- Profile editor → Address levels: uses address levels (evidence: `js/views/profilesView.js`)
- Script controls → Script settings: configures
- Proxy manager → Proxy state: manages proxies
- Settings → Preferences: changes preferences
- Chrome browser → Store integrations: runs on stores (evidence: `README.md`)
- User → Store integrations: uses autofill (evidence: `README.md`)
- User → Universal scripts: uses utilities (evidence: `README.md`)
- Profile editor → Payment formatting: formats card data
