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

@chatty-webviews/cli

v0.0.1

Published

Chatty Webviews Releases CLI

Downloads

5

Readme

Chatty WebViews CLI

oclif Version

Description

Chatty Webviews' CLI allows you to release over-the-air updates to users with just a few commands. You can easily distribute new application versions to your users without going through Google's Play Store or Apple's AppStore. Using this CLI is especially helpful when you want to release critical security fixes or other application updates.

Infrastructure setup

As the Chatty Webviews CLI is fully free and open source, in order to use it, you should set up your own Firebase account for storing the metadata and content of new application releases. After setting up a Firebase account, be sure to define the following environment variables on your machine or CI/CD pipeline for the CLI:

export FIREBASE_API_KEY="<your_api_key>"
export FIREBASE_AUTH_DOMAIN="<your_auth_domain>"
export FIREBASE_PROJECT_ID="<your_project_id>"
export FIREBASE_STORAGE_BUCKET="<your_storage_bucket>"
export FIREBASE_APP_ID="<your_app_id>"

The exact variable values could be easily found by going into your Firebase account's Project settings and creating a new web app using the Add app button.

After that, if you haven't already, you should enable the Authentication, Firestore Database, and Storage services by following the exact steps in Firebase.

The last bit of configuring the necessary infrastructure is deploying the Chatty Webviews backend by following its README.

Usage

$ npm install -g @chatty-webviews/cli
$ chatty COMMAND
running command...
$ chatty (--version)
@chatty-webviews/cli/0.0.1 darwin-arm64 node-v16.16.0
$ chatty --help [COMMAND]
USAGE
  $ chatty COMMAND
...

Commands

chatty ci release

Relase a new version of a ChattyWebViews application or module from a CI/CD environment by passing all the required parameters

USAGE
  $ chatty ci release --version <value> [--name <value>] [--modules <value>]

FLAGS
  --modules=<value>...  Release only a set of modules by their names as specified in the `chatty-webviews.json` file.
  --name=<value>        Release name. Defaults to '' if not provided.
  --version=<value>     (required) Release version.

DESCRIPTION
  Relase a new version of a ChattyWebViews application or module from a CI/CD environment by passing all the required
  parameters

EXAMPLES
  $ chatty ci release --version 12.1

  $ chatty ci release --version 12.1 --name 'test release'

  $ chatty ci release --version 12.1 --name 'test release' --modules moduleA moduleB

chatty help [COMMANDS]

Display help for chatty.

USAGE
  $ chatty help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for chatty.

See code: @oclif/plugin-help

chatty init

Initialize the configurations for a ChattyWebViews application

USAGE
  $ chatty init

DESCRIPTION
  Initialize the configurations for a ChattyWebViews application

EXAMPLES
  $ chatty init

See code: dist/commands/init/index.ts

chatty release

Relase a new version of a ChattyWebViews application or module

USAGE
  $ chatty release

DESCRIPTION
  Relase a new version of a ChattyWebViews application or module

EXAMPLES
  $ chatty release

See code: dist/commands/release/index.ts