All Projects → RobustaStudio → bkit

RobustaStudio / bkit

Licence: other
build a messenger bot using HTML

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to bkit

Swiftybot
How to create a Telegram, Facebook Messenger, and Google Assistant bot with Swift using Vapor on Ubuntu / macOS.
Stars: ✭ 247 (+586.11%)
Mutual labels:  messenger, messenger-bot
Jbot
Make Slack and Facebook Bots in Java.
Stars: ✭ 1,148 (+3088.89%)
Mutual labels:  bot-framework, messenger-bot
intelligo-generator
🛠️ Chatbot generator for Intelligo Framework.
Stars: ✭ 31 (-13.89%)
Mutual labels:  bot-framework, messenger-bot
Awesome Bots
The most awesome list about bots ⭐️🤖
Stars: ✭ 2,864 (+7855.56%)
Mutual labels:  bot-framework, messenger-bot
messenger
💬 A PHP library for Facebook Messenger
Stars: ✭ 53 (+47.22%)
Mutual labels:  messenger, messenger-bot
Messengerbot
Python client for Facebook Messenger Platform Bot
Stars: ✭ 140 (+288.89%)
Mutual labels:  messenger, messenger-bot
Intelligo
🤖 Chatbot Framework for Node.js.
Stars: ✭ 347 (+863.89%)
Mutual labels:  bot-framework, messenger-bot
How-To-Build-A-Chatbot
Learn to build a facebook chatbot using Python and Flask
Stars: ✭ 15 (-58.33%)
Mutual labels:  messenger, messenger-bot
messenger-to-telegram
Connect your Facebook Messenger Account to your Telegram Messenger and Erase the Messenger App
Stars: ✭ 63 (+75%)
Mutual labels:  messenger, messenger-bot
Chatblocks
Declarative Messenger chatbot framework
Stars: ✭ 48 (+33.33%)
Mutual labels:  messenger, messenger-bot
React Messenger Customer Chat
React component for messenger customer chat plugin
Stars: ✭ 221 (+513.89%)
Mutual labels:  messenger, messenger-bot
Mtproto Core
Telegram API JS (MTProto) client library for browser and nodejs
Stars: ✭ 242 (+572.22%)
Mutual labels:  messenger
nodejs-bot-platform
Node.js bot and personal assistants platform. Boilerplate, start point, tools, best practices for building bots and personal assistants.
Stars: ✭ 56 (+55.56%)
Mutual labels:  bot-framework
telectron
Telegram desktop client [WIP]
Stars: ✭ 19 (-47.22%)
Mutual labels:  messenger
Botmaster
The chatbot framework for your serious projects
Stars: ✭ 239 (+563.89%)
Mutual labels:  messenger
vue-socials
💬 Social media share buttons and counts for Vue.js
Stars: ✭ 32 (-11.11%)
Mutual labels:  messenger
Pybitmessage
Reference client for Bitmessage: a P2P encrypted decentralised communication protocol:
Stars: ✭ 2,661 (+7291.67%)
Mutual labels:  messenger
Toxygen
Toxygen is pythonic Tox client
Stars: ✭ 231 (+541.67%)
Mutual labels:  messenger
Ferdi
🧔🏽 Ferdi helps you organize how you use your favourite apps by combining them into one application
Stars: ✭ 4,089 (+11258.33%)
Mutual labels:  messenger
dialogflow-watchnow-messenger
WatchNow FB Messenger bot with DialogFlow & Golang 💬
Stars: ✭ 24 (-33.33%)
Mutual labels:  messenger

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: <meta />
  • Text: <text></text>, <label></label>, <span></span>, <p></p>, <line></line>, <inline></inline>
  • Media: <media src="" type="" />, <resource src="" type="" />, <embed type="" src="" />
  • Menu: <menu></menu>, <nav></nav>
  • Form: <form></form>, <dialog></dialog>
  • Template: <template></template>

Demo

a very simple messenger bot that will collects the user info

<html>
	<head>
        <!-- here we define the main-menu element, `main` is the id of the main menu -->
        <meta name="main-menu" content="main" />

	    <!-- here we define the welcome menu "after pressing get started button" -->
		<meta name="welcome-menu" content="welcome" />

        <!-- whether the bkit server should verify the incoming request "from messenger itself" or not -->
        <meta name="messenger-verify" content="true" />

        <!-- set the facebook app secret -->
        <meta name="messenger-app-secret" content="***************************" />

        <!-- the verify token in the bot settings in facebook messenger platform -->
        <meta name="messenger-verify-token" content="*************" />

        <!-- the facebook page token -->
		<meta name="messenger-page-token" content="****************" />

        <!-- this content will be displayed when a new user opens the messenger window -->
        <meta name="description" content="Hi, I'm your bot"/>
	</head>
	<body>
        <menu id="main" title="Under your command, Sir :)">
            <!-- reset means "clear the current session if there were some old previous data" -->
			<a href="#about" reset="true">About</a>
			<a href="#collect" reset="true">Collect Data</a>
        </menu>

        <menu id="welcome">
            <a href="#about">Click Here 1</a>
            <a href="#about">Click Here 2</a>
        </menu>

        <div id="about">
            <text>I'm bkit, the bots-kit engine</text>
            <text>;)</text>
        </div>

        <form id="collect" action="http://some/backend">
            <text>enter your name</text>
            <input name="user_name" />

            <text>'Hi ' + user_name + ' ;)'</text>
            <text>Select a type ...</text>
            <select name="type">
                <option value="a">Type 1</option>
                <option value="b">Type 2</option>
            </select>
            <text if="type == 'a'">You selected Type 1</text>
            <text if="type == 'b'">You selected Type 2</text>
            <text>Thank You!</text>
        </form>
    </body>
</html>

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 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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].