Skip to content
T&T Labs
← Applications

Windows + Telegram

MyPC

MyPC connects a Windows PC to a Telegram bot. When the computer turns on, the bot asks whether it was you. Answer no, and the PC locks.

Server
Cloudflare Workers with a D1 database
Bot language
Russian
Version
1.0.0
Windows app
Separate; not in this repository

How it works

  1. 1.PairSend /add to the bot, then send it the one-time 6-digit code shown by MyPC on the computer. The code expires after 10 minutes, and the pairing must be confirmed on the PC.
  2. 2.Startup alertWhen the paired computer is switched on, the bot asks whether it was you.
  3. 3.LockAnswering no sends a lock command to the PC.
  4. 4.RecoveryA 6-digit code to unlock the lock screen arrives in the same chat. It is valid for 5 minutes.

Bot commands

  • /addPair a new computer with a one-time code.
  • /devicesList paired computers.
  • /urlShow the server address for the Windows app.
  • /helpList the commands.