npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mindstack

v0.1.0

Published

A powerful and flexible framework for building bots without restrictions

Downloads

2

Readme

Mind Stack

A powerful and flexible bot framework for building bots without restrictions

Introduction

Read the docs, have a look at our examples, or see the list of repositories that power this project.

Why choose between coding and configuration when you can have both. Configure your services (discord, slack, etc), and code your logic.

This framework provides structuring and guidelines to allow the user to write there own use cases with tools they need readily available.

THIS IS AN ONGOING PROJECT, DOCUMENTATION WILL BE UPDATED AS THE PROJECT PROGRESSES

Getting started

You can take a look at our docker box or CLI tool. Otherwise you will need the following setup and ready to go, then your ready for installation:

Installation

Create a new git repository for your bot instance and setup a node project using npm init inside the repo.

Now create an empty file called bot.js and install Mind Stack:

NPM

    npm i -S mindstack

Yarn

    yarn add mindstack

Now you need to make sure you have a RabbitMQ server setup with a queue/exchange called mindstack:

Fresh install (Ubuntu)

  apt-get install rabbitmq-server
  service rabbitmq-server start
  rabbitmq-plugins enable rabbitmq_management
  rabbitmqadmin declare queue name=mindstack durable=false

Only creating the queue (Preexisting RabbitMQ install)

  rabbitmqadmin declare queue name=mindstack durable=false

Usage

Node (bot.js)

    const MindStack = require('mindstack');

    let botInstance = new MindStack();

Command line

  node bot.js

See docs for giving your bot functionality and features

Repositories

There are several repositories used to add functionality or work with Mind Stack. They are listed categorically below (send a request if you want to add your own repositories)

Adapters

  • Alexa - Alexa adapter for Mind Stack
  • Discord - Discord adapter for Mind Stack
  • Mail - Mail adapter for Mind Stack
  • Slack - Slack adapter for Mind Stack
  • Terminal - Terminal adapter for Mind Stack

Bot instance

  • Mind Stack - A powerful and flexible bot framework for building bots without restrictions

Data services

  • Data bite - ES6 simplified class for consuming data from an external service

Frameworks

  • High tech - A framework for building skills/applications for bleeding edge tech devices

Lexicon

  • Lemme Lex - A library for creating dictionaries that can be utilised by NLP tools
  • Consent lex - A lexicon for giving or declining consent (yes and no)
  • Salutation lex - A lexicon for arrival and departure salutations

Payment

  • Payment provider - Abstraction class for handling payments from multiple providers using common methods
  • VC PP - Virtual currency payment provider
  • Alexa PP - Alexa Payment provider

Recognisers

  • Eduir - Educated intent recogniser
  • Molir CLI - Molir (A.k.a Most Likely/Obvious Intent Recogniser) command line tool

Scaffolding

Skillsets

  • Basic skillset - A basic skillset for a bot that can say hello and goodbye in many different ways
  • Store skillset - Sell products and services, ecommerce using natural language

Transformers

  • Sanitize mail - A sanitize-html wrapper optimised for sanitising HTML for email clients
  • Strip mentions - Strip @mentions from a string using a default or custom handle style
  • Turndown SSML - A Turndown plugin to convert SSML into markdown files
  • Verbose Utterance - Interprete/compile *.utter files for creating a verbose library of utterances

Virtual machines

  • Brain box - Docker machine for running Mind Stack instance