A Telegram client that turns your profile photo into a calendar.
This project uses TDLight Java as implementation of Telegram Client API.
- JDK 8 (or higher)
- Maven
- Clone this project.
git clone https://github.com/yvasyliev/telegram_profile_photo_calendar.git
- Build the application.
mvn clean package
- Find in
target
folder aTelegramProfilePhotoCalendar-1.0-SNAPSHOT-jar-with-dependencies.jar
file. - Create
config.properties
file in the same folder asTelegramProfilePhotoCalendar-1.0-SNAPSHOT-jar-with-dependencies.jar
. - 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
- Login to your custom client. You will be prompted to enter authentication code.
java -jar TelegramProfilePhotoCalendar-1.0-SNAPSHOT-jar-with-dependencies.jar login
- Update your profile photo.
java -jar TelegramProfilePhotoCalendar-1.0-SNAPSHOT-jar-with-dependencies.jar start
- (Optional) Logout from the client.
java -jar TelegramProfilePhotoCalendar-1.0-SNAPSHOT-jar-with-dependencies.jar logout