The post Setting up WhatsApp Telegram Bridge Using Matterbridge 2020 appeared first on IB Computing.
]]>The whatsapp linking part is based on go-whatsapp which is a Go version of whatsapp-web-reveng.
I think that’s enough for the intro, let’s get back to the main point 
Download the latest version from here
select the required package. im using linux for this tutorial so i select matterbridge-1.18.3-linux-64bit (this version will change)
then move to the Configuration part
Create an empty matterbridge.toml file inside a folder contains downloaded matterbridge binary file.
Copy the following contents to the newly created matterbridge.toml file:
[telegram.mytelegram]
#See https://core.telegram.org/bots#6-botfather
#and https://www.linkedin.com/pulse/telegram-bots-beginners-marco-frau
Token="Yourtokenhere"
RemoteNickFormat="({PROTOCOL}) <{NICK}> "
MessageFormat="HTMLNick"
[whatsapp.mywhatsapp]
# Number you will use as a relay bot. Tip: Get some disposable sim card, don't rely on
# your own number.
Number="+48111222333"
# First time that you login you will need to scan QR code, then credentials will be saved in
# a session file.
# If you won't set SessionFile then you will need to scan QR code on every restart.
# optional (by default the session is stored only in memory, till restarting matterbridge)
SessionFile="session-48111222333.gob"
# If your terminal is white we need to invert QR code in order for it to be scanned properly
# optional (default false)
QrOnWhiteTerminal=false
# Messages will be seen by other WhatsApp contacts as coming from the bridge.
# Original nick will be part of the message.
RemoteNickFormat="[{PROTOCOL}] @{NICK}: "
Change the Token and Server keys above to yours. For more details you may watch this video.
In Telegram, go to botfather and create a bot and paste the token as Token="Yourtokenhere"
Enter your whatsapp number as Number="+48111222333"
Add the gateway configuration to your config file.
[[gateway]] name="gateway1" enable=true [[gateway.inout]] account="whatsapp.mywhatsapp" channel="[email protected]" [[gateway.inout]] account="telegram.mytelegram" channel="-xxxxx"
Now your configuration file should look like this:
[telegram.mytelegram]
#See https://core.telegram.org/bots#6-botfather
#and https://www.linkedin.com/pulse/telegram-bots-beginners-marco-frau
Token="1279548291:AAFg3s7F-JQlQQlucSBf3PGwyOss2Vog0J4"
RemoteNickFormat="({PROTOCOL}) <{NICK}> "
MessageFormat="HTMLNick"
[whatsapp.mywhatsapp]
# Number you will use as a relay bot. Tip: Get some disposable sim card, don't rely on
# your own number.
Number="+48111222333"
# First time that you login you will need to scan QR code, then credentials will be saved in
# a session file.
# If you won't set SessionFile then you will need to scan QR code on every restart.
# optional (by default the session is stored only in memory, till restarting matterbridge)
SessionFile="session-48111222333.gob"
# If your terminal is white we need to invert QR code in order for it to be scanned properly
# optional (default false)
QrOnWhiteTerminal=false
# Messages will be seen by other WhatsApp contacts as coming from the bridge.
# Original nick will be part of the message.
RemoteNickFormat="[{PROTOCOL}] @{NICK}: "
[[gateway]]
name="gateway1"
enable=true
[[gateway.inout]]
account="whatsapp.mywhatsapp"
channel="[email protected]"
[[gateway.inout]]
account="telegram.mytelegram"
channel="-xxxx"
Find channel ID for Telegram and WhatsApp. Finding Telegram group ID is relatively easy. You can use the Telegram bot API to get the group ID. But I’m taking a simple shortcut here. Adding another bot to retrieve group ID, which is @tchncs_bot. This is a bot that bridges Matrix and Telegram groups. Just add the bot and sending the message /id (including the forward slash, which makes the message a command) will return the group ID.
Unlike in Telegram’s case, finding channel name in WhatsApp isn’t that easy. I couldn’t find any easier method from matterbridge documentation as well. So enter your WhatsApp group name there and run the bridge (Warning: you will definitely get an error!)
Run it with the following command (change the version number if you are using later version)
./matterbridge-1.18.3-linux-64bit -conf matterbridge.toml
Now you can see a QR code in terminal. If it is too big that you weren’t able to scan it, then zoom in the terminal and try again. Then scan the QR code with WhatsApp web option from your mobile phone. Now your WhatsApp web is connected with the matterbridge. Next step is to identify the channel name for WhatsApp. By checking the terminal output you can see your group name and a number that ends with @g.us. Copy that and paste it in the channel part of WhatsApp and run again. Now your bridge is ready and it will start working. You can also share image, files and audios using this bridge. If you want to bridge multiple groups the gateway part can be changed to
[[gateway]] name="gateway1" enable=true [[gateway.inout]] account="whatsapp.mywhatsapp" channel="[email protected]" [[gateway.inout]] account="telegram.mytelegram" channel="-xxxx" [[gateway]] name="gateway2" enable=true [[gateway.inout]] account="whatsapp.mywhatsapp" channel="[email protected]" [[gateway.inout]] account="telegram.mytelegram" channel="-xxxx"
This brdige reies on WhatsApp web. So if you have to make this solution work, you should be online on both mobile as well as on WhatsApp web all the time. Other solution you could try is to run any emulator on server. Also, the matterbridge should be running all the time. So you have to choose a server for that. Cloudcone provides low cost servers with good quality. You can use this link to using cloudcone.
The post Setting up WhatsApp Telegram Bridge Using Matterbridge 2020 appeared first on IB Computing.
]]>The post How to change font in telegram desktop in Linux and Windows appeared first on IB Computing.
]]>We have to change the font globally because Telegram doesn’t have the option to change font.

Create a file at the location ~/.config/fontconfig/fonts.conf
and add the following content to it. It sets default sans-serif font to Meera and serif font to Rachana. change the font name as your wish
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <!— —> <fontconfig> <!— Generic name aliasing —> <alias> <family>sans-serif</family> <prefer> <family>Meera</family> </prefer> </alias> <alias> <family>serif</family> <prefer> <family>Rachana</family> </prefer> </alias> <alias> <family>monospace</family> <prefer> <family>Liberation Mono</family> </prefer> </alias> </fontconfig>
then run
fc-cache -v.
and restart Telgram Desktop application. this will also change your fonts in all applications like browser.
Open Registy editor
press Win+R and type regedit
go to the location given below
HKEY_LOCAL_MACHINE
SOFTWARE
Microsoft
Windows NT
CurrentVersion
FontSubstitutes
Change Value of “MS Shell Dlg 2” to the font name
I don’t have a Mac system, if anyone of you know about it add it in comments. This will change the fonts in Telegram Desktop application.
The post How to change font in telegram desktop in Linux and Windows appeared first on IB Computing.
]]>The post Create A Simple Presentation using Reveal js and Markdown appeared first on IB Computing.
]]>Reveal js is a JavaScript package to create web slides. official website itself a presentation demo. it also provides a free online editor to create slides . but it needs an account to start. just go to slide.com for making one. lets see how we can create a web slide using a markdown file.

Before we start we have to install the following packages into the system.
execute these commands to install the packages in Ubuntu. Other operating systems have there own package manager commands.
git : sudo apt-get install git pandoc : sudo apt-get install pandoc
step 1 : Create a Markdown File with headings and list items. an example here
django-intro.md
% Django Introduction % Mujeeb Rahman K % February 09, 2020 # Django ## Why Django * Django is a Web framework written in Python * Don't reinvent the wheel. * 216 K packages in python package index
step 2 : clone or download Revealjs into the same folder which contains the above markdown file
git clone https://github.com/hakimel/reveal.js.git
Step 3 : convert markdown (.md) file to html file using pandoc utility
pandoc -t revealjs -s -o djangoslide.html django-intro.md -V revealjs-url=./reveal.js
This will convert md file to html and use reveal js from our current folder. if you don’t cloned reveal js you can use direct url like below.
pandoc -t revealjs -s -o djangoslide.html django-intro.md -V revealjs-url=https://revealjs.com
now we have got a djangoslide.html file. just open that file in any browser and see the magic..!! your web slide is ready. remember that, if you didn’t download or clone reveal js in same folder the html wont render correctly.
The is a very quick and simple way to create a presentation because it only need very simple utilities like git, pandoc and a simple markdown file. Markdown can be created using a very simple text editor. We have very nice presentation with all the effects. It is html so simply works everywhere.
The post Create A Simple Presentation using Reveal js and Markdown appeared first on IB Computing.
]]>The post How to Install WiFi driver for Broadcom BCM43142 WiFi device in GNU/Linux Distros appeared first on IB Computing.
]]>lspci -nn | grep -i network
If you are having the Broadcom BCM43142 WiFi device then you will get an output somewhat like follows:
0d:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)
If you get the above output then we are good to continue.
sudo apt-get update
sudo apt-get install broadcom-sta-dkms
The advantage of using a dkms driver is that you don’t need to manually update the driver everytime you upgrade your kernel!
Dynamic Kernel Module Support (DKMS) is a program/framework that enables generating Linux kernel modules whose sources generally reside outside the kernel source tree. The concept is to have DKMS modules automatically rebuilt when a new kernel is installed.
– Wikipedia
sudo dnf update
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf update && sudo dnf install kmod-wl
sudo pacman -S broadcom-wl-dkms
The post How to Install WiFi driver for Broadcom BCM43142 WiFi device in GNU/Linux Distros appeared first on IB Computing.
]]>The post Top 5 Themes on Ubuntu 18.04 appeared first on IB Computing.
]]>sudo apt install gnome-tweak-tool
After successfully installing GNOME Tweak Tool, you can select which icon theme to be loaded from the tweak tool. So here is my list of some best themes available for Ubuntu 18.04.
You can install the Suru theme from the following repository. Here we use a mesa package to install the theme. Also, take care to install meson and git if you haven’t installed them already.
#install suru themegit clone https://github.com/snwh/suru-icon-theme.gitcd suru-icon-theme.gitmeson builddir --prefix=/usrsudo ninja -C builddir install
Paper is a modern theme with a mostly flat look and make use of shadows and highlights for icons. The colourful headers are increasing its overall appearance. It is perfect for those of you who love flat material theme.
#install paper themesudo add-apt-repository ppa:snwh/pulpsudo apt-get update
#install icon themesudo apt-get install paper-icon-theme
#install cursor themesudo apt-get install paper-cursor-theme
#install gtk themesudo apt-get install paper-gtk-theme
Adapta is a Beautiful Theme for ubuntu. it consist of two themes packed together. Adapta and Adapta-Nokto. it is one of the best theme, because this package is well maintained and getting constant updates.
#install adapta themesudo add-apt-repository ppa:tista/adaptasudo apt-get updatesudo apt-get install adapta-gtk-themesudo apt-get install adapta-backgrounds
Numix is a beautiful icon theme for GNU/Linux systems. You can install Numix using the following command.
#install numix themesudo apt install numix-gtk-theme
Arc theme contains arc, arc dark and arc darker variants. theme package doesnt contain icons with it.
#install Arc theme
sudo apt-get install arc-theme
The post Top 5 Themes on Ubuntu 18.04 appeared first on IB Computing.
]]>The post Install RTL8723de aka RealTek d723 WiFi driver in Ubuntu 18.04 appeared first on IB Computing.
]]>
So here are the steps to install wifi driver for RTL8723de in Ubuntu 18.04
Clone the repository
git clone https://github.com/lwfinger/rtlwifi_new.git
Enter to the cloned folder
cd rtlwifi_new
Checkout to the extended branch
git checkout extended
Start installation
sudo make install
sudo modprobe -r rtl8723de
sudo modprobe rtl8723de
That’s it! You have now successfully installed RTL8723de wifi driver on your Ubuntu 18.04. This repo also contains driver for RTL8723be and much more RealTek devices.
The post Install RTL8723de aka RealTek d723 WiFi driver in Ubuntu 18.04 appeared first on IB Computing.
]]>The post Convert your WordPress Website into a Progressive Web App appeared first on IB Computing.
]]>
Progressive Web App is a middle ground technology between Mobile App and Website. This new application model attempts to combine features offered by most modern browsers with the benefits of mobile application experience. i.e. it can behave more like an app downloaded from the App Store/Play Store. When a user opens a Progress Web App enabled webpage from a browser they get an option saying “Add to Home Screen”. Adding this will create a shortcut in your mobile homescreen with the website’s icon. One of the main features of a Progressive Web App is that the visited pages will remain accessible even when you go offline.
Making your website a Progressive Web App is a tedious task if you are going to do it all manually. You can find the documentation for the same here. But I am going to talk about a WordPress plugin that makes the job simple for us.
“Super Progressive Web Apps” is an open source WordPress plugin with the following features:

After installation we need to configure the plugin as mentioned below in order to make WordPress website a Progressive Web App
Configure these settings will convert your WordPress website into a Progressive Web App.
The post Convert your WordPress Website into a Progressive Web App appeared first on IB Computing.
]]>The post Install Adobe Creative Cloud in Linux Systems appeared first on IB Computing.
]]>PlayonLinux is a front-end application of Wine. You can install numerous Windows applications using PlayOnLinux. But to install Adobe Creative Cloud on Linux systems you need the help of an additional shell script.
Let’s take a step-by-step look at the whole installation procedure
Below are the screenshots of the installation process:


Now the script will start to download the required files. Please wait till the download completes. About 300+ MB of files have to be downloaded

4. After automatically installing these and some fonts from Microsoft, the Adobe Creative Cloud installer will get installed. When it is finished you can select and install the Adobe CC setup files. Here I am installing Adobe Photoshop CC 2015.

Now it’s time to run the newly installed Adobe Photoshop CC on our Linux system

As you know Adobe Creative Cloud isn’t free. So you need to have an Adobe ID to install Adobe Creative Cloud in Linux systems. Otherwise, you must turn off the internet to continue. The installed product will stop working after the trial period is over if you don’t purchase it from Adobe.
Officially the script author tested Application Manager, Photoshop CC 2015, and Lightroom 5. Also, I tried to install Indesign and it wasn’t much of a success. Currently, only 2015 versions of Adobe Creative Cloud will work with this script. Even then it is very helpful for Adobe lovers since they can work without leaving from Linux. You may also do this without the script, but it needs a lot of time to configure and install the required packages. This script will simply work for those who want to get the job done soon.
The post Install Adobe Creative Cloud in Linux Systems appeared first on IB Computing.
]]>The post How to Install Wine 3 in Your Favourite Linux Distros appeared first on IB Computing.
]]>sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ trusty main'
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
sudo apt update
sudo apt install --install-recommends winehq-stable #Stable Branch
sudo apt install --install-recommends winehq-devel #Development Branch
sudo apt install --install-recommends winehq-staging #Staging Branch

wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
Note: If you get an error saying user, not in sudoers list then run the command as root instead
sudo nano /etc/apt/sources.list
deb https://dl.winehq.org/wine-builds/debian/ DISTRO main
sudo apt update
sudo apt install --install-recommends winehq-stable #Stable Branch
sudo apt install --install-recommends winehq-devel #Development Branch
sudo apt install --install-recommends winehq-staging #Staging Branch
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/24/winehq.repo
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/25/winehq.repo
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/26/winehq.repo
sudo dnf install winehq-stable #Stable Branch
sudo dnf install winehq-devel #Development Branch
sudo dnf install winehq-staging #Staging Branch
Unfortunately, you will have to wait to install Wine 3 in Fedora 27 as the official build has not been released yet. But it is expected to come soon, so stay tuned.
If you have any problems or doubts about installation, just comment below. Know more about the latest Wine 3.
The post How to Install Wine 3 in Your Favourite Linux Distros appeared first on IB Computing.
]]>The post Setting up WhatsApp Telegram Bridge Using wat-bridge bot appeared first on IB Computing.
]]>Telegram is a popular Instant Messenger application. Also, it is very feature-rich than WhatsApp. But the most popular chat application is still WhatsApp. WhatsApp is fully closed-source and it does not allow any user-modifications. On the other hand, Telegram client is open-source and Telegram Bot APIs are a powerful tool to build our own applications on top of Telegram. Mirroring the conversations between WhatsApp and telegram is possible by setting up WhatsApp Telegram Bridge Using wat-bridge bot.
Are you a Telegram fan? Want to detach yourself from WhatsApp? Or do you want to read WhatsApp group messages in Telegram group? Then you are at the right place.
WhatsApp as of now is not allowing user-bots at all. But a CLI library called Yowsup can do the tricks. It actually acts as a WhatsApp API. A user could register a mobile number with WhatsApp and chat using that number with Yowsup. We could also automate some messaging tasks this way and thus it becomes to act like a user-bot.
Rafael Medina (rmed) created a Telegram WhatsApp bridge using Yowsup and Telegram bot. You can find the wat-bridge repo here. This bot basically interacts with WhatsApp accounts and it could be used to bridge groups too.
A fork of wat-bridge is capable of solving the above-mentioned cons. This fork can overcome all the issues that the original bot has. The modified bot is available in the repository here. But getting media files from WhatsApp is in pre-alpha stage and you will need some additional works to do with the server.
if you are not capable of running your own bot I will suggest a working bot for you. follow this post in telegram channel
WhatsApp number, Telegrambot, Now go to this part of the tutorial to connect groups.
Let’s continue to build the bot
As the fork having more features but media file transfer isn’t in a good condition to test. So I am using the official repo here. You can also test the forked one if you are interested, it’s just that the cloning step is different.
git clone https://github.com/rmed/wat-bridge.git
cd wat-bridge
virtualenv -p python3 venv
. venv/bin/activate
pip install -r requirements.txt
git clone https://github.com/tgalal/yowsup.git
cd yowsup
# Install dependencies to build yowsup
sudo apt-get install ncurses-dev python3-dev
python setup.py install
Now that we have installed yowsup, let’s register a phone number using yowsup.
NB: This number may get banned by WhatsApp, so use at your own risk! Also, don’t use your primary WhatsApp number for this, use a number which isn’t registered with WhatsApp yet.
yowsup-cli registration --request sms --phone 49XXXXXXXX --cc 49 --mcc 123 --mnc 456
Provide phone number, CC, MCC & MCN. CC is the Country pre, you can know more about MCC and MNC from here. Now you will get an OTP to your number. Use that OTP in the next step for registration.
yowsup-cli registration --register 123456 --phone 49XXXXXXXX --cc 49
Now you will receive a password. Store this password anywhere securely.
cp development.conf config.conf
[tg]
owner = ONWER_ID - this is the bot creator ID
token = TOKEN - Token got from @botfather
[wa]
phone = PHONE_NUMBER - registred phone number
password = PASSWORD - password obtained from yowsup registration
[db]
path = PATH_TO_DB - create a .db file in wat-bridge folder and give its path
WAT_CONF=config.conf python watbridge.py
Yes, you are done! The bridge will be running now.
/add <group name> <that number from step3>
/bind <group name> <number get from 2 step>
Now both groups are linked.

Bonus: You can also bridge Telegram with Riot (A popular Matrix client) as mentioned here!
The post Setting up WhatsApp Telegram Bridge Using wat-bridge bot appeared first on IB Computing.
]]>