PyShare (imageshack/rapidshare/twitpic)

Nautilus Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

16
6.1
Description:

This scripts allows you to easily upload images, screenshots, or other files and gives you links for: IM, Forums, HTML, Direct, Forums Thumbnail, HTML Thumbnail and Twitter(rapidshare gives only IM Forums and HTML)


INSTALLATION:
1. unpack folder and run install.sh (It will link some of the files from unpacked folder to nautilius scripts).
2. install python-pycurl (if not already installed)
3. install scrot (only if you want to send screenshots, not needed for sending files)
For best lossless screenshot compression install also optipng and set 'filesize' to 0 in configuration dialog(not advised on slow computer with fast connection, strongly advised on strong computer with slow connection)

If above don't work try restarting nautilius

UPDATING:
a. overwrite old folder content with new one
b. unpack folder anywhere and run overwrite.sh (It will overwrite link in nautilius scripts folder)


DESCRIPTION:
sendFiles - sends selected image(s) to your preferred uploader(imageshack ot twitpic) and other files to rapidhshare - if no file is selected shows empty window on which you can drop files
sendDesktopScreenshot - takes screenshot of desktop and send it to your preferred uploader(imageshack ot twitpic)
sendWindowScreenshot - takes screenshot of clicked window or takes screenshot of selected area(note: first run this script, then click on window/select area)
PyShare_GTK - shows PyShare window. You can drop images on it, or take screenshot from there.

EXAMPLES OF USE:
http://www.youtube.com/watch?v=b9Qz7WBx310
http://www.youtube.com/watch?v=eupQh9ppcQI
http://www.youtube.com/watch?v=0K_0RrzszDo


Errors are logged to ~/.pyshare/errorLog
bugtracker: https://bugs.launchpad.net/pyshare

TOS:
Imageshack, Twitpic and Rapidshare are registered trademarks. You have to agree to their TOS http://reg.imageshack.us/content.php?page=rules http://twitpic.com/terms.do http://rapidshare.com/agb.html to use their services.

IF YOU WANT TO HELP:
-donate
-help with translations: https://translations.launchpad.net/pyshare/
-help with artwork: http://naicik.blogspot.com/2010/02/pyshare-needs-you.html
Last changelog:

10 years ago

v0.6.2
-new translations
-fix saving credentials multiple times in keyring

v0.6.1
-fix crash when translations are not found
-add IT and SV translations from launchpad
-minor refactor

v0.6.0
-added uploading to Twitpic (requires account - see settings>accounts)
-fixed rapidshare uploading
-uploading as user to imageshack now possible (see settings>accounts)
-added plugin API
-added possibility to choose preferred uploader for filetype

changelog archive: http://ee.o12.pl/kacprzak/download/gnome-look/changelog.txt
more at http://bazaar.launchpad.net/~pyshareteam/pyshare/main/changes

sharq

12 years ago

Thank you, for now it works as it should, i'll check it later, when imageshack server may be more loaded.

Report

derma

12 years ago

You did what you promis'd!!!



Bravo!!!!

Report

Shadestealer

12 years ago

First of all, I'm really enjoying your script and I wish I could help but my knowledge about gtk could be rated below zero, so I can only give you some ideas.

- Make the GUI with fixed height (say 500-600px or a number that you find appropriate) and a scrollbar. Right now when you upload a couple of images at the same time the window becomes higher than the screen and it's a little uncomfortable [see screenshot below]*.

- Add a "Copy all direct links" and "Copy all indirect links" buttons on the bottom when uploading multiple images (each link on a new line would be awesome).

I realize I might be asking for too much, but if you have the time and will to do it, I think it would be a nice improvement on the already awesome script.

Thank you :)


*Screenshot: http://img264.imageshack.us/img264/3206/script.png

Report

C

Nait

12 years ago

Implemented. You can change width and hight by changing

prefferedWidth = 400
prefferedHeight = 600

in script(lines 29,30).

Report

C

Nait

12 years ago

Thanks for your comment. I knew about height issue, but I had some problems with gtk,and as I used pivot for scripting my screen had 1920 height so I only added it to my TODO list:D I'll implement both your ideas. For now you can probably drag your window with alt.

Report

derma

12 years ago

Here (Ubuntu Intrepid 8.10) works perfect!!!



(Waitin' for the multi-sending release)

Report

C

Nait

12 years ago

You can send multiple files, but You will get multiple windows with links. I have to learn GTK a bit to show them all in one window xD

Report

derma

12 years ago

I know ('cos I read your note) it's possible uploading multiple images... I mean a version with a Zenity interface/window in which the uploaded images are listed.


Keep up the work

Report

C

Nait

12 years ago

it's ready...kinda...I have a problem with showing info in GTK, but at the moment I can show multiple links and progresbar. However you need to trippleclick on link to select it, so I prefer to make it better before release. Stay tuned:) It should be ready tommorow.

Report

C

Nait

12 years ago

Uploaded new version, I hope it will work for everyone.

Report

Pelo

12 years ago

I instaled the dependency, I copied the script to the proper location ( this isn'T my first nautilus script)
I pic an image , right click > scripts > sento...
I see a spike in my upload graph but I don'T get a dialog box with the url nor is it copied to the clipboard for me to paste.
I might be doing something wrong but I realy can'T see what
any suggestions ?

Report

C

Nait

12 years ago

I'll check it.

Report

C

Nait

12 years ago

Pelo could you check it now? If it give you an error let me know. If not also let me know:) (No massage is also a massage). Does any image work? If only some fails, could you send me one of them? Thanks for your help.

Report

Pelo

12 years ago

a reboot seems to have taken care of the issue. I guess simply restarting nautilus would have done the same.
Thanks for the good work

Report

Shadestealer

12 years ago

I kind of dislike imageshack but I downloaded the script to test it and it's working perfectly for me (running Ubuntu Jaunty [9.04] Alpha). No idea how to help you though :/

Report

Mar4

12 years ago

cool idea ;))

Report

10 years ago

v0.6.2
-new translations
-fix saving credentials multiple times in keyring

v0.6.1
-fix crash when translations are not found
-add IT and SV translations from launchpad
-minor refactor

v0.6.0
-added uploading to Twitpic (requires account - see settings>accounts)
-fixed rapidshare uploading
-uploading as user to imageshack now possible (see settings>accounts)
-added plugin API
-added possibility to choose preferred uploader for filetype

changelog archive: http://ee.o12.pl/kacprzak/download/gnome-look/changelog.txt
more at http://bazaar.launchpad.net/~pyshareteam/pyshare/main/changes

12345678910
13
product-maker I4C Feb 19 2013 3 bad
product-maker mainstreamdesign Apr 19 2011 9 excellent
product-maker Dicson12 Mar 15 2011 9 excellent
product-maker legluondunet Feb 14 2011 9 excellent
Be the first to comment
zolajriggs
Mar 03 2020
loissmoon
Dec 30 2019
webmastir
Oct 11 2010
piedro
Sep 11 2010
vagrale13
Jan 26 2010
Vecna
Jan 14 2010
themis
Nov 29 2009
MastroPino
Nov 19 2009
nicolaide
Jun 15 2009
didisoft
May 02 2009
Spox5
May 02 2009
microscopuce
May 02 2009
Rajca
Mar 22 2009
franek
Mar 18 2009
Dicson12
Mar 17 2009
Dav87
Mar 16 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.6.2
updated Jun 02 2011
added Mar 13 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 3
System Tags addon