Giter Site home page Giter Site logo

olav-st / screencloud Goto Github PK

View Code? Open in Web Editor NEW
630.0 26.0 107.0 3.76 MB

Screenshot sharing application for Windows, Mac and Linux.

Home Page: http://screencloud.net

License: GNU General Public License v2.0

Objective-C 0.76% Shell 3.62% Python 0.44% C++ 82.68% C 1.03% Objective-C++ 0.45% CMake 9.62% Batchfile 0.36% JavaScript 1.04%
screencloud c-plus-plus screenshot cmake qt qt5 cross-platform

screencloud's Introduction

ScreenCloud Build Status ScreenCloud

This is the source code for the ScreenCloud client. ScreenCloud is an easy to use screenshot sharing tool that works on Windows, Mac and Linux. For more info, see: http://screencloud.net/

You can also upload to other services, including your own FTP server, Imgur, Dropbox and more through the use of plugins.

A screenshot of the client running on Ubuntu

Features

  • Open Source and cross-platform(Windows, Mac & Linux)
  • Fast and easy: Snap a photo, paste the link, done!
  • Plugin support, save to Dropbox, Imgur, etc.
  • Built in screenshot editor.

Compiling

ScreenCloud uses the CMake build system, start off by downloading the appropriate version for your OS from the CMake website or your distro's repositories. After installing CMake, choose the OS you're compiling on from the the list below:

Roadmap

Here's a quick list of features I've wanted to implement, but not gotten around to yet. Feel free to contribute to this list:

  • Translation support
  • Updating the wiki

screencloud's People

Contributors

alfredoramos avatar dequeues avatar excieve avatar lc-guy avatar msound avatar olav-st avatar probonopd avatar tomaskorbar avatar xmase avatar yarda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

screencloud's Issues

Icon in systray Ubuntu

Hi,
When I start screencloud, the icon doesn't show up in the systray. I'm on Ubuntu 13.10.
Screencloud is running though. If I try to start it again, it says that an instance is already running.

[Improvement] Put the direct uploaded file path for premium accounts

Hi @olav-st,

My main use of Screencloud is for capture my screen quickly and paste into developer chat tools, like Atlassian Hipchat or Campfire (Snakefire client on Ubuntu).

These chats always get the URL, and it contains an image file, the image is automatically rendered for the team into that chat.

But, as Screencloud, after upload the image, give me an indirect URL, I have to open the URL in the browser, then click into the image, then copy the URL to paste into other places.

My proposal is: for premium accounts, give the option (into Settings) to return the direct URL path to the uploaded image.

Invalid API Key for Imgur Upload

With ubuntu 13.04, after intalling screencloud and the imgur plugin, i get the following error message:

Imgur upload failed!
Error was: Failed to upload to Imgur. Error: Invalid API Key

On a side note: Downloading the plugin failed for a few days with a file not found error. But two days ago installing worked.

FTP stops working on Ubuntu - Can't change FTP settings.

Hi,

Been using the app with no issue for over 6 month, however for some unknown reason this week it's stopped uploading to FTP. See video I made demoing the issue.

http://img.base-dev.com/Kazam_screencast_00000.webm

In the video when I've open the preferences dialogue and then FTP not that you can tell I am hammering the keyboard trying to delete or change any of these options but it wont let me change the values...

Nothing has changed on the FTP server so not sure why it's not working, I deleted this user and created a new one which works in filezilla just to make sure it wasn't FTP but cant even change these values to test in screen cloud.

I'm running Ubuntu 13.10 which could be the cause, but I upgrade last Thursday from 13.04, the program ran fine for the first couple of days.

Any idea what might be going on?

  • Matt

Area selector doesn't work in Gnome Shell

Hi. The title pretty much says it all. I have installed the Appindicator support extension, so I have screencloud in my top bar. Capturing the whole screen and a single window works well, and both get a notification at the bottom, which is good. However, selecting an area to screenshot doesn't work. Sometimes the overlay flashes for a split second, but usually nothing happens at all.

1.1.3x86 slower than previews version

i just updated screencloud, and i want get back the older version.

the actual version is slowly responding, laggy or bugged i don't know.

when i use Shift+Alt+2 to take screen, it freeze to the message, during no time, i must use Ctrl+Alt+Supp to open the urgency page, and screencloud is responding. after this i can draw rectangle on screen, and i have to push multiple times Enter key before i get any response from screencloud.
it may happen that Enter key does nothing.

Imgur having issues

Hi,
I'm on latest git (fa02d5c) with latest plugins (removed and added again).

I just tried to upload something to imgur.
Result:

[INFO] "Uploading screenshot to 'imgur'. Size: 336168 bytes" 
[New Thread 0x7fffc3382700 (LWP 9432)]
Traceback (most recent call last):
  File "<string>", line 85, in upload
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/imgur/modules/pyimgur/__init__.py", line 1065, in refresh_access_token
    data_field=None)
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/imgur/modules/pyimgur/__init__.py", line 704, in _send_request
    result = request.send_request(url, **kwargs)
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/imgur/modules/pyimgur/request.py", line 95, in send_request
    error_msg = "Imgur ERROR message: %s" % content['error']
[WARN] "Failed to call upload() in ImgurUploader" 
KeyError: 'error'
[WARN] "Failed to call ImgurUploader.upload()
Traceback (most recent call last):
  File "<string>", line 85, in upload
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/imgur/modules/pyimgur/__init__.py", line 1065, in refresh_access_token
    data_field=None)
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/imgur/modules/pyimgur/__init__.py", line 704, in _send_request
    result = request.send_request(url, **kwargs)
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/imgur/modules/pyimgur/request.py", line 95, in send_request
    error_msg = "Imgur ERROR message: %s" % content['error']
KeyError: 'error'" 

Then I double clicked on the imgur plugin to edit its settings, result was

[WARN] "Failed to call showSettingsUI() in ImgurUploader"

in addition to the normal settings dialog.
I closed the plugin dialog with ok, and closed the screencloud settings dialog.
Then I tried another upload:

[INFO] "Uploading screenshot to 'imgur'. Size: 18584 bytes" 
[New Thread 0x7fffda36a700 (LWP 9466)]
Traceback (most recent call last):
  File "<string>", line 85, in upload
[WARN] "Failed to call upload() in ImgurUploader" 
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/imgur/modules/pyimgur/__init__.py", line 1065, in refresh_access_token
    data_field=None)
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/imgur/modules/pyimgur/__init__.py", line 704, in _send_request
    result = request.send_request(url, **kwargs)
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/imgur/modules/pyimgur/request.py", line 95, in send_request
    error_msg = "Imgur ERROR message: %s" % content['error']
KeyError: 'error'
[WARN] "Failed to call ImgurUploader.upload()
Traceback (most recent call last):
  File "<string>", line 85, in upload
" 

Then I opened the plugin settings again

[WARN] "Failed to call showSettingsUI() in ImgurUploader"

After switching to anonymous upload it works.
Switching back to my account fails again.
I then logged out and in again and suddenly it works again.

Apple Retina Display

Hello,

Screencloud got problems with capturing a screenshot on a MacbookPro with Retina display.

If I try to capture a Window the screenshot got the normal size (like there if there is no retina display) and not the correct resolution for the Retina display.

This was a try to make a screenshot from the OSX Terminal: http://bit.ly/1lO3EI5

Normally it should be looking like this (screenshot was made native with OSX):
bildschirmfoto 2014-01-12 um 00 32 25

New Feature: capture mouse cursor

It would be nice to capture the mouse cursor, and add a checkbox in the "Save Screenshot"-Dialog to have the option save with and without cursor.

Python plugin issues

Hi,

I'm currently on latest git (e41b644).

I click on "More services…", a window pops up loading the latest plugin infos from GitHub.
I choose these settings
2014-03-11-005914_313x372_scrot
and after confirming I get this
2014-03-11-005354_731x340_scrot

Both my python2 and python3 can import Crypto without any problems if I call them manually in a terminal.

[INFO] "Deleting /home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/dropbox" 
[WARN] "Failed to delete directory: /home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/dropbox" 
[INFO] "[1/4] Downloading archive for plugin from: https://raw.github.com/olav-st/screencloud-plugins/master/ftp/current.zip..." 
[INFO] "Checking https://raw.github.com/olav-st/screencloud-plugins/master/ftp/current.zip for redirect" 
[New Thread 0x7fffc0b3b700 (LWP 25292)]
[Thread 0x7fffc0b3b700 (LWP 25292) exited]
[New Thread 0x7fffc0b3b700 (LWP 25293)]
[INFO] "[2/4] File /tmp/current-current.zip downloaded." 
[INFO] "[3/4] Exctracting plugin archive /tmp/current-current.zip to /tmp/current-current" 
[INFO] "[4/4] Moving /tmp/current-current to plugin dir" 
[INFO] "Unloaded 3 plugin(s)" 
Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/sftp/modules/paramiko/__init__.py", line 65, in <module>
    from transport import SecurityOptions, Transport
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/sftp/modules/paramiko/transport.py", line 33, in <module>
    from paramiko import util
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/sftp/modules/paramiko/util.py", line 33, in <module>
    from paramiko.common import *
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/sftp/modules/paramiko/common.py", line 98, in <module>
    from Crypto import Random
ImportError: No module named Crypto
[WARN] "Error while parsing script file /home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/sftp/main.py" 
[Thread 0x7fffdbe0e700 (LWP 25274) exited]
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: cannot import name SFTPUploader
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'SFTPUploader' is not defined

Indicator Menu Unintentionally Showing Up in Screenshots

In Ubuntu 13.10 or 14.04 Alpha, you can reproduce this issue with the following these steps:

  1. Select the "Capture Selection" option from ScreenCloud's Indicator/Applet on the top panel of the Unity Desktop.

  2. Drag the selection so that the whole screen is selected (this is often necessary to screen-shot one monitor's screen in a dual monitor setup).

  3. Press the "Enter" key

The screen-shot will include a faded ScreenCloud-context-menu (of partial opacity) laying on top of what you were trying to cleanly capture.

You can see this in the following screen-shot:
http://neartalk.com/ss/2014-01-15_11:01:32.png

Major memory leaks

It seems that the Windows version is suffering from major memory leaks. Every taken screenshot adds about 10MB to memory usage, and it's never freed. Is there any chance you could look into it?

If that matters, my OS is Windows 7 x64

[Proposal] Ask For Filename Before Upload

I'm glad this project went open source, hopefully people help out. I'm almost exclusively a PHP developer, else I'd definitely chip in.

I was what your thoughts would be on added a feature that you open a dialog box right before a screenshot uploads to set the filename.

The website and pomf.se

Hi! I really like this program, but there is one thing that I would ask you to change on your website. When you take a screenshot and open the link, you immediately see a quite "bloated" page. Could you please just make it spit out the link to the picture source, with only the picture and nothing else?

It would also be really awesome if you could add support to upload to pomf.se (http://pomf.se)

-adrian20038

Question: Indicator icon

Can the icon for the indicator icon be changed by an icon theme? Where is it stored on Ubuntu?

ScreenCloud upload failed

screenshot from 2014-01-30 19 36 44

I have this problem... when ever I take a screenshot it can't be uploaded, I get this error... Any idea?

File permissions not set for SFTP uploader.

The SFTP uploader uses a chmod command. This requires opening a different session, in my simple setup (using this) however that does not seem to work. The result is that files are uploaded with mode 000, where 644 is desired, without any errors being displayed.

The libssh2_sftp subset features these operations by setting a files attributes with fsetstat or fstat_ex. An alternative would be to set the mode immediately when opening the new file using open. In screencloud/src/3rdparty/PJSSH.cpp:180

Support for text uploading

First of all, thank you very much for this software, it is really amazing and something I've been looking for in Linux for YEARS.

Sharex
http://getsharex.com/
was honestly my favorite program in Windows.

It has a text uploading feature I miss a lot in ScreenCloud.
Much like an image, you press a shotcut and depending on the content of the shortcut (if it's a file or a text) it uploads to a file host or text host like paste2, pastebin, etc.

Is this something you think is in the scope of this program?
Thanks.

FTP selection between active and passive

The title say's it all. Sometimes on public network's I'm not able to upload any pictures because of the passive mode. If we could change this, it will be very useful.

13.10 Repositories

Can we get this awesome application into the Ubuntu 13.10 repositories?

Missing save locations on windows?

I'm running the latest windows client for screencloud and i don't seem to have the ability to save to dropbox, imgur or ubuntu one like i seem to see in screenshots of the linux versions.

Is this a bug or just functionality that hasn't been ported yet?

I can't even install it.

Linux 3.8.0-31-generic #46-Ubuntu SMP Tue Sep 10 19:56:49 UTC 2013 i686 i686 i686 GNU/Linux

$ sudo dpkg -i screencloud_1.1.2_i386.deb
Selecting previously unselected package screencloud.
(Reading database ... 469053 files and directories currently installed.)
Unpacking screencloud (from screencloud_1.1.2_i386.deb) ...
dpkg: dependency problems prevent configuration of screencloud:
screencloud depends on libqtsingleapplication; however:
Package libqtsingleapplication is not installed.
screencloud depends on libqxt-gui0; however:
Package libqxt-gui0 is not installed.
screencloud depends on libquazip0; however:
Package libquazip0 is not installed.
screencloud depends on libqtscript4-qtbindings; however:
Package libqtscript4-qtbindings is not installed.

dpkg: error processing screencloud (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
screencloud

Can't figure out where libqtsingleapplication should be in repos.
Next question is how to delete an account? Even video on the home page doesn't play.

Random number (or letter) generation for file name format

I'm not quite sure if the full options for file names are listed anywhere, nowhere I saw anyway, but the topic suggestion is in the interest of privacy for private hosted images. For me I usually use the yyMMddhhmmss format, making guessing a file name not all that easy for some just curious. However if someone were more interested they could easily just setup a small script to try and GET request ever increasing seconds, minutes, hours, days, etc and collect all your future (and past if they cared to do that) images. I propose some random generation option for the file naming format.

As an example of my above idea I'd use something like yyMMddhhmmss_rnd would end up 131018032250_5 for one and 131018032250_9 for the next one, that example would only happen if you somehow took two screenshots at the same second, not very likely. Making the option "stack" would be good too. For example just one"rnd" in the format produces one random number, or letter if you want, to add wherever the users puts it, but if you did "rndrnd" it would produce two, and so on.

Now obviously all this isn't needed if you are just careful not to take a screenshot of anything you wouldn't want found, or to just make sure to delete it. But sadly we are prone to forgetting things. If anything above was unclear or requires more detail I'm happy to oblige to try and fix it.

WIN7 64bit: screenshots are made, but all have 0kB

Hi,
I use WIN7 64bit. Screencloud works, makes screenshots, which I have connected and upload to Dropbox, but the link to the screenshot has always 0 kB.
Example:
https://db.tt/x6Byb2bW

A reason might be, that I cannot install/run Screencloud at Windows 7 prof. 64 bit "as an admin"??

Trying this from another forums post:
'ScreenCloud.exe 1> output.txt 2>&1'

Result: "screencloud.exe not found" - I work with WIN7 as a normal user, not as admin.
Normally programms have an option "install as admin" - but ScreenCloud unfortunately not.

Sometimes screenshot fails to upload.

    Script threw an uncaught exception while looking for upload function: SyntaxError: JSON.parse
    Line number: 484

After this error ScreenCloud is getting stuck on upload until program restart.

  • Version: 1.1.0
  • Image service: imgur.com
  • OS: Ubuntu 13.10

Can't change filename of the screenshot while savng

For all the options (ScreenCloud, File, FTP, SFTP) editing filename is impossible. It can be cut, pasted, but does not allow input inside the text field.

OS: Ubuntu 12.04 LTS
I have set up screencloud from the repo.

SFTP is broken

No matter what I try. Screencloud always fails to establish an SFTP session. I checked with wireshark and it doesn't even open a TCP connection.

Tried it on two machines with complete different software configurations and checked all configs a hundred times.

OS: Windows XP and Win 7 (64bit)
Version: 1.1.0

Autodelete

A timer to delete images. Would be nice to keep my dropbox/imgur accounts clean.

Screencloud not opening in Windows 7

I tried checking the Windows event logs, but didn't see anything. When I first installed Screencloud it did the same thing, and I forgot about it until it mysteriously started working again. Now, it is back to not starting when I try to launch it. I tried launching it from the command line, but didn't see any errors.

Problem with 3 Monitors

Hello,

i can only make Screenshots on the Primary Monitor, using Windows 7. Is that a Bug or doesent work Screencloud with 3 Monitors?

Greetings
Henry

Memory Leaking on "Capture Selection"

Each time (regardless if you complete the screenshot or not) you take a screenshot, it will allocate approx 10MB and never free it.

Windows 8 x86_64

Related to #28

Missing screencloud.net API key(s)

Hi there,

today I wanted to compile screencloud from this git repository, however, cmake generated the following warnings:

-- Generated random encryption keys. (key = NOaQP, iv = bO5tm)
CMake Warning at CMakeLists.txt:46 (MESSAGE):
  ScreenCloud API keys not set, you won't be able to use the client with
  screencloud.net.  (You'll still be able to compile)


CMake Warning at CMakeLists.txt:50 (MESSAGE):
  Some API keys are not set.  You probably won't be able to use all plugins.
  (You'll still be able to compile)

Better error handling in plugins

E.g. with the SFTP plugin talking to an FTP server this is the result:

Traceback (most recent call last):
  File "<string>", line 102, in upload
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/sftp/modules/paramiko/transport.py", line 1007, in connect
    self.start_client()
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/sftp/modules/paramiko/transport.py", line 466, in start_client
    raise e
paramiko.SSHException: Error reading SSH protocol banner

There should be some popup notification instead of just showing the stack trace and the user probably won't know what's gonig on.

Multi-monitor support

Current version doesn't support multi-monitors, screenshot can be taken only from primary...

Icon in Unity systray area doesn't work well with Radiance theme

Please look into supporting light theme such as radiance. I am using Ubuntu 13.04 with Unity and the icon in systray is almost invisible. Here is a screenshould demonstrating the issue. If you look closely you will see the screencloud icon just left of the ubuntu one "cloud" icon.

screencloud

As a workaround, I was trying to find the icon so that I could invert its color (I did this with steam_tray_mono.png for example). However, I couldn't locate the icon that screencloud is using, even when using dpkg -L screencloud. It seems to just list a bunch of hicolor icons, none of which are the monochrome icon used in systray.

Please add support for both light and dark themes. In the meantime, if you can point me to the location of this icon so that I can invert it locally that would be appreciated. Thanks!

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.