Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bjbech/TheMarcoOffset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Marco Offset

This is the repository for the website TheMarcoOffset, a calculator to figure out your Marco Offset amount.

What is The Marco Offset?

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:

  1. Subtract the base model price of an iPhone or iPhone Pro from your total purchase price.
  2. The difference is your minimum donation.

Include in your total purchase price:

  • Phone upgrades (storage, size, etc.)
  • Accessories
  • AppleCare (monthly cost multiplied by 12)
  • Taxes
  • Shipping costs

Enhancements to Add

  • 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.

How to Contribute

  1. Fork the repository.
  2. Create a new branch.
  3. Make your changes and submit a pull request.

Change Log

2025-09-10: Redesign of website to now make it a calculator of all products released in the September Apple event. Add the ability to select countries. To start added USA, Canada, UK, and Italy.
2025-09-09: Updated to 2025 campaign and iPhone release information; Added functionality where the sub-campaign link auto passes along your suggested minimum donation as a parameter
2024-09-12: Updated to 2025 campaign and iPhone release information.
2023-09-18: Rename "Apple Care" to "AppleCare"
2023-09-15: Corrected typo
2023-09-13: Sub-campaign added to the page
2023-09-12: Inital commit; added Pico CSS; Fixed decimal formatting of minimum donation

About

The code for the Marco Offset website.

Resources

License

Stars

Watchers

Forks

Contributors