Saturday, August 9, 2025

tgpt ios push notifications from anywhere with pi connect

This script lets you ask tgpt a question and it will send the response as notification to your phone
using the ios app ntfy.sh
you can remotely trigger it outside your local network using raspberry pi connect

create this bash alias on your pi
alias ntfygpt='f(){ curl -d "$(tgpt -q "$*")" https://ntfy.sh/YOURTOPICGOESHERE; }; f'

make sure YOURTOPICGOES HERE is replaced on your phone, thats where it will be sent to

No comments:

Post a Comment