Add Javstash Autofill plugin#740
Open
suzuhiroruri wants to merge 1 commit into
Open
Conversation
Fills a newly-created performer's empty fields from a scraper (default javstash) on Performer.Create.Post: best name match or skip, per-origin (Identify/manual) source and primary-name policy, duplicate merge, per-field overwrite toggles, measurements normalisation, and asynchronous image setting. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
plugins/javstashAutofill— aPerformer.Create.Posthook that fills a newly-created performer's empty fields from a scraper (default: the javstash stash-box), using the best name-matching candidate (or skipping when there is no match).Features
stash_idsin the create input): keep the created name (scraper name → alias) or make the scraper's canonical name primary (created name → alias).performerMerge(scenes re-linked, created name kept as alias, stash-box id carried over).91H-56-88→91(H)-56-88).Configurable source (stash-box endpoint or
scraper_id), separately for Identify and manual creation. Standard library only.Validation
node ./validate.js --ci— Validation passed.LLM-assisted contribution disclosure
Per the repository's LLM policy: this plugin was written with LLM assistance (Claude). The code was human-reviewed and human-tested/validated on a live instance, and I take full responsibility for it (including license compliance).