The father of Redis uses pure C language code to implement the Telegram Bot framework

Redis founder antirez recently open sourced a small project BOTLIB  - a Telegram Bot framework written in pure C language code.

Address: https://github.com/antirez/botlib

As the name suggests, BOTLIB is used to create Telegram conversational bots. The project is still in the development stage, please use it with caution.

From another repository created by antirez ( https://github.com/antirez/failed-3d-prints-bot ), it can be seen that he used a Raspberry Pi with a webcam to monitor the 3D printer, and when printing was detected Receive this status message via Telegram in case of failure.

In order to receive information through Telegram, he wrote a Telegram Bot framework to create a Telegram robot. The purpose of the robot he created was to detect the failure status of the printer and send back a real-time image of the 3D printer corresponding to the status.

Extended reading: The founder of Redis wrote a minimal chat server in C language: Smallchat

Guess you like

Origin www.oschina.net/news/267574