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 🪄
- Host: GitHub
- URL: https://github.com/cmdecker95/budget-keeper
- Owner: cmdecker95
- Created: 2021-10-25T06:04:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-17T20:19:03.000Z (almost 3 years ago)
- Last Synced: 2025-02-14T02:54:39.662Z (3 months ago)
- Topics: budgeting, python, pythonista-ios, shortcuts-app, working-copy
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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.