ahodesuka / ahoviewer

A GTK image viewer, manga reader, and booru browser
MIT License
486 stars 31 forks source link

Plugins in windows #135

Closed Zeddylegend closed 2 years ago

Zeddylegend commented 2 years ago

Is there a way to install plugins in the windows version? i dont know much about this, sorry.

ahodesuka commented 2 years ago

The nightly Windows build from July 7th 2021 ahoviewer-20210707-94be5a-nightly-win64-standalone.zip found here supports plugins. Plugins can be installed in 2 locations on Windows;

Zeddylegend commented 2 years ago

Thank you, but how can i install them? just copy and paste them into the plugins folder? i alredy did that with the sankaku one and i couldn't make it work, when i copy both files into the folder it doesnt even open, if i only copy the .plugin file, it opens but when i try to add sankaku to the list, it doesnt recognize it.

Also, Do you plan to implement searches with more than one booru at the same time? i know you can search in different tabs but it would be useful to search in multiple boorus at the same time like in booru slideshow for example.

Thanks :)

ahodesuka commented 2 years ago

Copy the .plugin and the .py file into a new directory inside the plugins directory, for example %LOCALAPPDATA%\ahoviewer\plugins\sankaku. Then to add sakaku as a booru inside ahoviewer preferences window, use https://capi-v2.sankakucomplex.com as the URL, and it should come up as a valid booru.

Also, Do you plan to implement searches with more than one booru at the same time? i know you can search in different tabs but it would be useful to search in multiple boorus at the same time like in booru slideshow for example.

This isn't something that I have thought of doing, but could be possible. I'm more likely to rewrite this project in the future than add any major updates to the current code base as of right now though.