-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Open-PC.com   
Apps
Groups
Knowledge Base
Events
Forum
People
Jobs
Register
Login

-
- Content .- Fans (2) .- Knowledge Base  . 

Danbooru Client

   0.6  

KDE Graphic Tool

Danbooru Client
zoom


Danbooru Client
zoom


Homepage:  Link
Depends on:  PyKDE/PyQt
Downloads:  159
Submitted:  Oct 25 2009
Updated:  Jan 6 2010
Score: 
score67%67%score
 67% good
bad   good

Description:

Danbooru Client is an application to access Danbooru-based image boards (http://en.wikipedia.org/wiki/Imageboard#Danbooru-style_boards). Those boards offer a REST and POST API which is used by this program.

Features:

- Connect to any Danbooru board (three predefined)
- Download up to 100 images with selectable tags;
- Repeat query over mulitple pages;
- Download or view images with the KDE preferred image viewer;
- Download pools (on boards that support it);
- Tag semantically the images using Nepomuk.

Requirements:

- PyQt (at least version 4.5)
- PyKDE4 (tested with PyKDE 4.3 and 4.4)
- (optional) Nepomuk
- Python (at least version 2.5)

Installation:

Although this is a PyKDE4 application, it uses CMake to do its work. So this means that you\'ll need a working compiler and the KDE headers installed (even though they won\'t be even touched).
Then, follow the steps:

- unpack
- cd to the source directory
- mkdir build; cd build
- cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ../
- make
- make install as root (or via sudo)

Known issues:

- Empty cells appear if you don\'t fill all the rows
- Danbooru API wrapper is not complete
- Painting issues with recent KDE SC versions (4.4 Beta 2+) - workaround: hover the mouse pointer over the thumbnails
- When getting pools, only the first page of pools is retrieved
- When downloading pool posts, "More results" button will not give the expected results

Future plans:

- Fix pool downloads
- Work around pool downloads on certain boards
- KWallet support for username/password

If you have specific suggestions, let me know.

I have been programming for a while, but this is my first proper GUI and KDE application. Comments are welcome.




Changelog:

0.6
- Switched API from JSON to XML (better compatibility)
- Support for pools (only the first page at the moment) - notice that it will not work with moe.imouto.org as they don't implement the API properly
- Tag blacklists now are also used to filter out posts, i.e. if tag FOO is blacklisted, posts with tag FOO will not be downloaded

0.5.1
- Fetch post dialog reworked (please give feedback)
- Addition of default rating: now you can configure the default rating for fetching posts

0.5
- Major code refactoring
- Support for pagination: the same query can be spread across multiple pages (like browsing the actual image board)
- Support for translations: if you are a translator, you can find the .pot file in the po directory of the archive. Please send me translations, and I'll make them available.

0.4.1
- Fix a bug that completely crippled showing thumbnails
- Minor code optimization

0.4
- Batch download (asynchronous)
- Fetching posts is now asynchronous as well
- Fixed an installation problem (the logo would get installed in the wrong location)
- Support fetching by rating (Safe, Questionable or Explicit)

0.2
- Download of the thumbnails is asynchronous (but queued)
- Internal adjustments to API wrapper
- Minor bugs fized

0.1
First public release.




LicenseGPL
Source(Source file)
send to a friend
subscription
other apps from einar77

-

 AWESOME

 
 by evilkastel on: Nov 9 2009
 

This app is great. Thanks for making it for all of us, anime fans.


reply to this

-

 -fvisibility=hidden

 
 by Zorael on: Jan 2 2010
 

I'm trying to compile this on a machine running Kubuntu 9.10 with KDE SC 4.4b2 packages from ppas, and I get the following error: http://pastebin.ubuntu.com/350454

Is there a different solution than recompiling Qt4 myself with the mentioned flag?


reply to this

-

 Re: -fvisibility=hidden

 
 by einar77 on: Jan 2 2010
 

Indeed there is.

First of all, copy the "danbooru" source folder to your python site-packages dir (in Ubuntu should be /usr/lib/python2.5/site-packages or /usr/lib/python2.6/site-packages; find out which by typing "python -V" at the terminal). Then execute:

sudo ln -s /usr/lib/YOURPYTHONDIR/danbooru/danbooru_client.py /usr/bin/danbooru_client

where YOURPYTHONDIR is the directory you've found out above.

Then, copy the "danbooru_client.desktop" file to the KDE application dir: you can find it by typing

kde4-config --path data

Lastly, create a sub-directory called "danbooru_client" in the same path that the command said, and copy the "logo_resized.png" image that stays in "danbooru/img" there, renaming it "logo.png". Copy also "danbooruui.rc" there (essential or you won't get icons on toolbars).

Run kbuildsycoca4 and then you'll be set. Notice that you need at least the version of PyKDE4 that is shipped with the KDE SC 4.3: I haven't tested with earlier versions.


reply to this

-
.

 Thanks

 
 by supportfsf on: Jan 20 2010
 

Thank you for great application. Although one thing would be really cool - is there a possibility to add some kind of notification bars, or at least message when you're connecting/waiting for pictures to be fetched? As it is now t gives no signal so new users might think the program is not doing anything ATM, which is not true as it is trying to connect to the board etc... Also, some list of sites which are without problems would be nic too, although that is more of a community thing.. :)

Thanks anyway, I hope you will continue the development.


reply to this

-

 Re: Thanks

 
 by einar77 on: Jan 22 2010
 

Notification for connecting would be nice, the issue is that I'm using Python methods to check if the address exists instead of relying on KIO, because it gets a little complex. I'll get to it soon, hopefully.
For posts, perhaps I can add a text at the center of the tab while they are fetched.

This would provide me some excuse to finally learn about KNotify, I guess... ;)


reply to this

add commentback




-
-
all messages
openDesktop.org Facebook App

Partners
Place Your Link Here!
online casino bonus

-
Best Twitter Client
 Official Twitter Web Interface
 Choqok
 Plasma Twitter Applet
 Twitux
 gTwitter
 Spaz
 Twitterfox
 Gwibber
 Qwit
 TweetDeck
 Other
 Not using Twitter

resultmore
Cool Sites
iPhone Hintergrundbilder

 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge Base
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2010 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.