Inspiration
The idea came from a similar app used in Linux which helps in seamless connectivity between PC and phone. We found a lack of a substitute for windows, so we decided to make it ourselves.
What it does
Basically, it uses a Server app(PConnect app on windows) which is connected to your telegram bot(phone) through safe authorization. For utmost security, we decided that the telegram bot which you will use will be created by you only so that the connection remains safe, secure and unique. Your own PC is the server for this connection which ensures the connection is unique. If someone doesn't know how to create a telegram bot and get its token, you can refer the manual provided in our app. After the bot creation, The token ID of the telegram bot needs to be entered by the user in the PConnect app(Windows side). After that, secure System ID is given for each PC which needs to be entered in the bot for successful authorization.
After Successful Authorization, you can use the given below commands to control your PC from your phone through telegram
/help - to display this message
/auth - to authenticate with the bot
/shutdown - to shutdown the remote client
/hibernate - to hibernate the remote machine
/GetFiles - to get files from the remote machine (Max: 50mb, files above this size might cause the program to crash abruptly )
/SearchFiles - to search files on the remote machine (Max: 50mb, displays only files with size below 50mb)
/IPLocate - get Ip location of the machine
/ScreenShot - Capture a screenshot
/cmd - Run CMD Commands in your PC
/notify - To notify any messages on the PC's Screen
/terminate - to kill the connection
Note: Authentication is required for these commands to run
How we built it
We built it using Python, Tkinter, Telebot (Python API)
Challenges we ran into
There were many challenges we ran into. Here are some,
As Telebot API and Tkinter are both infinite loops, running them simultaneously at the same time was a nightmare. We had to learn and use threading and multiprocess.
Security was a huge concern as these commands if in wrong hands can cause mishaps. So we decided to tackle this in many steps like, We made sure each system is assigned a 6 digit Multi-Character System-ID. After the connection, the chat_id and user id is locked. Even if someone else manages to access the bot and successfully authorize it with same System-ID, The bot will terminate that connection as the User_ID wont match. Each time any command is run from telegram, The PC notifies it on screen using a notifier Finally, we also have given terminate connection options from both sides so that the user can terminate the connection if any mishaps noticed.
What we learned
We, for the first time, dived deep into python and its GUI Library Tkinter. This GUI is far more advanced and eye-catchy. We have designed modern, user friendly GUI for PCconnect We also learned how to use Telebot and its API
What's next for PConnect
Hopefully in the future, we desire to add more commands and features, as its a prototype designed to show the potential of inter-connectivity between your favorite devices. We also hope to design a app for more user friendliness and features for the mobile side.
Caution
Extract the Zip file with Winrar only Thank You
Log in or sign up for Devpost to join the conversation.