Giter Club home page Giter Club logo

puush-linux's Introduction

puush-linux

A Bash script for uploading files to puush.me from Linux. Many thanks to @Westie for his insights on puush's undocumented API :)

Using

You'll need to set up an environment variable, PUUSH_API_KEY. You can get this key from your puush client in Settings, or from puush.me. You can set the environment variable per-session with export PUUSH_API_KEY="apiKeyHere", or by putting that command in ~/.bashrc.

puush-linux's People

Contributors

blha303 avatar obskyr avatar bitdeli-chef avatar raphendyr avatar

Stargazers

 avatar Robert avatar Andres Fernando avatar Junicchi avatar [sCRiPTz-TEAM] avatar Alex avatar  avatar  avatar  avatar  avatar  avatar Tim Hagemann avatar Michael Hoang avatar Vas Kaloidis avatar darksider3 avatar Wesley LaFerriere avatar Harold Kim avatar Kurt Kartaltepe avatar  avatar Hugo Denizart avatar TJ Horner avatar Daemon+ avatar Winterbraid avatar  avatar Matheus Batista avatar David Weston avatar Michael Springer avatar Joseph avatar James Rowe avatar  avatar  avatar Mark Nguyen avatar

Watchers

Winterbraid avatar darksider3 avatar  avatar  avatar

puush-linux's Issues

Getting PUUSH API Key

Hey How do I get the API Key from PUUSH?

Also, I am going to try and write a front-end to this for Linux in Java (gonna start playing around with the Java screenshot packages and see where that takes me :-)

Missing `fi` on line 28/29

Hi,

just wanted to tell you, that you are missing something in you puush bash
script:

fi at line 28/29

Regards,
hanschl

Cannot upload the file

Hey, so I actually tried using your bash script to upload a file but I can't seem to get any decent results. I puushed a couple of image files in png and jpg format. I also tried a txt file. I get the curl upload interface and then it completes the upload with no other response.

From what I saw in the source code, it should print out the response but I don't see anything beyond the curl upload interface.

Moreover, when I check with puush.me's website, nothing was uploaded. Perhaps your script is broken?

Should correct the installation path

On all distributions local software (not installed trough package management) should be installed in prefix /usr/local. To not confuse nor miss direct unexperienced users readme should instruct to install command in /usr/local/bin.

Also you should note to add executable rights (chmod a+x /usr/local/bin/puush).

API documentation additions

It's worth noting that:

  • /api/up expects you to have a filename in the Content-Disposition header
  • if you don't, it returns -2,

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.