{"repo":"Programie/Telegram2Elastic","free":true,"listed":false,"github":"https://github.com/Programie/Telegram2Elastic","clone":"git clone https://github.com/Programie/Telegram2Elastic.git","description":"A simple Telegram client writing chat messages to an Elasticsearch instance in realtime","language":"Python","stars":19,"topics":["archiving","elasticsearch","logger","telegram"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Telegram 2 Elastic Telegram 2 Elastic is a Telegram client which writes all chat messages to multiple outputs like Elasticsearch in realtime. With the data stored in Elasticsearch, you can use applications like Kibana or Grafana to visualize the chats. Or you may use it as a much better search engine compared to the one implemented in the available Telegram clients. Requirements uv Elasticsearch (in case you want to use the Elasticsearch output) Redis (in case you want to use the Redis output) Telegram API ID and API Hash (create one at my.telegram.org) Installation Download the latest release Install the required Python dependencies using uv: uv sync Copy the provided config.sample.yml to config.yml and edit it to fit your needs Outputs It is supported to write to multiple outputs. You may pick any combination of the following output types: elasticsearch : Write to an Elasticsearch instance file : Write a line in JSON format for each message into a file redis : Append messages encoded as JSON to a list in Redis tcp : Send messages as JSON strings to any TCP socket It is also possible to configure the same output type multiple times but using different endpoints. Customize output map For each output, it is possible to customize the output map which is written to the output. The output map can be specified using the output map config property of the output. Each property of the map defines a piece of Python code which should be executed to get the value for each field. By defa","default_branch":null,"files":null,"tree":[],"storefront":"/r/Programie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Programie/Telegram2Elastic/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}