All Projects → krilor → wp-chatbot

krilor / wp-chatbot

Licence: GPL-3.0 License
Simple Wordpress Plugin to add any chatbot to your web page

Programming Languages

PHP
23972 projects - #3 most used programming language
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to wp-chatbot

Python-BlackJackBot
A Telegram bot written in Python to play the game BlackJack alone or with your friends
Stars: ✭ 48 (+182.35%)
Mutual labels:  chatbot
leopard-chat-ui-teneo
Leopard Chat UI - A Teneo Chat Client based on Vue and Vuetify
Stars: ✭ 65 (+282.35%)
Mutual labels:  chatbot
WP-Performance
Speed optimization plugin for Wordpress
Stars: ✭ 22 (+29.41%)
Mutual labels:  wordpress-plugin
PersonalAssistantChatbot
It is a personal assistant chatbot, capable to perform many tasks same as Google Assistant plus more extra features...
Stars: ✭ 79 (+364.71%)
Mutual labels:  chatbot
WPGrabInfo
WP Grab Info v2
Stars: ✭ 43 (+152.94%)
Mutual labels:  wordpress-plugin
msgbots
Messenger Bot Simulator ( Rhino )
Stars: ✭ 17 (+0%)
Mutual labels:  chatbot
pmpro-affiliates
Create affiliate accounts with unique referrer URLs to track membership checkouts for Paid Memberships Pro
Stars: ✭ 14 (-17.65%)
Mutual labels:  wordpress-plugin
woo-custom-emails
An add-on to support woocommerce custom emails
Stars: ✭ 15 (-11.76%)
Mutual labels:  wordpress-plugin
gutenberg-i18n-block
Gutenberg block to demo internationalization functionality.
Stars: ✭ 35 (+105.88%)
Mutual labels:  wordpress-plugin
wp-analytify
Google Analytics Dashboard Plugin For WordPress By Analytify
Stars: ✭ 20 (+17.65%)
Mutual labels:  wordpress-plugin
amelia 2.0
An Artificial Intelligence Chat Bot and Service Provider written in Python and AIML.
Stars: ✭ 19 (+11.76%)
Mutual labels:  chatbot
QlikBotNet
Qlik Bot Net is an example chat bot which enables access to Qlik content via conversational analytics. It's built in .NET/C# and can be used with the Telegram messaging platform.
Stars: ✭ 20 (+17.65%)
Mutual labels:  chatbot
TwitchBot
Custom C# chat bot for Twitch TV
Stars: ✭ 33 (+94.12%)
Mutual labels:  chatbot
tainacan
A flexible and powerful repository platform for WordPress
Stars: ✭ 67 (+294.12%)
Mutual labels:  wordpress-plugin
mk-letter-avatar
🅰 WordPress 字母头像插件(纯前端实现版) WordPress letter avatar plugin
Stars: ✭ 42 (+147.06%)
Mutual labels:  wordpress-plugin
LineBotBabyLuis
A baby NLU chatbot using LUIS, Chinese website https://www.evanlin.com/go-luis-linebot/
Stars: ✭ 13 (-23.53%)
Mutual labels:  chatbot
messaging-apis
Messaging APIs for multi-platform
Stars: ✭ 1,759 (+10247.06%)
Mutual labels:  chatbot
wp-dbmanager
Allows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automatic scheduling of backing up, optimizing and repairing of database.
Stars: ✭ 63 (+270.59%)
Mutual labels:  wordpress-plugin
WeiXin-Payments-for-WooCommerce
WooCommerce WeChat payment gateway, support WeChat scan code payment
Stars: ✭ 26 (+52.94%)
Mutual labels:  wordpress-plugin
jquery-manager
Manage jQuery and jQuery Migrate on a WordPress website, activate a specific jQuery and/or jQuery Migrate version. The ultimate jQuery debugging tool for WordPress
Stars: ✭ 27 (+58.82%)
Mutual labels:  wordpress-plugin

WP chatbot

A simple Wordpress plugin to connect to your favourite chatbot platform.

Works with

...and any other platform that has a REST-based JSON API

Roadmap

This plugin is under active development. Current plan is to keep it in GitHub for the foreseeable future.

There is a GitHub project to track high level features.

How to use

  1. Download a release as zip
  2. Open up the zip and rename the included folder to wp-chatbot (remove the -#.#.# version number)
  3. Upload to your Wordpress instance.
  4. Activate the plugin and head on over to Settings -> WP chatbot
  5. Include [wp-chatbot] shortcode wherever you want (currently only supported once per page)

Getting automatic updates

This plugin can be updated directly from GitHub, in the Wordpress UI, using the Wordpress plugin GitHub Updater.

Settings

There are some base settings that need to be set. In basic terms, the purpose of these settings is to build the API request that is being used to connect with you chatbot API of choice. It maps the request and pulls data from the response.

The request

  • API url
    • The endpoint of the chatbot platform
  • Request method
    • GET (most well tested) and POST
  • Number of request parameters
  • How many params need to be part of the request
  • The request params and their value
  • Each request parameter will require a param-value pair (two input boxes).
  • E.g. when doing a GET call, then the param and value will be appended to the API url like APIURL?param=value. Use this to build a proper request to the chatbot platform. Special param values can be used. Se below.
  • Number of request headers
    • The number of specific headers that need to be part of the request.
    • These are HTTP Headers
  • The request headers and their values
    • Works in a similar way as the request params, but will be included in the HTTP request header.

The response

The returned data from the external API must be JSON formatted data (as of now). There is only one option for the response, which is a JSONpath used to extract the data.

  • Response JSONpath
    • WP Chatbot will extract messages from the returned JSON structure using JSONpath. E.g. for api.ai, such a path can be $.result.fulfillment.messages[*].speech

Special param values

  • WP_CHATBOT_INPUT_MSG
    • Will pass the input message into the parameter
  • WP_CHATBOT_CONV
    • Will pass a uniquely created string for the current user session. String is 40 chars and stored in $_SESSION
  • WP_CHATBOT_USER
    • Will pass a uniquely created string for the current user. String is 40 chars and stored in $_COOKIE

Warning

This plugin is still in development, and are still missing important error handling, validation of input and sanetizing of options. This will be fixed, just keep an eye on the Github Issues.

Contribute

Fork, branch, pull request

Contributors

  • tom - has implemented awesome richtext support for api.ai in #42!

Release Notes

  • 0.1.1 - bug fixes
    • api.ai encoding
    • allow unsafe urls

Wordpress Coding Standards

  • phpcs -p -s -v -n . --standard=codesniffer.ruleset.xml --extensions=php --ignore=./assets/,index.php > sniffer.log
  • phpcbf -p -s -v -n . --no-patch --standard=codesniffer.ruleset.xml --extensions=php --ignore=./assets/,index.php
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].