Index Telegram messages with PostgreSQL.
This is an experimental project, use at your own risk.
I highlight that all indexed data is stored unencrypted (!).
- Define the
API_HASH
,API_ID
(Telegram) andDSN
(PostgreSQL) environment variables. pip install -r requirements.txt
python -m src.main
As a bonus, it also opens up a websocket that relays new messages in real time.