git0 0.2.13 → 0.2.16

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 (71) hide show
  1. package/dist/cli.js +27783 -0
  2. package/dist/cli.js.map +331 -0
  3. package/docs/404.html +2 -2
  4. package/docs/Footer/index.html +2 -2
  5. package/docs/assets/js/1df93b7f.1385eba0.js +2 -0
  6. package/docs/assets/js/22dd74f7.e13ac7a4.js +1 -0
  7. package/docs/assets/js/28ab763d.192aa3bb.js +1 -0
  8. package/docs/assets/js/299d276b.c9496717.js +1 -0
  9. package/docs/assets/js/{68cef36b.c312447e.js → 68cef36b.e5b1975b.js} +1 -1
  10. package/docs/assets/js/a9cef9d5.a7253e41.js +1 -0
  11. package/docs/assets/js/c3a618e1.1c56fb03.js +590 -0
  12. package/docs/assets/js/{main.cf858a7d.js → main.1f646b09.js} +2 -2
  13. package/docs/assets/js/runtime~main.f69f8f44.js +1 -0
  14. package/docs/functions/fm/index.html +26 -0
  15. package/docs/functions/git0/index.html +6 -6
  16. package/docs/functions/github-api/index.html +20 -20
  17. package/docs/functions/index.html +889 -71
  18. package/docs/functions/modules/index.html +4 -3
  19. package/docs/index.html +2 -2
  20. package/docs/lunr-index-1749760982052.json +1 -0
  21. package/docs/lunr-index.json +1 -1
  22. package/docs/search-doc-1749760982052.json +1 -0
  23. package/docs/search-doc.json +1 -1
  24. package/docs/sitemap.xml +1 -1
  25. package/docs-config/.docusaurus/client-manifest.json +36 -24
  26. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/p/index-466.json +1 -1
  27. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-fm-md-a9c.json +19 -0
  28. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-git-0-md-299.json +4 -0
  29. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-index-md-c3a.json +1 -1
  30. package/docs-config/.docusaurus/globalData.json +10 -5
  31. package/docs-config/.docusaurus/registry.js +1 -0
  32. package/docs-config/.docusaurus/routes.js +9 -3
  33. package/docs-config/.docusaurus/routesChunkNames.json +7 -3
  34. package/docs-config/src/functions/fm.md +1 -0
  35. package/docs-config/src/functions/git0.md +2 -2
  36. package/docs-config/src/functions/github-api.md +34 -17
  37. package/docs-config/src/functions/index.md +19 -30
  38. package/docs-config/src/functions/modules.md +1 -0
  39. package/docs-config/src/functions/typedoc-sidebar.cjs +5 -0
  40. package/docs-config/src/pages/index.tsx +2 -3
  41. package/package.json +20 -10
  42. package/readme.md +19 -21
  43. package/src/cli.ts +150 -0
  44. package/src/download.ts +240 -0
  45. package/src/fm.js +0 -0
  46. package/src/github-api.ts +237 -0
  47. package/src/ide.ts +141 -0
  48. package/src/install.ts +147 -0
  49. package/src/package-menu.ts +183 -0
  50. package/src/platform.ts +53 -0
  51. package/src/releases.ts +159 -0
  52. package/src/setup.ts +9 -0
  53. package/src/types.ts +97 -0
  54. package/src/utils.ts +49 -0
  55. package/test/download.test.ts +48 -0
  56. package/test/github-api.test.ts +79 -0
  57. package/test/package-menu.test.ts +134 -0
  58. package/test/platform.test.ts +64 -0
  59. package/test/releases.test.ts +169 -0
  60. package/docs/assets/js/1df93b7f.d8c05d2c.js +0 -2
  61. package/docs/assets/js/22dd74f7.237398b4.js +0 -1
  62. package/docs/assets/js/28ab763d.5714aa16.js +0 -1
  63. package/docs/assets/js/299d276b.1a1baa1c.js +0 -1
  64. package/docs/assets/js/c3a618e1.965a31da.js +0 -1
  65. package/docs/assets/js/runtime~main.7520dc36.js +0 -1
  66. package/docs/lunr-index-1749613752315.json +0 -1
  67. package/docs/search-doc-1749613752315.json +0 -1
  68. package/src/git0.js +0 -379
  69. package/src/github-api.js +0 -472
  70. /package/docs/assets/js/{1df93b7f.d8c05d2c.js.LICENSE.txt → 1df93b7f.1385eba0.js.LICENSE.txt} +0 -0
  71. /package/docs/assets/js/{main.cf858a7d.js.LICENSE.txt → main.1f646b09.js.LICENSE.txt} +0 -0
@@ -1,73 +1,891 @@
1
1
  <!doctype html>
2
- <html lang="en" dir="ltr" class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-functions/index" data-has-hydrated="false">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="generator" content="Docusaurus v3.8.1">
6
- <title data-rh="true">index | git0 Docs</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://git0.js.org/functions/"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="index | git0 Docs"><meta data-rh="true" name="description" content="&lt;img src=&quot;https://img.shields.io/discord/1110227955554209923.svg?label=Chat&amp;logo=Discord&amp;colorB=7289da&amp;style=flat&quot;"><meta data-rh="true" property="og:description" content="&lt;img src=&quot;https://img.shields.io/discord/1110227955554209923.svg?label=Chat&amp;logo=Discord&amp;colorB=7289da&amp;style=flat&quot;"><link data-rh="true" rel="icon" href="https://i.imgur.com/857meew.png"><link data-rh="true" rel="canonical" href="https://git0.js.org/functions/"><link data-rh="true" rel="alternate" href="https://git0.js.org/functions/" hreflang="en"><link data-rh="true" rel="alternate" href="https://git0.js.org/functions/" hreflang="x-default"><script data-rh="true" type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"index","item":"https://git0.js.org/functions/"}]}</script><link rel="preconnect" href="https://www.google-analytics.com">
7
- <link rel="preconnect" href="https://www.googletagmanager.com">
8
- <script async src="https://www.googletagmanager.com/gtag/js?id=G-E5TZ32BZD"></script>
9
- <script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-E5TZ32BZD",{})</script>
2
+ <html
3
+ lang="en"
4
+ dir="ltr"
5
+ class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-functions/index"
6
+ data-has-hydrated="false"
7
+ >
8
+ <head>
9
+ <meta charset="UTF-8" />
10
+ <meta name="generator" content="Docusaurus v3.8.1" />
11
+ <title data-rh="true">index | git0 Docs</title>
12
+ <meta
13
+ data-rh="true"
14
+ name="viewport"
15
+ content="width=device-width,initial-scale=1"
16
+ />
17
+ <meta data-rh="true" name="twitter:card" content="summary_large_image" />
18
+ <meta
19
+ data-rh="true"
20
+ property="og:url"
21
+ content="https://git0.js.org/functions/"
22
+ />
23
+ <meta data-rh="true" property="og:locale" content="en" />
24
+ <meta data-rh="true" name="docusaurus_locale" content="en" />
25
+ <meta data-rh="true" name="docsearch:language" content="en" />
26
+ <meta data-rh="true" name="docusaurus_version" content="current" />
27
+ <meta data-rh="true" name="docusaurus_tag" content="docs-default-current" />
28
+ <meta data-rh="true" name="docsearch:version" content="current" />
29
+ <meta
30
+ data-rh="true"
31
+ name="docsearch:docusaurus_tag"
32
+ content="docs-default-current"
33
+ />
34
+ <meta data-rh="true" property="og:title" content="index | git0 Docs" />
35
+ <meta
36
+ data-rh="true"
37
+ name="description"
38
+ content="CLI tool to search GitHub repositories, download source &amp; releases for your system, and instantly set up, then install dependencies and open code editor."
39
+ />
40
+ <meta
41
+ data-rh="true"
42
+ property="og:description"
43
+ content="CLI tool to search GitHub repositories, download source &amp; releases for your system, and instantly set up, then install dependencies and open code editor."
44
+ />
45
+ <link data-rh="true" rel="icon" href="https://i.imgur.com/857meew.png" />
46
+ <link
47
+ data-rh="true"
48
+ rel="canonical"
49
+ href="https://git0.js.org/functions/"
50
+ />
51
+ <link
52
+ data-rh="true"
53
+ rel="alternate"
54
+ href="https://git0.js.org/functions/"
55
+ hreflang="en"
56
+ />
57
+ <link
58
+ data-rh="true"
59
+ rel="alternate"
60
+ href="https://git0.js.org/functions/"
61
+ hreflang="x-default"
62
+ />
63
+ <script data-rh="true" type="application/ld+json">
64
+ {
65
+ "@context": "https://schema.org",
66
+ "@type": "BreadcrumbList",
67
+ "itemListElement": [
68
+ {
69
+ "@type": "ListItem",
70
+ "position": 1,
71
+ "name": "index",
72
+ "item": "https://git0.js.org/functions/"
73
+ }
74
+ ]
75
+ }
76
+ </script>
77
+ <link rel="preconnect" href="https://www.google-analytics.com" />
78
+ <link rel="preconnect" href="https://www.googletagmanager.com" />
79
+ <script
80
+ async
81
+ src="https://www.googletagmanager.com/gtag/js?id=G-E5TZ32BZD"
82
+ ></script>
83
+ <script>
84
+ function gtag() {
85
+ dataLayer.push(arguments);
86
+ }
87
+ ((window.dataLayer = window.dataLayer || []),
88
+ gtag("js", new Date()),
89
+ gtag("config", "G-E5TZ32BZD", {}));
90
+ </script>
10
91
 
11
-
12
-
13
-
14
-
15
-
16
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.11.0/css/all.css"><link rel="stylesheet" href="/assets/css/styles.3dd00f8d.css">
17
- <script src="/assets/js/runtime~main.7520dc36.js" defer="defer"></script>
18
- <script src="/assets/js/main.cf858a7d.js" defer="defer"></script>
19
- </head>
20
- <body class="navigation-with-keyboard">
21
- <svg xmlns="http://www.w3.org/2000/svg" style="display: none;"><defs>
22
- <symbol id="theme-svg-external-link" viewBox="0 0 24 24"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
23
- </defs></svg>
24
- <script>!function(){var t="light";var e=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme")}catch(t){}}();document.documentElement.setAttribute("data-theme",e||t),document.documentElement.setAttribute("data-theme-choice",e||t)}(),function(){try{const c=new URLSearchParams(window.location.search).entries();for(var[t,e]of c)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><link rel="preload" as="image" href="https://i.imgur.com/857meew.png"><link rel="preload" as="image" href="https://i.imgur.com/poOtI3N.png"><link rel="preload" as="image" href="https://img.shields.io/discord/1110227955554209923.svg?label=Chat&amp;logo=Discord&amp;colorB=7289da&amp;style=flat"><link rel="preload" as="image" href="https://img.shields.io/github/stars/vtempest/git0"><link rel="preload" as="image" href="https://img.shields.io/github/discussions/vtempest/git0"><link rel="preload" as="image" href="https://img.shields.io/github/commit-activity/m/vtempest/git0"><link rel="preload" as="image" href="https://img.shields.io/github/last-commit/vtempest/git0.svg?style=flat-square"><link rel="preload" as="image" href="https://img.shields.io/badge/PRs-welcome-brightgreen.svg"><link rel="preload" as="image" href="https://github.com/codespaces/badge.svg"><div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="theme-layout-navbar navbar navbar--fixed-top"><div class="navbar__inner"><div class="theme-layout-navbar-left navbar__items"><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="https://i.imgur.com/857meew.png" alt="logo" class="themedComponent_mlkZ themedComponent--light_NVdE"><img src="https://i.imgur.com/857meew.png" alt="logo" class="themedComponent_mlkZ themedComponent--dark_xIcU"></div><b class="navbar__title text--truncate">git0 Docs</b></a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type="button" disabled="" title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width="24" height="24" aria-hidden="true" class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" aria-hidden="true" class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" aria-hidden="true" class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill="currentColor" d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"></path></svg></button></div><div class="navbarSearchContainer_Bca1"><div class="navbar__search"><span aria-label="expand searchbar" role="button" class="search-icon" tabindex="0"></span><input id="search_input_react" type="search" placeholder="Loading..." aria-label="Search" class="navbar__search-input search-bar" disabled=""></div></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class="docsWrapper_hBAB"><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type="button"></button><div class="docRoot_UBD9"><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class="sidebarViewport_aRkj"><div class="sidebar_njMd"><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role="button" aria-expanded="true" href="/functions/git0">Functions</a></div><ul class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/functions/git0">git0</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/functions/github-api">github-api</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current="page" tabindex="0" href="/functions/">index</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/functions/modules">modules</a></li></ul></li></ul></nav></div></div></aside><main class="docMainContainer_TBSr"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_VOVn"><div class="docItemContainer_Djhp"><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label="Breadcrumbs"><ul class="breadcrumbs"><li class="breadcrumbs__item"><a aria-label="Home page" class="breadcrumbs__link" href="/"><svg viewBox="0 0 24 24" class="breadcrumbHomeIcon_YNFT"><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill="currentColor"></path></svg></a></li><li class="breadcrumbs__item"><span class="breadcrumbs__link">Functions</span></li><li class="breadcrumbs__item breadcrumbs__item--active"><span class="breadcrumbs__link">index</span></li></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type="button" class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><p align="center"><img src="https://i.imgur.com/poOtI3N.png"></p>
25
- <p align="center"><a href="https://discord.gg/SJdBqBz3tV"><img src="https://img.shields.io/discord/1110227955554209923.svg?label=Chat&amp;logo=Discord&amp;colorB=7289da&amp;style=flat" alt="Join Discord"></a><a href="https://github.com/vtempest/git0/discussions"><img alt="GitHub Stars" src="https://img.shields.io/github/stars/vtempest/git0"></a><a href="https://github.com/vtempest/git0/discussions"><img alt="GitHub Discussions" src="https://img.shields.io/github/discussions/vtempest/git0"></a><a href="https://github.com/vtempest/git0/pulse" alt="Activity"><img src="https://img.shields.io/github/commit-activity/m/vtempest/git0"></a><img src="https://img.shields.io/github/last-commit/vtempest/git0.svg?style=flat-square" alt="GitHub last commit"></p>
26
- <p align="center"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs Welcome"><a href="https://codespaces.new/vtempest/git0"><img src="https://github.com/codespaces/badge.svg" width="150" height="20"></a></p>
27
- <header><h1>Git0: Download Git Repo on Step Zero</h1></header>
28
- <p>CLI tool to search GitHub repositories, download source &amp; releases for your system, and instantly set up, then install dependencies and open code editor.</p>
29
- <h2 class="anchor anchorWithStickyNavbar_LWe7" id="-installation">🚀 Installation<a href="#-installation" class="hash-link" aria-label="Direct link to 🚀 Installation" title="Direct link to 🚀 Installation">​</a></h2>
30
- <div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#bfc7d5;--prism-background-color:#292d3e"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#bfc7d5;background-color:#292d3e"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#bfc7d5"><span class="token plain">npm install -g git0</span><br></span></code></pre></div></div>
31
- <div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#bfc7d5;--prism-background-color:#292d3e"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#bfc7d5;background-color:#292d3e"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#bfc7d5"><span class="token plain">bun install -g git0</span><br></span></code></pre></div></div>
32
- <p><img decoding="async" loading="lazy" src="https://i.imgur.com/Io3ukRC.gif" alt="livepreview" class="img_ev3q">
33
- <img decoding="async" loading="lazy" src="https://i.imgur.com/K22NiBq.png" alt="preview" class="img_ev3q"></p>
34
- <h2 class="anchor anchorWithStickyNavbar_LWe7" id="-features">✨ Features<a href="#-features" class="hash-link" aria-label="Direct link to ✨ Features" title="Direct link to ✨ Features">​</a></h2>
35
- <ul>
36
- <li><strong>Search GitHub repositories</strong> by name with fuzzy matching</li>
37
- <li><strong>Download repositories</strong> directly from GitHub URLs or owner/repo shortcuts. Skip the manual git clone, cd, install dance</li>
38
- <li><strong>Get Releases</strong> instantly download latest release for your system or all systems</li>
39
- <li><strong>Automatic dependency detection</strong> and installation for multiple project types</li>
40
- <li><strong>Smart IDE integration</strong> - automatically opens projects in your preferred editor</li>
41
- <li><strong>Cross-platform support</strong> - works on Windows, macOS, and Linux</li>
42
- <li><strong>Conflict resolution</strong> - handles directory naming conflicts automatically</li>
43
- </ul>
44
- <h2 class="anchor anchorWithStickyNavbar_LWe7" id="-usage">🎯 Usage<a href="#-usage" class="hash-link" aria-label="Direct link to 🎯 Usage" title="Direct link to 🎯 Usage">​</a></h2>
45
- <div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#bfc7d5;--prism-background-color:#292d3e"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#bfc7d5;background-color:#292d3e"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#bfc7d5"><span class="token plain"># Search for repositories by name</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">gg react starter</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"># Direct download from GitHub URL</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">## gg and git0 both work</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">gg https://github.com/facebook/react</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"># Download using owner/repo shorthand</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">git0 react starter</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">## Use git0 without installing, (only node needed)</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"># (copy into your project&#x27;s readme for quick setup)</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">npx git0 facebook/react</span><br></span></code></pre></div></div>
46
- <h3 class="anchor anchorWithStickyNavbar_LWe7" id="supported-project-types">Supported Project Types<a href="#supported-project-types" class="hash-link" aria-label="Direct link to Supported Project Types" title="Direct link to Supported Project Types">​</a></h3>
47
- <p>git0 automatically detects and sets up the following project types:</p>
48
- <table><thead><tr><th>Project Type</th><th>Detection</th><th>Installation</th></tr></thead><tbody><tr><td><strong>Node.js</strong></td><td><code>package.json</code></td><td><code>bun install</code> (fallback to <code>npm install</code>)</td></tr><tr><td><strong>Docker</strong></td><td><code>Dockerfile</code>, <code>docker-compose.yml</code></td><td><code>docker-compose up -d</code> or <code>docker build</code></td></tr><tr><td><strong>Python</strong></td><td><code>requirements.txt</code>, <code>setup.py</code></td><td>Virtual environment + pip install</td></tr><tr><td><strong>Rust</strong></td><td><code>Cargo.toml</code></td><td><code>cargo build</code></td></tr><tr><td><strong>Go</strong></td><td><code>go.mod</code></td><td><code>go mod tidy</code></td></tr></tbody></table>
49
- <h3 class="anchor anchorWithStickyNavbar_LWe7" id="supported-ides">Supported IDEs<a href="#supported-ides" class="hash-link" aria-label="Direct link to Supported IDEs" title="Direct link to Supported IDEs">​</a></h3>
50
- <p>git0 automatically detects and opens projects in your preferred IDE:</p>
51
- <ul>
52
- <li><strong>Cursor</strong> (<code>cursor</code>)</li>
53
- <li><strong>Windsurf</strong> (<code>windsurf</code>)</li>
54
- <li><strong>VS Code</strong> (<code>code</code>)</li>
55
- <li><strong>Code Server</strong> (<code>code-server</code>)</li>
56
- <li><strong>Neovim</strong> (<code>nvim</code>)</li>
57
- </ul>
58
- <h2 class="anchor anchorWithStickyNavbar_LWe7" id="-configuration">🔧 Configuration<a href="#-configuration" class="hash-link" aria-label="Direct link to 🔧 Configuration" title="Direct link to 🔧 Configuration">​</a></h2>
59
- <h3 class="anchor anchorWithStickyNavbar_LWe7" id="what-happens-after-download">What Happens After Download<a href="#what-happens-after-download" class="hash-link" aria-label="Direct link to What Happens After Download" title="Direct link to What Happens After Download">​</a></h3>
60
- <ol>
61
- <li><strong>Repository is downloaded</strong> to your current directory</li>
62
- <li><strong>Project type is detected</strong> automatically</li>
63
- <li><strong>Dependencies are installed</strong> based on project type</li>
64
- <li><strong>IDE is launched</strong> automatically (if available)</li>
65
- <li><strong>Development server starts</strong> (for Node.js projects)</li>
66
- </ol>
67
- <p>If a directory with the same name exists, git0 automatically appends a number (e.g., <code>react-2</code>, <code>react-3</code>).</p>
68
- <h3 class="anchor anchorWithStickyNavbar_LWe7" id="github-token-optional">GitHub Token (Optional)<a href="#github-token-optional" class="hash-link" aria-label="Direct link to GitHub Token (Optional)" title="Direct link to GitHub Token (Optional)">​</a></h3>
69
- <p>For higher API rate limits, set <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" target="_blank" rel="noopener noreferrer">your GitHub token</a>:</p>
70
- <div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#bfc7d5;--prism-background-color:#292d3e"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#bfc7d5;background-color:#292d3e"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#bfc7d5"><span class="token plain">export GITHUB_TOKEN=your_github_token_here</span><br></span></code></pre></div></div>
71
- <p>Without a token, you&#x27;re limited to 60 requests per hour. With a token, you get 5,000 requests per hour.</p></div></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href="/functions/github-api"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">github-api</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/functions/modules"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">modules</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#-installation" class="table-of-contents__link toc-highlight">🚀 Installation</a></li><li><a href="#-features" class="table-of-contents__link toc-highlight">✨ Features</a></li><li><a href="#-usage" class="table-of-contents__link toc-highlight">🎯 Usage</a><ul><li><a href="#supported-project-types" class="table-of-contents__link toc-highlight">Supported Project Types</a></li><li><a href="#supported-ides" class="table-of-contents__link toc-highlight">Supported IDEs</a></li></ul></li><li><a href="#-configuration" class="table-of-contents__link toc-highlight">🔧 Configuration</a><ul><li><a href="#what-happens-after-download" class="table-of-contents__link toc-highlight">What Happens After Download</a></li><li><a href="#github-token-optional" class="table-of-contents__link toc-highlight">GitHub Token (Optional)</a></li></ul></li></ul></div></div></div></div></main></div></div></div></div>
72
- </body>
73
- </html>
92
+ <link
93
+ rel="stylesheet"
94
+ href="https://use.fontawesome.com/releases/v5.11.0/css/all.css"
95
+ />
96
+ <link rel="stylesheet" href="/assets/css/styles.3dd00f8d.css" />
97
+ <script src="/assets/js/runtime~main.f69f8f44.js" defer="defer"></script>
98
+ <script src="/assets/js/main.1f646b09.js" defer="defer"></script>
99
+ </head>
100
+ <body class="navigation-with-keyboard">
101
+ <svg xmlns="http://www.w3.org/2000/svg" style="display: none">
102
+ <defs>
103
+ <symbol id="theme-svg-external-link" viewBox="0 0 24 24">
104
+ <path
105
+ fill="currentColor"
106
+ d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"
107
+ />
108
+ </symbol>
109
+ </defs>
110
+ </svg>
111
+ <script>
112
+ (!(function () {
113
+ var t = "light";
114
+ var e =
115
+ (function () {
116
+ try {
117
+ return new URLSearchParams(window.location.search).get(
118
+ "docusaurus-theme",
119
+ );
120
+ } catch (t) {}
121
+ })() ||
122
+ (function () {
123
+ try {
124
+ return window.localStorage.getItem("theme");
125
+ } catch (t) {}
126
+ })();
127
+ (document.documentElement.setAttribute("data-theme", e || t),
128
+ document.documentElement.setAttribute("data-theme-choice", e || t));
129
+ })(),
130
+ (function () {
131
+ try {
132
+ const c = new URLSearchParams(window.location.search).entries();
133
+ for (var [t, e] of c)
134
+ if (t.startsWith("docusaurus-data-")) {
135
+ var a = t.replace("docusaurus-data-", "data-");
136
+ document.documentElement.setAttribute(a, e);
137
+ }
138
+ } catch (t) {}
139
+ })());
140
+ </script>
141
+ <div id="__docusaurus">
142
+ <link
143
+ rel="preload"
144
+ as="image"
145
+ href="https://i.imgur.com/857meew.png"
146
+ /><link
147
+ rel="preload"
148
+ as="image"
149
+ href="https://i.imgur.com/RLXLAzY.png"
150
+ /><link
151
+ rel="preload"
152
+ as="image"
153
+ href="https://img.shields.io/discord/1110227955554209923.svg?label=Chat&amp;logo=Discord&amp;colorB=7289da&amp;style=flat"
154
+ /><link
155
+ rel="preload"
156
+ as="image"
157
+ href="https://img.shields.io/github/stars/vtempest/git0"
158
+ /><link
159
+ rel="preload"
160
+ as="image"
161
+ href="https://img.shields.io/github/discussions/vtempest/git0"
162
+ /><link
163
+ rel="preload"
164
+ as="image"
165
+ href="https://img.shields.io/github/commit-activity/m/vtempest/git0"
166
+ /><link
167
+ rel="preload"
168
+ as="image"
169
+ href="https://img.shields.io/github/last-commit/vtempest/git0.svg"
170
+ /><link
171
+ rel="preload"
172
+ as="image"
173
+ href="https://img.shields.io/badge/PRs-welcome-brightgreen.svg"
174
+ /><link
175
+ rel="preload"
176
+ as="image"
177
+ href="https://github.com/codespaces/badge.svg"
178
+ />
179
+ <div role="region" aria-label="Skip to main content">
180
+ <a
181
+ class="skipToContent_fXgn"
182
+ href="#__docusaurus_skipToContent_fallback"
183
+ >Skip to main content</a
184
+ >
185
+ </div>
186
+ <nav
187
+ aria-label="Main"
188
+ class="theme-layout-navbar navbar navbar--fixed-top"
189
+ >
190
+ <div class="navbar__inner">
191
+ <div class="theme-layout-navbar-left navbar__items">
192
+ <a class="navbar__brand" href="/"
193
+ ><div class="navbar__logo">
194
+ <img
195
+ src="https://i.imgur.com/857meew.png"
196
+ alt="logo"
197
+ class="themedComponent_mlkZ themedComponent--light_NVdE"
198
+ /><img
199
+ src="https://i.imgur.com/857meew.png"
200
+ alt="logo"
201
+ class="themedComponent_mlkZ themedComponent--dark_xIcU"
202
+ />
203
+ </div>
204
+ <b class="navbar__title text--truncate">git0 Docs</b></a
205
+ >
206
+ </div>
207
+ <div
208
+ class="theme-layout-navbar-right navbar__items navbar__items--right"
209
+ >
210
+ <div class="toggle_vylO colorModeToggle_DEke">
211
+ <button
212
+ class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS"
213
+ type="button"
214
+ disabled=""
215
+ title="system mode"
216
+ aria-label="Switch between dark and light mode (currently system mode)"
217
+ >
218
+ <svg
219
+ viewBox="0 0 24 24"
220
+ width="24"
221
+ height="24"
222
+ aria-hidden="true"
223
+ class="toggleIcon_g3eP lightToggleIcon_pyhR"
224
+ >
225
+ <path
226
+ fill="currentColor"
227
+ d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"
228
+ ></path></svg
229
+ ><svg
230
+ viewBox="0 0 24 24"
231
+ width="24"
232
+ height="24"
233
+ aria-hidden="true"
234
+ class="toggleIcon_g3eP darkToggleIcon_wfgR"
235
+ >
236
+ <path
237
+ fill="currentColor"
238
+ d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"
239
+ ></path></svg
240
+ ><svg
241
+ viewBox="0 0 24 24"
242
+ width="24"
243
+ height="24"
244
+ aria-hidden="true"
245
+ class="toggleIcon_g3eP systemToggleIcon_QzmC"
246
+ >
247
+ <path
248
+ fill="currentColor"
249
+ d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"
250
+ ></path>
251
+ </svg>
252
+ </button>
253
+ </div>
254
+ <div class="navbarSearchContainer_Bca1">
255
+ <div class="navbar__search">
256
+ <span
257
+ aria-label="expand searchbar"
258
+ role="button"
259
+ class="search-icon"
260
+ tabindex="0"
261
+ ></span
262
+ ><input
263
+ id="search_input_react"
264
+ type="search"
265
+ placeholder="Loading..."
266
+ aria-label="Search"
267
+ class="navbar__search-input search-bar"
268
+ disabled=""
269
+ />
270
+ </div>
271
+ </div>
272
+ </div>
273
+ </div>
274
+ <div role="presentation" class="navbar-sidebar__backdrop"></div>
275
+ </nav>
276
+ <div
277
+ id="__docusaurus_skipToContent_fallback"
278
+ class="theme-layout-main main-wrapper mainWrapper_z2l0"
279
+ >
280
+ <div class="docsWrapper_hBAB">
281
+ <button
282
+ aria-label="Scroll back to top"
283
+ class="clean-btn theme-back-to-top-button backToTopButton_sjWU"
284
+ type="button"
285
+ ></button>
286
+ <div class="docRoot_UBD9">
287
+ <aside class="theme-doc-sidebar-container docSidebarContainer_YfHR">
288
+ <div class="sidebarViewport_aRkj">
289
+ <div class="sidebar_njMd">
290
+ <nav
291
+ aria-label="Docs sidebar"
292
+ class="menu thin-scrollbar menu_SIkG"
293
+ >
294
+ <ul class="theme-doc-sidebar-menu menu__list">
295
+ <li
296
+ class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"
297
+ >
298
+ <div class="menu__list-item-collapsible">
299
+ <a
300
+ class="menu__link menu__link--sublist menu__link--sublist-caret menu__link--active"
301
+ role="button"
302
+ aria-expanded="true"
303
+ href="/functions/fm"
304
+ >Functions</a
305
+ >
306
+ </div>
307
+ <ul class="menu__list">
308
+ <li
309
+ class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"
310
+ >
311
+ <a
312
+ class="menu__link"
313
+ tabindex="0"
314
+ href="/functions/fm"
315
+ >fm</a
316
+ >
317
+ </li>
318
+ <li
319
+ class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"
320
+ >
321
+ <a
322
+ class="menu__link"
323
+ tabindex="0"
324
+ href="/functions/git0"
325
+ >git0</a
326
+ >
327
+ </li>
328
+ <li
329
+ class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"
330
+ >
331
+ <a
332
+ class="menu__link"
333
+ tabindex="0"
334
+ href="/functions/github-api"
335
+ >github-api</a
336
+ >
337
+ </li>
338
+ <li
339
+ class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"
340
+ >
341
+ <a
342
+ class="menu__link menu__link--active"
343
+ aria-current="page"
344
+ tabindex="0"
345
+ href="/functions/"
346
+ >index</a
347
+ >
348
+ </li>
349
+ <li
350
+ class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"
351
+ >
352
+ <a
353
+ class="menu__link"
354
+ tabindex="0"
355
+ href="/functions/modules"
356
+ >modules</a
357
+ >
358
+ </li>
359
+ </ul>
360
+ </li>
361
+ </ul>
362
+ </nav>
363
+ </div>
364
+ </div>
365
+ </aside>
366
+ <main class="docMainContainer_TBSr">
367
+ <div class="container padding-top--md padding-bottom--lg">
368
+ <div class="row">
369
+ <div class="col docItemCol_VOVn">
370
+ <div class="docItemContainer_Djhp">
371
+ <article>
372
+ <nav
373
+ class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl"
374
+ aria-label="Breadcrumbs"
375
+ >
376
+ <ul class="breadcrumbs">
377
+ <li class="breadcrumbs__item">
378
+ <a
379
+ aria-label="Home page"
380
+ class="breadcrumbs__link"
381
+ href="/"
382
+ ><svg
383
+ viewBox="0 0 24 24"
384
+ class="breadcrumbHomeIcon_YNFT"
385
+ >
386
+ <path
387
+ d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z"
388
+ fill="currentColor"
389
+ ></path></svg
390
+ ></a>
391
+ </li>
392
+ <li class="breadcrumbs__item">
393
+ <span class="breadcrumbs__link">Functions</span>
394
+ </li>
395
+ <li
396
+ class="breadcrumbs__item breadcrumbs__item--active"
397
+ >
398
+ <span class="breadcrumbs__link">index</span>
399
+ </li>
400
+ </ul>
401
+ </nav>
402
+ <div
403
+ class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"
404
+ >
405
+ <button
406
+ type="button"
407
+ class="clean-btn tocCollapsibleButton_TO0P"
408
+ >
409
+ On this page
410
+ </button>
411
+ </div>
412
+ <div class="theme-doc-markdown markdown">
413
+ <p align="center">
414
+ <img src="https://i.imgur.com/RLXLAzY.png" />
415
+ </p>
416
+ <p align="center">
417
+ <a href="https://discord.gg/SJdBqBz3tV"
418
+ ><img
419
+ src="https://img.shields.io/discord/1110227955554209923.svg?label=Chat&amp;logo=Discord&amp;colorB=7289da&amp;style=flat" /></a
420
+ ><a
421
+ href="https://github.com/vtempest/git0/discussions"
422
+ ><img
423
+ alt="GitHub Stars"
424
+ src="https://img.shields.io/github/stars/vtempest/git0" /></a
425
+ ><a
426
+ href="https://github.com/vtempest/git0/discussions"
427
+ ><img
428
+ alt="GitHub Discussions"
429
+ src="https://img.shields.io/github/discussions/vtempest/git0" /></a
430
+ ><a
431
+ href="https://github.com/vtempest/git0/pulse"
432
+ alt="Activity"
433
+ ><img
434
+ src="https://img.shields.io/github/commit-activity/m/vtempest/git0" /></a
435
+ ><img
436
+ src="https://img.shields.io/github/last-commit/vtempest/git0.svg"
437
+ alt="GitHub last commit"
438
+ /><img
439
+ src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg"
440
+ /><a href="https://codespaces.new/vtempest/git0"
441
+ ><img
442
+ src="https://github.com/codespaces/badge.svg"
443
+ width="150"
444
+ height="20"
445
+ /></a>
446
+ </p>
447
+ <header>
448
+ <h1>Git0: Download Git Repo on Step Zero</h1>
449
+ </header>
450
+ <p>
451
+ CLI tool to search GitHub repositories, download
452
+ source &amp; releases for your system, and instantly
453
+ set up, then install dependencies and open code
454
+ editor.
455
+ </p>
456
+ <h2
457
+ class="anchor anchorWithStickyNavbar_LWe7"
458
+ id="-installation"
459
+ >
460
+ 🚀 Installation<a
461
+ href="#-installation"
462
+ class="hash-link"
463
+ aria-label="Direct link to 🚀 Installation"
464
+ title="Direct link to 🚀 Installation"
465
+ >​</a
466
+ >
467
+ </h2>
468
+ <div
469
+ class="language-bash codeBlockContainer_Ckt0 theme-code-block"
470
+ style="
471
+ --prism-color: #bfc7d5;
472
+ --prism-background-color: #292d3e;
473
+ "
474
+ >
475
+ <div class="codeBlockContent_QJqH">
476
+ <pre
477
+ tabindex="0"
478
+ class="prism-code language-bash codeBlock_bY9V thin-scrollbar"
479
+ style="
480
+ color: #bfc7d5;
481
+ background-color: #292d3e;
482
+ "
483
+ ><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#bfc7d5"><span class="token plain">npm install -g git0</span><br></span></code></pre>
484
+ </div>
485
+ </div>
486
+ <div
487
+ class="language-bash codeBlockContainer_Ckt0 theme-code-block"
488
+ style="
489
+ --prism-color: #bfc7d5;
490
+ --prism-background-color: #292d3e;
491
+ "
492
+ >
493
+ <div class="codeBlockContent_QJqH">
494
+ <pre
495
+ tabindex="0"
496
+ class="prism-code language-bash codeBlock_bY9V thin-scrollbar"
497
+ style="
498
+ color: #bfc7d5;
499
+ background-color: #292d3e;
500
+ "
501
+ ><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#bfc7d5"><span class="token plain">bun install -g git0</span><br></span></code></pre>
502
+ </div>
503
+ </div>
504
+ <p>
505
+ <img
506
+ decoding="async"
507
+ loading="lazy"
508
+ src="https://i.imgur.com/Io3ukRC.gif"
509
+ alt="livepreview"
510
+ class="img_ev3q"
511
+ />
512
+ <img
513
+ decoding="async"
514
+ loading="lazy"
515
+ src="https://i.imgur.com/K22NiBq.png"
516
+ alt="preview"
517
+ class="img_ev3q"
518
+ />
519
+ </p>
520
+ <h2
521
+ class="anchor anchorWithStickyNavbar_LWe7"
522
+ id="-features"
523
+ >
524
+ ✨ Features<a
525
+ href="#-features"
526
+ class="hash-link"
527
+ aria-label="Direct link to ✨ Features"
528
+ title="Direct link to ✨ Features"
529
+ >​</a
530
+ >
531
+ </h2>
532
+ <ul>
533
+ <li>
534
+ <strong>Search GitHub repositories</strong> by
535
+ name with fuzzy matching
536
+ </li>
537
+ <li>
538
+ <strong>Download repositories</strong> directly
539
+ from GitHub URLs or owner/repo shortcuts. Skip the
540
+ manual git clone, cd, install dance
541
+ </li>
542
+ <li>
543
+ <strong>Get Releases</strong> instantly download
544
+ latest release for your system or all systems
545
+ </li>
546
+ <li>
547
+ <strong>Automatic dependency installation</strong>
548
+ and installation for multiple project types
549
+ </li>
550
+ <li>
551
+ <strong>Smart IDE integration</strong> -
552
+ automatically opens projects in your preferred
553
+ editor
554
+ </li>
555
+ <li>
556
+ <strong>Cross-platform support</strong> - works on
557
+ Windows, macOS, and Linux
558
+ </li>
559
+ <li>
560
+ <strong>Conflict resolution</strong> - handles
561
+ directory naming conflicts automatically
562
+ </li>
563
+ <li>
564
+ <strong>Faster than git</strong> - skips
565
+ <code>.git</code> history and uncompresses while
566
+ downloading
567
+ </li>
568
+ </ul>
569
+ <h2
570
+ class="anchor anchorWithStickyNavbar_LWe7"
571
+ id="-usage"
572
+ >
573
+ 🎯 Usage<a
574
+ href="#-usage"
575
+ class="hash-link"
576
+ aria-label="Direct link to 🎯 Usage"
577
+ title="Direct link to 🎯 Usage"
578
+ >​</a
579
+ >
580
+ </h2>
581
+ <div
582
+ class="language-bash codeBlockContainer_Ckt0 theme-code-block"
583
+ style="
584
+ --prism-color: #bfc7d5;
585
+ --prism-background-color: #292d3e;
586
+ "
587
+ >
588
+ <div class="codeBlockContent_QJqH">
589
+ <pre
590
+ tabindex="0"
591
+ class="prism-code language-bash codeBlock_bY9V thin-scrollbar"
592
+ style="
593
+ color: #bfc7d5;
594
+ background-color: #292d3e;
595
+ "
596
+ ><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#bfc7d5"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"># Direct download from GitHub URL</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">## g and git0 both work</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">g https://github.com/facebook/react</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"># Search for repositories by name</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">g react starter</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"># Download using owner/repo shorthand</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">git0 facebook/react</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"># Use git0 without installing, (only node needed)</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"># (copy this line into your project&#x27;s readme to help others setup)</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">npx git0 facebook/react</span><br></span></code></pre>
597
+ </div>
598
+ </div>
599
+ <h3
600
+ class="anchor anchorWithStickyNavbar_LWe7"
601
+ id="supported-project-types"
602
+ >
603
+ Supported Project Types<a
604
+ href="#supported-project-types"
605
+ class="hash-link"
606
+ aria-label="Direct link to Supported Project Types"
607
+ title="Direct link to Supported Project Types"
608
+ >​</a
609
+ >
610
+ </h3>
611
+ <p>
612
+ git0 automatically detects and sets up the following
613
+ project types:
614
+ </p>
615
+ <table>
616
+ <thead>
617
+ <tr>
618
+ <th>Project Type</th>
619
+ <th>Detection</th>
620
+ <th>Installation</th>
621
+ </tr>
622
+ </thead>
623
+ <tbody>
624
+ <tr>
625
+ <td><strong>Node.js</strong></td>
626
+ <td><code>package.json</code></td>
627
+ <td>
628
+ <code>bun install</code> (fallback to
629
+ <code>npm install</code>)
630
+ </td>
631
+ </tr>
632
+ <tr>
633
+ <td><strong>Docker</strong></td>
634
+ <td>
635
+ <code>Dockerfile</code>,
636
+ <code>docker-compose.yml</code>
637
+ </td>
638
+ <td>
639
+ <code>docker-compose up -d</code> or
640
+ <code>docker build</code>
641
+ </td>
642
+ </tr>
643
+ <tr>
644
+ <td><strong>Python</strong></td>
645
+ <td>
646
+ <code>requirements.txt</code>,
647
+ <code>setup.py</code>
648
+ </td>
649
+ <td>Virtual environment + pip install</td>
650
+ </tr>
651
+ <tr>
652
+ <td><strong>Rust</strong></td>
653
+ <td><code>Cargo.toml</code></td>
654
+ <td><code>cargo build</code></td>
655
+ </tr>
656
+ <tr>
657
+ <td><strong>Go</strong></td>
658
+ <td><code>go.mod</code></td>
659
+ <td><code>go mod tidy</code></td>
660
+ </tr>
661
+ </tbody>
662
+ </table>
663
+ <h3
664
+ class="anchor anchorWithStickyNavbar_LWe7"
665
+ id="supported-ides"
666
+ >
667
+ Supported IDEs<a
668
+ href="#supported-ides"
669
+ class="hash-link"
670
+ aria-label="Direct link to Supported IDEs"
671
+ title="Direct link to Supported IDEs"
672
+ >​</a
673
+ >
674
+ </h3>
675
+ <p>
676
+ git0 automatically detects and opens projects in
677
+ your preferred IDE:
678
+ </p>
679
+ <ul>
680
+ <li>
681
+ <strong>Cursor</strong> (<code>cursor</code>)
682
+ </li>
683
+ <li>
684
+ <strong>Windsurf</strong> (<code>windsurf</code>)
685
+ </li>
686
+ <li>
687
+ <strong>VS Code</strong> (<code>code</code>)
688
+ </li>
689
+ <li>
690
+ <strong>Code Server</strong>
691
+ (<code>code-server</code>)
692
+ </li>
693
+ <li><strong>Neovim</strong> (<code>nvim</code>)</li>
694
+ <li>
695
+ <strong>Webstorm</strong> (<code>webstorm</code>)
696
+ </li>
697
+ </ul>
698
+ <h2
699
+ class="anchor anchorWithStickyNavbar_LWe7"
700
+ id="-configuration"
701
+ >
702
+ 🔧 Configuration<a
703
+ href="#-configuration"
704
+ class="hash-link"
705
+ aria-label="Direct link to 🔧 Configuration"
706
+ title="Direct link to 🔧 Configuration"
707
+ >​</a
708
+ >
709
+ </h2>
710
+ <h3
711
+ class="anchor anchorWithStickyNavbar_LWe7"
712
+ id="what-happens-after-download"
713
+ >
714
+ What Happens After Download<a
715
+ href="#what-happens-after-download"
716
+ class="hash-link"
717
+ aria-label="Direct link to What Happens After Download"
718
+ title="Direct link to What Happens After Download"
719
+ >​</a
720
+ >
721
+ </h3>
722
+ <ol>
723
+ <li>
724
+ <strong>Repository is downloaded</strong> to your
725
+ current directory
726
+ </li>
727
+ <li>
728
+ <strong>Project type is detected</strong>
729
+ automatically
730
+ </li>
731
+ <li>
732
+ <strong>Dependencies are installed</strong> based
733
+ on project type
734
+ </li>
735
+ <li>
736
+ <strong>IDE is launched</strong> automatically (if
737
+ available)
738
+ </li>
739
+ <li>
740
+ <strong>Development server starts</strong> (for
741
+ Node.js projects)
742
+ </li>
743
+ </ol>
744
+ <p>
745
+ If a directory with the same name exists, git0
746
+ automatically appends a number (e.g.,
747
+ <code>react-2</code>, <code>react-3</code>).
748
+ </p>
749
+ <h3
750
+ class="anchor anchorWithStickyNavbar_LWe7"
751
+ id="github-token-optional"
752
+ >
753
+ GitHub Token (Optional)<a
754
+ href="#github-token-optional"
755
+ class="hash-link"
756
+ aria-label="Direct link to GitHub Token (Optional)"
757
+ title="Direct link to GitHub Token (Optional)"
758
+ >​</a
759
+ >
760
+ </h3>
761
+ <p>
762
+ For higher API rate limits, set
763
+ <a
764
+ 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"
765
+ target="_blank"
766
+ rel="noopener noreferrer"
767
+ >your GitHub token</a
768
+ >:
769
+ </p>
770
+ <div
771
+ class="language-bash codeBlockContainer_Ckt0 theme-code-block"
772
+ style="
773
+ --prism-color: #bfc7d5;
774
+ --prism-background-color: #292d3e;
775
+ "
776
+ >
777
+ <div class="codeBlockContent_QJqH">
778
+ <pre
779
+ tabindex="0"
780
+ class="prism-code language-bash codeBlock_bY9V thin-scrollbar"
781
+ style="
782
+ color: #bfc7d5;
783
+ background-color: #292d3e;
784
+ "
785
+ ><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#bfc7d5"><span class="token plain">export GITHUB_TOKEN=your_github_token_here</span><br></span></code></pre>
786
+ </div>
787
+ </div>
788
+ <p>
789
+ Without a token, you&#x27;re limited to 60 requests
790
+ per hour. With a token, you get 5,000 requests per
791
+ hour.
792
+ </p>
793
+ </div>
794
+ </article>
795
+ <nav
796
+ class="docusaurus-mt-lg pagination-nav"
797
+ aria-label="Docs pages"
798
+ >
799
+ <a
800
+ class="pagination-nav__link pagination-nav__link--prev"
801
+ href="/functions/github-api"
802
+ ><div class="pagination-nav__sublabel">Previous</div>
803
+ <div class="pagination-nav__label">github-api</div></a
804
+ ><a
805
+ class="pagination-nav__link pagination-nav__link--next"
806
+ href="/functions/modules"
807
+ ><div class="pagination-nav__sublabel">Next</div>
808
+ <div class="pagination-nav__label">modules</div></a
809
+ >
810
+ </nav>
811
+ </div>
812
+ </div>
813
+ <div class="col col--3">
814
+ <div
815
+ class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"
816
+ >
817
+ <ul
818
+ class="table-of-contents table-of-contents__left-border"
819
+ >
820
+ <li>
821
+ <a
822
+ href="#-installation"
823
+ class="table-of-contents__link toc-highlight"
824
+ >🚀 Installation</a
825
+ >
826
+ </li>
827
+ <li>
828
+ <a
829
+ href="#-features"
830
+ class="table-of-contents__link toc-highlight"
831
+ >✨ Features</a
832
+ >
833
+ </li>
834
+ <li>
835
+ <a
836
+ href="#-usage"
837
+ class="table-of-contents__link toc-highlight"
838
+ >🎯 Usage</a
839
+ >
840
+ <ul>
841
+ <li>
842
+ <a
843
+ href="#supported-project-types"
844
+ class="table-of-contents__link toc-highlight"
845
+ >Supported Project Types</a
846
+ >
847
+ </li>
848
+ <li>
849
+ <a
850
+ href="#supported-ides"
851
+ class="table-of-contents__link toc-highlight"
852
+ >Supported IDEs</a
853
+ >
854
+ </li>
855
+ </ul>
856
+ </li>
857
+ <li>
858
+ <a
859
+ href="#-configuration"
860
+ class="table-of-contents__link toc-highlight"
861
+ >🔧 Configuration</a
862
+ >
863
+ <ul>
864
+ <li>
865
+ <a
866
+ href="#what-happens-after-download"
867
+ class="table-of-contents__link toc-highlight"
868
+ >What Happens After Download</a
869
+ >
870
+ </li>
871
+ <li>
872
+ <a
873
+ href="#github-token-optional"
874
+ class="table-of-contents__link toc-highlight"
875
+ >GitHub Token (Optional)</a
876
+ >
877
+ </li>
878
+ </ul>
879
+ </li>
880
+ </ul>
881
+ </div>
882
+ </div>
883
+ </div>
884
+ </div>
885
+ </main>
886
+ </div>
887
+ </div>
888
+ </div>
889
+ </div>
890
+ </body>
891
+ </html>