Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prague

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prague

rules-based app engine

  • 0.14.4
  • npm
  • Socket score

Version published
Weekly downloads
15
increased by275%
Maintainers
1
Weekly downloads
 
Created
Source

Prague

An experimental rule system handy for intepreting user input, great for adding conversational features to apps, using lessons learned from the message router pattern. I thought of it as I walked around Prague on a sunny Spring day. This is just an experiment and not an official Microsoft project.

Major features of Prague:

  • strongly-typed rules engine for interpreting ambiguous input of all kinds
  • support for different types of applications through fine-grained interfaces rather than high-level abstraction
  • deeply asynchronous via RxJS

Some types of applications you could build with Prague:

  • OS shell
  • Browser app w/chat interface
  • Browser app w/voice interface
  • Slack bot (native interface)
  • Multi-platform Chat bot
  • Server-rendered Website w/pop-up chat

Building Prague

  • clone or fork this repo
  • npm install
  • npm run build (or npm run watch to build on file changes)

Prague recipes

Prague is a low-level framework. If you want to build an app you will want to use (or create) a recipe, which is a set of functionality that allows you to exchange messages with a given channel, using a given state store, etc. Here is a list of available recipes. Please post your own!

Prague samples

Prague includes an ever-growing number of samples which can be built and run by following the directions in each samples' README:

  • Simple Dialog
  • AlarmBot
  • Scaffold (this is a great place to start experimenting with your own bot, using concepts from the tutorial and the other samples)

Tutorial

To be written

FAQs

Package last updated on 09 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc