Skip to content

Artoria2e5/tg-chatdig

 
 

Repository files navigation

tg-chatdig

Dig into long and boring Telegram group chat logs.

chatdig.py

Main script, handles a lot of commands. Uses a SQLite 3 database to store messages.

tglog-import.py

Executes telegram-cli and fetches history messages.

digest.py

Generate daily digest from the message database.

python3 digest.py path [days=1] [update=0]

vendor/

Some interesting functions.

say.py

Randomly writes out sentences according to the language model.

Depends on jieba, kenlm.

See vendor/updatelm.sh for building language models.

seccomp.py

Evals user input and prints out result safely. Originally written by David Wison.

See dw/scratch/seccomp.py

fparser.py

See gumblex/fxcalc

External Plugins

The following components are not in this repo:

About

Dig into long and boring Telegram group chat logs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.7%
  • HTML 5.7%
  • CSS 3.6%