Sparkling gems and new releases from the world of Free and Open Source Software

shell-bot

The Telegram messenger client has become hugely popular, partly thanks to its open source client and partly thanks to it not (currently) being owned by Facebook. For the security conscious, it's still a risky proposition without independent scrutiny of its server and encryption code, but it's undoubtedly useful. And one of the things that makes it more useful than the average messenger client is its "bot platform." This allows anyone patient enough to step through the lengthy and convoluted API key-generation process to run their own automated Telegram response system, feeding the contents of your own chats with whatever source you can push to the API.

Which is exactly what shell-bot does. With Telegram API access enabled and your own bot channel configured, you can install shell-bot on your Linux machine or server. This is relatively straightforward after you've worked through the few npm dependencies; the script configured itself when first executed. After that, it's as simple as leaving it running on the machine you wish to access. Shell-bot can then receive commands sent from your bot's Telegram channel after typing /run followed by the command. Command output is returned to the Telegram channel, and it updates "in-place," which means the output from a command like htop will update without scrolling. It's perfect for monitoring your system from wherever you can access a Telegram client. Type /help in the channel to see which other commands you can use. These include resize to change the output width, upload to download a file to your Telegram client from your Linux machine, control and meta for sending control and ALT shortcuts, and cancel to interrupt a running process. It works brilliantly and makes a great alternative to remembering a server's IP address and worrying whether you have your SSH keys or passphrase on you for remote administration.

Project Website

https://github.com/botgram/shell-bot

Execute commands sent from a Telegram channel and see the results, without making any manual connection to a remote server.

Chat client

Kaidan

You could almost be forgiven for thinking the age of the open messaging client is over. WhatsApp and Telegram and countless other closed services seem to have taken over, and without some clever bridging, none of them can talk to each other. Matrix and Riot.im are promising modern open alternatives, but they don't have the critical mass to connect with people outside of your average open source community. However, even after being dumped by Google, some of the old protocols manage to survive. And Jabber and XMPP are perhaps the most prominent. All you really need is a modern, low resources, graphical client that connects to the Jabber/XMPP network and a few friends that feel the same way (or perhaps some of the many bots you can run). And that's exactly what this new KDE app, Kaidan, does.

With a name that's going to confuse lots of people with the video editor Kdenlive, Kaidan is a simple to use, quick, and functional Jabber client. You simply sign in, add a few contacts, and you're ready to go. Messages and your replies appear on the right while your contacts are listed on the left. The UI design is clean and minimal and looks very sleek thanks to the Qt components used to build the application. On a KDE desktop, it very much feels like a modern messaging client like Telegram or even Slack. The UI is adaptive, for example, which means it becomes just the conversation view when the window width is reduced, and you can easily see images you upload or within the conversation stream. This positions Kaiden brilliantly on both the desktop and any potential mobile platform that Plasma hopefully finds itself on in the future.

Project Website

https://invent.kde.org/kde/kaidan

You can still create free and relatively anonymous Jabber accounts on sites like https://jabber.hot-chilli.net.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Legacy DOS Games on the Pi

    Play old DOS games on the Dosbian operating system, which turns the Raspberry Pi into an 80486 PC.

  • Hey, Mr. Postman

    Our columnist Charly K¸hnast doesn't want to be out when a package delivery service is standing at his front door with some goodies. When the courier rings, he can have the Telegram API send a notification to his mobile phone.

  • Push Messages from the Command Line to Telegram
  • Introduction

    The amazing thing about Linux is that it can always take you one step more. You can already play music and edit videos using the powerful tools included free of charge on any standard Linux system, so you don't need a Linux magazine to tell you how to play an MP3 file. But we'd rather help you with the next step.

  • Retro Gaming

    Many computer games from the 1980s and 1990s enjoy cult status. Graphics and sound were not very advanced back then, which forced the producers to impress gamers with good ideas and a convincing level of design. Emulators let you run those classic games on a Linux PC.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News