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

pkgcloud-sync-cli

v1.0.0

Published

A command line interface for syncing cloud storage

Downloads

26

Readme

pkgcloud-sync-cli

A command line to to synchronize two cloud storage containers.

Supported Providers

  • Amazon AWS Simple Storage Service (s3) amazon
  • HP Cloud hp
  • Openstack Swift openstack
  • Rackspace Cloud Files rackspace

Basic Usage

pkgcloud-sync --source-type rackspace --source-region dfw --source-key <rackspace-username> --source-secret <rackspace-api-key> --destination-type rackspace --destination-region iad --destination-key <rackspace-username> --destination-secret <rackspace-api-key> --container my-container

This will sync all of the contents of container my-container from the DFW region to the IAD region for Rackspace. Subsequent executions of the sync will validate contents before uploading, thus saving significant time.

Options

  • source-type The provider for the source container
  • source-region A region for the source container, optional (based on provider)
  • source-key Identifier for the source container credentials
    • For Amazon, this is your access key
    • For Openstack, Rackspace, and HP Cloud provide your username
    • For Google, this is your project ID
  • source-secret Your secret for your providers credentials
    • For Amazon, this is your secret access key
    • For Openstack and HP Cloud this is your password
    • For Rackspace, this is your API Key
    • For Google, this is the path to your JSON Key file
  • destination-type The provider for the destination container
  • destination-region A region for the destination container, optional (based on provider)
  • destination-key Identifier for the destination container credentials
    • For Amazon, this is your access key
    • For Openstack, Rackspace, and HP Cloud provide your username
    • For Google, this is your project ID
  • destination-secret Your secret for your providers credentials
    • For Amazon, this is your secret access key
    • For Openstack and HP Cloud this is your password
    • For Rackspace, this is your API Key
    • For Google, this is the path to your JSON Key file
  • container The container to sync from the source
  • container-suffix an optional container suffix for the destination container. Some providers require unique names, so this allows you to differentiate.

It is strongly encouraged to run this from either the source or destination region.

Unsupported Providers

The following providers are unsupported at this time:

  • Google Cloud Storage google

The Google Cloud Storage provider is somewhat functional, but is not yet fully tested. See pkgcloud#399 for more information.