Package NetActivity is a monitoring, upload and download applet for Cairo-Dock.
Improvements since original DropToShare version:
Not using temp files. Many new upload sites. Code simple and maintainable (400 lines for 18 backends).
xsel or xclip command for clipboard interaction when build without gtk.
Not implemented (yet):
Icon for the applet. More menu options. Save image copy (and display). Custom upload scripts.
const ( // EmblemAction is the position of the "upload in progress" emblem. EmblemAction = cdtype.EmblemTopRight // EmblemDownload is the position of the "download in progress" emblem. EmblemDownload = cdtype.EmblemTopLeft )
NewApplet creates a new applet instance.
Applet defines a dock applet.
DownloadVideo downloads the video from url.
Init load user configuration if needed and initialise applet.
UpToShareLastLink gets the link of the last item sent to a one-click hosting service.
UpToShareLinks gets all links of items sent to one-click hosting services.
UpToShareUploadString uploads data to a one-click site: file location or text.
UploadFiles uploads data to a one-click site: file location or text.