git0 0.2.12 → 0.2.14
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/dist/cli.js +27780 -0
- package/dist/cli.js.map +331 -0
- package/docs/404.html +2 -2
- package/docs/Footer/index.html +2 -2
- package/docs/assets/js/1df93b7f.1385eba0.js +2 -0
- package/docs/assets/js/22dd74f7.e13ac7a4.js +1 -0
- package/docs/assets/js/28ab763d.192aa3bb.js +1 -0
- package/docs/assets/js/299d276b.c9496717.js +1 -0
- package/docs/assets/js/{68cef36b.c312447e.js → 68cef36b.e5b1975b.js} +1 -1
- package/docs/assets/js/a9cef9d5.a7253e41.js +1 -0
- package/docs/assets/js/c3a618e1.1c56fb03.js +590 -0
- package/docs/assets/js/{main.cf858a7d.js → main.1f646b09.js} +2 -2
- package/docs/assets/js/runtime~main.f69f8f44.js +1 -0
- package/docs/functions/fm/index.html +26 -0
- package/docs/functions/git0/index.html +6 -6
- package/docs/functions/github-api/index.html +20 -20
- package/docs/functions/index.html +889 -71
- package/docs/functions/modules/index.html +4 -3
- package/docs/index.html +2 -2
- package/docs/lunr-index-1749760982052.json +1 -0
- package/docs/lunr-index.json +1 -1
- package/docs/search-doc-1749760982052.json +1 -0
- package/docs/search-doc.json +1 -1
- package/docs/sitemap.xml +1 -1
- package/docs-config/.docusaurus/client-manifest.json +36 -24
- package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/p/index-466.json +1 -1
- package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-fm-md-a9c.json +19 -0
- package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-git-0-md-299.json +4 -0
- package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-index-md-c3a.json +1 -1
- package/docs-config/.docusaurus/globalData.json +10 -5
- package/docs-config/.docusaurus/registry.js +1 -0
- package/docs-config/.docusaurus/routes.js +9 -3
- package/docs-config/.docusaurus/routesChunkNames.json +7 -3
- package/docs-config/src/functions/fm.md +1 -0
- package/docs-config/src/functions/git0.md +2 -2
- package/docs-config/src/functions/github-api.md +34 -17
- package/docs-config/src/functions/index.md +19 -30
- package/docs-config/src/functions/modules.md +1 -0
- package/docs-config/src/functions/typedoc-sidebar.cjs +5 -0
- package/docs-config/src/pages/index.tsx +2 -3
- package/package.json +20 -10
- package/readme.md +19 -21
- package/src/cli.ts +150 -0
- package/src/download.ts +240 -0
- package/src/fm.js +5 -5
- package/src/github-api.ts +237 -0
- package/src/ide.ts +141 -0
- package/src/install.ts +147 -0
- package/src/package-menu.ts +183 -0
- package/src/platform.ts +53 -0
- package/src/releases.ts +159 -0
- package/src/setup.ts +9 -0
- package/src/types.ts +97 -0
- package/src/utils.ts +49 -0
- package/test/download.test.ts +48 -0
- package/test/github-api.test.ts +79 -0
- package/test/package-menu.test.ts +134 -0
- package/test/platform.test.ts +64 -0
- package/test/releases.test.ts +169 -0
- package/docs/assets/js/1df93b7f.d8c05d2c.js +0 -2
- package/docs/assets/js/22dd74f7.237398b4.js +0 -1
- package/docs/assets/js/28ab763d.5714aa16.js +0 -1
- package/docs/assets/js/299d276b.1a1baa1c.js +0 -1
- package/docs/assets/js/c3a618e1.965a31da.js +0 -1
- package/docs/assets/js/runtime~main.7520dc36.js +0 -1
- package/docs/lunr-index-1749613752315.json +0 -1
- package/docs/search-doc-1749613752315.json +0 -1
- package/src/git0.js +0 -380
- package/src/github-api.js +0 -472
- /package/docs/assets/js/{1df93b7f.d8c05d2c.js.LICENSE.txt → 1df93b7f.1385eba0.js.LICENSE.txt} +0 -0
- /package/docs/assets/js/{main.cf858a7d.js.LICENSE.txt → main.1f646b09.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,590 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
(self.webpackChunkcreate_apidocs = self.webpackChunkcreate_apidocs || []).push([
|
|
3
|
+
[893],
|
|
4
|
+
{
|
|
5
|
+
4035: (e, s, t) => {
|
|
6
|
+
(t.r(s),
|
|
7
|
+
t.d(s, {
|
|
8
|
+
assets: () => d,
|
|
9
|
+
contentTitle: () => l,
|
|
10
|
+
default: () => h,
|
|
11
|
+
frontMatter: () => o,
|
|
12
|
+
metadata: () => n,
|
|
13
|
+
toc: () => c,
|
|
14
|
+
}));
|
|
15
|
+
const n = JSON.parse(
|
|
16
|
+
'{"id":"functions/index","title":"index","description":"CLI tool to search GitHub repositories, download source & releases for your system, and instantly set up, then install dependencies and open code editor.","source":"@site/src/functions/index.md","sourceDirName":"functions","slug":"/functions/","permalink":"/functions/","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{},"sidebar":"default","previous":{"title":"github-api","permalink":"/functions/github-api"},"next":{"title":"modules","permalink":"/functions/modules"}}',
|
|
17
|
+
);
|
|
18
|
+
var i = t(4848),
|
|
19
|
+
r = t(8453);
|
|
20
|
+
const o = {},
|
|
21
|
+
l = "Git0: Download Git Repo on Step Zero",
|
|
22
|
+
d = {},
|
|
23
|
+
c = [
|
|
24
|
+
{ value: "\ud83d\ude80 Installation", id: "-installation", level: 2 },
|
|
25
|
+
{ value: "\u2728 Features", id: "-features", level: 2 },
|
|
26
|
+
{ value: "\ud83c\udfaf Usage", id: "-usage", level: 2 },
|
|
27
|
+
{
|
|
28
|
+
value: "Supported Project Types",
|
|
29
|
+
id: "supported-project-types",
|
|
30
|
+
level: 3,
|
|
31
|
+
},
|
|
32
|
+
{ value: "Supported IDEs", id: "supported-ides", level: 3 },
|
|
33
|
+
{
|
|
34
|
+
value: "\ud83d\udd27 Configuration",
|
|
35
|
+
id: "-configuration",
|
|
36
|
+
level: 2,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
value: "What Happens After Download",
|
|
40
|
+
id: "what-happens-after-download",
|
|
41
|
+
level: 3,
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
value: "GitHub Token (Optional)",
|
|
45
|
+
id: "github-token-optional",
|
|
46
|
+
level: 3,
|
|
47
|
+
},
|
|
48
|
+
];
|
|
49
|
+
function a(e) {
|
|
50
|
+
const s = {
|
|
51
|
+
a: "a",
|
|
52
|
+
code: "code",
|
|
53
|
+
h1: "h1",
|
|
54
|
+
h2: "h2",
|
|
55
|
+
h3: "h3",
|
|
56
|
+
header: "header",
|
|
57
|
+
img: "img",
|
|
58
|
+
li: "li",
|
|
59
|
+
ol: "ol",
|
|
60
|
+
p: "p",
|
|
61
|
+
pre: "pre",
|
|
62
|
+
strong: "strong",
|
|
63
|
+
table: "table",
|
|
64
|
+
tbody: "tbody",
|
|
65
|
+
td: "td",
|
|
66
|
+
th: "th",
|
|
67
|
+
thead: "thead",
|
|
68
|
+
tr: "tr",
|
|
69
|
+
ul: "ul",
|
|
70
|
+
...(0, r.R)(),
|
|
71
|
+
...e.components,
|
|
72
|
+
};
|
|
73
|
+
return (0, i.jsxs)(i.Fragment, {
|
|
74
|
+
children: [
|
|
75
|
+
(0, i.jsx)("p", {
|
|
76
|
+
align: "center",
|
|
77
|
+
children: (0, i.jsx)("img", {
|
|
78
|
+
src: "https://i.imgur.com/RLXLAzY.png",
|
|
79
|
+
}),
|
|
80
|
+
}),
|
|
81
|
+
"\n",
|
|
82
|
+
(0, i.jsxs)("p", {
|
|
83
|
+
align: "center",
|
|
84
|
+
children: [
|
|
85
|
+
(0, i.jsx)("a", {
|
|
86
|
+
href: "https://discord.gg/SJdBqBz3tV",
|
|
87
|
+
children: (0, i.jsx)("img", {
|
|
88
|
+
src: "https://img.shields.io/discord/1110227955554209923.svg?label=Chat&logo=Discord&colorB=7289da&style=flat",
|
|
89
|
+
}),
|
|
90
|
+
}),
|
|
91
|
+
(0, i.jsx)("a", {
|
|
92
|
+
href: "https://github.com/vtempest/git0/discussions",
|
|
93
|
+
children: (0, i.jsx)("img", {
|
|
94
|
+
alt: "GitHub Stars",
|
|
95
|
+
src: "https://img.shields.io/github/stars/vtempest/git0",
|
|
96
|
+
}),
|
|
97
|
+
}),
|
|
98
|
+
(0, i.jsx)("a", {
|
|
99
|
+
href: "https://github.com/vtempest/git0/discussions",
|
|
100
|
+
children: (0, i.jsx)("img", {
|
|
101
|
+
alt: "GitHub Discussions",
|
|
102
|
+
src: "https://img.shields.io/github/discussions/vtempest/git0",
|
|
103
|
+
}),
|
|
104
|
+
}),
|
|
105
|
+
(0, i.jsx)("a", {
|
|
106
|
+
href: "https://github.com/vtempest/git0/pulse",
|
|
107
|
+
alt: "Activity",
|
|
108
|
+
children: (0, i.jsx)("img", {
|
|
109
|
+
src: "https://img.shields.io/github/commit-activity/m/vtempest/git0",
|
|
110
|
+
}),
|
|
111
|
+
}),
|
|
112
|
+
(0, i.jsx)("img", {
|
|
113
|
+
src: "https://img.shields.io/github/last-commit/vtempest/git0.svg",
|
|
114
|
+
alt: "GitHub last commit",
|
|
115
|
+
}),
|
|
116
|
+
(0, i.jsx)("img", {
|
|
117
|
+
src: "https://img.shields.io/badge/PRs-welcome-brightgreen.svg",
|
|
118
|
+
}),
|
|
119
|
+
(0, i.jsx)("a", {
|
|
120
|
+
href: "https://codespaces.new/vtempest/git0",
|
|
121
|
+
children: (0, i.jsx)("img", {
|
|
122
|
+
src: "https://github.com/codespaces/badge.svg",
|
|
123
|
+
width: "150",
|
|
124
|
+
height: "20",
|
|
125
|
+
}),
|
|
126
|
+
}),
|
|
127
|
+
],
|
|
128
|
+
}),
|
|
129
|
+
"\n",
|
|
130
|
+
(0, i.jsx)(s.header, {
|
|
131
|
+
children: (0, i.jsx)(s.h1, {
|
|
132
|
+
id: "git0-download-git-repo-on-step-zero",
|
|
133
|
+
children: "Git0: Download Git Repo on Step Zero",
|
|
134
|
+
}),
|
|
135
|
+
}),
|
|
136
|
+
"\n",
|
|
137
|
+
(0, i.jsx)(s.p, {
|
|
138
|
+
children:
|
|
139
|
+
"CLI tool to search GitHub repositories, download source & releases for your system, and instantly set up, then install dependencies and open code editor.",
|
|
140
|
+
}),
|
|
141
|
+
"\n",
|
|
142
|
+
(0, i.jsx)(s.h2, {
|
|
143
|
+
id: "-installation",
|
|
144
|
+
children: "\ud83d\ude80 Installation",
|
|
145
|
+
}),
|
|
146
|
+
"\n",
|
|
147
|
+
(0, i.jsx)(s.pre, {
|
|
148
|
+
children: (0, i.jsx)(s.code, {
|
|
149
|
+
className: "language-bash",
|
|
150
|
+
children: "npm install -g git0\n",
|
|
151
|
+
}),
|
|
152
|
+
}),
|
|
153
|
+
"\n",
|
|
154
|
+
(0, i.jsx)(s.pre, {
|
|
155
|
+
children: (0, i.jsx)(s.code, {
|
|
156
|
+
className: "language-bash",
|
|
157
|
+
children: "bun install -g git0\n",
|
|
158
|
+
}),
|
|
159
|
+
}),
|
|
160
|
+
"\n",
|
|
161
|
+
(0, i.jsxs)(s.p, {
|
|
162
|
+
children: [
|
|
163
|
+
(0, i.jsx)(s.img, {
|
|
164
|
+
src: "https://i.imgur.com/Io3ukRC.gif",
|
|
165
|
+
alt: "livepreview",
|
|
166
|
+
}),
|
|
167
|
+
"\n",
|
|
168
|
+
(0, i.jsx)(s.img, {
|
|
169
|
+
src: "https://i.imgur.com/K22NiBq.png",
|
|
170
|
+
alt: "preview",
|
|
171
|
+
}),
|
|
172
|
+
],
|
|
173
|
+
}),
|
|
174
|
+
"\n",
|
|
175
|
+
(0, i.jsx)(s.h2, { id: "-features", children: "\u2728 Features" }),
|
|
176
|
+
"\n",
|
|
177
|
+
(0, i.jsxs)(s.ul, {
|
|
178
|
+
children: [
|
|
179
|
+
"\n",
|
|
180
|
+
(0, i.jsxs)(s.li, {
|
|
181
|
+
children: [
|
|
182
|
+
(0, i.jsx)(s.strong, {
|
|
183
|
+
children: "Search GitHub repositories",
|
|
184
|
+
}),
|
|
185
|
+
" by name with fuzzy matching",
|
|
186
|
+
],
|
|
187
|
+
}),
|
|
188
|
+
"\n",
|
|
189
|
+
(0, i.jsxs)(s.li, {
|
|
190
|
+
children: [
|
|
191
|
+
(0, i.jsx)(s.strong, { children: "Download repositories" }),
|
|
192
|
+
" directly from GitHub URLs or owner/repo shortcuts. Skip the manual git clone, cd, install dance",
|
|
193
|
+
],
|
|
194
|
+
}),
|
|
195
|
+
"\n",
|
|
196
|
+
(0, i.jsxs)(s.li, {
|
|
197
|
+
children: [
|
|
198
|
+
(0, i.jsx)(s.strong, { children: "Get Releases" }),
|
|
199
|
+
" instantly download latest release for your system or all systems",
|
|
200
|
+
],
|
|
201
|
+
}),
|
|
202
|
+
"\n",
|
|
203
|
+
(0, i.jsxs)(s.li, {
|
|
204
|
+
children: [
|
|
205
|
+
(0, i.jsx)(s.strong, {
|
|
206
|
+
children: "Automatic dependency installation",
|
|
207
|
+
}),
|
|
208
|
+
" and installation for multiple project types",
|
|
209
|
+
],
|
|
210
|
+
}),
|
|
211
|
+
"\n",
|
|
212
|
+
(0, i.jsxs)(s.li, {
|
|
213
|
+
children: [
|
|
214
|
+
(0, i.jsx)(s.strong, { children: "Smart IDE integration" }),
|
|
215
|
+
" - automatically opens projects in your preferred editor",
|
|
216
|
+
],
|
|
217
|
+
}),
|
|
218
|
+
"\n",
|
|
219
|
+
(0, i.jsxs)(s.li, {
|
|
220
|
+
children: [
|
|
221
|
+
(0, i.jsx)(s.strong, {
|
|
222
|
+
children: "Cross-platform support",
|
|
223
|
+
}),
|
|
224
|
+
" - works on Windows, macOS, and Linux",
|
|
225
|
+
],
|
|
226
|
+
}),
|
|
227
|
+
"\n",
|
|
228
|
+
(0, i.jsxs)(s.li, {
|
|
229
|
+
children: [
|
|
230
|
+
(0, i.jsx)(s.strong, { children: "Conflict resolution" }),
|
|
231
|
+
" - handles directory naming conflicts automatically",
|
|
232
|
+
],
|
|
233
|
+
}),
|
|
234
|
+
"\n",
|
|
235
|
+
(0, i.jsxs)(s.li, {
|
|
236
|
+
children: [
|
|
237
|
+
(0, i.jsx)(s.strong, { children: "Faster than git" }),
|
|
238
|
+
" - skips ",
|
|
239
|
+
(0, i.jsx)(s.code, { children: ".git" }),
|
|
240
|
+
" history and uncompresses while downloading",
|
|
241
|
+
],
|
|
242
|
+
}),
|
|
243
|
+
"\n",
|
|
244
|
+
],
|
|
245
|
+
}),
|
|
246
|
+
"\n",
|
|
247
|
+
(0, i.jsx)(s.h2, { id: "-usage", children: "\ud83c\udfaf Usage" }),
|
|
248
|
+
"\n",
|
|
249
|
+
(0, i.jsx)(s.pre, {
|
|
250
|
+
children: (0, i.jsx)(s.code, {
|
|
251
|
+
className: "language-bash",
|
|
252
|
+
children:
|
|
253
|
+
"\n# Direct download from GitHub URL\n## g and git0 both work\ng https://github.com/facebook/react\n\n# Search for repositories by name\ng react starter\n\n# Download using owner/repo shorthand\ngit0 facebook/react\n\n# Use git0 without installing, (only node needed)\n# (copy this line into your project's readme to help others setup)\nnpx git0 facebook/react\n",
|
|
254
|
+
}),
|
|
255
|
+
}),
|
|
256
|
+
"\n",
|
|
257
|
+
(0, i.jsx)(s.h3, {
|
|
258
|
+
id: "supported-project-types",
|
|
259
|
+
children: "Supported Project Types",
|
|
260
|
+
}),
|
|
261
|
+
"\n",
|
|
262
|
+
(0, i.jsx)(s.p, {
|
|
263
|
+
children:
|
|
264
|
+
"git0 automatically detects and sets up the following project types:",
|
|
265
|
+
}),
|
|
266
|
+
"\n",
|
|
267
|
+
(0, i.jsxs)(s.table, {
|
|
268
|
+
children: [
|
|
269
|
+
(0, i.jsx)(s.thead, {
|
|
270
|
+
children: (0, i.jsxs)(s.tr, {
|
|
271
|
+
children: [
|
|
272
|
+
(0, i.jsx)(s.th, { children: "Project Type" }),
|
|
273
|
+
(0, i.jsx)(s.th, { children: "Detection" }),
|
|
274
|
+
(0, i.jsx)(s.th, { children: "Installation" }),
|
|
275
|
+
],
|
|
276
|
+
}),
|
|
277
|
+
}),
|
|
278
|
+
(0, i.jsxs)(s.tbody, {
|
|
279
|
+
children: [
|
|
280
|
+
(0, i.jsxs)(s.tr, {
|
|
281
|
+
children: [
|
|
282
|
+
(0, i.jsx)(s.td, {
|
|
283
|
+
children: (0, i.jsx)(s.strong, {
|
|
284
|
+
children: "Node.js",
|
|
285
|
+
}),
|
|
286
|
+
}),
|
|
287
|
+
(0, i.jsx)(s.td, {
|
|
288
|
+
children: (0, i.jsx)(s.code, {
|
|
289
|
+
children: "package.json",
|
|
290
|
+
}),
|
|
291
|
+
}),
|
|
292
|
+
(0, i.jsxs)(s.td, {
|
|
293
|
+
children: [
|
|
294
|
+
(0, i.jsx)(s.code, { children: "bun install" }),
|
|
295
|
+
" (fallback to ",
|
|
296
|
+
(0, i.jsx)(s.code, { children: "npm install" }),
|
|
297
|
+
")",
|
|
298
|
+
],
|
|
299
|
+
}),
|
|
300
|
+
],
|
|
301
|
+
}),
|
|
302
|
+
(0, i.jsxs)(s.tr, {
|
|
303
|
+
children: [
|
|
304
|
+
(0, i.jsx)(s.td, {
|
|
305
|
+
children: (0, i.jsx)(s.strong, {
|
|
306
|
+
children: "Docker",
|
|
307
|
+
}),
|
|
308
|
+
}),
|
|
309
|
+
(0, i.jsxs)(s.td, {
|
|
310
|
+
children: [
|
|
311
|
+
(0, i.jsx)(s.code, { children: "Dockerfile" }),
|
|
312
|
+
", ",
|
|
313
|
+
(0, i.jsx)(s.code, {
|
|
314
|
+
children: "docker-compose.yml",
|
|
315
|
+
}),
|
|
316
|
+
],
|
|
317
|
+
}),
|
|
318
|
+
(0, i.jsxs)(s.td, {
|
|
319
|
+
children: [
|
|
320
|
+
(0, i.jsx)(s.code, {
|
|
321
|
+
children: "docker-compose up -d",
|
|
322
|
+
}),
|
|
323
|
+
" or ",
|
|
324
|
+
(0, i.jsx)(s.code, { children: "docker build" }),
|
|
325
|
+
],
|
|
326
|
+
}),
|
|
327
|
+
],
|
|
328
|
+
}),
|
|
329
|
+
(0, i.jsxs)(s.tr, {
|
|
330
|
+
children: [
|
|
331
|
+
(0, i.jsx)(s.td, {
|
|
332
|
+
children: (0, i.jsx)(s.strong, {
|
|
333
|
+
children: "Python",
|
|
334
|
+
}),
|
|
335
|
+
}),
|
|
336
|
+
(0, i.jsxs)(s.td, {
|
|
337
|
+
children: [
|
|
338
|
+
(0, i.jsx)(s.code, {
|
|
339
|
+
children: "requirements.txt",
|
|
340
|
+
}),
|
|
341
|
+
", ",
|
|
342
|
+
(0, i.jsx)(s.code, { children: "setup.py" }),
|
|
343
|
+
],
|
|
344
|
+
}),
|
|
345
|
+
(0, i.jsx)(s.td, {
|
|
346
|
+
children: "Virtual environment + pip install",
|
|
347
|
+
}),
|
|
348
|
+
],
|
|
349
|
+
}),
|
|
350
|
+
(0, i.jsxs)(s.tr, {
|
|
351
|
+
children: [
|
|
352
|
+
(0, i.jsx)(s.td, {
|
|
353
|
+
children: (0, i.jsx)(s.strong, { children: "Rust" }),
|
|
354
|
+
}),
|
|
355
|
+
(0, i.jsx)(s.td, {
|
|
356
|
+
children: (0, i.jsx)(s.code, {
|
|
357
|
+
children: "Cargo.toml",
|
|
358
|
+
}),
|
|
359
|
+
}),
|
|
360
|
+
(0, i.jsx)(s.td, {
|
|
361
|
+
children: (0, i.jsx)(s.code, {
|
|
362
|
+
children: "cargo build",
|
|
363
|
+
}),
|
|
364
|
+
}),
|
|
365
|
+
],
|
|
366
|
+
}),
|
|
367
|
+
(0, i.jsxs)(s.tr, {
|
|
368
|
+
children: [
|
|
369
|
+
(0, i.jsx)(s.td, {
|
|
370
|
+
children: (0, i.jsx)(s.strong, { children: "Go" }),
|
|
371
|
+
}),
|
|
372
|
+
(0, i.jsx)(s.td, {
|
|
373
|
+
children: (0, i.jsx)(s.code, { children: "go.mod" }),
|
|
374
|
+
}),
|
|
375
|
+
(0, i.jsx)(s.td, {
|
|
376
|
+
children: (0, i.jsx)(s.code, {
|
|
377
|
+
children: "go mod tidy",
|
|
378
|
+
}),
|
|
379
|
+
}),
|
|
380
|
+
],
|
|
381
|
+
}),
|
|
382
|
+
],
|
|
383
|
+
}),
|
|
384
|
+
],
|
|
385
|
+
}),
|
|
386
|
+
"\n",
|
|
387
|
+
(0, i.jsx)(s.h3, {
|
|
388
|
+
id: "supported-ides",
|
|
389
|
+
children: "Supported IDEs",
|
|
390
|
+
}),
|
|
391
|
+
"\n",
|
|
392
|
+
(0, i.jsx)(s.p, {
|
|
393
|
+
children:
|
|
394
|
+
"git0 automatically detects and opens projects in your preferred IDE:",
|
|
395
|
+
}),
|
|
396
|
+
"\n",
|
|
397
|
+
(0, i.jsxs)(s.ul, {
|
|
398
|
+
children: [
|
|
399
|
+
"\n",
|
|
400
|
+
(0, i.jsxs)(s.li, {
|
|
401
|
+
children: [
|
|
402
|
+
(0, i.jsx)(s.strong, { children: "Cursor" }),
|
|
403
|
+
" (",
|
|
404
|
+
(0, i.jsx)(s.code, { children: "cursor" }),
|
|
405
|
+
")",
|
|
406
|
+
],
|
|
407
|
+
}),
|
|
408
|
+
"\n",
|
|
409
|
+
(0, i.jsxs)(s.li, {
|
|
410
|
+
children: [
|
|
411
|
+
(0, i.jsx)(s.strong, { children: "Windsurf" }),
|
|
412
|
+
" (",
|
|
413
|
+
(0, i.jsx)(s.code, { children: "windsurf" }),
|
|
414
|
+
")",
|
|
415
|
+
],
|
|
416
|
+
}),
|
|
417
|
+
"\n",
|
|
418
|
+
(0, i.jsxs)(s.li, {
|
|
419
|
+
children: [
|
|
420
|
+
(0, i.jsx)(s.strong, { children: "VS Code" }),
|
|
421
|
+
" (",
|
|
422
|
+
(0, i.jsx)(s.code, { children: "code" }),
|
|
423
|
+
")",
|
|
424
|
+
],
|
|
425
|
+
}),
|
|
426
|
+
"\n",
|
|
427
|
+
(0, i.jsxs)(s.li, {
|
|
428
|
+
children: [
|
|
429
|
+
(0, i.jsx)(s.strong, { children: "Code Server" }),
|
|
430
|
+
" (",
|
|
431
|
+
(0, i.jsx)(s.code, { children: "code-server" }),
|
|
432
|
+
")",
|
|
433
|
+
],
|
|
434
|
+
}),
|
|
435
|
+
"\n",
|
|
436
|
+
(0, i.jsxs)(s.li, {
|
|
437
|
+
children: [
|
|
438
|
+
(0, i.jsx)(s.strong, { children: "Neovim" }),
|
|
439
|
+
" (",
|
|
440
|
+
(0, i.jsx)(s.code, { children: "nvim" }),
|
|
441
|
+
")",
|
|
442
|
+
],
|
|
443
|
+
}),
|
|
444
|
+
"\n",
|
|
445
|
+
(0, i.jsxs)(s.li, {
|
|
446
|
+
children: [
|
|
447
|
+
(0, i.jsx)(s.strong, { children: "Webstorm" }),
|
|
448
|
+
" (",
|
|
449
|
+
(0, i.jsx)(s.code, { children: "webstorm" }),
|
|
450
|
+
")",
|
|
451
|
+
],
|
|
452
|
+
}),
|
|
453
|
+
"\n",
|
|
454
|
+
],
|
|
455
|
+
}),
|
|
456
|
+
"\n",
|
|
457
|
+
(0, i.jsx)(s.h2, {
|
|
458
|
+
id: "-configuration",
|
|
459
|
+
children: "\ud83d\udd27 Configuration",
|
|
460
|
+
}),
|
|
461
|
+
"\n",
|
|
462
|
+
(0, i.jsx)(s.h3, {
|
|
463
|
+
id: "what-happens-after-download",
|
|
464
|
+
children: "What Happens After Download",
|
|
465
|
+
}),
|
|
466
|
+
"\n",
|
|
467
|
+
(0, i.jsxs)(s.ol, {
|
|
468
|
+
children: [
|
|
469
|
+
"\n",
|
|
470
|
+
(0, i.jsxs)(s.li, {
|
|
471
|
+
children: [
|
|
472
|
+
(0, i.jsx)(s.strong, {
|
|
473
|
+
children: "Repository is downloaded",
|
|
474
|
+
}),
|
|
475
|
+
" to your current directory",
|
|
476
|
+
],
|
|
477
|
+
}),
|
|
478
|
+
"\n",
|
|
479
|
+
(0, i.jsxs)(s.li, {
|
|
480
|
+
children: [
|
|
481
|
+
(0, i.jsx)(s.strong, {
|
|
482
|
+
children: "Project type is detected",
|
|
483
|
+
}),
|
|
484
|
+
" automatically",
|
|
485
|
+
],
|
|
486
|
+
}),
|
|
487
|
+
"\n",
|
|
488
|
+
(0, i.jsxs)(s.li, {
|
|
489
|
+
children: [
|
|
490
|
+
(0, i.jsx)(s.strong, {
|
|
491
|
+
children: "Dependencies are installed",
|
|
492
|
+
}),
|
|
493
|
+
" based on project type",
|
|
494
|
+
],
|
|
495
|
+
}),
|
|
496
|
+
"\n",
|
|
497
|
+
(0, i.jsxs)(s.li, {
|
|
498
|
+
children: [
|
|
499
|
+
(0, i.jsx)(s.strong, { children: "IDE is launched" }),
|
|
500
|
+
" automatically (if available)",
|
|
501
|
+
],
|
|
502
|
+
}),
|
|
503
|
+
"\n",
|
|
504
|
+
(0, i.jsxs)(s.li, {
|
|
505
|
+
children: [
|
|
506
|
+
(0, i.jsx)(s.strong, {
|
|
507
|
+
children: "Development server starts",
|
|
508
|
+
}),
|
|
509
|
+
" (for Node.js projects)",
|
|
510
|
+
],
|
|
511
|
+
}),
|
|
512
|
+
"\n",
|
|
513
|
+
],
|
|
514
|
+
}),
|
|
515
|
+
"\n",
|
|
516
|
+
(0, i.jsxs)(s.p, {
|
|
517
|
+
children: [
|
|
518
|
+
"If a directory with the same name exists, git0 automatically appends a number (e.g., ",
|
|
519
|
+
(0, i.jsx)(s.code, { children: "react-2" }),
|
|
520
|
+
", ",
|
|
521
|
+
(0, i.jsx)(s.code, { children: "react-3" }),
|
|
522
|
+
").",
|
|
523
|
+
],
|
|
524
|
+
}),
|
|
525
|
+
"\n",
|
|
526
|
+
(0, i.jsx)(s.h3, {
|
|
527
|
+
id: "github-token-optional",
|
|
528
|
+
children: "GitHub Token (Optional)",
|
|
529
|
+
}),
|
|
530
|
+
"\n",
|
|
531
|
+
(0, i.jsxs)(s.p, {
|
|
532
|
+
children: [
|
|
533
|
+
"For higher API rate limits, set ",
|
|
534
|
+
(0, i.jsx)(s.a, {
|
|
535
|
+
href: "https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token",
|
|
536
|
+
children: "your GitHub token",
|
|
537
|
+
}),
|
|
538
|
+
":",
|
|
539
|
+
],
|
|
540
|
+
}),
|
|
541
|
+
"\n",
|
|
542
|
+
(0, i.jsx)(s.pre, {
|
|
543
|
+
children: (0, i.jsx)(s.code, {
|
|
544
|
+
className: "language-bash",
|
|
545
|
+
children: "export GITHUB_TOKEN=your_github_token_here\n",
|
|
546
|
+
}),
|
|
547
|
+
}),
|
|
548
|
+
"\n",
|
|
549
|
+
(0, i.jsx)(s.p, {
|
|
550
|
+
children:
|
|
551
|
+
"Without a token, you're limited to 60 requests per hour. With a token, you get 5,000 requests per hour.",
|
|
552
|
+
}),
|
|
553
|
+
],
|
|
554
|
+
});
|
|
555
|
+
}
|
|
556
|
+
function h(e = {}) {
|
|
557
|
+
const { wrapper: s } = { ...(0, r.R)(), ...e.components };
|
|
558
|
+
return s
|
|
559
|
+
? (0, i.jsx)(s, { ...e, children: (0, i.jsx)(a, { ...e }) })
|
|
560
|
+
: a(e);
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
8453: (e, s, t) => {
|
|
564
|
+
t.d(s, { R: () => o, x: () => l });
|
|
565
|
+
var n = t(6540);
|
|
566
|
+
const i = {},
|
|
567
|
+
r = n.createContext(i);
|
|
568
|
+
function o(e) {
|
|
569
|
+
const s = n.useContext(r);
|
|
570
|
+
return n.useMemo(
|
|
571
|
+
function () {
|
|
572
|
+
return "function" == typeof e ? e(s) : { ...s, ...e };
|
|
573
|
+
},
|
|
574
|
+
[s, e],
|
|
575
|
+
);
|
|
576
|
+
}
|
|
577
|
+
function l(e) {
|
|
578
|
+
let s;
|
|
579
|
+
return (
|
|
580
|
+
(s = e.disableParentContext
|
|
581
|
+
? "function" == typeof e.components
|
|
582
|
+
? e.components(i)
|
|
583
|
+
: e.components || i
|
|
584
|
+
: o(e.components)),
|
|
585
|
+
n.createElement(r.Provider, { value: s }, e.children)
|
|
586
|
+
);
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
},
|
|
590
|
+
]);
|