项目作者: pavel-paulau

项目描述 :
Telegram Chat Bot Emulator
高级语言: Go
项目地址: git://github.com/pavel-paulau/howdy.git
创建时间: 2016-06-07T04:08:35Z
项目社区:https://github.com/pavel-paulau/howdy

开源协议:Apache License 2.0

下载


Telegram Chat Bot Emulator

Go Report Card
Docker Pulls

Howdy is an easy-to-use Telegram emulator for developing chat bots on Windows, Mac, and Linux. It doesn’t require any certificates, public servers, or real Telegram clients.

Just use your web browser to test and debug chat bots while developing new cool features.

Demo

Click on the image below to watch a demonstration of chat bot emulator:

Howdy Demo

Installation

Howdy binaries have no external dependencies.

To get the binary just download the latest release for your OS/Arch from the release page and put the binary somewhere convenient. You can run it from any location:

  1. $ ./howdy_linux_amd64
  2. .:: Please go to http://127.0.0.1:8081/index.html ::.

Note: you need to “chmod +x” binaries on Unix-like platforms.

Alternatively, you can pull the latest Docker image:

  1. $ docker pull pavel/howdy
  2. $ docker run -t -i --net="host" -p 8081:8081 pavel/howdy
  3. .:: Please go to http://127.0.0.1:8081/index.html ::.

Usage

Simply follow these steps:

Limitations (aka to-do list)

Currently, there are a couple limitations:

  • Not all Telegram API are covered yet. For instance, it’s not possible to send images or stickers.
  • Keyboard layout is ignored (all buttons are displayed as a column).

Building from the source

First, install these dependencies:

  1. go get -u github.com/kardianos/govendor
  2. go get -u github.com/jteeuwen/go-bindata/...

Pull third-party packages into vendor folder:

  1. govendor sync

Build the emulator:

  1. go-bindata --debug app/...
  2. go build

Note: the last step is equivalent to running “make”.