git0 0.3.18 → 0.3.20

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.
Files changed (85) hide show
  1. package/package.json +3 -2
  2. package/docs/404.html +0 -26
  3. package/docs/CNAME +0 -1
  4. package/docs/Footer/index.html +0 -26
  5. package/docs/assets/css/styles.3dd00f8d.css +0 -1
  6. package/docs/assets/js/17896441.79ceefeb.js +0 -1
  7. package/docs/assets/js/1df93b7f.1385eba0.js +0 -2
  8. package/docs/assets/js/1df93b7f.1385eba0.js.LICENSE.txt +0 -6
  9. package/docs/assets/js/22dd74f7.e13ac7a4.js +0 -1
  10. package/docs/assets/js/237.daf7efdf.js +0 -1
  11. package/docs/assets/js/278.1628756c.js +0 -1
  12. package/docs/assets/js/28ab763d.192aa3bb.js +0 -1
  13. package/docs/assets/js/299d276b.c9496717.js +0 -1
  14. package/docs/assets/js/577.78325c02.js +0 -1
  15. package/docs/assets/js/591.2156b33d.js +0 -2
  16. package/docs/assets/js/591.2156b33d.js.LICENSE.txt +0 -61
  17. package/docs/assets/js/5e95c892.bd6c1093.js +0 -1
  18. package/docs/assets/js/68cef36b.e5b1975b.js +0 -1
  19. package/docs/assets/js/a7456010.3054873b.js +0 -1
  20. package/docs/assets/js/a7bd4aaa.87229397.js +0 -1
  21. package/docs/assets/js/a94703ab.6d39a596.js +0 -1
  22. package/docs/assets/js/a9cef9d5.a7253e41.js +0 -1
  23. package/docs/assets/js/aba21aa0.dfebd789.js +0 -1
  24. package/docs/assets/js/ac46717f.32345167.js +0 -2
  25. package/docs/assets/js/ac46717f.32345167.js.LICENSE.txt +0 -6
  26. package/docs/assets/js/c3a618e1.1c56fb03.js +0 -590
  27. package/docs/assets/js/main.1f646b09.js +0 -2
  28. package/docs/assets/js/main.1f646b09.js.LICENSE.txt +0 -68
  29. package/docs/assets/js/runtime~main.f69f8f44.js +0 -1
  30. package/docs/functions/fm/index.html +0 -26
  31. package/docs/functions/git0/index.html +0 -48
  32. package/docs/functions/github-api/index.html +0 -149
  33. package/docs/functions/index.html +0 -891
  34. package/docs/functions/modules/index.html +0 -31
  35. package/docs/index.html +0 -26
  36. package/docs/lunr-index-1749760982052.json +0 -1
  37. package/docs/lunr-index.json +0 -1
  38. package/docs/search-doc-1749760982052.json +0 -1
  39. package/docs/search-doc.json +0 -1
  40. package/docs/sitemap.xml +0 -1
  41. package/docs-config/.docusaurus/DONT-EDIT-THIS-FOLDER +0 -5
  42. package/docs-config/.docusaurus/client-manifest.json +0 -271
  43. package/docs-config/.docusaurus/client-modules.js +0 -8
  44. package/docs-config/.docusaurus/codeTranslations.json +0 -1
  45. package/docs-config/.docusaurus/docusaurus-lunr-search/default/__plugin.json +0 -4
  46. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/__mdx-loader-dependency.json +0 -1
  47. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/__plugin.json +0 -4
  48. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/p/docs-175.json +0 -1
  49. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/p/index-466.json +0 -1
  50. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-fm-md-a9c.json +0 -19
  51. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-git-0-1-md-d3e.json +0 -19
  52. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-git-0-md-299.json +0 -23
  53. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-github-api-md-28a.json +0 -23
  54. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-globals-md-4a8.json +0 -19
  55. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-index-md-c3a.json +0 -23
  56. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-modules-md-68c.json +0 -19
  57. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-index-md-d14.json +0 -21
  58. package/docs-config/.docusaurus/docusaurus-plugin-content-pages/default/__plugin.json +0 -4
  59. package/docs-config/.docusaurus/docusaurus-plugin-google-gtag/default/__plugin.json +0 -4
  60. package/docs-config/.docusaurus/docusaurus.config.mjs +0 -378
  61. package/docs-config/.docusaurus/globalData.json +0 -70
  62. package/docs-config/.docusaurus/i18n.json +0 -17
  63. package/docs-config/.docusaurus/lunr.client.js +0 -5
  64. package/docs-config/.docusaurus/registry.js +0 -16
  65. package/docs-config/.docusaurus/routes.js +0 -67
  66. package/docs-config/.docusaurus/routesChunkNames.json +0 -49
  67. package/docs-config/.docusaurus/site-metadata.json +0 -51
  68. package/docs-config/.docusaurus/site-storage.json +0 -4
  69. package/docs-config/config/customize-docs.js +0 -31
  70. package/docs-config/config/docs-theme.css +0 -358
  71. package/docs-config/config/openapi.mustache +0 -39
  72. package/docs-config/config/sidebars.ts +0 -21
  73. package/docs-config/config/typedoc.json +0 -40
  74. package/docs-config/docusaurus.config.ts +0 -341
  75. package/docs-config/package.json +0 -40
  76. package/docs-config/src/functions/fm.md +0 -1
  77. package/docs-config/src/functions/git0.md +0 -101
  78. package/docs-config/src/functions/github-api.md +0 -761
  79. package/docs-config/src/functions/index.md +0 -103
  80. package/docs-config/src/functions/modules.md +0 -5
  81. package/docs-config/src/functions/typedoc-sidebar.cjs +0 -22
  82. package/docs-config/src/pages/Footer.tsx +0 -67
  83. package/docs-config/src/pages/index.tsx +0 -433
  84. package/docs-config/static/CNAME +0 -1
  85. package/docs-config/tsconfig.json +0 -27
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkcreate_apidocs=self.webpackChunkcreate_apidocs||[]).push([[327],{5524:(t,n,e)=>{e.r(n),e.d(n,{assets:()=>a,contentTitle:()=>i,default:()=>m,frontMatter:()=>r,metadata:()=>o,toc:()=>u});const o=JSON.parse('{"id":"functions/fm","title":"fm","description":"Documentation / fm","source":"@site/src/functions/fm.md","sourceDirName":"functions","slug":"/functions/fm","permalink":"/functions/fm","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{},"sidebar":"default","next":{"title":"git0","permalink":"/functions/git0"}}');var s=e(4848),c=e(8453);const r={},i=void 0,a={},u=[];function f(t){const n={a:"a",p:"p",...(0,c.R)(),...t.components};return(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.a,{href:"/functions/modules",children:"Documentation"})," / fm"]})}function m(t={}){const{wrapper:n}={...(0,c.R)(),...t.components};return n?(0,s.jsx)(n,{...t,children:(0,s.jsx)(f,{...t})}):f(t)}},8453:(t,n,e)=>{e.d(n,{R:()=>r,x:()=>i});var o=e(6540);const s={},c=o.createContext(s);function r(t){const n=o.useContext(c);return o.useMemo((function(){return"function"==typeof t?t(n):{...n,...t}}),[n,t])}function i(t){let n;return n=t.disableParentContext?"function"==typeof t.components?t.components(s):t.components||s:r(t.components),o.createElement(c.Provider,{value:n},t.children)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkcreate_apidocs=self.webpackChunkcreate_apidocs||[]).push([[742],{7093:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see ac46717f.32345167.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkcreate_apidocs=self.webpackChunkcreate_apidocs||[]).push([[682],{3378:(e,t,r)=>{r.d(t,{A:()=>s});const s=(0,r(4722).A)("github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]])},4722:(e,t,r)=>{r.d(t,{A:()=>n});var s=r(6540);const a=e=>{const t=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,((e,t,r)=>r?r.toUpperCase():t.toLowerCase())))(e);return t.charAt(0).toUpperCase()+t.slice(1)},c=(...e)=>e.filter(((e,t,r)=>Boolean(e)&&""!==e.trim()&&r.indexOf(e)===t)).join(" ").trim(),i=e=>{for(const t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const o=(0,s.forwardRef)((({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:a,className:o="",children:n,iconNode:h,...d},u)=>(0,s.createElement)("svg",{ref:u,...l,width:t,height:t,stroke:e,strokeWidth:a?24*Number(r)/Number(t):r,className:c("lucide",o),...!n&&!i(d)&&{"aria-hidden":"true"},...d},[...h.map((([e,t])=>(0,s.createElement)(e,t))),...Array.isArray(n)?n:[n]]))),n=(e,t)=>{const r=(0,s.forwardRef)((({className:r,...i},l)=>{return(0,s.createElement)(o,{ref:l,iconNode:t,className:c(`lucide-${n=a(e),n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...i});var n}));return r.displayName=a(e),r}},7851:(e,t,r)=>{r.r(t),r.d(t,{default:()=>h});r(6540);var s=r(4722);const a=(0,s.A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]),c=(0,s.A)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);var i=r(3378);const l=(0,s.A)("git-branch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);var o=r(4848),n={urlDocs:"https://git0.js.org/functions",urlSupport:"https://discord.gg/SJdBqBz3tV",urlGithub:"https://github.com/vtempest/git0",urlGithubChat:"https://github.com/vtempest/git0/discussions",urlLogo:"https://i.imgur.com/857meew.png",name:"git0",urlAuthor:"https://github.com/vtempest",author:"vtempest",copyrightHTML:'&copy; 2025 Get git0. <a href="https://github.com/vtempest/git0">Star this on GitHub</a> so it can grow!'};function h(){return(0,o.jsx)("footer",{className:"relative z-10 border-t border-gray-800/50 py-16 px-6 bg-gray-900/50 backdrop-blur-xl",children:(0,o.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,o.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-between ",children:[(0,o.jsxs)("div",{className:"flex items-center space-x-4 mb-6 md:mb-0",children:[(0,o.jsx)("div",{className:"w-12 h-12 bg-gradient-to-br from-blue-500 via-cyan-500 to-purple-600 rounded-xl flex items-center justify-center shadow-2xl",children:(0,o.jsx)("img",{src:n.urlLogo,alt:"logo",className:"w-10 h-10"})}),(0,o.jsx)("span",{className:"text-2xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent",children:n.name})]}),(0,o.jsxs)("div",{className:"flex items-center space-x-8",children:[(0,o.jsxs)("a",{href:n.urlDocs,className:"flex items-center space-x-2 text-gray-400 hover:text-white transition-all duration-300 hover:scale-105",children:[(0,o.jsx)(a,{className:"w-5 h-5"}),(0,o.jsx)("span",{children:"Docs"})]}),(0,o.jsxs)("a",{href:n.urlSupport,className:"flex items-center space-x-2 text-gray-400 hover:text-white transition-all duration-300 hover:scale-105",children:[(0,o.jsx)(c,{className:"w-5 h-5"}),(0,o.jsx)("span",{children:"Discord"})]}),(0,o.jsxs)("a",{href:n.urlGithub,className:"flex items-center space-x-2 text-gray-400 hover:text-white transition-all duration-300 hover:scale-105",children:[(0,o.jsx)(i.A,{className:"w-5 h-5"}),(0,o.jsx)("span",{children:"GitHub"})]}),(0,o.jsxs)("a",{href:n.urlGithubChat,className:"flex items-center space-x-2 text-gray-400 hover:text-white transition-all duration-300 hover:scale-105",children:[(0,o.jsx)(l,{className:"w-5 h-5"}),(0,o.jsx)("span",{children:"Discussions"})]})]})]}),(0,o.jsxs)("div",{className:"pt-8 border-t border-gray-800/50 text-center",children:[(0,o.jsx)("p",{className:"text-gray-400 mb-4",dangerouslySetInnerHTML:{__html:n.copyrightHTML}}),(0,o.jsx)("div",{className:"flex justify-center space-x-4 text-sm text-gray-500",children:(0,o.jsxs)("span",{children:["Made by ",(0,o.jsx)("a",{href:n.urlAuthor,className:"text-blue-400 hover:text-blue-300 transition-all duration-300",children:n.author})," with \u2764\ufe0f for the developer community"]})})]})]})})}}}]);
@@ -1,6 +0,0 @@
1
- /**
2
- * @license lucide-react v0.513.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */
@@ -1,590 +0,0 @@
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
- ]);