https://github.com/nicell/donationcalculator
https://github.com/nicell/donationcalculator
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nicell/donationcalculator
- Owner: Nicell
- License: mit
- Created: 2023-05-02T03:10:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-04T01:16:15.000Z (about 3 years ago)
- Last Synced: 2025-09-23T13:59:00.357Z (9 months ago)
- Language: Zig
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Donation Calculator
A simple CLI tool to calculate the amount Typeractive.xyz should donate.
This is implemented in Rust and Zig to compare the two languages.
- Retrieves in a list of orders from an inputted month from Shopify
- Filters out refunded or replacement orders
- Totals the per-order Typeractive.xyz donation (max[$1, 1%)])
- Totals donations received (labeled as tips by Shopify), which are then matched by Typeractive.xyz
- Outputs the donation for the given month