Introducing my Telegram Bot for Remote PC Monitoring and Control: telegram-remote-bash

Hello, Tech enthusiasts! I am beyond excited to introduce to you my first project on GitHub – a Bash-based Telegram Bot that allows you to monitor and control a remote computer!

The idea behind this bot is pretty simple, yet powerful – you can command your PC, retrieve important system information, perform updates and even control system processes directly from your Telegram app. I’ve designed this bot with KDE Neon in mind, but it can be adapted to other Linux-based systems.

Here’s a sneak peek into some of the key functionalities provided by the bot:

function getBattery {
local percentage=$(upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep percentage | awk ‘{print $2}’)
echo “Battery level: $percentage”
}

function getCpuUsage {
local usage=$(top -bn1 | grep “Cpu(s)” | \
sed “s/.*, *([0-9.])% id.*/\1/” | \
awk ‘{print 100 – $1″%”}’)
echo “CPU Usage: $usage”
}

The bot responds to a set of predefined commands that range from simple system status checks like /battery, /status, /uptime, /memory, /disk, /cpu_usage to more complex functionalities such as /shutdown, /upgrade, /screenshot, and so on.

For the bot to run, it requires some prerequisites like curl, jq, bc among others. Some commands also require specific programs to be installed on your system.

The code is still in its initial version (0.1) and there might be some bugs on certain commands. But I am enthusiastic about making it better with every iteration. Future enhancements include multi-language support and other features based on user feedback.

I encourage you to give it a try, and would greatly appreciate your feedback. Feel free to report any issues, or suggest enhancements on the project’s GitHub page.

Here’s the link to the project on GitHub: telegram-remote-bash

Happy Coding!

New Icon theme

Konsole Icon

New icon theme

Like everyone else, I am also in quarantine, and during this quarantine I got closer to the program that I love, inkscape. I started to make smartphone mockups again, which I published on my Instagram profile (maybe I will also make posts here). But I started a new icon theme , since I have many free hours a day, I have a lot of time to devote to this project.

Digikam Icon

I plan to release a first alpha by tomorrow evening :). I hope you like it very much. Let me know what you would change. See you tomorrow with the next post.

Kirigami Notation App

And here I am writing on the blog after a long time.
This time it’s about talking about my new project, becoming a developer!
Unfortunately I can not study full time (in fact you see the results), however, I am to show you the “results” of my study.
Thanks to the Kirigami module developed by Marco Martin and the ease of QtQuick here is my first application, that is, the Alpha version. The application for now is called “Notation”, but I will definitely make a vote for the names (suggest the names in the comments below).

Screenshot_20171006_174422

I leave you with a brief video about the current state of the application.

 

Stay tuned for the update and the release 🙂

WikiToLearn – Blender & Inkscape manual

Hello everyone, today I want to talk about the project that I started to WikiToLearn. Last week I created with the boys from PCDonato a “Blender & Inkscape Café” where we teach for free to anyone who wants to learn how to use these two graphics programs, or we share tips and tricks with us “experts.” The only thing we ask in return (for those who want) is to contribute to the drafting of a manual for Blender and one of Inkscape in English, so other people can collaborate.
photo_2016-03-02_19-16-29
We meet every Wednesday in Pisa, tonight will be the second meeting … I hope within one month starting with at least one manual.
Whoever wants to participate in the drafts … well, we’re on WikiToLearn 😉

Ciao BiNbi

flyer made by one girl of our group “CreAttivi” (Elisa Amato)