MCPcopy Index your code
hub / github.com/Vetchems/sd-civitai-browser

github.com/Vetchems/sd-civitai-browser @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
29 symbols 87 edges 3 files 8 documented · 28% updated 2y ago★ 1772 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

sd-civitai-browser

An extension to help download models from CivitAi without leaving WebUI

This version was forked from the original by Vetchems who wasn't responding to pull requests.

To install use the normal install process in A1111 or check out this repo and copy the folder into your extensions folder like so: Screenshot 2023-02-23 at 9 15 54 PM

A111 -> extensions -> sd-civitai-browser -> scripts -> civitai-api.py

It needs to be in this directory tree because it uses relative paths to copy things around. That might be something we fix in future versions. If you'd like for this to become the official fork let me know and we can circle the wagons here. I'm happy to take pull requests.

The main things i've done are fix the problems relying on "onchange" for selects which don't trigger for single item select lists and added features to support Model Previews using https://github.com/Vetchems/sd-model-preview

Future Ideas: - figure out a way to check to see if a model you own has an updated version in CivitAi - allow for tagging / categorization of the models more easily - allow for the model to have a local display name vs the author name (gooeydreamyfoobuElite might be meaningful to the person who made the model, but it would be nice to know it's a photorealistic landscape model trained on panoramas) - make sure support for LORAs and stuff like that continues

Core symbols most depended-on inside this repo

Shape

Function 27
Class 1
Route 1

Languages

Python100%

Modules by API surface

scripts/functions.py20 symbols
scripts/api.py8 symbols
scripts/ui.py1 symbols

For agents

$ claude mcp add sd-civitai-browser \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page