Notice: My personal stance on AI generated artwork. Retweet and share if you agree. Let us discuss, and not immediately scream bloody murder.

Now Viewing: [ Windows / Linux ] QBooru , a Qt based Booru viewer
Keep it civil, do not flame or bait other users. If you notice anything illegal or inappropriate being discussed, contact an administrator or moderator.

Elaanel - Group: Member - Total Posts: 49
user_avatar
[ Windows / Linux ] QBooru , a Qt based Booru viewer
Posted on: 04/23/15 05:28PM

Hi,

Well, let me introduce myself first. I've been using this site for a while, and was interested in coding a program around the Boorus' APIs. I thought that, since an API is available, we should bne able to browse the site without having to use a Web Browser, especially on low performance computers. So I created a Qt based software to browse most boorus on a single software.

This software is portable. Just extact the archive, and start the .exe. It can be started from an USB key from any computer, for example.

It allows a lighter interface, downloading only important informations, and the Viewer part of the software shows clearly all the important infos about the picture you selected.
The software only downloads the searched page's JSON API file, and loads all the infos from it. It also loads thumbnails and medium pictures if needed.

The program allows you to browse most booru sites, using the 3 main APIs. More can be aded if needed in the future.

I think some software like that currently exists, but I didn't find any. So if it's helpful to you, then I'm glad. Please report any bug if you find one.

Windows builds are available on GitHub and Sourceforge, and the source can be built on Linux. However, you'll need to use the Windows build's "conf/" folder for the program to run properly (even though it should create the config file itself, sometimes it doesn't).

Links :
- GitHub : github.com/FuSoftware/QBooru
- Sourceforge: sourceforge.net/projects/qbooru/
- Latest stable build : sourceforge.net/projects/qbooru/files/latest/download

Supported APIs:
- Gelbooru 0.2
- Danbooru 2
- Moebooru

Examples of supported websites :
- gelbooru.com
- safebooru.org
- danbooru.donmai.us
- konachan.com/
- konachan.net/
- yande.re
- rule34.xxx

Screens :
- Search interface : puu.sh/how5C.jpg
- Viewer interface : puu.sh/how7b.jpg
- Booru settings : puu.sh/how8c.png

For developpers :
Libs used:
- Qt 5.5.0



lozertuser - Group: The Fake Administrator - Total Posts: 2230
user_avatar
Posted on: 04/23/15 08:09PM

&json=1 may make our API response nicer for you.



smackmybitchup - Group: Member - Total Posts: 1295
user_avatar
Posted on: 04/23/15 08:32PM

Sixteen 0.access trojans detected in that one.



Elaanel - Group: Member - Total Posts: 49
user_avatar
Posted on: 04/23/15 08:36PM

smackmybitchup said:
Sixteen 0.access trojans detected in that one.


Please don't troll, there isn't any trojan ^^ The source is open, so you'll see there isn't (nice bait though). But maybe some functions are considered as torrents, gonna check that.

lozertuser said:
&json=1 may make our API response nicer for you.


Thanks, gonna check that tonight. That may free me of the XML Parser and will lighten the overall Gelbooru code. I didn't find it and was using the .xml one, where the others use JSON.



smackmybitchup - Group: Member - Total Posts: 1295
user_avatar
Posted on: 04/23/15 08:46PM

I'm not trolling. Don't "nice bait though" me.



Elaanel - Group: Member - Total Posts: 49
user_avatar
Posted on: 04/23/15 09:00PM

smackmybitchup said:
I'm not trolling. Don't "nice bait though" me.


I don't understand how you can have a Trojan when the isn't any. What antivirus did you use to scan it ? I tested with NOD32, Kaspersky and Avast without any problem. Either it is the .zip or the executable only, nothing was detected. Do you have a precise report on the .exe supposed trojans ?
But if you still think there really are trojans, just check the source and you'll see there isn't any. The only thing that could be seen as a trojan is a function that deletes folders without sending them to the recycle bin, located in the "fileutils.cpp" file.

lozertuser said:
&json=1 may make our API response nicer for you.


The JSON API misses some infos. For example, "sample_height" and "sample_height" don't have values :

XML : puu.sh/hoHI8.png
JSON : puu.sh/hoHIy.png



smackmybitchup - Group: Member - Total Posts: 1295
user_avatar
Posted on: 04/23/15 09:04PM

I unzipped the thang, and run Malwarebytes on the whole folder. I should have made a screen cap of the report, yes, but I got rid of the "threats" quickly.

Even if I checked the source, I'm not a programmer, and I don't know jack about coding.



Jerl - Group: The Real Administrator - Total Posts: 6704
user_avatar
Posted on: 04/23/15 09:07PM

Sample sizes will be reported as 0 if the post doesn't have a sample. The post you screencapped is too small to have a sample, thus the 0 sizes reported.



Elaanel - Group: Member - Total Posts: 49
user_avatar
Posted on: 04/23/15 09:11PM

I'll check Malewarebytes on my own, then, and find what can be seen as a trojan. Thanks.


Jerl said:
Sample sizes will be reported as 0 if the post doesn't have a sample. The post you screencapped is too small to have a sample, thus the 0 sizes reported.

Oh, okay, thanks for the info. But why does the XML API generate a sample size then ?



smackmybitchup - Group: Member - Total Posts: 1295
user_avatar
Posted on: 04/23/15 09:14PM

NP. By the way, even if these zero.access trojans are not harmful to you, my Internet service provider can disable my connection for having them, and they charge money for reactivating it.



add_replyAdd Reply


1 2345