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

@fonoster/rox

v0.3.7

Published

<a href="https://gitpod.io/#https://github.com/fonoster/rox"> <img src="https://img.shields.io/badge/Contribute%20with-Gitpod-908a85?logo=gitpod" alt="Contribute with Gitpod" /> ![publish to docker](https://github.com/fonoster/rox/workflows/publish%20to%2

Downloads

2

Readme

🤖 Rox AI: A connector for Dialogflow ES/CX

publish to docker

This repository contains a dockerized distribution of Rox AI. Also, see Fonoster.

Youtube Demo

See a Car Rental demo using Rox AI

Available Versions

You can see all images available to pull from Docker Hub via the Tags page. Docker tag names that begin with a "change type" word such as task, bug, or feature are available for testing and may be removed at any time.

The version is the same of the Asterisk this is image is based on

Installation

You can clone this repository and manually build it.

cd fonoster/rox\:%%VERSION%%
docker build -t fonoster/rox:%%VERSION%% .

Otherwise, you can pull this image from the docker index.

docker pull fonoster/rox:%%VERSION%%

Usage Example

The following is a basic example of using this image.

docker run -it -p 3000:3000 fonoster/rox:latest

Deploying in development mode with Gitpod

One-click interactive deployment will familiarize you with the server in development mode.

Open in Gitpod

Specs for Dialogflow backend

To allow for seamless integration between Dialogflow and Rox, we introduced the concept of Effects. Effects are actions sent from Dialogflow to Rox so you don't have to program the behavior every time. All you need to do is send the Effect's payload and Rox will react accordingly.

You can set multiple responses in Dialogflow. The Effects will run in sequence.

say

{
  "effect": "say",
  "parameters": {
    "responses": [
      "Goodbye!",
      "Talk later",
      "Bye!",
      "Have a good one!"
    ]
  }
}

hangup

{
  "effect": "hangup"
}

send_data

{
  "effect": "send_data",
  "parameters": {
    "type": "map",
    "icon": "https://freeicons.net/icons/map.png",
    "link": "https://goo.gl/maps/YTum2VeZSQwNB4ik6"
  }
}

transfer

{
  "effect": "transfer",
  "parameters": {
    "destination": "17853178070",
    "record": true
  }
}

Notes: The parameter type is set to map in the example, but you can send anything that makes sense to the client. If the parameter allRequiredParamsPresent is set to true, the fulfillmentText will take precedence over the custom effects.

Environment Variables

Environment variables are used in the entry point script to render configuration templates. You can specify the values of these variables during docker run, docker-compose up, or in Kubernetes manifests in the env array.

  • DEFAULT_LANGUAGE_CODE - Sets the default language for the application. Defaults to en-US
  • OTL_EXPORTER_PROMETHEUS_PORT - Sets Prometheus port. Defaults to 9090
  • OTL_EXPORTER_PROMETHEUS_ENDPOINT - Sets Prometheus endpoint. Defaults to /metrics
  • OTL_EXPORTER_JAEGER_URL - If set, it will send traces to Jaeger
  • OTL_EXPORTER_GCP_ENABLED - If set, it will send traces to GCP
  • OTL_EXPORTER_ZIPKIN_URL - If set, it will send traces to Zipkin
  • EVENTS_SERVER_ENABLED - Activates the Events Server for socket connection. Defaults to false

Exposed Ports

  • 3000 - Port to start a session request
  • 3001 - Port to subscribe for send_data effects
  • 9090 - Default Prometheus port

Volumes

  • None

TODO

  • [ ] Add authentication to secure the events port
  • [ ] Include a --log-level flag (You can enable logs using the env LOGS_LEVEL)
  • [ ] Include a --app-port so we can change the default voice application port
  • [ ] Include a --events-port so we can change the default events port

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

License

Copyright (C) 2023 by Fonoster Inc. MIT License (see LICENSE for details).