How nourenzi/loan-calculator works
This is a client-side loan and finance calculator. The principal workflow is that a user enters loan details, compares Murabaha and declining-interest results, reviews an amortization schedule, then prints or shares the report. The README also documents responsive and light/dark UI, PWA installation and offline support, and analytics. The tree has no separate application source beyond index.html; its implementation details cannot be verified here. The service-worker caching and fetch behavior is visible in sw.js.
Main entry points: index.html Loan calculator UI · sw.js Service worker · manifest.json Web app manifest
Components 14
Finance calculations
- Loan calculator UI
index.html - Finance comparison
index.html - Amortization schedule
index.html
Results and sharing
- Financial report
index.html - Print and PDF
index.html - WhatsApp sharing
index.html - Responsive and theme UI
index.html - Analytics integration
index.html
PWA and offline
- Web app manifest
manifest.json - Service worker
sw.js - Asset cache
sw.js
Other components
- User
- Google Analytics
Connections 12
- User → Loan calculator UI: enters loan details
README.md - Loan calculator UI → Finance comparison: calculates costs
README.md - Loan calculator UI → Amortization schedule: generates schedule
README.md - Loan calculator UI → Financial report: presents results
README.md - Financial report → Print and PDF: prints report
README.md - Financial report → WhatsApp sharing: shares results
README.md - WhatsApp sharing → WhatsApp: shares via
README.md - Loan calculator UI → Responsive and theme UI: uses responsive UI
README.md - Analytics integration → Google Analytics: tracks engagement
README.md - Service worker → Asset cache: stores assets
sw.js - Service worker → Web app manifest: caches manifest
sw.js - Service worker → Loan calculator UI: serves cached app
README.md