git0 0.2.11 → 0.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/assets/js/c3a618e1.965a31da.js +1 -1
- package/docs/functions/index.html +2 -2
- package/docs-config/src/functions/index.md +1 -1
- package/package.json +2 -1
- package/readme.md +18 -30
- package/src/fm.js +1130 -0
- package/src/github-api.js +14 -15
- package/TypeScript-React-Starter/LICENSE +0 -21
- package/TypeScript-React-Starter/README-CRA.md +0 -1281
- package/TypeScript-React-Starter/README.md +0 -810
- package/TypeScript-React-Starter/package.json +0 -28
- package/TypeScript-React-Starter/public/favicon.ico +0 -0
- package/TypeScript-React-Starter/public/index.html +0 -31
- package/TypeScript-React-Starter/src/App.css +0 -24
- package/TypeScript-React-Starter/src/App.test.tsx +0 -8
- package/TypeScript-React-Starter/src/App.tsx +0 -23
- package/TypeScript-React-Starter/src/actions/index.tsx +0 -24
- package/TypeScript-React-Starter/src/components/Hello.css +0 -13
- package/TypeScript-React-Starter/src/components/Hello.test.tsx +0 -30
- package/TypeScript-React-Starter/src/components/Hello.tsx +0 -35
- package/TypeScript-React-Starter/src/constants/index.tsx +0 -6
- package/TypeScript-React-Starter/src/containers/Hello.tsx +0 -20
- package/TypeScript-React-Starter/src/index.css +0 -5
- package/TypeScript-React-Starter/src/index.tsx +0 -22
- package/TypeScript-React-Starter/src/logo.svg +0 -7
- package/TypeScript-React-Starter/src/reducers/index.tsx +0 -15
- package/TypeScript-React-Starter/src/types/index.tsx +0 -5
- package/TypeScript-React-Starter/tsconfig.json +0 -29
- package/TypeScript-React-Starter/tslint.json +0 -11
- package/TypeScript-React-Starter/yarn.lock +0 -4785
- package/svelte-nodegui/.all-contributorsrc +0 -60
- package/svelte-nodegui/.vscode/launch.json +0 -29
- package/svelte-nodegui/CHANGELOG.md +0 -153
- package/svelte-nodegui/LICENSE +0 -22
- package/svelte-nodegui/README.md +0 -151
- package/svelte-nodegui/demo/.editorconfig +0 -15
- package/svelte-nodegui/demo/.vscode/extensions.json +0 -3
- package/svelte-nodegui/demo/livereload.js +0 -29
- package/svelte-nodegui/demo/package-lock.json +0 -3514
- package/svelte-nodegui/demo/package.json +0 -35
- package/svelte-nodegui/demo/src/App.svelte +0 -29
- package/svelte-nodegui/demo/src/app.ts +0 -31
- package/svelte-nodegui/demo/tsconfig.json +0 -40
- package/svelte-nodegui/demo/webpack.config.js +0 -110
- package/svelte-nodegui/extras/assets/kitchen.png +0 -0
- package/svelte-nodegui/extras/assets/nodegui.png +0 -0
- package/svelte-nodegui/extras/assets/nodegui_white.png +0 -0
- package/svelte-nodegui/extras/assets/start_icon.png +0 -0
- package/svelte-nodegui/extras/legal/logo/thanks.md +0 -13
- package/svelte-nodegui/extras/legal/yode/LICENSE +0 -21
- package/svelte-nodegui/extras/legal/yoga/LICENSE +0 -0
- package/svelte-nodegui/extras/logo/nodegui-circle.png +0 -0
- package/svelte-nodegui/extras/logo/nodegui.png +0 -0
- package/svelte-nodegui/extras/logo/nodegui.svg +0 -4
- package/svelte-nodegui/nativescript-svelte-todo.gif +0 -0
- package/svelte-nodegui/package-lock.json +0 -1749
- package/svelte-nodegui/package.json +0 -44
- package/svelte-nodegui/repl-workers/bundler/commonjs.js +0 -58
- package/svelte-nodegui/repl-workers/bundler/index.js +0 -353
- package/svelte-nodegui/repl-workers/package-lock.json +0 -484
- package/svelte-nodegui/repl-workers/package.json +0 -21
- package/svelte-nodegui/repl-workers/rollup.config.js +0 -21
- package/svelte-nodegui/rollup.config.js +0 -81
- package/svelte-nodegui/scripts/create-pkg.js +0 -42
- package/svelte-nodegui/src/components/AsComponent.svelte +0 -16
- package/svelte-nodegui/src/components/SlotComponent.svelte +0 -4
- package/svelte-nodegui/src/components/Template.svelte +0 -10
- package/svelte-nodegui/src/components/Template.svelte.d.ts +0 -6
- package/svelte-nodegui/src/components/index.ts +0 -2
- package/svelte-nodegui/src/dom/index.ts +0 -132
- package/svelte-nodegui/src/dom/nativescript-vue-next/LICENCE +0 -21
- package/svelte-nodegui/src/dom/nativescript-vue-next/index.ts +0 -19
- package/svelte-nodegui/src/dom/nativescript-vue-next/runtime/index.ts +0 -21
- package/svelte-nodegui/src/dom/nativescript-vue-next/runtime/nodes.ts +0 -890
- package/svelte-nodegui/src/dom/nativescript-vue-next/runtime/registry.ts +0 -262
- package/svelte-nodegui/src/dom/nativescript-vue-next/runtime/runtimeHelpers.ts +0 -20
- package/svelte-nodegui/src/dom/react-nodegui/LICENSE +0 -21
- package/svelte-nodegui/src/dom/react-nodegui/src/components/AbstractComponents/RNAbstractButton.ts +0 -67
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Action/RNAction.ts +0 -146
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Action/index.ts +0 -37
- package/svelte-nodegui/src/dom/react-nodegui/src/components/AnimatedImage/RNAnimatedImage.ts +0 -76
- package/svelte-nodegui/src/dom/react-nodegui/src/components/AnimatedImage/index.ts +0 -45
- package/svelte-nodegui/src/dom/react-nodegui/src/components/BoxView/RNBoxView.ts +0 -99
- package/svelte-nodegui/src/dom/react-nodegui/src/components/BoxView/index.ts +0 -49
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Button/RNButton.ts +0 -71
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Button/index.ts +0 -49
- package/svelte-nodegui/src/dom/react-nodegui/src/components/CheckBox/RNCheckBox.ts +0 -71
- package/svelte-nodegui/src/dom/react-nodegui/src/components/CheckBox/index.ts +0 -50
- package/svelte-nodegui/src/dom/react-nodegui/src/components/ComboBox/RNComboBox.ts +0 -118
- package/svelte-nodegui/src/dom/react-nodegui/src/components/ComboBox/index.ts +0 -50
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Dial/RNDial.ts +0 -69
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Dial/index.ts +0 -41
- package/svelte-nodegui/src/dom/react-nodegui/src/components/GridView/GridColumn/RNGridColumn.ts +0 -95
- package/svelte-nodegui/src/dom/react-nodegui/src/components/GridView/GridColumn/index.ts +0 -49
- package/svelte-nodegui/src/dom/react-nodegui/src/components/GridView/GridRow/RNGridRow.ts +0 -141
- package/svelte-nodegui/src/dom/react-nodegui/src/components/GridView/GridRow/index.ts +0 -47
- package/svelte-nodegui/src/dom/react-nodegui/src/components/GridView/RNGridView.ts +0 -185
- package/svelte-nodegui/src/dom/react-nodegui/src/components/GridView/index.ts +0 -51
- package/svelte-nodegui/src/dom/react-nodegui/src/components/GridView/utils.ts +0 -59
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Image/RNImage.ts +0 -135
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Image/index.ts +0 -46
- package/svelte-nodegui/src/dom/react-nodegui/src/components/LineEdit/RNLineEdit.ts +0 -82
- package/svelte-nodegui/src/dom/react-nodegui/src/components/LineEdit/index.ts +0 -41
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Menu/RNMenu.ts +0 -49
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Menu/index.ts +0 -44
- package/svelte-nodegui/src/dom/react-nodegui/src/components/MenuBar/RNMenuBar.ts +0 -51
- package/svelte-nodegui/src/dom/react-nodegui/src/components/MenuBar/index.ts +0 -42
- package/svelte-nodegui/src/dom/react-nodegui/src/components/PlainTextEdit/RNPlainTextEdit.ts +0 -82
- package/svelte-nodegui/src/dom/react-nodegui/src/components/PlainTextEdit/index.ts +0 -44
- package/svelte-nodegui/src/dom/react-nodegui/src/components/ProgressBar/RNProgressBar.ts +0 -78
- package/svelte-nodegui/src/dom/react-nodegui/src/components/ProgressBar/index.ts +0 -43
- package/svelte-nodegui/src/dom/react-nodegui/src/components/RadioButton/RNRadioButton.ts +0 -50
- package/svelte-nodegui/src/dom/react-nodegui/src/components/RadioButton/index.ts +0 -43
- package/svelte-nodegui/src/dom/react-nodegui/src/components/ScrollArea/RNScrollArea.ts +0 -51
- package/svelte-nodegui/src/dom/react-nodegui/src/components/ScrollArea/index.ts +0 -44
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Slider/RNSlider.ts +0 -97
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Slider/index.ts +0 -46
- package/svelte-nodegui/src/dom/react-nodegui/src/components/SpinBox/RNSpinBox.ts +0 -88
- package/svelte-nodegui/src/dom/react-nodegui/src/components/SpinBox/index.ts +0 -49
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Svg/RNSvg.ts +0 -67
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Svg/index.ts +0 -43
- package/svelte-nodegui/src/dom/react-nodegui/src/components/SystemTrayIcon/RNSystemTrayIcon.ts +0 -141
- package/svelte-nodegui/src/dom/react-nodegui/src/components/SystemTrayIcon/index.ts +0 -43
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Tab/RNTab.ts +0 -69
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Tab/index.ts +0 -48
- package/svelte-nodegui/src/dom/react-nodegui/src/components/TabItem/RNTabItem.ts +0 -72
- package/svelte-nodegui/src/dom/react-nodegui/src/components/TabItem/index.ts +0 -40
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Text/RNText.ts +0 -65
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Text/index.ts +0 -49
- package/svelte-nodegui/src/dom/react-nodegui/src/components/View/RNView.ts +0 -306
- package/svelte-nodegui/src/dom/react-nodegui/src/components/View/index.ts +0 -44
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Window/RNWindow.ts +0 -66
- package/svelte-nodegui/src/dom/react-nodegui/src/components/Window/index.ts +0 -50
- package/svelte-nodegui/src/dom/react-nodegui/src/components/config.ts +0 -95
- package/svelte-nodegui/src/dom/react-nodegui/src/index.ts +0 -52
- package/svelte-nodegui/src/dom/react-nodegui/src/reconciler/index.ts +0 -226
- package/svelte-nodegui/src/dom/react-nodegui/src/utils/decoupleFromReact.ts +0 -2
- package/svelte-nodegui/src/dom/react-nodegui/src/utils/helpers.ts +0 -14
- package/svelte-nodegui/src/dom/shared/Logger.ts +0 -16
- package/svelte-nodegui/src/dom/shared/index.ts +0 -1
- package/svelte-nodegui/src/dom/svelte/HeadElement.ts +0 -41
- package/svelte-nodegui/src/dom/svelte/RNObject.ts +0 -95
- package/svelte-nodegui/src/dom/svelte/StyleElement.ts +0 -92
- package/svelte-nodegui/src/dom/svelte/SvelteNodeGUIDocument.ts +0 -124
- package/svelte-nodegui/src/dom/svelte/TemplateElement.ts +0 -16
- package/svelte-nodegui/src/dom/svelte-elements.ts +0 -111
- package/svelte-nodegui/src/index.ts +0 -62
- package/svelte-nodegui/src/svelte-nodegui.ts +0 -159
- package/svelte-nodegui/src/transitions/bezier.ts +0 -112
- package/svelte-nodegui/src/transitions/index.ts +0 -227
- package/svelte-nodegui/tsconfig.json +0 -19
- package/svelte-nodegui/website/README.md +0 -33
- package/svelte-nodegui/website/blog/2019-05-30-welcome.md +0 -12
- package/svelte-nodegui/website/docs/api/classes/renderer.md +0 -49
- package/svelte-nodegui/website/docs/api/classes/rnaction.md +0 -608
- package/svelte-nodegui/website/docs/api/classes/rngridcolumn.md +0 -232
- package/svelte-nodegui/website/docs/api/classes/rngridrow.md +0 -247
- package/svelte-nodegui/website/docs/api/classes/rnmenu.md +0 -1337
- package/svelte-nodegui/website/docs/api/classes/rnmenubar.md +0 -1341
- package/svelte-nodegui/website/docs/api/globals.md +0 -832
- package/svelte-nodegui/website/docs/api/index.md +0 -0
- package/svelte-nodegui/website/docs/api/interfaces/_react_proxy_.reactproxycomponent.md +0 -38
- package/svelte-nodegui/website/docs/api/interfaces/abstractbuttonprops.md +0 -306
- package/svelte-nodegui/website/docs/api/interfaces/actionprops.md +0 -115
- package/svelte-nodegui/website/docs/api/interfaces/animatedimageprops.md +0 -297
- package/svelte-nodegui/website/docs/api/interfaces/boxviewprops.md +0 -245
- package/svelte-nodegui/website/docs/api/interfaces/buttonprops.md +0 -313
- package/svelte-nodegui/website/docs/api/interfaces/checkboxprops.md +0 -313
- package/svelte-nodegui/website/docs/api/interfaces/comboboxprops.md +0 -343
- package/svelte-nodegui/website/docs/api/interfaces/datawithoffset.md +0 -32
- package/svelte-nodegui/website/docs/api/interfaces/dialprops.md +0 -259
- package/svelte-nodegui/website/docs/api/interfaces/gridviewprops.md +0 -273
- package/svelte-nodegui/website/docs/api/interfaces/imageprops.md +0 -311
- package/svelte-nodegui/website/docs/api/interfaces/lineeditprops.md +0 -266
- package/svelte-nodegui/website/docs/api/interfaces/menubarprops.md +0 -245
- package/svelte-nodegui/website/docs/api/interfaces/menuprops.md +0 -245
- package/svelte-nodegui/website/docs/api/interfaces/plaintexteditprops.md +0 -259
- package/svelte-nodegui/website/docs/api/interfaces/progressbarprops.md +0 -266
- package/svelte-nodegui/website/docs/api/interfaces/radiobuttonprops.md +0 -282
- package/svelte-nodegui/website/docs/api/interfaces/scrollareaprops.md +0 -245
- package/svelte-nodegui/website/docs/api/interfaces/sliderprops.md +0 -329
- package/svelte-nodegui/website/docs/api/interfaces/spinboxprops.md +0 -273
- package/svelte-nodegui/website/docs/api/interfaces/systemtrayiconprops.md +0 -97
- package/svelte-nodegui/website/docs/api/interfaces/tabitemprops.md +0 -28
- package/svelte-nodegui/website/docs/api/interfaces/tabprops.md +0 -245
- package/svelte-nodegui/website/docs/api/interfaces/textprops.md +0 -277
- package/svelte-nodegui/website/docs/api/interfaces/viewprops.md +0 -261
- package/svelte-nodegui/website/docs/api/interfaces/windowprops.md +0 -245
- package/svelte-nodegui/website/docs/api/modules/_react_proxy_.md +0 -29
- package/svelte-nodegui/website/docs/doc1.md +0 -162
- package/svelte-nodegui/website/docs/guides/custom-nodegui-native-plugin.md +0 -6
- package/svelte-nodegui/website/docs/guides/debugging-in-vscode.md +0 -39
- package/svelte-nodegui/website/docs/guides/debugging.md +0 -59
- package/svelte-nodegui/website/docs/guides/getting-started.md +0 -141
- package/svelte-nodegui/website/docs/guides/handle-events.md +0 -188
- package/svelte-nodegui/website/docs/guides/images.md +0 -62
- package/svelte-nodegui/website/docs/guides/layout.md +0 -281
- package/svelte-nodegui/website/docs/guides/networking.md +0 -31
- package/svelte-nodegui/website/docs/guides/packaging.md +0 -32
- package/svelte-nodegui/website/docs/guides/scroll-view.md +0 -69
- package/svelte-nodegui/website/docs/guides/styling.md +0 -208
- package/svelte-nodegui/website/docs/guides/tutorial.md +0 -82
- package/svelte-nodegui/website/docs/guides/using-native-node-modules.md +0 -55
- package/svelte-nodegui/website/docs/mdx.md +0 -22
- package/svelte-nodegui/website/docs/scripts/fixdocs.js +0 -21
- package/svelte-nodegui/website/docusaurus.config.js +0 -131
- package/svelte-nodegui/website/package.json +0 -33
- package/svelte-nodegui/website/sidebars.js +0 -77
- package/svelte-nodegui/website/src/components/CodeExample.js +0 -42
- package/svelte-nodegui/website/src/components/CreateNativeApps.js +0 -46
- package/svelte-nodegui/website/src/components/Features.js +0 -62
- package/svelte-nodegui/website/src/components/Hero.js +0 -85
- package/svelte-nodegui/website/src/components/SplitView.js +0 -18
- package/svelte-nodegui/website/src/components/Talks.js +0 -68
- package/svelte-nodegui/website/src/components/Try.js +0 -83
- package/svelte-nodegui/website/src/components/common.js +0 -41
- package/svelte-nodegui/website/src/components/styles.css +0 -61
- package/svelte-nodegui/website/src/css/custom.css +0 -34
- package/svelte-nodegui/website/src/pages/index.js +0 -32
- package/svelte-nodegui/website/src/pages/styles.module.css +0 -35
- package/svelte-nodegui/website/static/CNAME +0 -1
- package/svelte-nodegui/website/static/img/box-layout-1.png +0 -0
- package/svelte-nodegui/website/static/img/box-layout-2.png +0 -0
- package/svelte-nodegui/website/static/img/code-sample.png +0 -0
- package/svelte-nodegui/website/static/img/demo.png +0 -0
- package/svelte-nodegui/website/static/img/favicon.ico +0 -0
- package/svelte-nodegui/website/static/img/flex-layout-1.png +0 -0
- package/svelte-nodegui/website/static/img/grid-layout-1.png +0 -0
- package/svelte-nodegui/website/static/img/logo-circle.png +0 -0
- package/svelte-nodegui/website/static/img/logo.png +0 -0
- package/svelte-nodegui/website/static/img/logo.svg +0 -5
- package/svelte-nodegui/website/static/img/logox200.png +0 -0
- package/svelte-nodegui/website/static/img/undraw_building_websites.svg +0 -1
- package/svelte-nodegui/website/static/img/undraw_code_review.svg +0 -1
- package/svelte-nodegui/website/static/img/undraw_docusaurus_mountain.svg +0 -170
- package/svelte-nodegui/website/static/img/undraw_docusaurus_react.svg +0 -169
- package/svelte-nodegui/website/static/img/undraw_docusaurus_tree.svg +0 -1
- package/svelte-nodegui/website/static/img/undraw_react.svg +0 -1
- package/svelte-nodegui/website/static/img/undraw_website_setup.svg +0 -1
- package/svelte-nodegui/website/static/img/undraw_windows.svg +0 -11
- package/svelte-nodegui/website/website/sidebars.js +0 -32
- package/svelte-nodegui/website/yarn.lock +0 -10533
|
@@ -1 +1 @@
|
|
|
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":"github-api","permalink":"/functions/github-api"},"next":{"title":"modules","permalink":"/functions/modules"}}');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
|
+
"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":"github-api","permalink":"/functions/github-api"},"next":{"title":"modules","permalink":"/functions/modules"}}');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",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)}}}]);
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"><defs>
|
|
22
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
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&logo=Discord&colorB=7289da&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
|
|
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&logo=Discord&colorB=7289da&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
25
|
<p align="center"><a href="https://discord.gg/SJdBqBz3tV"><img src="https://img.shields.io/discord/1110227955554209923.svg?label=Chat&logo=Discord&colorB=7289da&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
|
|
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
27
|
<header><h1>Git0: Download Git Repo on Step Zero</h1></header>
|
|
28
28
|
<p>CLI tool to search GitHub repositories, download source & releases for your system, and instantly set up, then install dependencies and open code editor.</p>
|
|
29
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>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<img src="https://img.shields.io/github/last-commit/vtempest/git0.svg?style=flat-square" alt="GitHub last commit" />
|
|
19
19
|
</p>
|
|
20
20
|
<p align="center">
|
|
21
|
-
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg
|
|
21
|
+
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg"
|
|
22
22
|
alt="PRs Welcome" />
|
|
23
23
|
<a href="https://codespaces.new/vtempest/git0">
|
|
24
24
|
<img src="https://github.com/codespaces/badge.svg" width="150" height="20" />
|
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.
|
|
4
|
+
"version": "0.2.12",
|
|
5
5
|
"author": "vtempest",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"chalk": "^5.4.1",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"bin": {
|
|
18
18
|
"g": "./src/git0.js",
|
|
19
19
|
"gg": "./src/git0.js",
|
|
20
|
+
"fm": "./src/fm.js",
|
|
20
21
|
"git0": "./src/git0.js"
|
|
21
22
|
},
|
|
22
23
|
"keywords": [
|
package/readme.md
CHANGED
|
@@ -2,27 +2,13 @@
|
|
|
2
2
|
<img src="https://i.imgur.com/poOtI3N.png" />
|
|
3
3
|
</p>
|
|
4
4
|
<p align="center">
|
|
5
|
-
<a href="https://discord.gg/SJdBqBz3tV">
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
<a href="https://
|
|
12
|
-
<img alt="GitHub Discussions"
|
|
13
|
-
src="https://img.shields.io/github/discussions/vtempest/git0" />
|
|
14
|
-
</a>
|
|
15
|
-
<a href="https://github.com/vtempest/git0/pulse" alt="Activity">
|
|
16
|
-
<img src="https://img.shields.io/github/commit-activity/m/vtempest/git0" />
|
|
17
|
-
</a>
|
|
18
|
-
<img src="https://img.shields.io/github/last-commit/vtempest/git0.svg?style=flat-square" alt="GitHub last commit" />
|
|
19
|
-
</p>
|
|
20
|
-
<p align="center">
|
|
21
|
-
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square"
|
|
22
|
-
alt="PRs Welcome" />
|
|
23
|
-
<a href="https://codespaces.new/vtempest/git0">
|
|
24
|
-
<img src="https://github.com/codespaces/badge.svg" width="150" height="20" />
|
|
25
|
-
</a>
|
|
5
|
+
<a href="https://discord.gg/SJdBqBz3tV"><img src="https://img.shields.io/discord/1110227955554209923.svg?label=Chat&logo=Discord&colorB=7289da&style=flat"/></a>
|
|
6
|
+
<a href="https://github.com/vtempest/git0/discussions"><img alt="GitHub Stars" src="https://img.shields.io/github/stars/vtempest/git0" /></a>
|
|
7
|
+
<a href="https://github.com/vtempest/git0/discussions"><img alt="GitHub Discussions" src="https://img.shields.io/github/discussions/vtempest/git0" /></a>
|
|
8
|
+
<a href="https://github.com/vtempest/git0/pulse" alt="Activity"><img src="https://img.shields.io/github/commit-activity/m/vtempest/git0" /></a>
|
|
9
|
+
<img src="https://img.shields.io/github/last-commit/vtempest/git0.svg" alt="GitHub last commit" />
|
|
10
|
+
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" />
|
|
11
|
+
<a href="https://codespaces.new/vtempest/git0"><img src="https://github.com/codespaces/badge.svg" width="150" height="20" /></a>
|
|
26
12
|
</p>
|
|
27
13
|
|
|
28
14
|
|
|
@@ -49,27 +35,29 @@ bun install -g git0
|
|
|
49
35
|
- **Search GitHub repositories** by name with fuzzy matching
|
|
50
36
|
- **Download repositories** directly from GitHub URLs or owner/repo shortcuts. Skip the manual git clone, cd, install dance
|
|
51
37
|
- **Get Releases** instantly download latest release for your system or all systems
|
|
52
|
-
- **Automatic dependency
|
|
38
|
+
- **Automatic dependency installation** and installation for multiple project types
|
|
53
39
|
- **Smart IDE integration** - automatically opens projects in your preferred editor
|
|
54
40
|
- **Cross-platform support** - works on Windows, macOS, and Linux
|
|
55
41
|
- **Conflict resolution** - handles directory naming conflicts automatically
|
|
42
|
+
- **Faster than git** - skips `.git` history and uncompresses while downloading
|
|
56
43
|
|
|
57
44
|
|
|
58
45
|
## 🎯 Usage
|
|
59
46
|
|
|
60
47
|
```bash
|
|
61
|
-
# Search for repositories by name
|
|
62
|
-
gg react starter
|
|
63
48
|
|
|
64
49
|
# Direct download from GitHub URL
|
|
65
|
-
##
|
|
66
|
-
|
|
50
|
+
## g and git0 both work
|
|
51
|
+
g https://github.com/facebook/react
|
|
52
|
+
|
|
53
|
+
# Search for repositories by name
|
|
54
|
+
g react starter
|
|
67
55
|
|
|
68
56
|
# Download using owner/repo shorthand
|
|
69
|
-
git0 react
|
|
57
|
+
git0 facebook/react
|
|
70
58
|
|
|
71
|
-
|
|
72
|
-
# (copy into your project's readme
|
|
59
|
+
# Use git0 without installing, (only node needed)
|
|
60
|
+
# (copy this line into your project's readme to help others setup)
|
|
73
61
|
npx git0 facebook/react
|
|
74
62
|
```
|
|
75
63
|
|
|
@@ -94,11 +82,11 @@ git0 automatically detects and opens projects in your preferred IDE:
|
|
|
94
82
|
- **VS Code** (`code`)
|
|
95
83
|
- **Code Server** (`code-server`)
|
|
96
84
|
- **Neovim** (`nvim`)
|
|
85
|
+
- **Webstorm** (`webstorm`)
|
|
97
86
|
|
|
98
87
|
## 🔧 Configuration
|
|
99
88
|
|
|
100
89
|
|
|
101
|
-
|
|
102
90
|
### What Happens After Download
|
|
103
91
|
|
|
104
92
|
1. **Repository is downloaded** to your current directory
|