openclaw
← All products
Developer Tools

code-migrator

Fixed-bid code-migration tool. Big-batch migrations (Python 2→3, jQuery→React,

Get startedSource on GitHub

Documentation

code-migrator

Fixed-bid code-migration tool. Big-batch migrations (Python 2→3, jQuery→React, AngularJS→Angular, Java 8→17, callbacks→async-await, propTypes→TypeScript) done file-by-file with Qwen.

Pricing model

Bid these as fixed-price gigs on Toptal / Upwork / direct:

  • Python 2 → 3: $5-25K per repo (depending on size)
  • jQuery → React: $10-50K (per component, expensive)
  • AngularJS → Angular: $25-100K
  • Java 8 → 17: $5-30K
  • propTypes → TS: $3-15K

Qwen does the per-file work; you run tests + ship PRs + handle edge cases. 70-90% gross margin once the workflow is dialed in.

Run

cd C:\openclaw-products\code-migrator
python -m venv .venv
.\.venv\Scripts\activate
pip install -e .

migrate profiles
migrate file --profile py2_to_py3 legacy/foo.py --out new/foo.py
migrate repo --profile py2_to_py3 path/to/repo --limit 10

Workflow for fixed-bid engagements

  1. Bid the project (e.g. $15K for a 50K-LOC Py2 codebase).
  2. Run migrate repo over the codebase (1-4 hours of inference time).
  3. Run the test suite. Triage failures.
  4. Send Qwen back through failing modules with the test errors as context.
  5. Ship PRs in chunks of 5-20 files each.
  6. Final QA + handoff.

Roadmap

  • More profiles: Ruby 2 → 3, PHP 7 → 8, Vue 2 → 3
  • Test-failure feedback loop (auto-iterate on failures)
  • Diff-aware mode (only migrate changed files)
  • Per-team style guide enforcement