An open API service indexing awesome lists of open source software.

https://github.com/foxt/moneywidget

iOS Widget for displaying Monzo balance
https://github.com/foxt/moneywidget

Last synced: about 2 months ago
JSON representation

iOS Widget for displaying Monzo balance

Awesome Lists containing this project

README

        

# moneywidget
iOS Widget for displaying Monzo balance

## Screenshots

TODO

## Installation

This application currently makes the assumption that you get paid monthly on the last working day of the month. If you don't, well, that's what pull requests are for 🙃

### Backend

Because I absolutely hate Swift with a passion, the app uses a split backend written in Node.js to actually gather the data from Monzo.

1. Create a client ID & secret at https://developers.monzo.com/
2. Create a `.env` file in the `backend` folder with the following content, changing the variables accordingly.
1. For `BANK_HOLIDAY_REGION` enter `england-and-wales`, `scotland`, or `northern-ireland` depending on where you are in the UK.
2. `EXCLUDE_CATEGORIES` will not be count as spending (use for things like bills, salary etc). Custom categories you'll have to find the ID in the transactions data.
```
PORT=6077
API_KEY=(a randomly generated string to prevent unauthorized access)
MNZ_CLIENT_ID=(your monzo client ID)
MNZ_CLIENT_SECRET=(your monzo client secret)
DATA_FILE=(a location to store data like access tokens and cached transactions, i.e. /home/me/.monzowidget.json)
BANK_HOLIDAY_REGION=england-and-wales
EXCLUDE_CATEGORIES=savings,bills,family,income
```
3.

### iOS App

1. Launch the project in Xcode and install the app on your device. You may need to update the team ID used for codesigning.
2. Add the widget to your homescreen. You will need to set the URL in the config to `https://server/status?api_key=API_KEY`
3.