-
-
Notifications
You must be signed in to change notification settings - Fork 812
Run tgcf on Windows
Windows is a mess! In Linux or Mac, a terminal and python are generally pre-installed. But that's not the case with windows.
Here goes the complete guide to set up and use tgcf
on a Windows machine.
-
Open Microsoft Store
-
Install Powershell , Windows Terminal, and Python 3.9
-
By default windows has Notepad. Its a horrible text editor. Windows file explorer is also shitty. It appends
.txt
to every text file. For a better experience, Install VS Code from code.visualstudio.com for easy editing of text files. When you will be writing thetgcf.config.yml
VS code will automatically provide syntax highlighting and type checking.
Open Powershell in Windows Terminal and run pip install tgcf
-
You should create a new folder to store
tgcf
configuration files. Every time you runtgcf
you should run from inside this folder. -
Open the folder with VS Code and create the files
.env
andconfig.tgcf.yml
. You will be required to login to your Telegram account only for the first time. The session files will be stored in this folder. Don't delete them, and keep them secret. , go inside it, create .env and tgcf.config.yml, run tgcf
Have a question? Ask in the discussion forum. But make sure to read the wiki first.