Skip to content

mjleonides/unit-pricer

Repository files navigation

Quickly calculate and compare unit prices of anything.

About

Calculating the best unit price while shopping online can be surprisingly time-consuming.

I was frustrated with the hassle of manually calculating prices per ounce or item, so I created this tool.

It’s designed to quickly calculate the best unit price when comparing multiple products, saving you a few seconds and helping you make a smarter purchase.

Features

  • 🧮 Calculate unit price from cost and quantity
  • ⚖️ Label and compare multiple prices at a glance
  • 💾 Inserted prices survive browser refresh and closed window/tab
  • 📱 Offline mode (Progressive Web App)

Offline Usage

Prerequisites

  • A modern web browser (Chrome, Firefox, Safari, Edge)

Installation & Usage

  1. Open in Browser: Simply visit leonides.dev/unit-pricer in your browser.
  2. Add to Home Screen:
    • On most browsers, clicking the "Install" button (usually a "+" icon) will add the PWA to your device's home screen.
    • If prompted, allow the app to send notifications (optional - if you use them).
  3. Access the App: Once installed, you can access the app directly from your home screen.

Troubleshooting:

  • Service Worker Issues: If you encounter problems with offline access, try clearing your browser's cache and cookies.
  • Network Connectivity: Ensure you have a stable internet connection when initially accessing the app.

Technical Details

Built with Vue, TypeScript, and Vite. CI/CD pipeline using Github Actions, deployed to Github Pages.

Contact

About

Quickly calculate and compare unit prices of anything

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors