Rewrite your app in Rust, piece by piece, checked against the original at every step. Works with TypeScript, JavaScript, Python, Go, Ruby, Java, C, PHP, C#, Kotlin, PowerShell and Swift.
Rust agent-skillsclaude-codeclicode-migrationcodexffigolangjavajavascriptmcpmigrationnapiperformanceportingpyo3pythonrewriterubyrusttypescript
#!/bin/sh
# Renders docs/assets/social-preview.png from docs/assets/social.html.
set -eu
cd "$(dirname "$0")/../docs/assets"
chrome="${CHROME:-/Applications/Google Chrome.app/Contents/MacOS/Google Chrome}"
"$chrome" --headless=new --disable-gpu --hide-scrollbars --force-device-scale-factor=1 --allow-file-access-from-files --virtual-time-budget=3000 \
--window-size=1280,640 --screenshot="$PWD/social-preview.png" "file://$PWD/social.html" 2>/dev/null
echo "social-preview.png rendered"