A minimalist iOS widget built with Scriptable to display your Envelope Money budget information right on your home screen.
Here's how it looks on the home screen:

- Display Available Balance
- Show Envelopes Total
- View Account Balance
- Clean, minimalist design
- Auto-refresh every 5 minutes
- Dark mode support
- iOS device running iOS 14.0 or later
- Scriptable app installed
- Envelope Money account
- Charles Proxy for token capture
- Clone this repository
git clone https://github.com/yourusername/envelope-budget-widget.git-
Copy
EnvelopeWidget.jsto Scriptable on your iOS device -
Follow the token capture process below
-
Install Charles Proxy
- Download from charlesproxy.com
- Install and launch Charles Proxy
- Install Root Certificate:
Help > SSL Proxying > Install Charles Root Certificate
-
Configure SSL Proxying
- Navigate to
Proxy > SSL Proxying Settings - Add new location:
Host: api.envelopemoney.com Port: 443
- Navigate to
-
Set up HTTP Proxy
- Connect to same WiFi as your PC
- Settings > Wi-Fi > Your Network (i)
- Configure Proxy > Manual
- Server: Your PC's IP
- Port: 8888
-
Install SSL Certificate
- Visit
chls.pro/sslin Safari - Install the certificate
- Enable in Settings:
General > About > Certificate Trust Settings
- Visit
- Open Envelope Money app on your iOS device
- Monitor traffic in Charles Proxy
- Look for GraphQL requests to
api.envelopemoney.com - Extract these values:
const AUTH_TOKEN = ""; // From auth-token-stytch header const DEVICE_TOKEN = ""; // From x-device-token header const REQUEST_SIGNATURE = ""; // From em-request-sha256-signature header const x_IPADDRESS = ""; // From x-ip-address header const CLIENT_VERSION = ""; // From apollographql-client-version header
- Open
EnvelopeWidget.jsin Scriptable - Replace the empty constants with your captured values
- Create a new widget on your home screen
- Select Scriptable and choose EnvelopeWidget
- Never share your tokens
- Don't commit tokens to GitHub
- Store tokens securely
- Tokens expire periodically
- Reset tokens by logging out/in of Envelope app
- Verify SSL certificate installation
- Check SSL Proxying settings
- Confirm certificate trust settings on iOS
- Verify same network connection
- Check proxy settings
- Disable firewall temporarily
- Verify port 8888 isn't blocked
- Fork the repository
- Create feature branch
- Commit changes
- Push to branch
- Open pull request
This project is licensed under the MIT License - see LICENSE file for details.
This project is not affiliated with or endorsed by Envelope Money. Use at your own risk.
- Open an issue for bugs
- Submit feature requests via issues
- Check Discussions for questions
