TDeskDroid - Telegram Desktop to Android theme converter

Dependencies

Installation

  1. Install python 3 for your OS
  2. Download or clone this repo to your PC
  3. Go to that directory and run pip3 install -r requirements.txt via command prompt / terminal / whatever

Converting

  1. Put .tdesktop-theme files (the one is zip file) to desktop directory
  2. If you want to optimize your jpeg you have to get your api key here https://tinypng.com/developers put it in tinify.key and change tinyJpeg to True
  3. If you need to override some theme colors (if that's a bug please report it) you can use %themefilename%.map e.g. windowBackgroundWhite=#ffffffff one rule per line You can apply multiple overriding for theme packs. For example, if your theme file is named MyTheme.Dark.1.0.tdesktop-theme, you can use MyTheme.map, MyTheme.Dark.map, MyTheme.Dark.1.map and MyTheme.Dark.1.0.map for overriding theme packs.
  4. Run python3 main.py via command prompt / terminal / whatever
  5. Go to directory android, and send .attheme file to TG chat, then apply it

About atthemes