A tool for calculating how much you owe someone for dinner.
https://quasarbright.github.io/dinner-debt
Some experimental features are available through the settings panel:
Upload a photo of your receipt to automatically extract items, prices, and totals.
To enable:
- Click the settings icon (⚙️) in the top-right corner
- Toggle "Enable Beta Features"
- Enter your OpenRouter API key
- The receipt upload button will appear when adding items
Note: Receipt processing uses the OpenRouter API and will incur small costs (typically less than $0.01 per receipt) to your OpenRouter account. Your API key is stored locally in your browser's localStorage.
npm installnpm startThe tests require an OpenRouter API key to test receipt processing functionality.
-
Copy the template file:
cp .env.test.template .env.test
-
Edit
.env.testand add your OpenRouter API key:OPENROUTER_API_KEY=your-actual-api-key-here -
Run the tests:
npm testOr run tests in watch mode:
npm run test:watch
Or run tests with coverage:
npm run test:coverage
Get your API key from: https://openrouter.ai/keys
Note: The .env.test file is gitignored and should never be committed to version control.
npm run deploy