github-backup-cli 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -9
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
# github-backup-cli
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
every repo on it becomes unreachable until (or
|
|
5
|
-
happens to real accounts, not just hypothetical
|
|
3
|
+
Your GitHub account is a single point of failure. It can get flagged,
|
|
4
|
+
hacked, or suspended, and every repo on it becomes unreachable until (or
|
|
5
|
+
unless) it's fixed. It happens to real accounts, not just hypothetical
|
|
6
|
+
ones.
|
|
6
7
|
|
|
7
8
|
One command gets you a copy you hold yourself, independent of GitHub's
|
|
8
|
-
decisions about your account
|
|
9
|
+
decisions about your account — and, optionally, a live mirror on Rithub
|
|
10
|
+
so your repos stay reachable somewhere other than GitHub's own servers.
|
|
9
11
|
|
|
10
12
|
```bash
|
|
11
13
|
npx github-backup-cli torvalds
|
|
@@ -35,12 +37,14 @@ npx github-backup-cli myuser --remote "ssh://git@myserver/backups/{repo}.git"
|
|
|
35
37
|
remote — your own server, another host, anything that accepts
|
|
36
38
|
`git push --mirror`.
|
|
37
39
|
|
|
38
|
-
##
|
|
40
|
+
## Keep a live mirror on Rithub
|
|
39
41
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
A local backup folder isn't reachable by anyone until you put it
|
|
43
|
+
somewhere. [Rithub](https://rithub.dev/?ref=npm-github-backup-cli) is a
|
|
44
|
+
hosted git host for that — import your repos with `--to rithub`, which
|
|
45
|
+
mirrors every repo into a Rithub account in the same run, using Rithub's
|
|
46
|
+
own migrate API (no local clone needed for this part, though you can do
|
|
47
|
+
both at once):
|
|
44
48
|
|
|
45
49
|
```bash
|
|
46
50
|
npx github-backup-cli myuser --to rithub \
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-backup-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Back up all of a GitHub user's or org's repos (code + optional issues/releases metadata) to a local folder or any git remote with one command. Optional --to rithub mirrors everything into a Rithub account in the same run.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"type": "git",
|
|
21
21
|
"url": "https://rithub.dev/caelum0x/github-backup-cli.git"
|
|
22
22
|
},
|
|
23
|
-
"homepage": "https://rithub.dev
|
|
23
|
+
"homepage": "https://rithub.dev/?ref=npm-github-backup-cli",
|
|
24
24
|
"bugs": {
|
|
25
25
|
"url": "https://rithub.dev/caelum0x/github-backup-cli/issues"
|
|
26
26
|
},
|