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

symphony-bdk-cli

v1.0.8

Published

Symphony CLI to bootstrap new projects.

Downloads

8

Readme

Symphony BDK CLI

Alt text

CircleCI Generic badge Generic badge

Description

This tool was meant to bootstrap bots and extension applications for Symphony's ecosystem. It provides a set of tools and facilitate the creation of the above.

Alt text

What you'll need

  • NodeJS
  • Yarn
  • Openssl
  • Node v12.14.1
  • Java 8
  • Maven
  • Git

Preparing Environment

  • First you need to install the stable version of NodeJs
  • Then you need to install yarn npm install -g yarn
  • Then you'll need to link this tool, by running yarn link inside the symphony-bdk-cli folder

this step is momentarily, as soon as this project gets release under a registry repository it will be available to use out of the box

Only that will get you the bare minimum to run the application. if you run the cli e.g: symphony-bdk-cli you`ll be presented with the help page.

First thing you need to try is the dependency check, the cli runs a diagnose everytime it runs, that checks if you have the required dependencies installed on your machine/environment.

simply run:

symphony-bdk-cli --check-deps

if there's a missing dependency on your machine the cli will prompt you with directions to the depedencies download page.

Git

Be sure to have generated proper ssh keys on your machine and added them to your symphony`s github account. you can found how to do that here The CLI will look for these files:

~/.ssh/id_rsa
~/.ssh/id_rsa.pub

If they're not present you'll be prompted with error messages.

Commands

At this time the CLI has a few commands, the only mandatory field on these commands if required is the project name. these commands being:

  • symphony-bdk-cli --app which creates an extension app (React)
  • symphony-bdk-cli --app message-template Creates a notification in a existing extension app.
  • symphony-bdk-cli --bot which creates an bot app (Java)
  • symphony-bdk-cli --bot command-handler Creates a new Command handler for an existing bot
  • symphony-bdk-cli --bot message-template Creates Templates on a bot, and also creates a command handler to it if required.
  • symphony-bdk-cli --toolkit which launches the Symphony Component Library in your browser
  • --run this is a command to be appended with the above e.g: symphony-bdk-cli --app --run, if present it will not only have it bootstraped but also start it for you.
  • symphony-bdk-cli --check-deps An utility command, that checks all the required dependencies for you.
  • --gen-certs this is a utility command meant for rapidly generating the necessary rsa key pairs that are required in any project, it also creates a valid jwt token in the same process so you can start testing your certs on symphony right away

please note that these are development keys and should not be used in production, for production keys, you'll be likely given the proper keys.

Troubleshooting

  1. Im trying to create an extension app or bot but the cli fails, and it says that i dont have permission?

In that case, be sure that you have access to the symphony-bdk-ui-toolkit, symphony-bdk-mock-client, and symphony-bot-bdk projects on github, also be sure that you have properly added your symphony account ssh keys to github.