Dig into long and boring Telegram group chat logs.
Main script, handles a lot of commands. Uses a SQLite 3 database to store messages.
Executes telegram-cli
and fetches history messages.
Generate daily digest from the message database.
python3 digest.py path [days=1] [update=0]
Some interesting functions.
Randomly writes out sentences according to the language model.
See vendor/updatelm.sh
for building language models.
Evals user input and prints out result safely. Originally written by David Wison.
See gumblex/fxcalc
The following components are not in this repo:
/bf
bf.py: Brainf*ck interpreter/lisp
lispy.py: Scheme-like interpreter/name
, namemodel.m: Part of Chinese name generator/ime
simpleime.py, pinyinlookup.py, *.dawg: Simple Pinyin IME- zhconv.py, zhcdict.json: Simplified-Traditional Chinese converter
- vendor/libirc.py: libirc