Skip to content

Sammers21/tg-cleaner

Repository files navigation

tg-cleaner

The app behaves just like a telegram client on your mobile/desktop computer allowing you to delete anything other than a text messages or deleting a specific sticker in an automatic way. tg-claner also supports voice to text recognition via @voicybot

Reply to a sticker you want to be ignored with #tgc_ignore command:

demo

#tgc_allow_text_only toggles text-only mode in a private chat:

allow_text_demo

#tgc_voice_transcript - enables seamless integration with @vociybot. Each voice message transcribed into text.

Docker image

To run the docker image, execute:

$ docker run --restart always --name tg-cleaner -v $(pwd):/tdlib -d -it sammers/tg-cleaner:1.1

/my/own/dir should be replaced with a path on your computer.

Then you can enter your Telegram account:

$ docker exec -it tg-cleaner tmux a

Input your telephone number, received code and a cloud password if needed. Then just quit terminal(NOT USING CNTRL+C).

Build and run on-host instructions

  1. Build tdlib, by following steps from the instruction
  2. Make it accessible in you PATH
  3. Build the actual CLI programm: ./gradlew fatJar
  4. Run resulted .jar file: java -jar build/libs/tg-cleaner.jar
  5. Input your telephone number and received code.
  6. Now listed below features will work.