git0 0.2.6 → 0.2.8

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 (55) hide show
  1. package/docs/404.html +2 -3
  2. package/docs/Footer/index.html +2 -3
  3. package/docs/assets/js/1df93b7f.d8c05d2c.js +2 -0
  4. package/docs/assets/js/22dd74f7.237398b4.js +1 -0
  5. package/docs/assets/js/28ab763d.5714aa16.js +1 -0
  6. package/docs/assets/js/299d276b.1a1baa1c.js +1 -0
  7. package/docs/assets/js/68cef36b.c312447e.js +1 -0
  8. package/docs/assets/js/c3a618e1.965a31da.js +1 -0
  9. package/docs/assets/js/{main.6b27aee7.js → main.cf858a7d.js} +2 -2
  10. package/docs/assets/js/runtime~main.7520dc36.js +1 -0
  11. package/docs/functions/{globals → git0}/index.html +9 -9
  12. package/docs/functions/github-api/index.html +149 -0
  13. package/docs/functions/index.html +4 -5
  14. package/docs/functions/modules/index.html +30 -0
  15. package/docs/index.html +3 -4
  16. package/docs/lunr-index-1749613752315.json +1 -0
  17. package/docs/lunr-index.json +1 -1
  18. package/docs/search-doc-1749613752315.json +1 -0
  19. package/docs/search-doc.json +1 -1
  20. package/docs/sitemap.xml +1 -1
  21. package/docs-config/.docusaurus/client-manifest.json +45 -33
  22. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/p/docs-175.json +1 -0
  23. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/p/index-466.json +1 -1
  24. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-git-0-1-md-d3e.json +19 -0
  25. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-git-0-md-299.json +19 -0
  26. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-github-api-md-28a.json +23 -0
  27. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-index-md-c3a.json +6 -2
  28. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-modules-md-68c.json +19 -0
  29. package/docs-config/.docusaurus/docusaurus.config.mjs +2 -9
  30. package/docs-config/.docusaurus/globalData.json +14 -9
  31. package/docs-config/.docusaurus/registry.js +4 -3
  32. package/docs-config/.docusaurus/routes.js +13 -7
  33. package/docs-config/.docusaurus/routesChunkNames.json +11 -7
  34. package/docs-config/config/customize-docs.js +4 -2
  35. package/docs-config/docusaurus.config.ts +0 -9
  36. package/docs-config/src/functions/{globals.md → git0.md} +4 -2
  37. package/docs-config/src/functions/github-api.md +744 -0
  38. package/docs-config/src/functions/modules.md +4 -0
  39. package/docs-config/src/functions/typedoc-sidebar.cjs +12 -1
  40. package/docs-config/src/pages/index.tsx +289 -279
  41. package/docs-config/tsconfig.json +1 -1
  42. package/package.json +1 -1
  43. package/src/git0.js +2 -2
  44. package/src/github-api.js +1 -1
  45. package/docs/assets/js/1df93b7f.dfdf0ef3.js +0 -2
  46. package/docs/assets/js/22dd74f7.040a4546.js +0 -1
  47. package/docs/assets/js/4a829dc8.10d7db0a.js +0 -1
  48. package/docs/assets/js/c3a618e1.50a89e4d.js +0 -1
  49. package/docs/assets/js/d140250a.62af53aa.js +0 -1
  50. package/docs/assets/js/runtime~main.5c54c19c.js +0 -1
  51. package/docs/lunr-index-1749612068805.json +0 -1
  52. package/docs/search-doc-1749612068805.json +0 -1
  53. package/docs-config/src/index.md +0 -127
  54. /package/docs/assets/js/{1df93b7f.dfdf0ef3.js.LICENSE.txt → 1df93b7f.d8c05d2c.js.LICENSE.txt} +0 -0
  55. /package/docs/assets/js/{main.6b27aee7.js.LICENSE.txt → main.cf858a7d.js.LICENSE.txt} +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "include": [
3
- "../src/git0.js"
3
+ "../src/**/*"
4
4
  ],
5
5
  "compilerOptions": {
6
6
  "jsx": "react",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "git0",
3
3
  "description": "CLI tool to search GitHub repositories, download source & releases for your system, and instantly set up, then install dependencies and open code editor.",
4
- "version": "0.2.6",
4
+ "version": "0.2.8",
5
5
  "author": "vtempest",
6
6
  "dependencies": {
7
7
  "chalk": "^5.4.1",
package/src/git0.js CHANGED
@@ -4,8 +4,8 @@ import chalk from 'chalk';
4
4
  import { execSync, spawn } from 'child_process';
5
5
  import fs from 'fs';
6
6
  import path from 'path';
7
- import ora from ora;
8
- import GithubAPI from './github-api'
7
+ import ora from 'ora';
8
+ import GithubAPI from './github-api.js'
9
9
 
10
10
  const Github = new GithubAPI({ debug: false })
11
11
 
package/src/github-api.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import grab from 'grab-api.js';
2
2
  import chalk from 'chalk';
3
- import os from 'os';
4
3
  import gitUrlParse from 'git-url-parse';
4
+ import os from 'os';
5
5
  import fs from 'fs';
6
6
  import * as tar from 'tar';
7
7
  import path from 'path';
@@ -1,2 +0,0 @@
1
- /*! For license information please see 1df93b7f.dfdf0ef3.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkcreate_apidocs=self.webpackChunkcreate_apidocs||[]).push([[583,682],{3378:(e,t,a)=>{a.d(t,{A:()=>r});const r=(0,a(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,a)=>{a.d(t,{A:()=>c});var r=a(6540);const s=e=>{const t=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,((e,t,a)=>a?a.toUpperCase():t.toLowerCase())))(e);return t.charAt(0).toUpperCase()+t.slice(1)},l=(...e)=>e.filter(((e,t,a)=>Boolean(e)&&""!==e.trim()&&a.indexOf(e)===t)).join(" ").trim(),o=e=>{for(const t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0};var i={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 n=(0,r.forwardRef)((({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:n="",children:c,iconNode:d,...m},x)=>(0,r.createElement)("svg",{ref:x,...i,width:t,height:t,stroke:e,strokeWidth:s?24*Number(a)/Number(t):a,className:l("lucide",n),...!c&&!o(m)&&{"aria-hidden":"true"},...m},[...d.map((([e,t])=>(0,r.createElement)(e,t))),...Array.isArray(c)?c:[c]]))),c=(e,t)=>{const a=(0,r.forwardRef)((({className:a,...o},i)=>{return(0,r.createElement)(n,{ref:i,iconNode:t,className:l(`lucide-${c=s(e),c.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,a),...o});var c}));return a.displayName=s(e),a}},4905:(e,t,a)=>{a.r(t),a.d(t,{default:()=>w});var r=a(6540),s=a(7851),l=a(4722);const o=(0,l.A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),i=(0,l.A)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),n=(0,l.A)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]),c=(0,l.A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),d=(0,l.A)("code",[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]]),m=(0,l.A)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]),x=(0,l.A)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),u=(0,l.A)("file-code",[["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}]]),h=(0,l.A)("settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),p=(0,l.A)("play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);var g=a(3378);const b=(0,l.A)("sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]),y=(0,l.A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),f=(0,l.A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);var v=a(4848),j={installCommands:{bun:"bun install -g git0",npm:"npm install -g git0",npx:"npx git0 react starter"},coreFeatures:[{icon:o,title:"Search GitHub Repositories",description:"Search repositories by name with intelligent fuzzy matching and instant results",gradient:"from-blue-500 via-cyan-500 to-teal-500",example:"git0 react starter"},{icon:i,title:"Direct Repository Download",description:"Download from GitHub URLs or owner/repo shortcuts. Skip the manual git clone dance",gradient:"from-purple-500 via-pink-500 to-rose-500",example:"git0 facebook/react"},{icon:n,title:"Git Release Package Manager",description:"Instantly download latest release binaries for your system or all platforms",gradient:"from-green-500 via-emerald-500 to-cyan-500",example:"gg user/repo"},{icon:c,title:"Automatic Dependency Installation",description:"Smart detection and installation of dependencies for multiple project types",gradient:"from-orange-500 via-red-500 to-pink-500",example:"Auto-detects package.json, requirements.txt, Cargo.toml"},{icon:d,title:"Smart IDE Integration",description:"Automatically opens projects in Cursor, Windsurf, VS Code, or your preferred editor",gradient:"from-indigo-500 via-purple-500 to-blue-500",example:"Opens in cursor, windsurf, code, nvim"},{icon:m,title:"Conflict Resolution",description:"Handles directory naming conflicts automatically with smart numbering",gradient:"from-yellow-500 via-orange-500 to-red-500",example:"react \u2192 react-2 \u2192 react-3"}],projectTypes:[{name:"Node.js",file:"package.json",install:"bun install (fallback to npm)",color:"text-green-400",icon:n},{name:"Docker",file:"Dockerfile, docker-compose.yml",install:"docker-compose up -d",color:"text-blue-400",icon:x},{name:"Python",file:"requirements.txt, setup.py",install:"Virtual env + pip install",color:"text-yellow-400",icon:u},{name:"Rust",file:"Cargo.toml",install:"cargo build",color:"text-orange-400",icon:h},{name:"Go",file:"go.mod",install:"go mod tidy",color:"text-cyan-400",icon:p}],supportedIDEs:[{name:"Cursor",command:"cursor",color:"text-blue-400"},{name:"Windsurf",command:"windsurf",color:"text-purple-400"},{name:"VS Code",command:"code",color:"text-blue-300"},{name:"Code Server",command:"code-server",color:"text-green-400"},{name:"Neovim",command:"nvim",color:"text-orange-400"}],featuresList:[{title:"Search Repositories",command:"git0 react starter",desc:"Find repositories by name with fuzzy matching"},{title:"Direct Download",command:"gg facebook/react",desc:"Download using owner/repo shorthand"},{title:"From GitHub URL",command:"git0 https://github.com/user/repo",desc:"Download from any GitHub URL"}],workflowSteps:[{step:"1",title:"Repository Downloaded",desc:"To your current directory",icon:i},{step:"2",title:"Project Type Detected",desc:"Automatically identified",icon:o},{step:"3",title:"Dependencies Installed",desc:"Based on project type",icon:n},{step:"4",title:"IDE Launched",desc:"Opens in preferred editor",icon:d},{step:"5",title:"Dev Server Started",desc:"For Node.js projects",icon:p}],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!'};const w=function(){var e=(0,r.useState)(null),t=e[0],a=e[1],l=(0,r.useState)("bun"),o=l[0],i=l[1],n=(0,r.useState)({x:0,y:0}),c=n[0],d=n[1];return(0,r.useEffect)((function(){var e=function(e){d({x:e.clientX,y:e.clientY})};return window.addEventListener("mousemove",e),function(){return window.removeEventListener("mousemove",e)}}),[]),(0,v.jsxs)("div",{className:"min-h-screen bg-gray-900 text-white overflow-hidden relative",children:[(0,v.jsxs)("div",{className:"fixed inset-0 bg-gradient-to-br from-gray-900 via-blue-900/30 to-purple-900/30",children:[(0,v.jsxs)("div",{className:"absolute inset-0",children:[(0,v.jsx)("div",{className:"absolute w-96 h-96 bg-blue-500/20 rounded-full blur-3xl animate-pulse",style:{left:20+.02*c.x+"%",top:10+.01*c.y+"%",transform:"translate3d(0, 0, 0)"}}),(0,v.jsx)("div",{className:"absolute w-80 h-80 bg-purple-500/20 rounded-full blur-3xl animate-pulse delay-1000",style:{right:15+-.015*c.x+"%",bottom:20+-.01*c.y+"%",transform:"translate3d(0, 0, 0)"}}),(0,v.jsx)("div",{className:"absolute w-64 h-64 bg-cyan-500/15 rounded-full blur-3xl animate-pulse delay-2000",style:{left:60+.01*c.x+"%",top:60+.005*c.y+"%",transform:"translate3d(0, 0, 0)"}})]}),(0,v.jsx)("div",{className:"absolute inset-0 bg-[linear-gradient(rgba(56,189,248,0.03)_1px,transparent_1px),linear-gradient(90deg,rgba(56,189,248,0.03)_1px,transparent_1px)] bg-[size:50px_50px]"}),(0,v.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_25%_25%,rgba(56,189,248,0.15),transparent_50%)]"}),(0,v.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_75%_75%,rgba(147,51,234,0.15),transparent_50%)]"})]}),(0,v.jsxs)("nav",{className:"relative z-50 flex items-center justify-between p-6 backdrop-blur-xl bg-gray-900/70 border-b border-gray-700/50",children:[(0,v.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,v.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 shadow-blue-500/25 transform hover:scale-110 transition-all duration-300",children:(0,v.jsx)("img",{src:j.urlLogo,alt:"logo",className:"w-10 h-10"})}),(0,v.jsx)("span",{className:"text-3xl font-bold bg-gradient-to-r from-blue-400 via-cyan-400 to-purple-400 bg-clip-text text-transparent",children:j.name})]}),(0,v.jsxs)("div",{className:"flex items-center space-x-8",children:[(0,v.jsx)("a",{href:"#features",className:"hover:text-blue-400 transition-all duration-300 hover:scale-105",children:"Features"}),(0,v.jsx)("a",{href:"#installation",className:"hover:text-blue-400 transition-all duration-300 hover:scale-105",children:"Install"}),(0,v.jsx)("a",{href:"#workflow",className:"hover:text-blue-400 transition-all duration-300 hover:scale-105",children:"How It Works"}),(0,v.jsxs)("a",{href:j.urlGithub,className:"flex items-center space-x-2 bg-gradient-to-r from-blue-600 via-cyan-600 to-purple-600 px-6 py-3 rounded-xl hover:from-blue-500 hover:via-cyan-500 hover:to-purple-500 transition-all duration-300 shadow-2xl shadow-blue-500/25 hover:scale-105 hover:shadow-blue-500/40",children:[(0,v.jsx)(g.A,{className:"w-5 h-5"}),(0,v.jsx)("span",{className:"font-semibold",children:"GitHub"})]})]})]}),(0,v.jsx)("section",{className:"relative z-10 pt-6 pb-10 px-6",children:(0,v.jsxs)("div",{className:"max-w-7xl mx-auto text-center",children:[(0,v.jsxs)("div",{className:"",children:[(0,v.jsxs)("div",{className:"inline-flex items-center space-x-3 bg-gradient-to-r from-blue-500/20 via-cyan-500/20 to-purple-500/20 backdrop-blur-xl border border-blue-500/30 rounded-full px-6 py-3 mb-8 shadow-2xl shadow-blue-500/10 hover:shadow-blue-500/20 transition-all duration-500",children:[(0,v.jsx)(b,{className:"w-5 h-5 text-blue-400 animate-pulse"}),(0,v.jsx)("span",{className:"text-blue-300 font-medium",children:"Download Git Repo on Step Zero"}),(0,v.jsx)("div",{className:"w-2 h-2 bg-green-400 rounded-full animate-pulse"})]}),(0,v.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,v.jsx)("img",{src:"https://i.imgur.com/Io3ukRC.gif",alt:"Git Preview",className:"w-full"}),(0,v.jsx)("img",{src:"https://i.imgur.com/6l9esbL.png",alt:"Git Preview",className:"w-full"})]}),(0,v.jsxs)("p",{className:"text-2xl md:text-3xl mt-4 text-gray-300 mb-12 max-w-5xl mx-auto leading-relaxed font-light",children:["CLI tool to search GitHub repositories, download source & releases, and instantly set up projects with",(0,v.jsx)("span",{className:"bg-gradient-to-r from-blue-400 to-cyan-400 bg-clip-text text-transparent font-semibold",children:" automatic dependency installation and editor opening"})]})]}),(0,v.jsxs)("div",{id:"installation",children:[(0,v.jsx)("div",{className:"flex justify-center mb-8",children:(0,v.jsx)("div",{className:"flex bg-gray-800/50 backdrop-blur-xl rounded-2xl p-2 border border-gray-700/50 shadow-2xl",children:Object.keys(j.installCommands).map((function(e){return(0,v.jsx)("button",{onClick:function(){return i(e)},className:"px-6 py-3 rounded-xl transition-all duration-300 font-semibold "+(o===e?"bg-gradient-to-r from-blue-500 via-cyan-500 to-purple-500 text-white shadow-lg transform scale-105":"text-gray-400 hover:text-white hover:bg-gray-700/50"),children:e.toUpperCase()},e)}))})}),(0,v.jsx)("div",{className:"max-w-3xl mx-auto",children:(0,v.jsxs)("div",{className:"bg-gray-800/40 backdrop-blur-xl border border-gray-700/50 rounded-2xl p-8 shadow-2xl hover:shadow-blue-500/10 transition-all duration-500 transform hover:scale-[1.02]",children:[(0,v.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,v.jsx)("span",{className:"text-gray-400 font-medium",children:"Installation Command"}),(0,v.jsxs)("button",{onClick:function(){return e=j.installCommands[o],t=o,navigator.clipboard.writeText(e),a(t),void setTimeout((function(){return a(null)}),2e3);var e,t},className:"flex items-center space-x-2 text-blue-400 hover:text-blue-300 transition-all duration-300 bg-blue-500/10 px-4 py-2 rounded-lg hover:bg-blue-500/20",children:[t===o?(0,v.jsx)(y,{className:"w-5 h-5"}):(0,v.jsx)(f,{className:"w-5 h-5"}),(0,v.jsx)("span",{className:"font-medium",children:t===o?"Copied!":"Copy"})]})]}),(0,v.jsx)("code",{className:"text-xl text-green-400 font-mono bg-gray-900/50 p-4 rounded-lg block",children:j.installCommands[o]})]})})]}),(0,v.jsx)("div",{className:"",children:(0,v.jsxs)("div",{className:"max-w-6xl mx-auto bg-gray-800/30 backdrop-blur-xl border border-gray-700/50 rounded-2xl p-10 shadow-2xl",children:[(0,v.jsx)("h3",{className:"text-3xl font-bold mb-8 text-center bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent",children:"Usage Examples"}),(0,v.jsx)("div",{className:"grid md:grid-cols-3 gap-6",children:j.featuresList.map((function(e,t){return(0,v.jsxs)("div",{className:"bg-gray-800/50 rounded-xl p-6 border border-gray-700/50 hover:border-blue-500/50 transition-all duration-300 transform hover:scale-105 hover:shadow-xl",children:[(0,v.jsx)("div",{className:"text-blue-400 font-bold text-lg mb-2",children:e.title}),(0,v.jsx)("code",{className:"text-green-400 text-lg font-mono block mb-3 bg-gray-900/50 p-3 rounded",children:e.command}),(0,v.jsx)("p",{className:"text-gray-400 text-sm",children:e.desc})]},t)}))})]})})]})}),(0,v.jsx)("section",{id:"features",className:"relative z-10 px-6",children:(0,v.jsx)("div",{className:"max-w-7xl mx-auto",children:(0,v.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8 ",children:j.coreFeatures.map((function(e,t){return(0,v.jsxs)("div",{className:"group relative bg-gray-800/30 backdrop-blur-xl border border-gray-700/50 rounded-2xl p-8 hover:bg-gray-800/50 transition-all duration-500 transform hover:scale-105 hover:shadow-2xl hover:shadow-blue-500/20",children:[(0,v.jsx)("div",{className:"w-16 h-16 bg-gradient-to-br "+e.gradient+" rounded-2xl flex items-center justify-center mb-6 group-hover:scale-110 transition-all duration-300 shadow-2xl",children:(0,v.jsx)(e.icon,{className:"w-8 h-8 text-white"})}),(0,v.jsx)("h3",{className:"text-xl font-bold mb-4 group-hover:text-blue-400 transition-colors",children:e.title}),(0,v.jsx)("p",{className:"text-gray-400 leading-relaxed mb-4",children:e.description}),(0,v.jsx)("code",{className:"text-sm text-green-400 bg-gray-900/50 px-3 py-1 rounded font-mono",children:e.example}),(0,v.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-blue-500/5 to-purple-500/5 rounded-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-300"})]},t)}))})})}),(0,v.jsx)("section",{className:"relative z-10 px-6 mt-4 ",children:(0,v.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,v.jsx)("div",{className:"text-center ",children:(0,v.jsx)("h2",{className:"text-6xl h-full md:text-5xl font-bold mb-6 bg-gradient-to-r pb-4 from-green-400 to-blue-400 bg-clip-text text-transparent",children:"Supported Project Types"})}),(0,v.jsx)("div",{className:"grid md:grid-cols-1 lg:grid-cols-1 gap-6 mt-4 ",children:j.projectTypes.map((function(e,t){return(0,v.jsx)("div",{className:"bg-gray-800/40 backdrop-blur-xl border border-gray-700/50 rounded-xl p-6 hover:border-blue-500/50 transition-all duration-300 transform hover:scale-[1.02]",children:(0,v.jsxs)("div",{className:"flex items-center justify-between",children:[(0,v.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,v.jsx)(e.icon,{className:"w-8 h-8 "+e.color}),(0,v.jsxs)("div",{children:[(0,v.jsx)("h3",{className:"text-lg font-bold "+e.color,children:e.name}),(0,v.jsxs)("p",{className:"text-gray-400 text-sm",children:["Detection: ",e.file]})]})]}),(0,v.jsxs)("div",{className:"text-right",children:[(0,v.jsx)("p",{className:"text-gray-300 font-medium",children:"Installation"}),(0,v.jsx)("code",{className:"text-green-400 text-sm",children:e.install})]})]})},t)}))})]})}),(0,v.jsx)("section",{id:"workflow",className:"relative z-10 mt-6 px-6",children:(0,v.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,v.jsxs)("div",{className:"text-center",children:[(0,v.jsx)("h2",{className:"text-4xl md:text-5xl font-bold mb-6 mt-10 bg-gradient-to-r from-cyan-400 to-blue-400 bg-clip-text text-transparent",children:"The Proper Protocol to Download Git Repo"}),(0,v.jsx)("p",{className:"text-xl text-gray-300 max-w-3xl mx-auto mb-10",children:'Skip the manual "git clone, cd, install" dance.'})]}),(0,v.jsx)("div",{className:"grid md:grid-cols-5 gap-8 mt-6",children:j.workflowSteps.map((function(e,t){return(0,v.jsxs)("div",{className:"text-center group",children:[(0,v.jsxs)("div",{className:"relative mb-6",children:[(0,v.jsx)("div",{className:"w-16 h-16 bg-gradient-to-br from-blue-500 to-purple-600 rounded-full flex items-center justify-center mx-auto shadow-2xl group-hover:scale-110 transition-all duration-300",children:(0,v.jsx)(e.icon,{className:"w-8 h-8 text-white"})}),(0,v.jsx)("div",{className:"absolute -top-2 -right-2 w-8 h-8 bg-gradient-to-r from-cyan-400 to-blue-400 rounded-full flex items-center justify-center text-sm font-bold text-gray-900",children:e.step})]}),(0,v.jsx)("h3",{className:"text-lg font-bold mb-2 group-hover:text-blue-400 transition-colors",children:e.title}),(0,v.jsx)("p",{className:"text-gray-400 text-sm",children:e.desc})]},t)}))}),(0,v.jsx)("div",{className:"mt-8 mb-8 text-center",children:(0,v.jsxs)("div",{className:"bg-gray-800/40 backdrop-blur-xl border border-gray-700/50 rounded-xl p-6 max-w-2xl mx-auto",children:[(0,v.jsxs)("p",{className:"text-gray-300 mb-4",children:[(0,v.jsx)("strong",{className:"text-blue-400",children:"Conflict Resolution:"})," If a directory with the same name exists, git0 automatically appends a number"]}),(0,v.jsx)("code",{className:"text-green-400 bg-gray-900/50 px-4 py-2 rounded",children:"react-app \u2192 react-app-2 \u2192 react-app-3"})]})})]})}),(0,v.jsx)(s.default,{})]})}},7851:(e,t,a)=>{a.r(t),a.d(t,{default:()=>d});a(6540);var r=a(4722);const s=(0,r.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"}]]),l=(0,r.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 o=a(3378);const i=(0,r.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 n=a(4848),c={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 d(){return(0,n.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,n.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,n.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-between ",children:[(0,n.jsxs)("div",{className:"flex items-center space-x-4 mb-6 md:mb-0",children:[(0,n.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,n.jsx)("img",{src:c.urlLogo,alt:"logo",className:"w-10 h-10"})}),(0,n.jsx)("span",{className:"text-2xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent",children:c.name})]}),(0,n.jsxs)("div",{className:"flex items-center space-x-8",children:[(0,n.jsxs)("a",{href:c.urlDocs,className:"flex items-center space-x-2 text-gray-400 hover:text-white transition-all duration-300 hover:scale-105",children:[(0,n.jsx)(s,{className:"w-5 h-5"}),(0,n.jsx)("span",{children:"Docs"})]}),(0,n.jsxs)("a",{href:c.urlSupport,className:"flex items-center space-x-2 text-gray-400 hover:text-white transition-all duration-300 hover:scale-105",children:[(0,n.jsx)(l,{className:"w-5 h-5"}),(0,n.jsx)("span",{children:"Discord"})]}),(0,n.jsxs)("a",{href:c.urlGithub,className:"flex items-center space-x-2 text-gray-400 hover:text-white transition-all duration-300 hover:scale-105",children:[(0,n.jsx)(o.A,{className:"w-5 h-5"}),(0,n.jsx)("span",{children:"GitHub"})]}),(0,n.jsxs)("a",{href:c.urlGithubChat,className:"flex items-center space-x-2 text-gray-400 hover:text-white transition-all duration-300 hover:scale-105",children:[(0,n.jsx)(i,{className:"w-5 h-5"}),(0,n.jsx)("span",{children:"Discussions"})]})]})]}),(0,n.jsxs)("div",{className:"pt-8 border-t border-gray-800/50 text-center",children:[(0,n.jsx)("p",{className:"text-gray-400 mb-4",dangerouslySetInnerHTML:{__html:c.copyrightHTML}}),(0,n.jsx)("div",{className:"flex justify-center space-x-4 text-sm text-gray-500",children:(0,n.jsxs)("span",{children:["Made by ",(0,n.jsx)("a",{href:c.urlAuthor,className:"text-blue-400 hover:text-blue-300 transition-all duration-300",children:c.author})," with \u2764\ufe0f for the developer community"]})})]})]})})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkcreate_apidocs=self.webpackChunkcreate_apidocs||[]).push([[567],{5226:e=>{e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"default":[{"type":"category","label":"Functions","collapsed":false,"items":[{"type":"link","label":"globals","href":"/functions/globals","docId":"functions/globals","unlisted":false},{"type":"link","label":"index","href":"/functions/","docId":"functions/index","unlisted":false}],"collapsible":true}]},"docs":{"functions/globals":{"id":"functions/globals","title":"globals","description":"installDependencies()","sidebar":"default"},"functions/index":{"id":"functions/index","title":"index","description":"<img src=\\"https://img.shields.io/discord/1110227955554209923.svg?label=Chat&logo=Discord&colorB=7289da&style=flat\\"","sidebar":"default"},"index":{"id":"index","title":"Overview","description":"<img src=\\"https://img.shields.io/discord/1110227955554209923.svg?label=Chat&logo=Discord&colorB=7289da&style=flat\\"","sidebar":"default"}}}}')}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkcreate_apidocs=self.webpackChunkcreate_apidocs||[]).push([[26],{5576:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>l,contentTitle:()=>c,default:()=>h,frontMatter:()=>d,metadata:()=>s,toc:()=>o});const s=JSON.parse('{"id":"functions/globals","title":"globals","description":"installDependencies()","source":"@site/src/functions/globals.md","sourceDirName":"functions","slug":"/functions/globals","permalink":"/functions/globals","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{},"sidebar":"default","next":{"title":"index","permalink":"/functions/"}}');var t=r(4848),i=r(8453);const d={},c=void 0,l={},o=[{value:"installDependencies()",id:"installdependencies",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Returns",id:"returns",level:3},{value:"Export",id:"export",level:3},{value:"Async",id:"async",level:3},{value:"openInIDE()",id:"openinide",level:2},{value:"Parameters",id:"parameters-1",level:3},{value:"Returns",id:"returns-1",level:3},{value:"Export",id:"export-1",level:3}];function a(e){const n={code:"code",h2:"h2",h3:"h3",hr:"hr",p:"p",pre:"pre",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h2,{id:"installdependencies",children:"installDependencies()"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-ts",children:"function installDependencies(targetDir: string): Promise<void>;\n"})}),"\n",(0,t.jsx)(n.p,{children:"Defined in: git0.js:208"}),"\n",(0,t.jsx)(n.p,{children:"Automatically detects project type and installs dependencies\nSupports Node.js, Docker, Python, Rust, and Go projects"}),"\n",(0,t.jsx)(n.h3,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)("table",{children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:"Parameter"}),(0,t.jsx)("th",{children:"Type"}),(0,t.jsx)("th",{children:"Description"})]})}),(0,t.jsx)("tbody",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"targetDir"})})}),(0,t.jsx)("td",{children:(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"string"})})}),(0,t.jsx)("td",{children:(0,t.jsx)(n.p,{children:"Path to the project directory"})})]})})]}),"\n",(0,t.jsx)(n.h3,{id:"returns",children:"Returns"}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.code,{children:"Promise"}),"<",(0,t.jsx)(n.code,{children:"void"}),">"]}),"\n",(0,t.jsx)(n.h3,{id:"export",children:"Export"}),"\n",(0,t.jsx)(n.h3,{id:"async",children:"Async"}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"openinide",children:"openInIDE()"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-ts",children:"function openInIDE(targetDir: string): void;\n"})}),"\n",(0,t.jsx)(n.p,{children:"Defined in: git0.js:158"}),"\n",(0,t.jsx)(n.p,{children:"Opens a directory in the first available IDE/editor\nAlso attempts to open a README or package.json file after 3 seconds"}),"\n",(0,t.jsx)(n.h3,{id:"parameters-1",children:"Parameters"}),"\n",(0,t.jsxs)("table",{children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:"Parameter"}),(0,t.jsx)("th",{children:"Type"}),(0,t.jsx)("th",{children:"Description"})]})}),(0,t.jsx)("tbody",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"targetDir"})})}),(0,t.jsx)("td",{children:(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"string"})})}),(0,t.jsx)("td",{children:(0,t.jsx)(n.p,{children:"Path to the directory to open"})})]})})]}),"\n",(0,t.jsx)(n.h3,{id:"returns-1",children:"Returns"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.code,{children:"void"})}),"\n",(0,t.jsx)(n.h3,{id:"export-1",children:"Export"})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},8453:(e,n,r)=>{r.d(n,{R:()=>d,x:()=>c});var s=r(6540);const t={},i=s.createContext(t);function d(e){const n=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:d(e.components),s.createElement(i.Provider,{value:n},e.children)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkcreate_apidocs=self.webpackChunkcreate_apidocs||[]).push([[893],{4035:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>d,contentTitle:()=>l,default:()=>h,frontMatter:()=>o,metadata:()=>n,toc:()=>c});const n=JSON.parse('{"id":"functions/index","title":"index","description":"<img src=\\"https://img.shields.io/discord/1110227955554209923.svg?label=Chat&logo=Discord&colorB=7289da&style=flat\\"","source":"@site/src/functions/index.md","sourceDirName":"functions","slug":"/functions/","permalink":"/functions/","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{},"sidebar":"default","previous":{"title":"globals","permalink":"/functions/globals"}}');var i=t(4848),r=t(8453);const o={},l="Git0: Download Git Repo on Step Zero",d={},c=[{value:"\ud83d\ude80 Installation",id:"-installation",level:2},{value:"\u2728 Features",id:"-features",level:2},{value:"\ud83c\udfaf Usage",id:"-usage",level:2},{value:"Supported Project Types",id:"supported-project-types",level:3},{value:"Supported IDEs",id:"supported-ides",level:3},{value:"\ud83d\udd27 Configuration",id:"-configuration",level:2},{value:"What Happens After Download",id:"what-happens-after-download",level:3},{value:"GitHub Token (Optional)",id:"github-token-optional",level:3}];function a(e){const s={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",img:"img",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"https://i.imgur.com/poOtI3N.png"})}),"\n",(0,i.jsxs)("p",{align:"center",children:[(0,i.jsx)("a",{href:"https://discord.gg/SJdBqBz3tV",children:(0,i.jsx)("img",{src:"https://img.shields.io/discord/1110227955554209923.svg?label=Chat&logo=Discord&colorB=7289da&style=flat",alt:"Join Discord"})}),(0,i.jsx)("a",{href:"https://github.com/vtempest/git0/discussions",children:(0,i.jsx)("img",{alt:"GitHub Stars",src:"https://img.shields.io/github/stars/vtempest/git0"})}),(0,i.jsx)("a",{href:"https://github.com/vtempest/git0/discussions",children:(0,i.jsx)("img",{alt:"GitHub Discussions",src:"https://img.shields.io/github/discussions/vtempest/git0"})}),(0,i.jsx)("a",{href:"https://github.com/vtempest/git0/pulse",alt:"Activity",children:(0,i.jsx)("img",{src:"https://img.shields.io/github/commit-activity/m/vtempest/git0"})}),(0,i.jsx)("img",{src:"https://img.shields.io/github/last-commit/vtempest/git0.svg?style=flat-square",alt:"GitHub last commit"})]}),"\n",(0,i.jsxs)("p",{align:"center",children:[(0,i.jsx)("img",{src:"https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square",alt:"PRs Welcome"}),(0,i.jsx)("a",{href:"https://codespaces.new/vtempest/git0",children:(0,i.jsx)("img",{src:"https://github.com/codespaces/badge.svg",width:"150",height:"20"})})]}),"\n",(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"git0-download-git-repo-on-step-zero",children:"Git0: Download Git Repo on Step Zero"})}),"\n",(0,i.jsx)(s.p,{children:"CLI tool to search GitHub repositories, download source & releases for your system, and instantly set up, then install dependencies and open code editor."}),"\n",(0,i.jsx)(s.h2,{id:"-installation",children:"\ud83d\ude80 Installation"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-bash",children:"npm install -g git0\n"})}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-bash",children:"bun install -g git0\n"})}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.img,{src:"https://i.imgur.com/Io3ukRC.gif",alt:"livepreview"}),"\n",(0,i.jsx)(s.img,{src:"https://i.imgur.com/K22NiBq.png",alt:"preview"})]}),"\n",(0,i.jsx)(s.h2,{id:"-features",children:"\u2728 Features"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Search GitHub repositories"})," by name with fuzzy matching"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Download repositories"})," directly from GitHub URLs or owner/repo shortcuts. Skip the manual git clone, cd, install dance"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Get Releases"})," instantly download latest release for your system or all systems"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Automatic dependency detection"})," and installation for multiple project types"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Smart IDE integration"})," - automatically opens projects in your preferred editor"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Cross-platform support"})," - works on Windows, macOS, and Linux"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Conflict resolution"})," - handles directory naming conflicts automatically"]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"-usage",children:"\ud83c\udfaf Usage"}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-bash",children:"# Search for repositories by name\ngg react starter\n\n# Direct download from GitHub URL\n## gg and git0 both work\ngg https://github.com/facebook/react\n\n# Download using owner/repo shorthand\ngit0 react starter\n\n## Use git0 without installing, (only node needed)\n# (copy into your project's readme for quick setup)\nnpx git0 facebook/react\n"})}),"\n",(0,i.jsx)(s.h3,{id:"supported-project-types",children:"Supported Project Types"}),"\n",(0,i.jsx)(s.p,{children:"git0 automatically detects and sets up the following project types:"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Project Type"}),(0,i.jsx)(s.th,{children:"Detection"}),(0,i.jsx)(s.th,{children:"Installation"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.strong,{children:"Node.js"})}),(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"package.json"})}),(0,i.jsxs)(s.td,{children:[(0,i.jsx)(s.code,{children:"bun install"})," (fallback to ",(0,i.jsx)(s.code,{children:"npm install"}),")"]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.strong,{children:"Docker"})}),(0,i.jsxs)(s.td,{children:[(0,i.jsx)(s.code,{children:"Dockerfile"}),", ",(0,i.jsx)(s.code,{children:"docker-compose.yml"})]}),(0,i.jsxs)(s.td,{children:[(0,i.jsx)(s.code,{children:"docker-compose up -d"})," or ",(0,i.jsx)(s.code,{children:"docker build"})]})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.strong,{children:"Python"})}),(0,i.jsxs)(s.td,{children:[(0,i.jsx)(s.code,{children:"requirements.txt"}),", ",(0,i.jsx)(s.code,{children:"setup.py"})]}),(0,i.jsx)(s.td,{children:"Virtual environment + pip install"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.strong,{children:"Rust"})}),(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"Cargo.toml"})}),(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"cargo build"})})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:(0,i.jsx)(s.strong,{children:"Go"})}),(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"go.mod"})}),(0,i.jsx)(s.td,{children:(0,i.jsx)(s.code,{children:"go mod tidy"})})]})]})]}),"\n",(0,i.jsx)(s.h3,{id:"supported-ides",children:"Supported IDEs"}),"\n",(0,i.jsx)(s.p,{children:"git0 automatically detects and opens projects in your preferred IDE:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Cursor"})," (",(0,i.jsx)(s.code,{children:"cursor"}),")"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Windsurf"})," (",(0,i.jsx)(s.code,{children:"windsurf"}),")"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"VS Code"})," (",(0,i.jsx)(s.code,{children:"code"}),")"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Code Server"})," (",(0,i.jsx)(s.code,{children:"code-server"}),")"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Neovim"})," (",(0,i.jsx)(s.code,{children:"nvim"}),")"]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"-configuration",children:"\ud83d\udd27 Configuration"}),"\n",(0,i.jsx)(s.h3,{id:"what-happens-after-download",children:"What Happens After Download"}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Repository is downloaded"})," to your current directory"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Project type is detected"})," automatically"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Dependencies are installed"})," based on project type"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"IDE is launched"})," automatically (if available)"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Development server starts"})," (for Node.js projects)"]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["If a directory with the same name exists, git0 automatically appends a number (e.g., ",(0,i.jsx)(s.code,{children:"react-2"}),", ",(0,i.jsx)(s.code,{children:"react-3"}),")."]}),"\n",(0,i.jsx)(s.h3,{id:"github-token-optional",children:"GitHub Token (Optional)"}),"\n",(0,i.jsxs)(s.p,{children:["For higher API rate limits, set ",(0,i.jsx)(s.a,{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",children:"your GitHub token"}),":"]}),"\n",(0,i.jsx)(s.pre,{children:(0,i.jsx)(s.code,{className:"language-bash",children:"export GITHUB_TOKEN=your_github_token_here\n"})}),"\n",(0,i.jsx)(s.p,{children:"Without a token, you're limited to 60 requests per hour. With a token, you get 5,000 requests per hour."})]})}function h(e={}){const{wrapper:s}={...(0,r.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},8453:(e,s,t)=>{t.d(s,{R:()=>o,x:()=>l});var n=t(6540);const i={},r=n.createContext(i);function o(e){const s=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),n.createElement(r.Provider,{value:s},e.children)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkcreate_apidocs=self.webpackChunkcreate_apidocs||[]).push([[684],{1970:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>d,contentTitle:()=>l,default:()=>h,frontMatter:()=>o,metadata:()=>i,toc:()=>c});const i=JSON.parse('{"id":"index","title":"Overview","description":"<img src=\\"https://img.shields.io/discord/1110227955554209923.svg?label=Chat&logo=Discord&colorB=7289da&style=flat\\"","source":"@site/src/index.md","sourceDirName":".","slug":"/","permalink":"/","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":1,"frontMatter":{"id":"index","title":"Overview","sidebar_position":1,"displayed_sidebar":"default"},"sidebar":"default"}');var n=t(4848),r=t(8453);const o={id:"index",title:"Overview",sidebar_position:1,displayed_sidebar:"default"},l="Git0: Download Git Repo on Step Zero",d={},c=[{value:"\ud83d\ude80 Installation",id:"-installation",level:2},{value:"\u2728 Features",id:"-features",level:2},{value:"\ud83c\udfaf Usage",id:"-usage",level:2},{value:"Supported Project Types",id:"supported-project-types",level:3},{value:"Supported IDEs",id:"supported-ides",level:3},{value:"\ud83d\udd27 Configuration",id:"-configuration",level:2},{value:"What Happens After Download",id:"what-happens-after-download",level:3},{value:"GitHub Token (Optional)",id:"github-token-optional",level:3}];function a(e){const s={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",img:"img",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{align:"center",children:(0,n.jsx)("img",{src:"https://i.imgur.com/poOtI3N.png"})}),"\n",(0,n.jsxs)("p",{align:"center",children:[(0,n.jsx)("a",{href:"https://discord.gg/SJdBqBz3tV",children:(0,n.jsx)("img",{src:"https://img.shields.io/discord/1110227955554209923.svg?label=Chat&logo=Discord&colorB=7289da&style=flat",alt:"Join Discord"})}),(0,n.jsx)("a",{href:"https://github.com/vtempest/git0/discussions",children:(0,n.jsx)("img",{alt:"GitHub Stars",src:"https://img.shields.io/github/stars/vtempest/git0"})}),(0,n.jsx)("a",{href:"https://github.com/vtempest/git0/discussions",children:(0,n.jsx)("img",{alt:"GitHub Discussions",src:"https://img.shields.io/github/discussions/vtempest/git0"})}),(0,n.jsx)("a",{href:"https://github.com/vtempest/git0/pulse",alt:"Activity",children:(0,n.jsx)("img",{src:"https://img.shields.io/github/commit-activity/m/vtempest/git0"})}),(0,n.jsx)("img",{src:"https://img.shields.io/github/last-commit/vtempest/git0.svg?style=flat-square",alt:"GitHub last commit"})]}),"\n",(0,n.jsxs)("p",{align:"center",children:[(0,n.jsx)("img",{src:"https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square",alt:"PRs Welcome"}),(0,n.jsx)("a",{href:"https://codespaces.new/vtempest/git0",children:(0,n.jsx)("img",{src:"https://github.com/codespaces/badge.svg",width:"150",height:"20"})})]}),"\n",(0,n.jsx)(s.header,{children:(0,n.jsx)(s.h1,{id:"git0-download-git-repo-on-step-zero",children:"Git0: Download Git Repo on Step Zero"})}),"\n",(0,n.jsx)(s.p,{children:"CLI tool to search GitHub repositories, download source & releases for your system, and instantly set up, then install dependencies and open code editor."}),"\n",(0,n.jsx)(s.h2,{id:"-installation",children:"\ud83d\ude80 Installation"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-bash",children:"npm install -g git0\n"})}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-bash",children:"bun install -g git0\n"})}),"\n",(0,n.jsxs)(s.p,{children:[(0,n.jsx)(s.img,{src:"https://i.imgur.com/Io3ukRC.gif",alt:"livepreview"}),"\n",(0,n.jsx)(s.img,{src:"https://i.imgur.com/K22NiBq.png",alt:"preview"})]}),"\n",(0,n.jsx)(s.h2,{id:"-features",children:"\u2728 Features"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Search GitHub repositories"})," by name with fuzzy matching"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Download repositories"})," directly from GitHub URLs or owner/repo shortcuts. Skip the manual git clone, cd, install dance"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Get Releases"})," instantly download latest release for your system or all systems"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Automatic dependency detection"})," and installation for multiple project types"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Smart IDE integration"})," - automatically opens projects in your preferred editor"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Cross-platform support"})," - works on Windows, macOS, and Linux"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Conflict resolution"})," - handles directory naming conflicts automatically"]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"-usage",children:"\ud83c\udfaf Usage"}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-bash",children:"# Search for repositories by name\ngg react starter\n\n# Direct download from GitHub URL\n## gg and git0 both work\ngg https://github.com/facebook/react\n\n# Download using owner/repo shorthand\ngit0 react starter\n\n## Use git0 without installing, (only node needed)\n# (copy into your project's readme for quick setup)\nnpx git0 facebook/react\n"})}),"\n",(0,n.jsx)(s.h3,{id:"supported-project-types",children:"Supported Project Types"}),"\n",(0,n.jsx)(s.p,{children:"git0 automatically detects and sets up the following project types:"}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{children:"Project Type"}),(0,n.jsx)(s.th,{children:"Detection"}),(0,n.jsx)(s.th,{children:"Installation"})]})}),(0,n.jsxs)(s.tbody,{children:[(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.strong,{children:"Node.js"})}),(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"package.json"})}),(0,n.jsxs)(s.td,{children:[(0,n.jsx)(s.code,{children:"bun install"})," (fallback to ",(0,n.jsx)(s.code,{children:"npm install"}),")"]})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.strong,{children:"Docker"})}),(0,n.jsxs)(s.td,{children:[(0,n.jsx)(s.code,{children:"Dockerfile"}),", ",(0,n.jsx)(s.code,{children:"docker-compose.yml"})]}),(0,n.jsxs)(s.td,{children:[(0,n.jsx)(s.code,{children:"docker-compose up -d"})," or ",(0,n.jsx)(s.code,{children:"docker build"})]})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.strong,{children:"Python"})}),(0,n.jsxs)(s.td,{children:[(0,n.jsx)(s.code,{children:"requirements.txt"}),", ",(0,n.jsx)(s.code,{children:"setup.py"})]}),(0,n.jsx)(s.td,{children:"Virtual environment + pip install"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.strong,{children:"Rust"})}),(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"Cargo.toml"})}),(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"cargo build"})})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.strong,{children:"Go"})}),(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"go.mod"})}),(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"go mod tidy"})})]})]})]}),"\n",(0,n.jsx)(s.h3,{id:"supported-ides",children:"Supported IDEs"}),"\n",(0,n.jsx)(s.p,{children:"git0 automatically detects and opens projects in your preferred IDE:"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Cursor"})," (",(0,n.jsx)(s.code,{children:"cursor"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Windsurf"})," (",(0,n.jsx)(s.code,{children:"windsurf"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"VS Code"})," (",(0,n.jsx)(s.code,{children:"code"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Code Server"})," (",(0,n.jsx)(s.code,{children:"code-server"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Neovim"})," (",(0,n.jsx)(s.code,{children:"nvim"}),")"]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"-configuration",children:"\ud83d\udd27 Configuration"}),"\n",(0,n.jsx)(s.h3,{id:"what-happens-after-download",children:"What Happens After Download"}),"\n",(0,n.jsxs)(s.ol,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Repository is downloaded"})," to your current directory"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Project type is detected"})," automatically"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Dependencies are installed"})," based on project type"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"IDE is launched"})," automatically (if available)"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.strong,{children:"Development server starts"})," (for Node.js projects)"]}),"\n"]}),"\n",(0,n.jsxs)(s.p,{children:["If a directory with the same name exists, git0 automatically appends a number (e.g., ",(0,n.jsx)(s.code,{children:"react-2"}),", ",(0,n.jsx)(s.code,{children:"react-3"}),")."]}),"\n",(0,n.jsx)(s.h3,{id:"github-token-optional",children:"GitHub Token (Optional)"}),"\n",(0,n.jsxs)(s.p,{children:["For higher API rate limits, set ",(0,n.jsx)(s.a,{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",children:"your GitHub token"}),":"]}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-bash",children:"export GITHUB_TOKEN=your_github_token_here\n"})}),"\n",(0,n.jsx)(s.p,{children:"Without a token, you're limited to 60 requests per hour. With a token, you get 5,000 requests per hour."})]})}function h(e={}){const{wrapper:s}={...(0,r.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(a,{...e})}):a(e)}},8453:(e,s,t)=>{t.d(s,{R:()=>o,x:()=>l});var i=t(6540);const n={},r=i.createContext(n);function o(e){const s=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:o(e.components),i.createElement(r.Provider,{value:s},e.children)}}}]);
@@ -1 +0,0 @@
1
- (()=>{"use strict";var e,t,r,a,o,n={},f={};function i(e){var t=f[e];if(void 0!==t)return t.exports;var r=f[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=n,i.c=f,e=[],i.O=(t,r,a,o)=>{if(!r){var n=1/0;for(u=0;u<e.length;u++){for(var[r,a,o]=e[u],f=!0,d=0;d<r.length;d++)(!1&o||n>=o)&&Object.keys(i.O).every((e=>i.O[e](r[d])))?r.splice(d--,1):(f=!1,o<n&&(n=o));if(f){e.splice(u--,1);var c=a();void 0!==c&&(t=c)}}return t}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[r,a,o]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);i.r(o);var n={};t=t||[null,r({}),r([]),r(r)];for(var f=2&a&&e;"object"==typeof f&&!~t.indexOf(f);f=r(f))Object.getOwnPropertyNames(f).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,i.d(o,n),o},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,r)=>(i.f[r](e,t),t)),[])),i.u=e=>"assets/js/"+({26:"4a829dc8",48:"a94703ab",98:"a7bd4aaa",235:"a7456010",401:"17896441",567:"22dd74f7",583:"1df93b7f",647:"5e95c892",682:"ac46717f",684:"d140250a",742:"aba21aa0",893:"c3a618e1"}[e]||e)+"."+{26:"10d7db0a",48:"6d39a596",98:"87229397",235:"3054873b",237:"daf7efdf",278:"1628756c",401:"79ceefeb",567:"040a4546",577:"78325c02",583:"dfdf0ef3",591:"2156b33d",647:"bd6c1093",682:"32345167",684:"62af53aa",742:"dfebd789",893:"50a89e4d"}[e]+".js",i.miniCssF=e=>{},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="create-apidocs:",i.l=(e,t,r,n)=>{if(a[e])a[e].push(t);else{var f,d;if(void 0!==r)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var l=c[u];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==o+r){f=l;break}}f||(d=!0,(f=document.createElement("script")).charset="utf-8",f.timeout=120,i.nc&&f.setAttribute("nonce",i.nc),f.setAttribute("data-webpack",o+r),f.src=e),a[e]=[t];var s=(t,r)=>{f.onerror=f.onload=null,clearTimeout(b);var o=a[e];if(delete a[e],f.parentNode&&f.parentNode.removeChild(f),o&&o.forEach((e=>e(r))),t)return t(r)},b=setTimeout(s.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=s.bind(null,f.onerror),f.onload=s.bind(null,f.onload),d&&document.head.appendChild(f)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="/",i.gca=function(e){return e={17896441:"401","4a829dc8":"26",a94703ab:"48",a7bd4aaa:"98",a7456010:"235","22dd74f7":"567","1df93b7f":"583","5e95c892":"647",ac46717f:"682",d140250a:"684",aba21aa0:"742",c3a618e1:"893"}[e]||e,i.p+i.u(e)},(()=>{var e={354:0,869:0};i.f.j=(t,r)=>{var a=i.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(354|869)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var n=i.p+i.u(t),f=new Error;i.l(n,(r=>{if(i.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;f.message="Loading chunk "+t+" failed.\n("+o+": "+n+")",f.name="ChunkLoadError",f.type=o,f.request=n,a[1](f)}}),"chunk-"+t,t)}},i.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,[n,f,d]=r,c=0;if(n.some((t=>0!==e[t]))){for(a in f)i.o(f,a)&&(i.m[a]=f[a]);if(d)var u=d(i)}for(t&&t(r);c<n.length;c++)o=n[c],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return i.O(u)},r=self.webpackChunkcreate_apidocs=self.webpackChunkcreate_apidocs||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})();
@@ -1 +0,0 @@
1
- {"version":"2.3.9","fields":["title","content","keywords"],"fieldVectors":[["title/0",[0,632.144]],["content/0",[]],["keywords/0",[]],["title/1",[1,632.144]],["content/1",[2,3.661,3,4.561,4,2.626,5,3.661,6,3.661,7,4.561,8,2.273,9,2.273,10,2.467,11,1.979,12,1.727,13,3.661,14,2.626,15,3.661,16,3.661,17,3.661,18,3.661,19,3.661]],["keywords/1",[]],["title/2",[20,364.032]],["content/2",[4,3.637,10,2.391,11,2.74,20,3.637,21,5.07,22,5.07,23,5.07,24,3.147]],["keywords/2",[]],["title/3",[25,507.479]],["content/3",[5,6.712]],["keywords/3",[]],["title/4",[26,425.364]],["content/4",[]],["keywords/4",[]],["title/5",[27,632.144]],["content/5",[]],["keywords/5",[]],["title/6",[28,632.144]],["content/6",[2,3.756,4,2.695,6,3.756,24,2.332,29,4.679,30,3.756,31,4.679,32,3.821,33,4.679,34,4.679,35,4.679,36,4.679,37,3.756,38,3.756,39,4.679,40,3.756,41,4.679]],["keywords/6",[]],["title/7",[20,364.032]],["content/7",[4,3.637,11,2.74,20,3.637,21,5.07,22,5.07,23,5.07,24,3.147,32,3.637]],["keywords/7",[]],["title/8",[25,507.479]],["content/8",[30,6.712]],["keywords/8",[]],["title/9",[26,425.364]],["content/9",[]],["keywords/9",[]],["title/10",[42,114.537,43,131.561,44,211.91,45,263.967,46,263.967,47,263.967]],["content/10",[]],["keywords/10",[]],["title/11",[12,187.158,48,214.464]],["content/11",[12,3.077,42,3.526,49,5.07,50,8.127,51,5.07]],["keywords/11",[]],["title/12",[48,214.464,52,494.265]],["content/12",[8,2.059,9,1.257,10,1.564,12,1.564,13,2.025,14,1.453,24,1.257,32,1.453,43,1.257,44,2.025,53,2.025,54,2.379,55,2.78,56,2.78,57,2.523,58,2.523,59,2.523,60,2.025,61,2.025,62,2.523,63,2.523,64,2.523,65,2.523,66,2.523,67,2.523,68,4.131,69,2.523,70,2.523,71,2.523,72,2.523,73,2.523,74,2.523,75,1.697,76,2.523,77,2.025,78,2.523,79,2.523,80,2.025,81,2.523,82,2.523,83,2.523,84,2.523,85,2.523,86,2.523]],["keywords/12",[]],["title/13",[48,214.464,87,494.265]],["content/13",[12,1.075,37,2.28,42,2.821,43,2.266,48,3.292,53,2.28,54,1.635,55,1.911,56,1.911,60,2.28,61,2.28,80,2.28,88,5.686,89,3.65,90,4.547,91,2.84,92,2.84,93,2.84,94,4.547,95,2.84,96,2.28,97,2.84,98,2.84,99,2.84,100,2.84,101,2.84,102,2.84,103,2.84,104,2.84]],["keywords/13",[]],["title/14",[10,153.646,11,176.063,14,233.667]],["content/14",[8,1.372,9,2.21,10,1.679,11,1.924,12,2.109,16,5.126,17,2.21,18,2.21,19,3.56,38,2.21,42,1.195,48,1.195,49,2.21,51,2.21,105,2.21,106,4.435,107,2.753,108,2.753,109,2.753,110,2.753,111,2.753,112,2.753,113,2.753,114,4.435,115,2.753,116,2.753,117,2.753,118,2.753,119,2.753,120,2.753,121,2.753,122,2.753,123,2.753,124,2.753]],["keywords/14",[]],["title/15",[14,284.632,75,332.587]],["content/15",[8,2.459,9,2.459,10,1.869,32,2.842,42,2.141,75,3.321,77,3.962,125,4.935,126,4.935,127,4.935,128,6.887,129,4.935,130,3.962,131,4.935,132,4.935]],["keywords/15",[]],["title/16",[48,214.464,133,494.265]],["content/16",[]],["keywords/16",[]],["title/17",[43,246.341,134,494.265]],["content/17",[8,2.669,9,1.745,10,2.028,11,1.519,12,1.325,15,2.81,24,1.745,40,2.81,42,1.519,43,1.745,55,2.355,56,2.355,89,4.3,130,2.81,135,3.5,136,3.5,137,3.5,138,3.5,139,3.5,140,3.5,141,3.5,142,3.5,143,3.5,144,3.5,145,3.5,146,3.5,147,3.5,148,3.5]],["keywords/17",[]],["title/18",[54,233.667,149,325.743,150,405.763]],["content/18",[26,2.853,54,2.442,96,3.404,105,3.404,149,5.855,151,4.24,152,4.24,153,4.24,154,6.18,155,4.24,156,4.24,157,4.24,158,6.18,159,6.18,160,6.18,161,4.24]],["keywords/18",[]]],"invertedIndex":[["",{"_index":48,"title":{"11":{"position":[[0,2]]},"12":{"position":[[0,1]]},"13":{"position":[[0,2]]},"16":{"position":[[0,2]]}},"content":{"13":{"position":[[1,1],[52,1],[86,2],[148,1],[205,2],[256,1]]},"14":{"position":[[293,1]]}},"keywords":{}}],["2",{"_index":148,"title":{},"content":{"17":{"position":[[322,2]]}},"keywords":{}}],["3",{"_index":40,"title":{},"content":{"6":{"position":[[183,1]]},"17":{"position":[[331,3]]}},"keywords":{}}],["5,000",{"_index":161,"title":{},"content":{"18":{"position":[[177,5]]}},"keywords":{}}],["60",{"_index":157,"title":{},"content":{"18":{"position":[[133,2]]}},"keywords":{}}],["api",{"_index":152,"title":{},"content":{"18":{"position":[[12,3]]}},"keywords":{}}],["append",{"_index":145,"title":{},"content":{"17":{"position":[[292,7]]}},"keywords":{}}],["async",{"_index":27,"title":{"5":{"position":[[0,6]]}},"content":{},"keywords":{}}],["attempt",{"_index":36,"title":{},"content":{"6":{"position":[[130,8]]}},"keywords":{}}],["automat",{"_index":8,"title":{},"content":{"1":{"position":[[98,13]]},"12":{"position":[[347,13],[516,13]]},"14":{"position":[[6,13]]},"15":{"position":[[6,13]]},"17":{"position":[[153,13],[278,13]]}},"keywords":{}}],["automaticallydepend",{"_index":137,"title":{},"content":{"17":{"position":[[76,25]]}},"keywords":{}}],["avail",{"_index":34,"title":{},"content":{"6":{"position":[[104,9]]}},"keywords":{}}],["available)develop",{"_index":141,"title":{},"content":{"17":{"position":[[171,21]]}},"keywords":{}}],["base",{"_index":138,"title":{},"content":{"17":{"position":[[116,5]]}},"keywords":{}}],["both",{"_index":92,"title":{},"content":{"13":{"position":[[101,4]]}},"keywords":{}}],["build",{"_index":114,"title":{},"content":{"14":{"position":[[233,5],[329,5]]}},"keywords":{}}],["bun",{"_index":51,"title":{},"content":{"11":{"position":[[23,3]]},"14":{"position":[[126,3]]}},"keywords":{}}],["cargo",{"_index":121,"title":{},"content":{"14":{"position":[[323,5]]}},"keywords":{}}],["cargo.toml",{"_index":120,"title":{},"content":{"14":{"position":[[312,10]]}},"keywords":{}}],["cd",{"_index":66,"title":{},"content":{"12":{"position":[[155,3]]}},"keywords":{}}],["clone",{"_index":65,"title":{},"content":{"12":{"position":[[148,6]]}},"keywords":{}}],["code",{"_index":128,"title":{},"content":{"15":{"position":[[108,4],[131,5]]}},"keywords":{}}],["code)cod",{"_index":129,"title":{},"content":{"15":{"position":[[113,10]]}},"keywords":{}}],["compos",{"_index":112,"title":{},"content":{"14":{"position":[[209,7]]}},"keywords":{}}],["compose.yml",{"_index":111,"title":{},"content":{"14":{"position":[[190,11]]}},"keywords":{}}],["configur",{"_index":133,"title":{"16":{"position":[[3,14]]}},"content":{},"keywords":{}}],["conflict",{"_index":86,"title":{},"content":{"12":{"position":[[506,9]]}},"keywords":{}}],["copi",{"_index":99,"title":{},"content":{"13":{"position":[[258,5]]}},"keywords":{}}],["current",{"_index":135,"title":{},"content":{"17":{"position":[[34,7]]}},"keywords":{}}],["cursor",{"_index":125,"title":{},"content":{"15":{"position":[[71,6]]}},"keywords":{}}],["cursor)windsurf",{"_index":126,"title":{},"content":{"15":{"position":[[78,16]]}},"keywords":{}}],["d",{"_index":113,"title":{},"content":{"14":{"position":[[221,1]]}},"keywords":{}}],["danceget",{"_index":67,"title":{},"content":{"12":{"position":[[167,8]]}},"keywords":{}}],["defin",{"_index":6,"title":{},"content":{"1":{"position":[[73,7]]},"6":{"position":[[48,7]]}},"keywords":{}}],["depend",{"_index":13,"title":{},"content":{"1":{"position":[[146,12]]},"12":{"position":[[259,10]]}},"keywords":{}}],["descript",{"_index":21,"title":{},"content":{"2":{"position":[[16,11]]},"7":{"position":[[16,11]]}},"keywords":{}}],["detect",{"_index":9,"title":{},"content":{"1":{"position":[[112,7]]},"12":{"position":[[270,9]]},"14":{"position":[[20,7],[83,9]]},"15":{"position":[[20,7]]},"17":{"position":[[67,8]]}},"keywords":{}}],["direct",{"_index":91,"title":{},"content":{"13":{"position":[[54,6]]}},"keywords":{}}],["directli",{"_index":59,"title":{},"content":{"12":{"position":[[77,8]]}},"keywords":{}}],["directori",{"_index":24,"title":{},"content":{"2":{"position":[[65,9]]},"6":{"position":[[81,9]]},"7":{"position":[[57,9]]},"12":{"position":[[489,9]]},"17":{"position":[[236,9]]}},"keywords":{}}],["directoryproject",{"_index":136,"title":{},"content":{"17":{"position":[[42,16]]}},"keywords":{}}],["docker",{"_index":16,"title":{},"content":{"1":{"position":[[177,7]]},"14":{"position":[[164,6],[183,6],[202,6],[226,6]]}},"keywords":{}}],["dockerfil",{"_index":110,"title":{},"content":{"14":{"position":[[171,11]]}},"keywords":{}}],["download",{"_index":43,"title":{"10":{"position":[[6,8]]},"17":{"position":[[19,9]]}},"content":{"12":{"position":[[195,8]]},"13":{"position":[[61,8],[150,8]]},"17":{"position":[[15,10]]}},"keywords":{}}],["e.g",{"_index":147,"title":{},"content":{"17":{"position":[[309,6]]}},"keywords":{}}],["editorcross",{"_index":78,"title":{},"content":{"12":{"position":[[394,11]]}},"keywords":{}}],["environ",{"_index":118,"title":{},"content":{"14":{"position":[[281,11]]}},"keywords":{}}],["exist",{"_index":144,"title":{},"content":{"17":{"position":[[265,7]]}},"keywords":{}}],["export",{"_index":26,"title":{"4":{"position":[[0,7]]},"9":{"position":[[0,7]]}},"content":{"18":{"position":[[53,6]]}},"keywords":{}}],["facebook/react",{"_index":104,"title":{},"content":{"13":{"position":[[317,14]]}},"keywords":{}}],["fallback",{"_index":109,"title":{},"content":{"14":{"position":[[138,9]]}},"keywords":{}}],["featur",{"_index":52,"title":{"12":{"position":[[2,9]]}},"content":{},"keywords":{}}],["file",{"_index":39,"title":{},"content":{"6":{"position":[[172,4]]}},"keywords":{}}],["first",{"_index":33,"title":{},"content":{"6":{"position":[[98,5]]}},"keywords":{}}],["follow",{"_index":107,"title":{},"content":{"14":{"position":[[44,9]]}},"keywords":{}}],["function",{"_index":2,"title":{},"content":{"1":{"position":[[1,8]]},"6":{"position":[[1,8]]}},"keywords":{}}],["fuzzi",{"_index":57,"title":{},"content":{"12":{"position":[[41,5]]}},"keywords":{}}],["g",{"_index":50,"title":{},"content":{"11":{"position":[[14,1],[36,1]]}},"keywords":{}}],["gg",{"_index":88,"title":{},"content":{"13":{"position":[[35,2],[89,2],[111,2]]}},"keywords":{}}],["git",{"_index":44,"title":{"10":{"position":[[15,3]]}},"content":{"12":{"position":[[144,3]]}},"keywords":{}}],["git0",{"_index":42,"title":{"10":{"position":[[0,5]]}},"content":{"11":{"position":[[16,4],[38,4]]},"13":{"position":[[96,4],[186,4],[212,4],[312,4]]},"14":{"position":[[1,4]]},"15":{"position":[[1,4]]},"17":{"position":[[273,4]]}},"keywords":{}}],["git0.js:158",{"_index":31,"title":{},"content":{"6":{"position":[[60,11]]}},"keywords":{}}],["git0.js:208",{"_index":7,"title":{},"content":{"1":{"position":[[85,11]]}},"keywords":{}}],["github",{"_index":54,"title":{"18":{"position":[[0,6]]}},"content":{"12":{"position":[[8,6],[91,6]]},"13":{"position":[[75,6]]},"18":{"position":[[38,6]]}},"keywords":{}}],["github_token=your_github_token_her",{"_index":155,"title":{},"content":{"18":{"position":[[60,35]]}},"keywords":{}}],["global",{"_index":0,"title":{"0":{"position":[[0,7]]}},"content":{},"keywords":{}}],["go",{"_index":19,"title":{},"content":{"1":{"position":[[203,2]]},"14":{"position":[[335,2],[345,2]]}},"keywords":{}}],["go.mod",{"_index":122,"title":{},"content":{"14":{"position":[[338,6]]}},"keywords":{}}],["handl",{"_index":85,"title":{},"content":{"12":{"position":[[481,7]]}},"keywords":{}}],["happen",{"_index":134,"title":{"17":{"position":[[5,7]]}},"content":{},"keywords":{}}],["higher",{"_index":151,"title":{},"content":{"18":{"position":[[5,6]]}},"keywords":{}}],["hour",{"_index":160,"title":{},"content":{"18":{"position":[[149,5],[196,5]]}},"keywords":{}}],["https://github.com/facebook/react",{"_index":93,"title":{},"content":{"13":{"position":[[114,33]]}},"keywords":{}}],["id",{"_index":75,"title":{"15":{"position":[[10,5]]}},"content":{"12":{"position":[[329,3]]},"15":{"position":[[65,4]]}},"keywords":{}}],["ide/editor",{"_index":35,"title":{},"content":{"6":{"position":[[114,10]]}},"keywords":{}}],["instal",{"_index":12,"title":{"11":{"position":[[3,13]]}},"content":{"1":{"position":[[137,8]]},"11":{"position":[[5,7],[27,7]]},"12":{"position":[[159,7],[284,12]]},"13":{"position":[[225,11]]},"14":{"position":[[130,7],[155,8],[299,7]]},"17":{"position":[[106,9]]}},"keywords":{}}],["installationnode.j",{"_index":108,"title":{},"content":{"14":{"position":[[93,19]]}},"keywords":{}}],["installdepend",{"_index":1,"title":{"1":{"position":[[0,22]]}},"content":{},"keywords":{}}],["installdependencies(targetdir",{"_index":3,"title":{},"content":{"1":{"position":[[10,30]]}},"keywords":{}}],["instantli",{"_index":69,"title":{},"content":{"12":{"position":[[185,9]]}},"keywords":{}}],["integr",{"_index":76,"title":{},"content":{"12":{"position":[[333,11]]}},"keywords":{}}],["latest",{"_index":70,"title":{},"content":{"12":{"position":[[204,6]]}},"keywords":{}}],["launch",{"_index":140,"title":{},"content":{"17":{"position":[[144,8]]}},"keywords":{}}],["limit",{"_index":154,"title":{},"content":{"18":{"position":[[21,7],[122,7]]}},"keywords":{}}],["linuxconflict",{"_index":83,"title":{},"content":{"12":{"position":[[454,13]]}},"keywords":{}}],["maco",{"_index":82,"title":{},"content":{"12":{"position":[[443,6]]}},"keywords":{}}],["manual",{"_index":64,"title":{},"content":{"12":{"position":[[137,6]]}},"keywords":{}}],["matchingdownload",{"_index":58,"title":{},"content":{"12":{"position":[[47,16]]}},"keywords":{}}],["mod",{"_index":123,"title":{},"content":{"14":{"position":[[348,3]]}},"keywords":{}}],["multipl",{"_index":73,"title":{},"content":{"12":{"position":[[301,8]]}},"keywords":{}}],["name",{"_index":56,"title":{},"content":{"12":{"position":[[31,4],[499,6]]},"13":{"position":[[30,4]]},"17":{"position":[[260,4]]}},"keywords":{}}],["need",{"_index":98,"title":{},"content":{"13":{"position":[[248,7]]}},"keywords":{}}],["node",{"_index":97,"title":{},"content":{"13":{"position":[[243,4]]}},"keywords":{}}],["node.j",{"_index":15,"title":{},"content":{"1":{"position":[[168,8]]},"17":{"position":[[212,7]]}},"keywords":{}}],["npm",{"_index":49,"title":{},"content":{"11":{"position":[[1,3]]},"14":{"position":[[151,3]]}},"keywords":{}}],["npx",{"_index":103,"title":{},"content":{"13":{"position":[[308,3]]}},"keywords":{}}],["number",{"_index":146,"title":{},"content":{"17":{"position":[[302,6]]}},"keywords":{}}],["nvim",{"_index":132,"title":{},"content":{"15":{"position":[[151,6]]}},"keywords":{}}],["open",{"_index":32,"title":{},"content":{"6":{"position":[[73,5],[142,4]]},"7":{"position":[[70,4]]},"12":{"position":[[361,5]]},"15":{"position":[[32,5]]}},"keywords":{}}],["openinid",{"_index":28,"title":{"6":{"position":[[0,12]]}},"content":{},"keywords":{}}],["openinide(targetdir",{"_index":29,"title":{},"content":{"6":{"position":[[10,20]]}},"keywords":{}}],["option",{"_index":150,"title":{"18":{"position":[[13,11]]}},"content":{},"keywords":{}}],["owner/repo",{"_index":61,"title":{},"content":{"12":{"position":[[106,10]]},"13":{"position":[[165,10]]}},"keywords":{}}],["package.json",{"_index":38,"title":{},"content":{"6":{"position":[[159,12]]},"14":{"position":[[113,12]]}},"keywords":{}}],["paramet",{"_index":20,"title":{"2":{"position":[[0,11]]},"7":{"position":[[0,11]]}},"content":{"2":{"position":[[1,9]]},"7":{"position":[[1,9]]}},"keywords":{}}],["path",{"_index":23,"title":{},"content":{"2":{"position":[[45,4]]},"7":{"position":[[45,4]]}},"keywords":{}}],["per",{"_index":159,"title":{},"content":{"18":{"position":[[145,3],[192,3]]}},"keywords":{}}],["pip",{"_index":119,"title":{},"content":{"14":{"position":[[295,3]]}},"keywords":{}}],["platform",{"_index":79,"title":{},"content":{"12":{"position":[[406,8]]}},"keywords":{}}],["prefer",{"_index":77,"title":{},"content":{"12":{"position":[[384,9]]},"15":{"position":[[55,9]]}},"keywords":{}}],["project",{"_index":10,"title":{"14":{"position":[[10,7]]}},"content":{"1":{"position":[[120,7],[206,8]]},"2":{"position":[[57,7]]},"12":{"position":[[310,7],[367,8]]},"14":{"position":[[54,7],[70,7]]},"15":{"position":[[38,8]]},"17":{"position":[[125,7],[220,9]]}},"keywords":{}}],["project'",{"_index":100,"title":{},"content":{"13":{"position":[[274,9]]}},"keywords":{}}],["promise&lt;void&gt",{"_index":5,"title":{},"content":{"1":{"position":[[50,20]]},"3":{"position":[[1,19]]}},"keywords":{}}],["python",{"_index":17,"title":{},"content":{"1":{"position":[[185,7]]},"14":{"position":[[239,6]]}},"keywords":{}}],["quick",{"_index":101,"title":{},"content":{"13":{"position":[[295,5]]}},"keywords":{}}],["rate",{"_index":153,"title":{},"content":{"18":{"position":[[16,4]]}},"keywords":{}}],["react",{"_index":89,"title":{},"content":{"13":{"position":[[38,5],[191,5]]},"17":{"position":[[316,5],[325,5]]}},"keywords":{}}],["readm",{"_index":37,"title":{},"content":{"6":{"position":[[149,6]]},"13":{"position":[[284,6]]}},"keywords":{}}],["releas",{"_index":68,"title":{},"content":{"12":{"position":[[176,8],[211,7]]}},"keywords":{}}],["repo",{"_index":45,"title":{"10":{"position":[[19,4]]}},"content":{},"keywords":{}}],["repositori",{"_index":55,"title":{},"content":{"12":{"position":[[15,12],[64,12]]},"13":{"position":[[14,12]]},"17":{"position":[[1,10]]}},"keywords":{}}],["request",{"_index":158,"title":{},"content":{"18":{"position":[[136,8],[183,8]]}},"keywords":{}}],["requirements.txt",{"_index":115,"title":{},"content":{"14":{"position":[[246,17]]}},"keywords":{}}],["resolut",{"_index":84,"title":{},"content":{"12":{"position":[[468,10]]}},"keywords":{}}],["return",{"_index":25,"title":{"3":{"position":[[0,8]]},"8":{"position":[[0,8]]}},"content":{},"keywords":{}}],["rust",{"_index":18,"title":{},"content":{"1":{"position":[[193,5]]},"14":{"position":[[307,4]]}},"keywords":{}}],["same",{"_index":143,"title":{},"content":{"17":{"position":[[255,4]]}},"keywords":{}}],["search",{"_index":53,"title":{},"content":{"12":{"position":[[1,6]]},"13":{"position":[[3,6]]}},"keywords":{}}],["second",{"_index":41,"title":{},"content":{"6":{"position":[[185,7]]}},"keywords":{}}],["server",{"_index":130,"title":{},"content":{"15":{"position":[[124,6]]},"17":{"position":[[193,6]]}},"keywords":{}}],["server)neovim",{"_index":131,"title":{},"content":{"15":{"position":[[137,13]]}},"keywords":{}}],["set",{"_index":105,"title":{},"content":{"14":{"position":[[32,4]]},"18":{"position":[[29,3]]}},"keywords":{}}],["setup",{"_index":102,"title":{},"content":{"13":{"position":[[301,6]]}},"keywords":{}}],["setup.pi",{"_index":116,"title":{},"content":{"14":{"position":[[264,8]]}},"keywords":{}}],["shortcut",{"_index":62,"title":{},"content":{"12":{"position":[[117,10]]}},"keywords":{}}],["shorthand",{"_index":95,"title":{},"content":{"13":{"position":[[176,9]]}},"keywords":{}}],["skip",{"_index":63,"title":{},"content":{"12":{"position":[[128,4]]}},"keywords":{}}],["start",{"_index":142,"title":{},"content":{"17":{"position":[[200,6]]}},"keywords":{}}],["starter",{"_index":90,"title":{},"content":{"13":{"position":[[44,7],[197,7]]}},"keywords":{}}],["step",{"_index":46,"title":{"10":{"position":[[27,4]]}},"content":{},"keywords":{}}],["string",{"_index":4,"title":{},"content":{"1":{"position":[[41,8]]},"2":{"position":[[38,6]]},"6":{"position":[[31,8]]},"7":{"position":[[38,6]]}},"keywords":{}}],["support",{"_index":14,"title":{"14":{"position":[[0,9]]},"15":{"position":[[0,9]]}},"content":{"1":{"position":[[159,8]]},"12":{"position":[[415,7]]}},"keywords":{}}],["system",{"_index":71,"title":{},"content":{"12":{"position":[[228,6]]}},"keywords":{}}],["systemsautomat",{"_index":72,"title":{},"content":{"12":{"position":[[242,16]]}},"keywords":{}}],["targetdir",{"_index":22,"title":{},"content":{"2":{"position":[[28,9]]},"7":{"position":[[28,9]]}},"keywords":{}}],["tidi",{"_index":124,"title":{},"content":{"14":{"position":[[352,4]]}},"keywords":{}}],["token",{"_index":149,"title":{"18":{"position":[[7,5]]}},"content":{"18":{"position":[[45,6],[108,6],[162,6]]}},"keywords":{}}],["type",{"_index":11,"title":{"14":{"position":[[18,6]]}},"content":{"1":{"position":[[128,4]]},"2":{"position":[[11,4]]},"7":{"position":[[11,4]]},"14":{"position":[[62,6],[78,4]]},"17":{"position":[[59,4]]}},"keywords":{}}],["typeid",{"_index":139,"title":{},"content":{"17":{"position":[[133,7]]}},"keywords":{}}],["typessmart",{"_index":74,"title":{},"content":{"12":{"position":[[318,10]]}},"keywords":{}}],["up",{"_index":106,"title":{},"content":{"14":{"position":[[37,2],[217,2]]}},"keywords":{}}],["url",{"_index":60,"title":{},"content":{"12":{"position":[[98,4]]},"13":{"position":[[82,3]]}},"keywords":{}}],["us",{"_index":94,"title":{},"content":{"13":{"position":[[159,5],[208,3]]}},"keywords":{}}],["usag",{"_index":87,"title":{"13":{"position":[[3,6]]}},"content":{},"keywords":{}}],["virtual",{"_index":117,"title":{},"content":{"14":{"position":[[273,7]]}},"keywords":{}}],["void",{"_index":30,"title":{},"content":{"6":{"position":[[40,5]]},"8":{"position":[[1,4]]}},"keywords":{}}],["window",{"_index":81,"title":{},"content":{"12":{"position":[[434,8]]}},"keywords":{}}],["windsurf)v",{"_index":127,"title":{},"content":{"15":{"position":[[95,12]]}},"keywords":{}}],["without",{"_index":96,"title":{},"content":{"13":{"position":[[217,7]]},"18":{"position":[[98,7]]}},"keywords":{}}],["work",{"_index":80,"title":{},"content":{"12":{"position":[[425,5]]},"13":{"position":[[106,4]]}},"keywords":{}}],["you'r",{"_index":156,"title":{},"content":{"18":{"position":[[115,6]]}},"keywords":{}}],["zero",{"_index":47,"title":{"10":{"position":[[32,4]]}},"content":{},"keywords":{}}]],"pipeline":["stemmer"]}
@@ -1 +0,0 @@
1
- {"searchDocs":[{"title":"globals","type":0,"sectionRef":"#","url":"/functions/globals","content":"","keywords":"","version":"Next"},{"title":"installDependencies()​","type":1,"pageTitle":"globals","url":"/functions/globals#installdependencies","content":" function installDependencies(targetDir: string): Promise&lt;void&gt;; Defined in: git0.js:208 Automatically detects project type and installs dependencies Supports Node.js, Docker, Python, Rust, and Go projects ","version":"Next","tagName":"h2"},{"title":"Parameters​","type":1,"pageTitle":"globals","url":"/functions/globals#parameters","content":" Parameter\tType\tDescription targetDir string Path to the project directory ","version":"Next","tagName":"h3"},{"title":"Returns​","type":1,"pageTitle":"globals","url":"/functions/globals#returns","content":" Promise&lt;void&gt; ","version":"Next","tagName":"h3"},{"title":"Export​","type":1,"pageTitle":"globals","url":"/functions/globals#export","content":" ","version":"Next","tagName":"h3"},{"title":"Async​","type":1,"pageTitle":"globals","url":"/functions/globals#async","content":" ","version":"Next","tagName":"h3"},{"title":"openInIDE()​","type":1,"pageTitle":"globals","url":"/functions/globals#openinide","content":" function openInIDE(targetDir: string): void; Defined in: git0.js:158 Opens a directory in the first available IDE/editor Also attempts to open a README or package.json file after 3 seconds ","version":"Next","tagName":"h2"},{"title":"Parameters​","type":1,"pageTitle":"globals","url":"/functions/globals#parameters-1","content":" Parameter\tType\tDescription targetDir string Path to the directory to open ","version":"Next","tagName":"h3"},{"title":"Returns​","type":1,"pageTitle":"globals","url":"/functions/globals#returns-1","content":" void ","version":"Next","tagName":"h3"},{"title":"Export​","type":1,"pageTitle":"globals","url":"/functions/globals#export-1","content":"","version":"Next","tagName":"h3"},{"title":"Git0: Download Git Repo on Step Zero","type":0,"sectionRef":"#","url":"/functions/","content":"","keywords":"","version":"Next"},{"title":"🚀 Installation​","type":1,"pageTitle":"Git0: Download Git Repo on Step Zero","url":"/functions/#-installation","content":" npm install -g git0 bun install -g git0 ","version":"Next","tagName":"h2"},{"title":"✨ Features​","type":1,"pageTitle":"Git0: Download Git Repo on Step Zero","url":"/functions/#-features","content":" Search GitHub repositories by name with fuzzy matchingDownload repositories directly from GitHub URLs or owner/repo shortcuts. Skip the manual git clone, cd, install danceGet Releases instantly download latest release for your system or all systemsAutomatic dependency detection and installation for multiple project typesSmart IDE integration - automatically opens projects in your preferred editorCross-platform support - works on Windows, macOS, and LinuxConflict resolution - handles directory naming conflicts automatically ","version":"Next","tagName":"h2"},{"title":"🎯 Usage​","type":1,"pageTitle":"Git0: Download Git Repo on Step Zero","url":"/functions/#-usage","content":" # Search for repositories by name gg react starter # Direct download from GitHub URL ## gg and git0 both work gg https://github.com/facebook/react # Download using owner/repo shorthand git0 react starter ## Use git0 without installing, (only node needed) # (copy into your project's readme for quick setup) npx git0 facebook/react ","version":"Next","tagName":"h2"},{"title":"Supported Project Types​","type":1,"pageTitle":"Git0: Download Git Repo on Step Zero","url":"/functions/#supported-project-types","content":" git0 automatically detects and sets up the following project types: Project Type\tDetection\tInstallationNode.js\tpackage.json\tbun install (fallback to npm install) Docker\tDockerfile, docker-compose.yml\tdocker-compose up -d or docker build Python\trequirements.txt, setup.py\tVirtual environment + pip install Rust\tCargo.toml\tcargo build Go\tgo.mod\tgo mod tidy ","version":"Next","tagName":"h3"},{"title":"Supported IDEs​","type":1,"pageTitle":"Git0: Download Git Repo on Step Zero","url":"/functions/#supported-ides","content":" git0 automatically detects and opens projects in your preferred IDE: Cursor (cursor)Windsurf (windsurf)VS Code (code)Code Server (code-server)Neovim (nvim) ","version":"Next","tagName":"h3"},{"title":"🔧 Configuration​","type":1,"pageTitle":"Git0: Download Git Repo on Step Zero","url":"/functions/#-configuration","content":" ","version":"Next","tagName":"h2"},{"title":"What Happens After Download​","type":1,"pageTitle":"Git0: Download Git Repo on Step Zero","url":"/functions/#what-happens-after-download","content":" Repository is downloaded to your current directoryProject type is detected automaticallyDependencies are installed based on project typeIDE is launched automatically (if available)Development server starts (for Node.js projects) If a directory with the same name exists, git0 automatically appends a number (e.g., react-2, react-3). ","version":"Next","tagName":"h3"},{"title":"GitHub Token (Optional)​","type":1,"pageTitle":"Git0: Download Git Repo on Step Zero","url":"/functions/#github-token-optional","content":" For higher API rate limits, set your GitHub token: export GITHUB_TOKEN=your_github_token_here Without a token, you're limited to 60 requests per hour. With a token, you get 5,000 requests per hour. ","version":"Next","tagName":"h3"}],"options":{"id":"default"}}
@@ -1,127 +0,0 @@
1
- ---
2
- id: index
3
- title: Overview
4
- sidebar_position: 1
5
- displayed_sidebar: default
6
- ---
7
-
8
- <p align="center">
9
- <img src="https://i.imgur.com/poOtI3N.png" />
10
- </p>
11
- <p align="center">
12
- <a href="https://discord.gg/SJdBqBz3tV">
13
- <img src="https://img.shields.io/discord/1110227955554209923.svg?label=Chat&logo=Discord&colorB=7289da&style=flat"
14
- alt="Join Discord" />
15
- </a>
16
- <a href="https://github.com/vtempest/git0/discussions">
17
- <img alt="GitHub Stars" src="https://img.shields.io/github/stars/vtempest/git0" /></a>
18
- <a href="https://github.com/vtempest/git0/discussions">
19
- <img alt="GitHub Discussions"
20
- src="https://img.shields.io/github/discussions/vtempest/git0" />
21
- </a>
22
- <a href="https://github.com/vtempest/git0/pulse" alt="Activity">
23
- <img src="https://img.shields.io/github/commit-activity/m/vtempest/git0" />
24
- </a>
25
- <img src="https://img.shields.io/github/last-commit/vtempest/git0.svg?style=flat-square" alt="GitHub last commit" />
26
- </p>
27
- <p align="center">
28
- <img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square"
29
- alt="PRs Welcome" />
30
- <a href="https://codespaces.new/vtempest/git0">
31
- <img src="https://github.com/codespaces/badge.svg" width="150" height="20" />
32
- </a>
33
- </p>
34
-
35
-
36
- # Git0: Download Git Repo on Step Zero
37
- CLI tool to search GitHub repositories, download source & releases for your system, and instantly set up, then install dependencies and open code editor.
38
-
39
-
40
- ## 🚀 Installation
41
-
42
- ```bash
43
- npm install -g git0
44
- ```
45
-
46
- ```bash
47
- bun install -g git0
48
- ```
49
-
50
- ![livepreview](https://i.imgur.com/Io3ukRC.gif)
51
- ![preview](https://i.imgur.com/K22NiBq.png)
52
-
53
-
54
- ## ✨ Features
55
-
56
- - **Search GitHub repositories** by name with fuzzy matching
57
- - **Download repositories** directly from GitHub URLs or owner/repo shortcuts. Skip the manual git clone, cd, install dance
58
- - **Get Releases** instantly download latest release for your system or all systems
59
- - **Automatic dependency detection** and installation for multiple project types
60
- - **Smart IDE integration** - automatically opens projects in your preferred editor
61
- - **Cross-platform support** - works on Windows, macOS, and Linux
62
- - **Conflict resolution** - handles directory naming conflicts automatically
63
-
64
-
65
- ## 🎯 Usage
66
-
67
- ```bash
68
- # Search for repositories by name
69
- gg react starter
70
-
71
- # Direct download from GitHub URL
72
- ## gg and git0 both work
73
- gg https://github.com/facebook/react
74
-
75
- # Download using owner/repo shorthand
76
- git0 react starter
77
-
78
- ## Use git0 without installing, (only node needed)
79
- # (copy into your project's readme for quick setup)
80
- npx git0 facebook/react
81
- ```
82
-
83
- ### Supported Project Types
84
-
85
- git0 automatically detects and sets up the following project types:
86
-
87
- | Project Type | Detection | Installation |
88
- |-------------|-----------|-------------|
89
- | **Node.js** | `package.json` | `bun install` (fallback to `npm install`) |
90
- | **Docker** | `Dockerfile`, `docker-compose.yml` | `docker-compose up -d` or `docker build` |
91
- | **Python** | `requirements.txt`, `setup.py` | Virtual environment + pip install |
92
- | **Rust** | `Cargo.toml` | `cargo build` |
93
- | **Go** | `go.mod` | `go mod tidy` |
94
-
95
- ### Supported IDEs
96
-
97
- git0 automatically detects and opens projects in your preferred IDE:
98
-
99
- - **Cursor** (`cursor`)
100
- - **Windsurf** (`windsurf`)
101
- - **VS Code** (`code`)
102
- - **Code Server** (`code-server`)
103
- - **Neovim** (`nvim`)
104
-
105
- ## 🔧 Configuration
106
-
107
-
108
-
109
- ### What Happens After Download
110
-
111
- 1. **Repository is downloaded** to your current directory
112
- 2. **Project type is detected** automatically
113
- 3. **Dependencies are installed** based on project type
114
- 4. **IDE is launched** automatically (if available)
115
- 5. **Development server starts** (for Node.js projects)
116
-
117
- If a directory with the same name exists, git0 automatically appends a number (e.g., `react-2`, `react-3`).
118
-
119
- ### GitHub Token (Optional)
120
-
121
- For higher API rate limits, set [your GitHub token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token):
122
-
123
- ```bash
124
- export GITHUB_TOKEN=your_github_token_here
125
- ```
126
-
127
- Without a token, you're limited to 60 requests per hour. With a token, you get 5,000 requests per hour.