Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/RobustaStudio/bkit

build a messenger bot using HTML
https://github.com/RobustaStudio/bkit

bot bot-framework facebook golang html-parser messenger messenger-bot robusta

Last synced: 3 months ago
JSON representation

build a messenger bot using HTML

Awesome Lists containing this project

README

        

BKIT
====
> An advanced tiny bots scripting engine using the power of XML/HTML.

Features
====
- Portable & Tiny
- Embedded a tiny `Expression Engine` to support simple scripting
- Supports the following tags `meta, text, label, p, line, span, embed, resource, media, div, menu, nav, dialog, form, template`
- Supports custom replies from custom templates
- Automatically paginate long `Menus` to be compatible with messenger `max-items-limit`

Status
====
> `BKIT` is in its first release, we wanted to keep it as simple as possible, we are planning to add more features in the future

Tags
===
- Configs: ``
- Text: ``, ``, ``, `

`, ``, ``
- Media: ``, ``, ``
- Menu: ``, ``
- Form: ``, ``
- Template: ``

Demo
=====
> a very simple messenger bot that will collects the user info
```html














About
Collect Data


Click Here 1
Click Here 2


I'm bkit, the bots-kit engine
;)


enter your name

'Hi ' + user_name + ' ;)'
Select a type ...

Type 1
Type 2

You selected Type 1
You selected Type 2
Thank You!

```
> save that file as `demo.html`
> then just run `bkit -html "demo.html" -https ":443" -http ":80" -server-name "bkit.domain.com"`
> Point your facebook messenger webhook to `https://bkit.domain.com/messenger`

Installation
===============
- Binaries ? go to [Releases Page](releases) and select your own distro/arch.
- Docker ? `docker run -v $(pwd)/demo.html:/demo.html --network host alash3al/bkit -html /demo.html -https ":443" -http ":80" -server-name "bkit.domain.com"`
- From Source ? `go get github.com/RobustaStudio/bkit`

Credits
==============
Copyright 2018 (c) [Robustastudio](https://robustastudio.com)