- Recreate PhonePe SmartSpeaker on a personal level, for free.
- Explore AI Pair programming with Aider and Gemini 2.5 Pro Preview
- Files
main_gmail_poll.py: Faster, but locked with gmail onlymain_ntfy_pub_sub.py: Slower, but much easier to use- The slowness is mainly attributed to gmail taking a few seconds longer to forward mails. Other mail providers may be faster.
- Python3 w/ packages installed:
pip install -r requirements.txt - Sound available
- IDFC First Bank accounts w/ transaction alerts setup on gmail only
main_ntfy_pub_sub.pyis not mail vendor locked and can be used with other providers.
- Obtain
google_credentials.jsonfrom Google Cloud- Enable Google Auth Platform and create
DesktopOAuth Client - Enable Gmail API
- Enable Google Auth Platform and create
- Run
auth_gen.pyto generategoogle_token.json- Login with gmail account where transaction alerts are sent
- If aim to run on a headless device, make sure to copy
google_token.jsonandgoogle_credentials.jsonto the target device - Run
main_gmail_poll.pyon target device - Enjoy
- Setup email forwarding from gmail to ntfy
- Make sure to change the ntfy pub/sub topic
- Run
main_ntfy_pub_sub.pyon target device
