/mzutil

Primary LanguageGo

mzutil

work in progress

A small utility for linux that does OAuth2 client flow, credential storage and implements a simple Monzo API client. It's intended to be used in conjunction with other linux tools, current targets:

  • Integrate with i3blocks to show account balance in the status bar
  • Integrate with rofi to show recent transactions on a hotkey

TODO:

  • store secrets (OAuth token, secrets) on login keychain
  • mzutil setup - prompt for OAuth2 config
  • mzutil login - oauth2 login flow by opening browser and bringing up temp server for callback
  • mzutil accounts - list accounts
  • mzutil balance - print account balance
  • mzutil token - print OAuth2 token expiry
  • mzutil tx - list recent transactions
  • Add scripts for rofi/i3blocks

Uses: