Message2me is a simple command line program to send message via "Telegram-bot" or "Twilio-sms".
git clone https://github.com/RunnningPig/message2me.git
cd message2me && bash install.sh-
You need have a twilio account.
-
Get following three parameters in Twilio Getting Started:
-
account_sid
-
auth_token
-
from_number
-
-
Configurate
twilio_account_sid,twilio_auth_token,twilio_from_numberandtwilio_to_numberparameters inmessage2me.conf. -
Set the
enable_twiliototrueinmessage2me.conf.
-
You need have a telegram account.
-
Get your chat id from get-id-bot.
-
Create a bot and get the bot authorization token referring to how-do-i-create-a-bot.
-
Configurate
telegram_chat_idandtelegram_tokeninmessage2me.conf. -
Set the
enable_telegramtotrueinmessage2me.conf.
If all is ok, you just execute message2me <your_message>,and the mesaage will be send to you.