n.obet.us is command line notification services, N in domain is stands for notification, free to use. Enjoy !

How to use :


Simple Example :

Terminal 01:

curl n.obet.us:9001/< whateverstringyouwant >

Terminal 02 :

curl n.obet.us:9001/< whateverstringyouwant > -d "Hei haloo!"


Another example for long job in server:

Info : I use osx catalina with ruby gem installed

Requirement :

1. terminal-notifier (sudo gem install terminal-notifier)

2. add terminal-notifier as alias on your terminal environment (alias notifme='terminal-notifier -message')

Remotes server:

./longjob.sh; curl -X POST n.obet.us:9001/< whateverstringyouwant >

Local Computer:

curl n.obet.us:9001/< whateverstringyouwant >; notifme "Job Done"

It will shows pop once the Job in server is done.

or if you dan't have terminal notifier just run this comment:

curl n.obet.us:9001/< whateverstringyouwant >; echo "Job Done"

It will print the "Job Done" text in terminal once job in server is done.