Kycklingar / PBooru

The Unlicense
48 stars 1 forks source link

Hydrus support #15

Open DonaldTsang opened 5 years ago

DonaldTsang commented 5 years ago

Once https://github.com/hydrusnetwork/hydrus / http://hydrusnetwork.github.io/hydrus/ (and from that https://github.com/CuddleBear92/Hydrus-Presets-and-Scripts ) has a usable API, it would be useful to connect PBooru with Hydrus to expand on functionality.

DonaldTsang commented 5 years ago

I would much prefer Hydrus, but there is also https://github.com/bakape/hydron for a more Go-like experience, but it is slightly weaker.

Kycklingar commented 5 years ago

What exactly would hydrus support look like?

DonaldTsang commented 5 years ago

@Kycklingar Hydrus and Hydron are both local boorus for the desktop. If you want to see an example of a local booru being used for a website see https://github.com/mserajnik/szuruporter for https://github.com/rr-/szurubooru

Kycklingar commented 5 years ago

So client side importing/exporting tool? Or do you want server side integration with hydrus?

DonaldTsang commented 5 years ago

@Kycklingar import/export would be the bare minimum, once Hydrus gets a proper API then server side integration will be possible.

Kycklingar commented 5 years ago

@DonaldTsang I don't think I would like to directly integrate with hydrus but an optional synchronization layer in between pbooru and hydrus would be nice.

DonaldTsang commented 5 years ago

It looks like they developed a more rounded API after 5 months, a question I would like to ask: What API functions would you need to make PBooru fully compatible with Hydrus (either with direct integration or Synchronization)? I know that the dev communicates through discord, so maybe you can talk to him that way

Kycklingar commented 5 years ago

@DonaldTsang It's hard to say right now what's needed and what's not. One thing I could think of is having better search parameters like 'system' tags. Proper limits with offsets would also help.

DonaldTsang commented 5 years ago

@Kycklingar check https://github.com/sakharovaan/hydrus-unleashed for MySQL-based Hydrus fork (the guy is also in Discord)

KamillaPup commented 7 months ago

Hydrus's default tag structure and namespaces are the same as pbooru. It also has built in IPFS compatibility. The only thing I can't get it to do is host the files with the tags. I'm not sure how to do it.

If there was some way to import from pbooru to Hydrus using the API would be great.

Is there a way to browse pbooru without using the tor address? Can you browse it using I2P or clearnet?