$ git clone https://github.com/elpideus/tgbiofy.git
$ cd tgbiofy
$ pip3 install -r requirements.txt
- Go to my.telegram.org
- Authorize and click on API development tools
- Create an application and set the web type (you can specify any names, we only need api_id and api_hash):
Don't share these tokens with anyone
- Go to Spotify Dashboard
- Log in and create a new application
- Go to the created application, and then in settings
- Add or change the Redirect URIs line: http://localhost:8080/callback
Don't share these tokens with anyone
- Edit the
config.ini
file by entering your data.
- Run the script:
$ python3 Main.py
- A web page will open in the browser. Let it load and then go back to the terminal.
- Login by using your phone number. !!!Bot tokens won't work!!!
- Enjoy!
From the config.ini
file it is also possible to easily change the settings of the script. Changing these settings
allow everyone to have a customized version of the script. The settings can be found under the [!SETTINGS!]
section
in the config.ini
file.
Below a list of the settings and a description of what each one does:
lite_version
- Disables every other settings and only enables thebio
setting. In other words it only allows for the "About" section to be changed. It is False by default.first_name
- Allows for the first name to be changed. If True the first name will beListening to <song name>
. Usually it is suggested to set the same value as forlast_name
, and is True by default.last_name
- Allows for the last name to be changed. If True the last name will beby <artist name>
. It is suggested to set the same value as forfirst_name
, which is True by default.profile_photo
- The profile picture can be changed to the album's cover. It is True by default.bio
- Defines if and what should be changed in the "About" section of the user's profile. It can be either "link" or "info". The default value is link.
It is possible to start and stop the script via a message to yourself (Saved Messages). You can either use
/tgbiofy start
or /tgbiofy stop
. The script updates every 30 seconds, so you may need to wait at most 30 seconds
before seeing the changes on your profile.
A user by the name of L4zzur modified this project and published it as his own, without a copyright notice nor a source disclosure. His upload is nothing more than a striped down version of this project which only allows for the "About" section to be changed.
Pay attention to the fake copies out there and always examine the code before executing as it could contain indesired malware (miners, keyloggers, ransomware, etc.).
The license can be found inside this project. It is possible to modify this project and even distribute it for commercial purposes and/or patent use. However, the source need to be disclosed and there needs to be a copyright and license notice. Also, it needs to be published under the same license.
If your project includes or is a modified version of this script, and you are unsure about the legal terms contact me at elpideus@gmail.com.