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

thingpedia-cli

v0.6.0-alpha.3

Published

A command line client to interact with Thingpedia

Downloads

9

Readme

Thingpedia Command Line Tools

Build Status Coverage Status Dependency Status

An Open, Crowdsourced Repository of APIs

Thingpedia is the open repository of API used by the Almond Virtual Assistant. Anyone can contribute the interface code to access any device or web service, and publish it on Thingpedia.

This package contains a command line tool to interact with Thingpedia. The tool helps with creating new devices, packing them for publication, and using the Thingpedia APIs.

ThingTalk is developed by the Stanford Open Virtual Assistant Lab, a research initiative led by prof. Monica Lam, from Stanford University. You can find more information at https://oval.cs.stanford.edu.

Installation

To install this tool, run:

npm install -g thingpedia-cli

The resulting command will be called thingpedia.

Documentation

See thingpedia --help to learn all the available commands and options.

Using thingpedia-cli to develop Thingpedia devices

You can use this tool to help developing new Thingpedia devices. First initialize a new repository to work into:

thingpedia --developer-key [developer-key] init-project --license BSD-3-Clause my-awesome-devices

This will initialize a new repository called my-awesome-devices and download the skeleton for testing and packaging.

You should provide a Thingpedia developer key to the command if you have one. You can also set it later with git config thingpedia.developer-key.

Inside the repository, you can now run:

thingpedia init-device --loader org.thingpedia.v2 com.example.myawesomedevice

This will initialize a new empty manifest and JavaScript package.

You or your contributors can test the new device with

npm run test -- com.example.myawesomedevice

and package it for upload to Thingpedia with

make com.example.myawesomedevice.zip

License

This package is covered by the Apache 2.0 license. See LICENSE for details.