Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Tags and Metadata from JSON Files #10

Open
restartxx opened this issue Apr 2, 2024 · 9 comments
Open

Import Tags and Metadata from JSON Files #10

restartxx opened this issue Apr 2, 2024 · 9 comments
Labels
autoimport Autoimport related issues/suggestions

Comments

@restartxx
Copy link

As an Android user who frequently utilizes booru clients such as LoliSnatcher and Booru-sama for browsing and downloading booru content, I've noticed a common functionality among these clients. They store metadata of downloaded images in a JSON file along with the image, containing essential information such as tags and sources.

Considering this, I believe it would greatly enhance user experience if the application could integrate seamlessly with these JSON files. Instead of manually adding tags, users could simply select the JSON file containing all the image information. The application would then automatically identify and auto-complete tags and other relevant metadata, streamlining the tagging process.

This feature would not only save users time but also ensure accuracy and consistency in metadata management.
GeoBooru_278d53459edf3d22dec799f0453d6734.json

@restartxx
Copy link
Author

@resucutie 👀

@resucutie
Copy link
Owner

Oh sorry I was away. Didn't knew people would be interested in this program at the point of making a feature request

Either way, I do not know the format of those apps, so I would need to know someone that does use

Also, you can autoimport images by sharing them to the app or by clicking here
Screenshot_20240403-211801_LocalBooru.png

@restartxx
Copy link
Author

Hii, good evening/mornig!
Thanks for answering! Don't worry about the delay.

As a user of LoliSnatcher, I am willing to help you by providing examples of the JSON files that the application generates when downloading images. I'm also open to helping out in any other way I can.

I'm not a programmer, so I don't even know if it's a possible idea or if it would be very difficult. 😅
But I think it would be very advantageous, quick and cool to import an image and have the option to also automatically import tags from a file.

Oh, and I'm do interested in your app.😁 I looked a lot for an app that could do what it does. And since I have a lot of boorus images, it's much easier to organize them and view them by searching for tags and things like that.

By the way, thanks for the app!

@resucutie
Copy link
Owner

np!

if I add this, it won't be in the next version, 1.4.0, but instead 1.5.0. mainly because I have to create an image import system, which is on my todo since the dawn of time but it'll be hard due to
a. non-booru stashes (le folder with just a bunch of images) exist and they do not store tags, and the autotagger not giving great results
b. i have to design how would it work

@restartxx
Copy link
Author

Okayy, thank you for considering my request. I totally understand your reasons. I'll patiently await its possible arrival in version 1.5.0! Keep up the great work!🛴👾
Oh, should I close it?

@resucutie
Copy link
Owner

no no, better to leave open

@restartxx
Copy link
Author

update

Hello! Good evening/morning! I wanted to share a solution I found to implement this function locally on my cell phone.
Using Termux, I developed two scripts that allow me to extract the correct tags from .json files using jq and send them directly to the clipboard. With this, I can quickly paste the correct tags into the images I upload.
This solution helped me get around the issue of inaccurate tags and made the image management process much more efficient for me.

@resucutie
Copy link
Owner

Honestly, mind you join the Discord server? I want to know more about what you did. I decided to postpone to 1.6.0 this feature because, uh, 1.5.0 had a lot of UI code restructuring and now the app looks way different

@restartxx
Copy link
Author

Of course!

@resucutie resucutie added the autoimport Autoimport related issues/suggestions label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autoimport Autoimport related issues/suggestions
Projects
None yet
Development

No branches or pull requests

2 participants