Skip to content

gumblex/tg-chatdig

Repository files navigation

tg-chatdig

Dig into long and boring Telegram group chat logs.

For a simpler Telegram-IRC relay bot, see tg-irc-relay Deprecated: The version 2 is renamed and published at orizonhub

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