marnanel: (Default)
[personal profile] marnanel
I have had this sitting half-written in my projects directory for far too long, so I present: Imgur Integration version 0.20. is a website which allows you to host arbitrary images without creating an account. This program includes a DBus service which allows posting of images to, a command-line interface to the DBus service, and an Eye of Gnome plugin to do the same. It is not an official client, but I have talked to the imgur admins and they are happy about its existence.

So when you open a picture, you have a menu option that uploads it and opens a browser at the right page, with no configuration, thus:


You have to turn on the plugin in eog after installation (Edit > Preferences > Plugins > Post to If I package this, I may make it turn on automatically, since it's a little hard to find this.

As originally conceived, it would have also allowed you to use libsocialweb to tweet/dent the resulting URL. I took this out for now because libsocialweb also has API to post pictures, and I wasn't sure how best to do it. There is still a rather useless dependency on libsocialweb. Sorry about that.

eog seems not to look in /usr/local/share/eog/plugins, only /usr/share/eog/plugins. You may therefore have to set --prefix appropriately, or simply copy the files from /usr/local to /usr by hand after installation. Sorry about that, too.

There was a partially-written libsharing plugin for Maemo which used the imgur DBus service, but it's not finished. It could be finished, if people would like it.

Other thoughts on how the program could develop are in the README. You can download the program or look at the source control. This is quite a rough draft. Patches and suggestions are, as always, welcome.

terms of use problems

Date: 2011-01-16 07:06 pm (UTC)
From: (Anonymous)
Their terms of use say "don't upload copyrighted material", which means that every image on their site violates their terms of use. I'm sure that they were thinking "don't upload material that might get us in trouble", but TOU's shouldn't be so sloppy.


Date: 2011-01-16 07:19 pm (UTC)
From: [identity profile]
Two things:

* I, for one, would *love* to have this as a Maemo sharing plugin. Hassle-free uploading of screenshots, yay! I was actually looking for this a few days ago, was surprised not find anything, ended up using sharing-cli to scp the screenshot to my own server.

* I'd love a standalone command-line app that doesn't rely on D-Bus.

Re: Awesome!

Date: 2011-01-27 07:11 pm (UTC)
From: [identity profile]
No dependency on D-Bus makes it simpler to use. For example, I can git clone the repository, run the usual ./ && make, but when I attempt to run src/cmd/imgur filename.png, I get

"error The name com.imgur was not provided by any .service files"

I've an aversion to running 'sudo make install'. All the software I use either comes from debs, or runs from the source checkout. Partially it's an aversion from the time I thought it would be fun to sudo make install a newer libcairo, which ended up in gdm mysteriously segfaulting a year later, after an apt-get dist-upgrade, when /usr/local/lib/libcairo was being picked up in place of a newer system-wide /usr/lib/libcairo. Partially it's just a desire for cleanliness.

Also, I wonder what happens when I ssh to a server and try to run an application that relies on D-Bus. Will the D-Bus daemon be started automatically for me? Will the right service be started? Will those die cleanly when my SSH session terminates?


Date: 2011-09-28 07:41 am (UTC)
From: (Anonymous)
4g0Hpu Interesting, but still I would like to know more about it. Liked the article:D


Date: 2011-09-29 11:20 am (UTC)
From: (Anonymous)
wMBg2m I must admit, the webmaster is a cool guy..!


Date: 2011-01-18 03:20 pm (UTC)
From: (Anonymous)

any chances that someone is creating a DEB file for this plugin in the near future ?

Does this page have a RSS ?


Date: 2011-09-28 05:34 am (UTC)
From: (Anonymous)
9TuSIh Hello! How do you feel about young composers?!...


Date: 2011-09-29 12:22 am (UTC)
From: (Anonymous)
1NRMGi Thank you very much! I took it for myself too. Will be useful!!...


Date: 2011-09-29 12:46 pm (UTC)
From: (Anonymous)
HZ4oWD Is anybody strong in radio here? We need a colleague who would tell us briefly about the transistor T2. I hope there are radio amateurs here. If it`s not on the subject at all, then I`m sorry. I have to write because I have no choice. PS: if the spelling is not right then also I'm sorry, I'm just 13 years old!...


Date: 2011-09-29 10:08 pm (UTC)
From: (Anonymous)
Qng4uG I am getting married on the 15th of November. Congratulate me! Then will be here rarely!...

Hi there!

Date: 2012-01-29 06:10 am (UTC)
From: (Anonymous)
I do not even know with strong your blog greatly that helped me! God bless you “The fear of death follows from the fear of life. A man who lives fully is prepared to die at any time.” - Mark Twain


marnanel: (Default)

October 2017

15 161718192021

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 22nd, 2017 10:53 pm
Powered by Dreamwidth Studios