Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

A Telegram client that turns your profile photo into a calendar.

License

Notifications You must be signed in to change notification settings

yvasyliev/telegram_profile_photo_calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIT License

Telegram Profile Photo Calendar

A Telegram client that turns your profile photo into a calendar.

Dependencies

This project uses TDLight Java as implementation of Telegram Client API.

Requirements

  1. JDK 8 (or higher)
  2. Maven

Quickstart

  1. Clone this project.
    git clone https://github.com/yvasyliev/telegram_profile_photo_calendar.git
  2. Build the application.
    mvn clean package
  3. Find in target folder a TelegramProfilePhotoCalendar-1.0-SNAPSHOT-jar-with-dependencies.jar file.
  4. Create config.properties file in the same folder as TelegramProfilePhotoCalendar-1.0-SNAPSHOT-jar-with-dependencies.jar.
  5. Put the following content in the config.properties file:
#To get api_hash and api_id see https://core.telegram.org/api/obtaining_api_id
api_hash=your_api_hash
api_id=XXXXXXX
phone_number=+XXXXXXXXXXXX #Your phone number
  1. Login to your custom client. You will be prompted to enter authentication code.
    java -jar TelegramProfilePhotoCalendar-1.0-SNAPSHOT-jar-with-dependencies.jar login
  2. Update your profile photo.
    java -jar TelegramProfilePhotoCalendar-1.0-SNAPSHOT-jar-with-dependencies.jar start
  3. (Optional) Logout from the client.
    java -jar TelegramProfilePhotoCalendar-1.0-SNAPSHOT-jar-with-dependencies.jar logout