cli
cli copied to clipboard
`treehouses tg-terminal` (fixes #1778)
fixes #1778
what does it do?
serves as a terminal over on Telegram send commands to a Telegram bot and get the output.

easy to access your rpi even if you're on a phone!
how to test it?
- apply for a Telegram account if you don't have one and install Telegram client for mobile/desktop
- create a Telegram bot and get the token for it, see this link for help, the format of the token would be similar to
110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw - run
treehouses upgrade cli tg-terminalto switch to this branch - run
treehouses tg-terminal install [put the token here]to install - run
treehouses tg-terminal startto start it - Text your Bot on Telegram "/start", then enter the password
treehouseswhen prompted - Text your Bot on Telegram "/run"

Terminal over on Telegram is now working!!
what's more to test on?
-
treehouses tg-terminal install [token] [password]to set a custom password instead of defaulttreehouses -
treehouses tg-terminal enableto make the bot run automatically on boot, so the bot will be operational even after you reboot - drag and drop for file transfer to rpi
