GraphCanon updated 5d · GitHub synced 5d
Decision brief
A tool for transitioning codebases across different programming frameworks and languages using third-party APIs.
Good fit when
- When you need to migrate an existing Python project codebase into Node.js, utilizing the OpenRouter API or the configurable OpenAI API.
Avoid when
- If you are working with languages not supported by GPT-Migrate or if your migration requirements extend beyond the capabilities provided by its third-party APIs.
- For projects where a manual migration process is preferred due to concerns over code quality, compatibility issues, or lack of detailed control over the migration.
- Pricing:
- freemium - A free tool under MIT license, but usage depends on securing API keys from OpenRouter and/or OpenAI, which might involve costs based on their pricing structure.
- Requirements:
- Poetry for package management.
Observed Jul 14, 2026 · Source: enrich:decision_facts
Verify the decision
Maintenance and security
Full trust report- Maintenance
- Dormant (696d since push)
- As of 5d
- Provenance
- Not a fork · Personal account
- As of 5d
- Security (OSV)
- No lockfile
- As of 1mo
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
pip install gpt-migrate PyPISimilar tools
Same-category neighbours. No typed graph edges are catalogued for this tool yet.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
GPT-Migrate is a Python-based utility that leverages APIs from OpenRouter and OpenAI to facilitate the migration of existing project codebases into another framework or language.
Capability facts
- Languages
- python
Source: github.language+pyproject.toml · Aug 15, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Aug 15, 2026)
`python main.py --targetlang nodejs`Source link
Source: README excerpt (regex_v1, Aug 15, 2026)
OpenRouter API key](https://openrouter.ai/docs#api-keys) (default) and/or your [OpenAI API key](https://platform.openai.com/account/api-keys) (to use the OpenAI API direcSource link
Source: README excerpt (regex_v1, Aug 15, 2026)
l Poetry by following the instructions on the [official Poetry website](https://python-poetry.org/docs/#installation).Source link
Tags
README
📦 Installation using Poetry
-
Install Poetry by following the instructions on the official Poetry website.
-
Once Poetry is installed, navigate to the project directory and install the project dependencies using the following command:
poetry install
This will create a virtual environment and install all the necessary dependencies in that environment.
- Set your OpenRouter API key (default) and/or your OpenAI API key (to use the OpenAI API directly...in this case, set --model to
gpt-4-32kor your desired model) and install the python requirements:
export OPENROUTER_API_KEY=<your key>
export OPENAI_API_KEY=<your key>
pip install -r requirements.txt
- Run the main script with the target language you want to migrate to:
python main.py --targetlang nodejs
- (Optional) If you'd like GPT-Migrate to validate the unit tests it creates against your app before it tests the migrated app with them, please have your existing app exposed and use the
--sourceportflag. For executing this against the benchmark, open a separate terminal, navigate to thebenchmarks/language-pair/sourcedirectory, and runpython app.pyafter installing the requirements. It will expose on port 5000. Use this with the--sourceportflag.
By default, this script will execute the flask-nodejs benchmark. You can specify the language, source directory, and many other things using the options guide below.
For agents
This page has a .md twin and JSON over the API.