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

concierge-bot

v5.0.1

Published

Extensible general purpose chat bot.

Downloads

74

Readme

Concierge

Build Status Build status

NPM

(Karma + Sassy) * (Discord + Facebook + Messenger + Slack + Skype + Telegram) = Concierge

Concierge is a modular, easily extensible general purpose chat bot. It is platform agnostic and will work with any social network desired (provided an integration module). The bot utilises small node.js modules for responding in a chat. You can write your own modules and place them in the modules directory, or use existing modules we've collated here. Existing modules include a variety of functionality from getting gifs, to running arbitrary sandboxed JavaScript code, voting and giving karma.

Furthermore Concierge is compatible with Hubot adapters and scripts.

Experiment with our hosted Concierge instance on discord.

Getting Started

Pre-Requisites

Make sure you have Node.JS and NPM installed and added to your system PATH before installing Concierge. It is also highly recommended you do the same with GIT.

Installation

Installation can either be done using npm (global or local) or git (see which approach is right for you here).

NPM (global)

npm install concierge-bot -g

GIT

git clone https://github.com/concierge/Concierge.git Concierge
cd Concierge
npm install

NPM (local) For all documentation regarding local installs, refer to Usage Types.

Starting Up

Concierge comes ready-to-run, so to start the bot:

  • In the directory being used for Concierge development run the following command:
    • NPM global: concierge
    • git: node main.js
  • On the first run, provided GIT is installed some default modules will be installed (see here for details)
  • After startup you will see the following prompt:

Concierge-bot>

This is the default Test integration Concierge assumes if no other is specified during startup (more on this below).

  • You can further test the bot's responses by calling a few of the default commands. Try entering /ping in the terminal and press enter.
  • It should reply back with something like:

Concierge-bot 4.0.0-beta.0 @ Raven (Linux x64)

If everything worked without any errors,

Congratulations!

Now let's go a step further and connect Concierge with an actual social network

Integrating with a social network

This simply requires installing the social network's integration in the modules directory.

kpm is a great module that makes this process a piece of cake. The process can be generalized into the following steps

  • Run Concierge and ensure kpm was successfully loaded.
  • Use /kpm install <integration_name> to install the integration where <integration_name> is the name of the social network integration.
  • Use /kpm config with appropriate arguments (account email, account password, etc.) to set up the integration for connecting with the social network. Specific arguments and instructions on how to set them can be found in the integration's documentation.
  • Use /kpm start <integration_name> to start the integration.

Why not try integrating Concierge with Facebook by following the instructions here.

Links to configuring other integrations can be found in the documentation section below.

What Now

Now you can customize your Concierge by installing or creating your own modules.

  • You can install an existing modules from the KPM Modules List. Use the /kpm module (which is installed by default) to install using the KPM List.
  • You can install any Concierge or Hubot modules from NPM.
  • Or create your own modules by following the Module Creation guide.

Hint: Use /help kpm to find out how to install a module or have a look at the KPM List for a more elaborate instructions.

Documentation

Testing

See Running and writing tests

Contributions

Contributions welcome, see Contributing.

Copyright and License

Licensed under the MIT license. Unless otherwise specified, code is Copyright (c) Matthew Knox 2017.