gigaverse-app/Pydantic to TypeScript Converter

Convert Python Pydantic models to TypeScript interfaces using LLMs (Claude or GPT) while maintaining styling and conventions

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Sep 23, 2025
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: gigaverse-app/pydantic-to-typescript-action@d583407f00782085679fd8615d5c42902f3c45eb # v3.0.3

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
base-python-filePath to the base Python Pydantic fileyes
new-python-filePath to the new Python Pydantic fileyes
current-typescript-filePath to the current TypeScript fileyes
output-typescript-filePath to the output TypeScript fileyes
model-providerLLM provider to use (anthropic or openai)noanthropic
model-nameSpecific model to usenoclaude-3-7-sonnet-latest
anthropic-api-keyAnthropic API keyno
openai-api-keyOpenAI API keyno
temperatureTemperature for the LLM (0.0-1.0)no0.1
custom-promptOptional custom prompt rule/message to enhance or change default system instructionsno
langsmith-api-keyLangSmith API key for tracing (optional)no
langsmith-projectLangSmith project name (optional; default: "pydantic-to-typescript-action")nopydantic-to-typescript-action

no outputs