Close
New iGoogle *booru App (it works with yande.re by default)
Hello.
I created an igoogle app that uses the danbooru compatible api, by default, it uses yande.re.
By default, it shows rating:s images, but you can edit its setting to make it show any tag.

When you click the image, you get redirected to the image post url in the booru (and *not* to a direct download of the image)

You can try the app here:
http://www.google.com/ig/directory?type=gadgets&url=app.christopher-luna.com/danbooru-gadget.xml

It barely works on Internet explorer, for a better experience, use firefox or chrome (any recent webkit or gecko browser should be fine)

Still is unfinished, and I want to clean the code, etc.
Is free and open source (under an AGPL3 license)
You can view the source code here: https://github.com/chris-l/danbooru-slideshow

Any feedback is welcome! (゚▽゚ )
Bug: Entering an empty tag field automatically reverts to your default tag

Bug: You default to http:// instead of the yande.re default https://

Bug: You default to page=3 for some reason?

Bug: Maximizing the gadget doesn't work properly (too small)

I also feel like it could use previous and next arrows to the left and right of the thumbs to speed up scrolling through images. The other option being to add a few more thumbs to fill up the entire empty space on the bottom.

Since the layout is so similar, have you considered trying to integrate a stripped down version of https://yande.re/post/browse into the gadget directly, or possibly just loading the full version of the post browser directly in the iGoogle frame when when the user maximizes the gadget?
hey, thanks for the feedback!
hm

1.- yeah, I have noticed. the igoogle engine does that. if the field is empty, it uses the default value. If the default value is empty, then it works. The problem is that i dont see how to disable that default behavior and I can't set the default value to nothing, because, by default, the api list all ratings images, including rating:e
I don't want the gadget to show rating:e images, without user intervention ;)
you can make it not to use any tag, by removing the &tag=%t from the query field.
2.- yeah, I'l change it to use https
3.- ow. thats a remnant of one of my several tests. XD I'll change that too.
4.- yeah, is not designed to be maximized. the reason is because I'm not using the normal images, but only the thumbnails, mostly because I don't want to abuse the booru's (yande.re in this case) bandwidth.
(thats the reason that it doesn't have direct download of the images, but instead opens a new window with the post url)
this images are the thumbnails you see when you click on the "Posts" link of yande.re
so, that small size you see is not the images scaled down, is the real, full size of the boorus thumbnails.
(the thumbnails of the gadget are scaled down img from the boorus thumbnails)
5.- Having arrows sounds like a good idea, I'll do it laters.
6.- adding more thumbnails would require me to redo the way the thumbnails work. Since the idea that the number of thumbnails depends on the width of the visible area sounds kind of good, then maybe I'll may do it on the future.
7.- Yeah, the look is similar to the post browser, still, is different from the approach I took. Also, I think the post browser uses the prototype framework, and Im not familiar with it. Using the same code would require me to change it to make it use the thumbnails (again, to not abuse the bandwidth), remove the blue box with the tags and edit options, and make it open the images in a new window instead of opening them on the same gadget.
Anyway, to have the full post browser with the full size images, then instead of using the gadget, would be easier to create an <iframe> that contains it.

hehe thanks again for your comments and help. I'll do my best to improve the gadget with them ;)
You can use samples, its not protected from hotlinks so people can get a better sense of the image.
I knew it allowed hotlinking, but is nice to know you guys don't mind!

still, I don't know what the other boorus would think (this app works by default with yande.re, but it also works with other boorus)

Anyway, I think I'll implement it as non-default option. (like a checkbox to use sample images instead of the thumbnails, only when the client width and height is minimum certain pixels size or something)

well, thank you.

I hope to have a new version by the end of this week; I'm not 100% sure, however hehe