GithubHelp home page GithubHelp logo

auspicus / probo-uploader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from proboci/probo-uploader

0.0 2.0 0.0 32 KB

A CLI client for uploading files to the probo-asset-receiver.

JavaScript 100.00%

probo-uploader's Introduction

Probo Uploader

The probo uploader is a command line client for uploading files to Probo.CI or any server using the Probo Asset Receiver.

The idea with probo-uploader is to provide a simple and secure way to upload assets to a receiver from wherever they are generated. To this end the uploads are secured using a token that can be deleted at any time were the upload token to fall into enemy hands. Note that this client performs uploads and is incapable of downloading the files again. On probo.ci direct downloads are publicly available.

For use with Probo.CI you first need to go to your project page and generate an upload token. If you are using the asset receiver independently see below.

Installation

Installation is easy using npm:

sudo npm install -g probo-uploader

Usage

Uploading a file from disk

If you are uploading a file from disk you can specify the path to the file as a command line argument.

probo-uploader --token=[your token] some-file.txt

Uploading a file stream

If you are creating a mysqldump or similar it is possible to stream that file directly to the asset receiver.

mysqldump mydb | probo-uploader --token=[your token] --name=dev.sql

Uploading a file stream and monitoring progress

If you want to keep track of the progress of your upload you can use the pipeview command.

Installing pipeview on MacOSX via Homebrew

brew install pv

Using pipeview

pv [database file] | probo-uploader --token=[your token] --name=[filename on probo]

Uploading to your own Probo Asset Receiver

First you'll need to create an upload token either manually or from another system. A set of curl steps for performing this action is described in the documentation for the Probo Asset Receiver.

probo-uploader --token=bar --host=http://localhost:3000 somefile.txt

Exploring options

Discover the options with -h:

probo-uploader -h

probo-uploader's People

Contributors

auspicus avatar tizzo avatar zanchin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.