codes - Card-balance Manager

codes was created to monitor the spending from various types of pre-paid accounts.

Its primary purpose is to keep track of balances on gift cards and display their corresponding barcodes for scanning by merchants.

Values are stored without units, effectively rendering the tool currency-agnostic.

Installation

  1. Get codes by cloning sxmo-onfire.
  2. Install dependencies listed by this command:
     _common/assert_environment.sh units/units.sh
    
  3. [if using Sxmo] Activate the tool by linking it into userscripts:
     ln -s ~/sxmo-onfire/codes/codes.sh ~/.config/sxmo/userscripts/
    

Usage

  1. Run ./codes.sh (or select "Codes" from Sxmo's scripts-menu)
  2. Enter a new card in the format <merchant>-<code> and press Shift+Enter.
  3. Enter the initial value of the card and press Shift+Enter.
  4. Whenever you spend from a card, select it and log the amount spent.

Features

Roadmap

Changelog