ShareX/ShareX — pull request #85 by BallisticLingonberries (2014-03-27 03:18:20+00:00)
Title: Pushbullet Integration (Proof of Concept)

Hey there ShareX team, I love this application and the progress it's made (I've been using it for about a year and a half now :P). You get a thumbs up :+1: from me :-).

There is another great service called Pushbullet (https://pushbullet.com), which is allows for easy "pushing" (sending) files and text between devices that you own. It has an API and I was able to add it to ShareX as a TextUploader (though it should be added as much more if possible). I am incredibly inexperienced when it comes to adding my own code to others' projects, and even more inexperienced when it comes to open-source projects and version control. I tried my hardest to make my additions as consistent with the rest of ShareX as I could.

I am currently in community college majoring in computer science so forgive me if my coding conventions are not up to par yet.

I just thought I'd share what I have (it does work), even though I'm sure it is inefficient in some (many?) ways. But as the title suggests this is just a proof of concept of sorts.

If you are interested and can give me some advice on how to go about doing it, I can implement it to be an OmniUploader (for all types, be it URLs, text, pictures, files, etc.) for ShareX. I would just need a little push in the right direction (because surely I wouldn't want to copy the same class and just paste it 4 times for each type of Uploader xD).

Sorry if I am a bit noobish, but I appreciate your time and consideration :-).

A few things I know could be improved:
*Instead of having the device to push to be on the Pushbullet tab page, have an option to have it pop up each time something is "shared" to Pushbullet
*Instead of having Pushbullet be an item on every uploader tab page (text, files, etc.), it would exist in its own section ("OmniUploader")
*Have a link to where people can go to get their API key (https://pushbullet.com/account) be displayed on the tab page

Have a great day!

Karl