| Crates.io | upsync |
| lib.rs | upsync |
| version | 0.1.0 |
| created_at | 2026-01-24 05:03:53.711445+00 |
| updated_at | 2026-01-24 05:03:53.711445+00 |
| description | Cross-language project porting and sync tool powered by AI agents |
| homepage | https://github.com/yewang/upsync |
| repository | https://github.com/yewang/upsync |
| max_upload_size | |
| id | 2066190 |
| size | 39,983 |
Cross-language project porting and synchronization tool powered by AI agents.
upsync automates the process of porting projects between programming languages and keeping ports synchronized with upstream changes. It uses AI coding agents (Claude Code, Gemini CLI, or Codex CLI) to translate code while maintaining behavioral equivalence.
cargo install upsync
Or build from source:
cargo install --path .
At least one AI coding agent must be installed:
claude)gemini)codex)Create a new port of an upstream project:
upsync port https://github.com/org/project --to rust
upsync port https://github.com/org/project --to go --output my-project
This will:
If you've already manually ported a project and want to track upstream changes:
cd your-ported-project
upsync init https://github.com/org/upstream-project
This will:
.upstream-cache/upsync check
Fetches the latest upstream commits and reports how many lines have changed since the last sync.
upsync sync # Apply changes
upsync sync --dry-run # Preview what would happen
The sync command:
Created in your project root:
upstream: https://github.com/org/project
agent: claude # Optional: claude, gemini, or codex (auto-detected if not set)
target_language: rust # Optional: override detected language
verify_command: cargo check # Optional: custom verification command
Tracks synchronization state (managed automatically):
{
"last_synced_commit": "abc123...",
"source_language": "typescript",
"target_language": "rust"
}
Local clone of the upstream repository used for fetching changes.
| Language | Extensions | Default Verify Command |
|---|---|---|
| Rust | .rs |
cargo check |
| Go | .go |
go build ./... |
| TypeScript | .ts, .tsx |
npm run build |
| JavaScript | .js, .jsx |
npm run build |
| Python | .py |
python -m py_compile |
| Ruby | .rb |
- |
| Java | .java |
- |
| Kotlin | .kt, .kts |
- |
| Swift | .swift |
- |
| C | .c, .h |
- |
| C++ | .cpp, .hpp, .cc |
- |
| C# | .cs |
- |
MIT