Closed cibernicola closed 1 year ago
For me personally, I wrote something that scrapes civitai and creates an minimal offline version of their web page:
What did you have in mind in terms of collaborating?
Integrate mgm inside model preview, for example, in order to automaitze and optmize as much as possible sort, get, an use all galeries.
Thanks for the suggestion but right now Im going to decline. While Civitai is a great site for getting models from its not the only site to get models from so this feature wouldn't work for everyone. And to be honest, if I were going to do something like this I would probably adapt my own code that I'm already using. There are a couple reasons why I havent already done that:
But by all means continue to work on your extension. Even as a separate extension I'm sure it would help some people.
For me personally, I wrote something that scrapes civitai and creates an minimal offline version of their web page
@CurtisDS Nice. Would you mind sharing the snippet? Would be better than the time consuming thing I'm doing.
@TFWol here is the code I use to create my preview pages for models from civitai: https://github.com/CurtisDS/minified-civitai/
Sweet! Thanks a bunch, I'll be trying this out shortly.
I am close to finishing something, the idea is to unify criteria and efforts: Unite the work done by Civitai Helper, create a decent gallery locally that is accessible in the model preview tab xD.
An example:
Quick and dirty wrapper around minified-civitai/ to calculate the hashes of the models in a folder and match them to ids for minified-civitai to use. It also generates a simple .md with some info about the model and downloads the preview images, both in the folder where each model is located.
https://gist.github.com/unai-ndz/ca380c7aa65c9f2aa3b55df2bb0faab1
Quick and dirty wrapper around minified-civitai/ to calculate the hashes of the models in a folder and match them to ids for minified-civitai to use. It also generates a simple .md with some info about the model and downloads the preview images, both in the folder where each model is located.
have you looked at generateHTMLPreviews.py? most of that functionality already exists. Just FYI.
Hello, since a few days ago I am developing a plugin for WebUI whose function is to generate a gallery for the models downloaded from civitai.com. It parses the Json data of each model and generates an html. It is in embryonic stage but it is functional and, together with model-preview-xd, it works quite well.
I have several more ideas to improve it, maybe we could collaborate?
some examples:
it is a fact that model management is a problem as well as something very important and useful.