|Wazakindjes 2e52a7b203 Fixed 100% CPU usage cuz muh fucking indentation||5 years ago|
|icinz||5 years ago|
|.gitignore||5 years ago|
|LICENSE||5 years ago|
|README.md||5 years ago|
|com.jemoeder.lief.hurr.droppert.plist||5 years ago|
|hurr.conf.example||5 years ago|
|hurr.py||5 years ago|
|load||5 years ago|
|reload||5 years ago|
|unload||5 years ago|
This shit is a premium self-hosted image uploader thingy based on SFTP, written for OSX. It may or may not work with other OSes (cuz I've never tested it l m a o), provided Growl is available. I don't like the OSX Notification Center bullshit, so Growl all the way yo. It relies on the built-in OSX Cmd+Shift+
3/4 key combo for scrots as that dumps them on your Desktop right away. You could probably use different software for scr0tting and run this skrip to upload that shit to your own server. Your own server must be *NIX as it runs a few specific commands that e.g. Windongs won't have.
It connects to yo server over SSH and dumps the scrot, then copies a URL to ur clipb0ardins. =] You can monitor up to 3 directories (fully configurable), which you could use for the default scrot location (normally
~/Desktop), some remote/networked dir and Dropbox/Camera Uploads or some shit. It werks by checking file differences in those dirs and uploads everything that matches the regex in the config.
Furthermore, it supports archiving your pics so the main directory doesn't get cluttered af.
Be sure to install the following libs (either
pip install or
easy_install should werks):
Also, it requires the following:
hurr.conf and fire up een editor. All the options are explained in there so git to reading fam.
After that change the contents of the
com.jemoeder.lief.hurr.droppert.plist file, namely the line that says
<string>/Users/[user]/[dir]/hurr.py</string>. Then just copy it to
~/Library/LaunchAgents and run
./load. This makes sure it gets restarted after you reboot or logout and in again. Also it has a keepalive flag so if it died it'll be restarted. ;3
./unload that shit and do
./hurr.py in a terminal, Pythinz will most likely shit out some errors that will give you an idea of wats goin on. =]