Kimikuri: a message push bot

Kimikuri is a telegram bot which provides every Telegram user a unique token, and an HTTP API which enables them to push messages to their Telegram. Originally this project was created to replace ServerChan (方糖), which is mainly restricted by WeChat's poor functionality.

GitHub Website

Usage

  1. Start a conversation with Kimikuri_yourbot.
  2. Send a /start to obtain a token.
  3. Push messages to your Telegram using our HTTP API.

HTTP API

Using POST (Recommended)

Using GET (Deprecated, kept for backward compatibility)

Note: To prevent potential cache on the network, add a nonce parameter (such as a timestamp) if necessary.

API Example

Here is an example in Python, using requests

If you wish a unix tool instead, use the bash script below:

This script requires cURL, which is shipped with almost all linux distros by default. Place your API token in $TOKEN, then execute the script like this: