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

@akord/akord-cli

v1.3.4

Published

A command-line interface to interact with Akord

Downloads

138

Readme

akord-cli

A command-line interface to simply interact with Akord from the terminal.

The akord-cli package is a set of Akord commands for creating vaults, adding members, creating new stacks, etc.
The package uses Akord JS to create the encryption context and handle transaction formatting.
Each command is an interaction with the Akord Protocol.

Getting started

Installation

requires Node.js 16

yarn global add @akord/akord-cli

Usage

First configure the CLI with your Akord account

akord login <email>

Now let's create our first vault and upload our first file to a folder by following these few simple steps

akord vault:create "my first vault"
akord folder:create <vaultId> "my first folder"
akord stack:create <vaultId> --file-path "./image.jpeg" --parent-id <folderId>

Syncing storages can be done with a single command e.g.

akord sync s3://bucket_name akord://vault_id

or

akord sync some/path/to/files akord://vault_id

More storage synchronisation examples can be found here

Akord CLI Commands

     _      _                         _
    / \    | | __   ___    _ __    __| |
   / _ \   | |/ /  / _ \  | '__|  / _` |
  / ___ \  |   <  | (_) | | |    | (_| |
 /_/   \_\ |_|\_\  \___/  |_|     \__,_|

akord <command>

Commands:
  akord login <email>                       login & import the Akord wallet
  akord signup <email>                      signup & generate the Akord wallet

  akord diff <sourceUri> <targetUri>        check diff between local dir or S3 bucket and Akord vault
  akord sync <sourceUri> <targetUri>        sync local dir or S3 bucket with Akord vault
  akord deploy <sourcePath> [name]          deploy project from local dir 

  akord vault:create <name> [terms]         create a new vault
  akord vault:rename <vaultId> <name>       update vault name
  akord vault:archive <vaultId>             archive the vault
  akord vault:restore <vaultId>             restore the vault
  akord vault:get <vaultId>                 get vault by id
  akord vault:list                          list all user vaults

  akord manifest:generate                   generate a path manifest for the vault

  akord stack:create <vaultId>              create a new stack from a file path
  akord stack:import <vaultId> <fileTxId>   create a new stack from an existing arweave transaction
  akord stack:rename <stackId> <name>       rename the stack
  akord stack:upload-revision <stackId>     upload new file version to the stack
  akord stack:move <stackId> <parentId>     move the stack
  akord stack:revoke <stackId>              revoke the stack
  akord stack:restore <stackId>             restore the stack
  akord stack:delete <stackId>              delete the stack
  akord stack:get <stackId>                 get stack by id
  akord stack:list <vaultId>                list all stacks within the given
                                            vault
  akord stack:download <stackId>            download latest file stack version

  akord memo:create <vaultId> <message>     create a new memo

  akord folder:create <vaultId> <name>      create a new folder
  [parentId]
  akord folder:move <folderId> <parentId>   move the folder
  akord folder:rename <folderId> <name>     rename the folder
  akord folder:revoke <folderId>            revoke the folder
  akord folder:restore <folderId>           restore the folder
  akord folder:delete <folderId>            delete the folder
  akord folder:get <folderId>               get folder by id
  akord folder:list <vaultId>               list all folders within the given
                                            vault

  akord membership:invite <vaultId>         invite a new member to the vault
  <email>
  akord membership:accept <membershipId>    accept the invitation to the vault
  akord membership:reject <membershipId>    reject the invitation to the vault
                                            or leave the vault
  akord membership:revoke <membershipId>    revoke the membership
  akord membership:list <vaultId>           list all active members within the
                                            given vault

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]

Development

yarn install
yarn build
yarn local

Contributing

Please use semantic commit messages