This is the repository for the website TheMarcoOffset, a calculator to figure out your Marco Offset amount.
The Marco Offset is a way to calculate your minimum donation to Relay for the St. Jude fundraiser based on a method devised by Marco Arment on the Accidental Tech Podcast.
To calculate:
- Subtract the base model price of an iPhone or iPhone Pro from your total purchase price.
- The difference is your minimum donation.
- Phone upgrades (storage, size, etc.)
- Accessories
- AppleCare (monthly cost multiplied by 12)
- Taxes
- Shipping costs
- Multi-country support: Expand the functionality to support different currencies. Thinking best to probably add Canada, GBR, and the Euro. Github Issue
- Additional Apple products: Support for calculating donations based on the purchase of other Apple products such as Apple Watch, AirPods, etc.
- Product selection checkboxes: Replace the current dropdown of iPhone models with checkboxes for multiple product types (e.g., iPhone, Watch, AirPods) to allow users to select multiple products.
- Fork the repository.
- Create a new branch.
- Make your changes and submit a pull request.