diff --git a/aliases b/aliases index 24f11f36..92a5106c 100644 --- a/aliases +++ b/aliases @@ -410,6 +410,8 @@ alias icomoon="librewolf https://icomoon.io &" alias unsplash="librewolf https://unsplash.com/developers &" # wesbos tutorials/articles/etc alias wesbos="/usr/bin/chromium --incognito --disable-search-engine-collection --fingerprinting-canvas-image-data-noise --fingerpriting-canvas-measuretext-noise --fingerprinting-client-rects-noise --popups-to-tabs https://courses.wesbos.com &" +# send text messages from an api (js, python, nodejs, curl, ruby, etc) (requires payment for more than 1 per day) +alias textbelt="librewolf https://textbelt.com/ &" # cool video on fluid animation in css: # https://egghead.io/lessons/css-build-a-fluid-loading-animation-in-css diff --git a/scripts/textme b/scripts/textme new file mode 100755 index 00000000..897c2d75 --- /dev/null +++ b/scripts/textme @@ -0,0 +1,17 @@ +#!/bin/sh + +# Uses textbelt.com api to send sms text messages, only one allowed per day +# Consider using with cronjobs to send emergency text messages when servers go down, etc +# in which case you'll probably want to purchase an api key from them: +# https://textbelt.com/purchase/?generateKey=1 + +source $HOME/.phone_number + +msg=$1 + +curl -X POST https://textbelt.com/text \ + --data-urlencode phone=$PHONE \ + --data-urlencode message="${msg}" \ + -d key=textbelt_test + # insert api key where textbelt is printed if you choose to purchase them + # -d key=textbelt