gpt-migrate
Enrichment pendingEasily migrate your codebase from one framework or language to another.
GraphCanon updated today · GitHub synced today
Trust & integrity
Full report- Maintenance
- Dormant (661d since push)
- As of today · Source: github_public_v1
- Provenance
- Not a fork · Personal account
- As of today · Source: github_public_v1
- Security (OSV)
- No lockfile
- As of today · Source: none
Public GitHub metadata and optional OSV dependency scans. Signals, not a guarantee. Trust methodology.
Overview
Easily migrate your codebase from one framework or language to another.
Capability facts
- Languages
- python
Source: github.language+pyproject.toml · Jul 11, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Jul 11, 2026)
`python main.py --targetlang nodejs`Source link
Source: README excerpt (regex_v1, Jul 11, 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, Jul 11, 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.