Skip to content

timbrunette/rivescript-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project was bootstrapped with Create React App.

RiveScript Tester

RiveScript Tester is a client-side, ReactJS powered RiveScript editor and tester.

  • Type some RiveScript on the left
  • Interact with the RiveScript using a chat bot on the right

Motivation

RiveScript is a scripting language that allows you to write code for chatbots. This tester was created to allow you to write and test RiveScript on-the-fly against a chatbot on the web, and download the script once you are happy with it.

Screenshots

image

Tech Stack

Features

  • Upload and Download RiveScript .rs or .rive files
  • Instant testing of script with bot interface
  • Code editor experience

How to use?

The easiest way is to visit the official website RiveScript Tester and have a play around.
A default script will load in the editor which can be run by clicking RUN and then typing a message to the bot in the ChatBot window. This will load the script into the Intepreter and compile it. You can see a detailed breakdown (debug) by viewing the console log. If the bot doesn't have a programmed response, it will respond with "ERR: No Reply Matched".

You can also upload your own scripts, and download the script in the editor. The editor also has a few sublime-style shortcuts which makes it easier to code, the most useful of which will be Ctrl + ], which indents two spaces.

For resources on how to write your own RiveScript check out the Offical Docs.

Roadmap

  • Debug mode
  • Syntax Highlighter
  • Syntax Suggestion Engine

About

A RiveScript Tester built using React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published