https://github.com/sammers21/tg-cleaner
Automatically cleans up things you don't want to appear in a telegram chat
https://github.com/sammers21/tg-cleaner
cleaner demo docker-image ignore java linux tdlib telegram telegram-chat
Last synced: 8 months ago
JSON representation
Automatically cleans up things you don't want to appear in a telegram chat
- Host: GitHub
- URL: https://github.com/sammers21/tg-cleaner
- Owner: Sammers21
- Created: 2019-08-23T16:23:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-05T06:40:18.000Z (over 5 years ago)
- Last Synced: 2025-02-28T09:11:10.573Z (9 months ago)
- Topics: cleaner, demo, docker-image, ignore, java, linux, tdlib, telegram, telegram-chat
- Language: Java
- Homepage:
- Size: 29.9 MB
- Stars: 11
- Watchers: 4
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:

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

`#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](https://tdlib.github.io/td/build.html?language=Java)
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.