Skip to content

Pushover notifications from ChatGPT using bash/shell command gptn

License

Notifications You must be signed in to change notification settings

MichaelTen/gpt-pushover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

gpt-pushover

Pushover notifications from ChatGPT using bash/shell command gptn

setup and install

1.

Open your terminal (connected via PuTTY) and create a new file named gptn in your home directory:

nano ~/gptn

2.

Paste the script into the file

then Press CTRL+X, then Y, and then ENTER to save the file and exit the editor.

3.

then run the following commands one after the other to move the script and make it executable:

sudo mv ~/gptn /usr/local/bin/gptn

sudo chmod +x /usr/local/bin/gptn

4.

Now you can run the script from anywhere in your terminal by typing:

gptn your prompt here

updating script

if you need/want to update the script. do the following, presuming you already created it, before.

1.

Open the existing script in an editor:

sudo nano /usr/local/bin/gptn

2.

edit the script.

press control+6 ... high light it all... then control+k to remove everything there.. .then replace the script.

Press CTRL+X, then Y, and then ENTER to save the file and exit the editor.

3.

it should already be executable, you can ensure it by running:

sudo chmod +x /usr/local/bin/gptn

4.

Now, your script should be updated and ready to use with the new improvements. You can run it as usual with:

gptn your prompt here

About

Pushover notifications from ChatGPT using bash/shell command gptn

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages