Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/apursley2012/airgead-investment-calculator/llms.txt

Use this file to discover all available pages before exploring further.

Airgead has no npm dependencies, no build pipeline, and no configuration files to edit before running. The repository contains everything the application needs: HTML pages, a single CSS file, JavaScript ES modules, image assets, and the original C++ source. Any static file server can host the project, and the entire setup from download to first page load takes under two minutes.

Download options

Clone the repository from GitHub and move into the project directory.
git clone https://github.com/apursley2012/airgead-investment-calculator.git
cd airgead-investment-calculator

Project structure

The repository is a flat collection of static files organized into a small set of folders. There are no generated directories, lock files, or compiled artifacts.
airgead-investment-calculator/
├── index.html
├── README.md
├── assets/
│   ├── logo/
│   │   ├── airgead-mark.png
│   │   └── airgead-mark-light.png
│   └── screenshots/
├── css/
│   └── styles.css
├── js/
│   ├── components/
│   │   └── shell.js
│   ├── lib/
│   │   ├── calculator.js
│   │   └── charts.js
│   └── pages/
│       ├── calculator.js
│       ├── compare.js
│       ├── home.js
│       ├── login.js
│       ├── noop.js
│       ├── results.js
│       └── saved-plans.js
├── pages/
│   ├── calculator.html  ... (all page HTML files)
└── source/
    ├── airgeadBankingApp.cpp
    ├── investment.cpp
    └── investment.h
Key directories at a glance:
PathContents
js/components/shell.jsShared header, navigation, footer, and toast notification inserted into every page
js/lib/calculator.jsCompound interest calculation, currency formatting, localStorage helpers, and CSV export
js/lib/charts.jsCanvas API chart drawing for the Results and Compare pages
js/pages/Per-page controller scripts that wire inputs to the shared libraries
pages/Individual HTML files for every application page
css/styles.cssAll layout, visual design, responsive behavior, and CSS custom properties
source/Original C++ console application preserved for technical reference

Start a local server

Because Airgead uses JavaScript ES modules, the project must be served over HTTP rather than opened as a local file:// URL. Choose whichever option suits your environment.
python -m http.server 8000

Why a server is required

Do not open index.html by double-clicking it or by using File → Open in your browser. ES modules loaded via file:// URLs are blocked by browsers due to CORS restrictions, and the application’s JavaScript will fail to load. You must serve the project through a local HTTP server, as shown in the options above.

Verify it works

Once your server is running, confirm the application is working correctly:
  1. Open http://localhost:8000/ in your browser (or the port your server reports).
  2. Confirm the Airgead home page loads with the logo, headline, and navigation bar visible.
  3. Click Calculator in the navigation to open pages/calculator.html.
  4. Enter any values into the four input fields.
  5. Confirm the projected balance display updates immediately as you type — no page reload required.
If the balance display does not update, open the browser’s developer console to check for module loading errors, and confirm you are accessing the site over http:// rather than file://.

Build docs developers (and LLMs) love