github-to-rithub/package.json
caelum0x 8af41526c5 feat: github-to-rithub CLI — mirror GitHub repos to Rithub with dry-run/resume/report
Zero-dependency Node CLI that lists a user's GitHub repos and migrates
selected ones to Rithub via Rithub's own (Gitea) /repos/migrate API,
carrying code, branches, tags, issues, labels, milestones, releases and
wiki. Adds dry-run, a resumable state file, and JSON/Markdown reports.
Includes 3 honest migration guides (suspended-account recovery, GitHub
Actions -> Rithub CI, keeping a GitHub mirror).

Real-tested 2026-11-17: migrated 3 live public GitHub repos
(basic-rag, defi-social-app, house-price-prediction) to a new
github-migration-test org on rithub.dev; verified branches/clone over
the live Rithub API; confirmed --resume skip and existing-repo
collision skip both work for real. Fixed a real bug found during
testing: repeated --repo flags were overwriting each other instead of
accumulating.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:23:16 +03:00

29 lines
580 B
JSON

{
"name": "github-to-rithub",
"version": "0.1.0",
"description": "Mirror GitHub repositories (code, branches, tags, issues, releases) to a Rithub (Gitea-API-compatible) server using your own tokens. Dry-run, resume and a clear report.",
"license": "MIT",
"type": "module",
"bin": {
"github-to-rithub": "bin/github-to-rithub.js"
},
"engines": {
"node": ">=18"
},
"files": [
"bin",
"src",
"README.md",
"LICENSE"
],
"keywords": [
"github",
"gitea",
"rithub",
"migration",
"mirror",
"export",
"backup"
]
}