How quirky1869/backup-calculator works
Backup Calculator is a static browser app for estimating backup storage needs. Users configure data size, retention, backup-cycle frequencies, change rate, and compression; the app calculates storage totals and a retention timeline, then displays results or exports a PDF. The README also documents multilingual and dark/light interface options. The sampled JavaScript excerpt supports the calculation-to-render flow and PDF-generation capability, but most UI wiring, preference persistence, and styling details were not sampled.
Main entry points: script.js Backup simulation · backup-calculator.html Calculator page · style.css Themes and styling
Components 10
User interface
- Calculator page
backup-calculator.html - Simulation controls
html/script.js - Themes and styling
html/style.css - FR/EN translations
html/script.js
Storage calculation
- Backup simulation
html/script.js - Retention timeline
html/script.js
Results and export
- Results display
html/script.js - PDF report
html/script.js
Other components
- Administrator
- jsPDF library
Connections 9
- Administrator → Calculator page: opens
README.md - Administrator → Simulation controls: configures
README.md - Simulation controls → Backup simulation: calculates
html/script.js - Backup simulation → Results display: renders
html/script.js - Backup simulation → Retention timeline: computes
html/script.js - Administrator → PDF report: exports
README.md - PDF report → jsPDF library: generates with
html/script.js - Administrator → FR/EN translations: selects language
README.md - Administrator → Themes and styling: chooses theme
README.md