flameshot
flameshot copied to clipboard
Uploading to sites other than Imgur?
Would it be possible to add a feture to allow uploaders to sites other than imgur, or use shareX custom uploaders?
Like SFTP ?
Compatibility with their custom uploaders would be nice. Thanks for letting me know about them!
The simplest option would be to dump the filename to a pre-configured destination on save, and then print the path to stdout without prompting the save dialog. That way you can pass the file to any uploader you want. This allows you to do other things such as custom file names without too much integrated support. You miss out on using the upload button, but this might be fine since it's a poweruser thing.
This would allow me to use flameshot as a drop-in replacement for scrot in this script I'm using right now: https://gist.github.com/jb55/4d60e7fa518cd7816d1ba653fe8d9f4a
I'm thinking something like
flameshot gui --save-path=$HOME/img/ss --format='%F-fs' --no-save-dialog | xargs my-uploader
where --no-save-dialog
could be implied by the format/save-path option?
For me (in China) imgur.com is blocked unless we connect through a proxy, but even when I set a proxy in the "System Settings Module" that setting doesn't appear to be picked up by flameshot as in both cases I get server replied: Unknown error
. For people connecting through tor
this would also be an issue.
Something along the lines of @jb55 --no-save-dialog would work... but that requires we have already though about the next step (destination) before launching flameshot.
Maybe a handful of custom buttons that called their own shell scripts would be an easy way to go, and very flexible for all sorts of outputs, without requiring the user to setup a separate shortcut for each output mechanism.
some custom uploaders would be nice. i move from windows to linux and need something along the lines of sharex. flameshot is very close at this point. i think shutter has extensible uploaders but i havent used it and am not really sure how its implemented.
some custom uploaders would be nice. i move from windows to linux and need something along the lines of sharex. flameshot is very close at this point. i think shutter has extensible uploaders but i havent used it and am not really sure how its implemented.
shutter is very strange I never got a custom uploader to work there and I also didn't find any solutions online, very sad.
It would be so nice to have all the pomf sites for uploading and custom sftp support and stuff, I mean lupoDharkael isn't a big company not listening to their users he will probably do it one day and it will be very nice if it's done, this software will be better with time I know it.
shutter is very strange
shutter is very slow and buggy :)
I never got a custom uploader to work
you can, if learn some Perl, I wrote one for herself, but overall do not like shutter.
Compatibility with their custom uploaders would be nice
It would be great! Atm, i'm forced to slightly patch upload url, and mimic Imgur API for that, but custom uploaders or compatibility with pomf clones is highly appreciated.
By the way, Lightscreen already support pomf. I see their code pieces was used in this project. @lupoDharkael Is there a chance that work on the project will be resumed?
For those who can't wait official support, linux geeks and just VPS owners, with this PR https://github.com/lupoDharkael/flameshot/pull/688 you can use Flameshot with self hosted software. Nothing special, php+nginx+free space. You can find example server code in comments to above PR.
In this case Flameshot must be configured as below:
[General]
uploadUrl=https://you.vps.host/upload.php
Or just configure it from command line:
flameshot config -u https://you.vps.host/upload.php
NOTE: Second is does not work on Windows
Please track this RFC for future discussion on this topic: https://github.com/flameshot-org/flameshot/pull/955
I made a python script using pyinotify. The script receives a notification every time a new file is created in a specific folder (which was set as save folder of flameshot) The same script uses python-telegram-bot to upload and send me the image
This has become vastly more important with Imgur's decision to remove "old, unused, and inactive content that is not tied to a user account", which would seem to include screenshots uploaded by flameshot.
I am just a user now (not maintainer) but my vote would be to just rip out the uploading system since its about to break w/ Imgur. I think including an uploader was a mistake and scope creep.