rafaeltorresng/PR Explainer AI

Generate an interactive HTML explanation and quiz for pull requests with OpenRouter models.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
openrouter_api_keyOpenRouter API key used to call the LLM.yes
max_linesMaximum added plus deleted lines allowed before skipping generation.no15000
openrouter_modelOpenRouter model identifier. Users can override it with any model available in OpenRouter.nodeepseek/deepseek-v4-flash
languageLanguage used for the generated prompt, HTML artifact, and PR comments. Supported values: en, pt-BR.noen
output_fileGenerated HTML filename.nopr-explanation.html
artifact_nameArtifact name used when uploading the generated HTML.nopr-explanation-html
base_refBase ref used to compute the diff. Optional outside pull_request events.no""
comment_on_prWhether to post a PR comment with artifact instructions.notrue
namedescription
should_runWhether generation ran after diff sizing.
lines_changedAdded plus deleted lines counted from the git diff.
artifact_nameArtifact name used by the upload step.