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

https://github.com/cmdecker95/budget-keeper

Manage your digital ledger, using Pythonista and iOS Shortcuts 🪄
https://github.com/cmdecker95/budget-keeper

budgeting python pythonista-ios shortcuts-app working-copy

Last synced: about 2 months ago
JSON representation

Manage your digital ledger, using Pythonista and iOS Shortcuts 🪄

Awesome Lists containing this project

README

        

## Budget balancing, simplified.

### 1. Shortcuts App & UI

Using a custom **Shortcut**, the user chooses a budgeting function (like adding a credit card purchase or logging a deposit) and enters all relevant values into the Shortcut's input prompt.

### 2. Pythonista Webhook Arguments

The user input is parsed into arguments (by newline), then encoded and concatenated to a Safari webhook, which launches `main.py` via **Pythonista 3**, passing in the arguments as `sys.args[1:0]`. Arguments are handled according to the user-selected function, each of which **reads and modifies the most recent budget file** in the `budgets/` directory.

### 3. File Syncing

Pythonista doesn't currently support accessing iCloud files _outside_ its own working directory, so the `budgets/` directory sits at the root of `//iCloud/Pythonista/`. Working Copy syncs its local copy of this repo to `//iCloud/Pythonista/budget-keeper/` so that it can access the budget files.