git0 0.3.18 → 0.3.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/package.json +3 -2
  2. package/docs/404.html +0 -26
  3. package/docs/CNAME +0 -1
  4. package/docs/Footer/index.html +0 -26
  5. package/docs/assets/css/styles.3dd00f8d.css +0 -1
  6. package/docs/assets/js/17896441.79ceefeb.js +0 -1
  7. package/docs/assets/js/1df93b7f.1385eba0.js +0 -2
  8. package/docs/assets/js/1df93b7f.1385eba0.js.LICENSE.txt +0 -6
  9. package/docs/assets/js/22dd74f7.e13ac7a4.js +0 -1
  10. package/docs/assets/js/237.daf7efdf.js +0 -1
  11. package/docs/assets/js/278.1628756c.js +0 -1
  12. package/docs/assets/js/28ab763d.192aa3bb.js +0 -1
  13. package/docs/assets/js/299d276b.c9496717.js +0 -1
  14. package/docs/assets/js/577.78325c02.js +0 -1
  15. package/docs/assets/js/591.2156b33d.js +0 -2
  16. package/docs/assets/js/591.2156b33d.js.LICENSE.txt +0 -61
  17. package/docs/assets/js/5e95c892.bd6c1093.js +0 -1
  18. package/docs/assets/js/68cef36b.e5b1975b.js +0 -1
  19. package/docs/assets/js/a7456010.3054873b.js +0 -1
  20. package/docs/assets/js/a7bd4aaa.87229397.js +0 -1
  21. package/docs/assets/js/a94703ab.6d39a596.js +0 -1
  22. package/docs/assets/js/a9cef9d5.a7253e41.js +0 -1
  23. package/docs/assets/js/aba21aa0.dfebd789.js +0 -1
  24. package/docs/assets/js/ac46717f.32345167.js +0 -2
  25. package/docs/assets/js/ac46717f.32345167.js.LICENSE.txt +0 -6
  26. package/docs/assets/js/c3a618e1.1c56fb03.js +0 -590
  27. package/docs/assets/js/main.1f646b09.js +0 -2
  28. package/docs/assets/js/main.1f646b09.js.LICENSE.txt +0 -68
  29. package/docs/assets/js/runtime~main.f69f8f44.js +0 -1
  30. package/docs/functions/fm/index.html +0 -26
  31. package/docs/functions/git0/index.html +0 -48
  32. package/docs/functions/github-api/index.html +0 -149
  33. package/docs/functions/index.html +0 -891
  34. package/docs/functions/modules/index.html +0 -31
  35. package/docs/index.html +0 -26
  36. package/docs/lunr-index-1749760982052.json +0 -1
  37. package/docs/lunr-index.json +0 -1
  38. package/docs/search-doc-1749760982052.json +0 -1
  39. package/docs/search-doc.json +0 -1
  40. package/docs/sitemap.xml +0 -1
  41. package/docs-config/.docusaurus/DONT-EDIT-THIS-FOLDER +0 -5
  42. package/docs-config/.docusaurus/client-manifest.json +0 -271
  43. package/docs-config/.docusaurus/client-modules.js +0 -8
  44. package/docs-config/.docusaurus/codeTranslations.json +0 -1
  45. package/docs-config/.docusaurus/docusaurus-lunr-search/default/__plugin.json +0 -4
  46. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/__mdx-loader-dependency.json +0 -1
  47. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/__plugin.json +0 -4
  48. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/p/docs-175.json +0 -1
  49. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/p/index-466.json +0 -1
  50. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-fm-md-a9c.json +0 -19
  51. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-git-0-1-md-d3e.json +0 -19
  52. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-git-0-md-299.json +0 -23
  53. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-github-api-md-28a.json +0 -23
  54. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-globals-md-4a8.json +0 -19
  55. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-index-md-c3a.json +0 -23
  56. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-modules-md-68c.json +0 -19
  57. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-index-md-d14.json +0 -21
  58. package/docs-config/.docusaurus/docusaurus-plugin-content-pages/default/__plugin.json +0 -4
  59. package/docs-config/.docusaurus/docusaurus-plugin-google-gtag/default/__plugin.json +0 -4
  60. package/docs-config/.docusaurus/docusaurus.config.mjs +0 -378
  61. package/docs-config/.docusaurus/globalData.json +0 -70
  62. package/docs-config/.docusaurus/i18n.json +0 -17
  63. package/docs-config/.docusaurus/lunr.client.js +0 -5
  64. package/docs-config/.docusaurus/registry.js +0 -16
  65. package/docs-config/.docusaurus/routes.js +0 -67
  66. package/docs-config/.docusaurus/routesChunkNames.json +0 -49
  67. package/docs-config/.docusaurus/site-metadata.json +0 -51
  68. package/docs-config/.docusaurus/site-storage.json +0 -4
  69. package/docs-config/config/customize-docs.js +0 -31
  70. package/docs-config/config/docs-theme.css +0 -358
  71. package/docs-config/config/openapi.mustache +0 -39
  72. package/docs-config/config/sidebars.ts +0 -21
  73. package/docs-config/config/typedoc.json +0 -40
  74. package/docs-config/docusaurus.config.ts +0 -341
  75. package/docs-config/package.json +0 -40
  76. package/docs-config/src/functions/fm.md +0 -1
  77. package/docs-config/src/functions/git0.md +0 -101
  78. package/docs-config/src/functions/github-api.md +0 -761
  79. package/docs-config/src/functions/index.md +0 -103
  80. package/docs-config/src/functions/modules.md +0 -5
  81. package/docs-config/src/functions/typedoc-sidebar.cjs +0 -22
  82. package/docs-config/src/pages/Footer.tsx +0 -67
  83. package/docs-config/src/pages/index.tsx +0 -433
  84. package/docs-config/static/CNAME +0 -1
  85. package/docs-config/tsconfig.json +0 -27
@@ -1,103 +0,0 @@
1
- <p align="center">
2
- <img src="https://i.imgur.com/RLXLAzY.png" />
3
- </p>
4
- <p align="center">
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>
12
- </p>
13
-
14
- # Git0: Download Git Repo on Step Zero
15
- CLI tool to search GitHub repositories, download source & releases for your system, and instantly set up, then install dependencies and open code editor.
16
-
17
- ## 🚀 Installation
18
-
19
- ```bash
20
- npm install -g git0
21
- ```
22
-
23
- ```bash
24
- bun install -g git0
25
- ```
26
-
27
- ![livepreview](https://i.imgur.com/Io3ukRC.gif)
28
- ![preview](https://i.imgur.com/K22NiBq.png)
29
-
30
- ## ✨ Features
31
-
32
- - **Search GitHub repositories** by name with fuzzy matching
33
- - **Download repositories** directly from GitHub URLs or owner/repo shortcuts. Skip the manual git clone, cd, install dance
34
- - **Get Releases** instantly download latest release for your system or all systems
35
- - **Automatic dependency installation** and installation for multiple project types
36
- - **Smart IDE integration** - automatically opens projects in your preferred editor
37
- - **Cross-platform support** - works on Windows, macOS, and Linux
38
- - **Conflict resolution** - handles directory naming conflicts automatically
39
- - **Faster than git** - skips `.git` history and uncompresses while downloading
40
-
41
- ## 🎯 Usage
42
-
43
- ```bash
44
-
45
- # Direct download from GitHub URL
46
- ## g and git0 both work
47
- g https://github.com/facebook/react
48
-
49
- # Search for repositories by name
50
- g react starter
51
-
52
- # Download using owner/repo shorthand
53
- git0 facebook/react
54
-
55
- # Use git0 without installing, (only node needed)
56
- # (copy this line into your project's readme to help others setup)
57
- npx git0 facebook/react
58
- ```
59
-
60
- ### Supported Project Types
61
-
62
- git0 automatically detects and sets up the following project types:
63
-
64
- | Project Type | Detection | Installation |
65
- |-------------|-----------|-------------|
66
- | **Node.js** | `package.json` | `bun install` (fallback to `npm install`) |
67
- | **Docker** | `Dockerfile`, `docker-compose.yml` | `docker-compose up -d` or `docker build` |
68
- | **Python** | `requirements.txt`, `setup.py` | Virtual environment + pip install |
69
- | **Rust** | `Cargo.toml` | `cargo build` |
70
- | **Go** | `go.mod` | `go mod tidy` |
71
-
72
- ### Supported IDEs
73
-
74
- git0 automatically detects and opens projects in your preferred IDE:
75
-
76
- - **Cursor** (`cursor`)
77
- - **Windsurf** (`windsurf`)
78
- - **VS Code** (`code`)
79
- - **Code Server** (`code-server`)
80
- - **Neovim** (`nvim`)
81
- - **Webstorm** (`webstorm`)
82
-
83
- ## 🔧 Configuration
84
-
85
- ### What Happens After Download
86
-
87
- 1. **Repository is downloaded** to your current directory
88
- 2. **Project type is detected** automatically
89
- 3. **Dependencies are installed** based on project type
90
- 4. **IDE is launched** automatically (if available)
91
- 5. **Development server starts** (for Node.js projects)
92
-
93
- If a directory with the same name exists, git0 automatically appends a number (e.g., `react-2`, `react-3`).
94
-
95
- ### GitHub Token (Optional)
96
-
97
- For higher API rate limits, set [your GitHub token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token):
98
-
99
- ```bash
100
- export GITHUB_TOKEN=your_github_token_here
101
- ```
102
-
103
- Without a token, you're limited to 60 requests per hour. With a token, you get 5,000 requests per hour.
@@ -1,5 +0,0 @@
1
- ## Modules
2
-
3
- - [fm](fm.md)
4
- - [git0](git0.md)
5
- - [github-api](github-api.md)
@@ -1,22 +0,0 @@
1
- // @ts-check
2
- /** @type {import("@docusaurus/plugin-content-docs").SidebarsConfig} */
3
- const typedocSidebar = {
4
- items: [
5
- {
6
- type: "doc",
7
- id: "functions/fm",
8
- label: "fm"
9
- },
10
- {
11
- type: "doc",
12
- id: "functions/git0",
13
- label: "git0"
14
- },
15
- {
16
- type: "doc",
17
- id: "functions/github-api",
18
- label: "github-api"
19
- }
20
- ]
21
- };
22
- module.exports = typedocSidebar.items;
@@ -1,67 +0,0 @@
1
- import React, { useState, useEffect } from 'react';
2
-
3
- import {
4
- Github,
5
- BookOpen,
6
- GitBranch,
7
- Users,
8
- } from 'lucide-react';
9
-
10
-
11
- const custom = {
12
- urlDocs: "https://git0.js.org/functions",
13
- urlSupport: "https://discord.gg/SJdBqBz3tV",
14
- urlGithub: "https://github.com/vtempest/git0",
15
- urlGithubChat: "https://github.com/vtempest/git0/discussions",
16
- urlLogo: "https://i.imgur.com/857meew.png",
17
- name: "git0",
18
- urlAuthor: "https://github.com/vtempest",
19
- author: "vtempest",
20
- copyrightHTML: `&copy; 2025 Get git0. <a href="https://github.com/vtempest/git0">Star this on GitHub</a> so it can grow!`
21
- }
22
-
23
- export default function () {
24
-
25
- return (
26
- <footer className="relative z-10 border-t border-gray-800/50 py-16 px-6 bg-gray-900/50 backdrop-blur-xl">
27
- <div className="max-w-7xl mx-auto">
28
- <div className="flex flex-col md:flex-row items-center justify-between ">
29
- <div className="flex items-center space-x-4 mb-6 md:mb-0">
30
- <div className="w-12 h-12 bg-gradient-to-br from-blue-500 via-cyan-500 to-purple-600 rounded-xl flex items-center justify-center shadow-2xl">
31
- <img src={custom.urlLogo} alt="logo" className="w-10 h-10" />
32
- </div>
33
- <span className="text-2xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent">{custom.name}</span>
34
- </div>
35
- <div className="flex items-center space-x-8">
36
-
37
- <a href={custom.urlDocs} className="flex items-center space-x-2 text-gray-400 hover:text-white transition-all duration-300 hover:scale-105">
38
- <BookOpen className="w-5 h-5" />
39
- <span>Docs</span>
40
- </a>
41
-
42
- <a href={custom.urlSupport} className="flex items-center space-x-2 text-gray-400 hover:text-white transition-all duration-300 hover:scale-105">
43
- <Users className="w-5 h-5" />
44
- <span>Discord</span>
45
- </a>
46
- <a href={custom.urlGithub} className="flex items-center space-x-2 text-gray-400 hover:text-white transition-all duration-300 hover:scale-105">
47
- <Github className="w-5 h-5" />
48
- <span>GitHub</span>
49
- </a>
50
- <a href={custom.urlGithubChat} className="flex items-center space-x-2 text-gray-400 hover:text-white transition-all duration-300 hover:scale-105">
51
- <GitBranch className="w-5 h-5" />
52
- <span>Discussions</span>
53
- </a>
54
- </div>
55
- </div>
56
- <div className="pt-8 border-t border-gray-800/50 text-center">
57
- <p className="text-gray-400 mb-4" dangerouslySetInnerHTML={{ __html: custom.copyrightHTML }}>
58
-
59
- </p>
60
- <div className="flex justify-center space-x-4 text-sm text-gray-500">
61
- <span>Made by <a href={custom.urlAuthor} className="text-blue-400 hover:text-blue-300 transition-all duration-300">{custom.author}</a> with ❤️ for the developer community</span>
62
- </div>
63
- </div>
64
- </div>
65
- </footer>
66
- )
67
- }
@@ -1,433 +0,0 @@
1
- import React, { useState, useEffect } from 'react';
2
- import Footer from './Footer';
3
-
4
- import {
5
- Github,
6
- Download,
7
- Search,
8
- Zap,
9
- Terminal,
10
- Code,
11
- Star,
12
- GitBranch,
13
- Users,
14
- Activity,
15
- Copy,
16
- Check,
17
- ArrowRight,
18
- Sparkles,
19
- Rocket,
20
- Shield,
21
- Globe,
22
- Cpu,
23
- Database,
24
- Cloud,
25
- Lock,
26
- Layers,
27
- FileCode,
28
- Package,
29
- Play,
30
- Settings,
31
- Workflow,
32
- GitMerge,
33
- Eye,
34
- Folder,
35
- Command,
36
- FolderOpen,
37
- Wrench,
38
- MonitorSpeaker,
39
- ExternalLink
40
- } from 'lucide-react';
41
-
42
- const custom = {
43
- installCommands: {
44
- bun: 'bun install -g git0',
45
- npm: 'npm install -g git0',
46
- npx: 'npx git0 react starter'
47
- }, coreFeatures: [
48
- {
49
- icon: Search,
50
- title: 'Search GitHub Repositories',
51
- description: 'Search repositories by name with intelligent fuzzy matching and instant results',
52
- gradient: 'from-blue-500 via-cyan-500 to-teal-500',
53
- example: 'git0 react starter'
54
- },
55
- {
56
- icon: Download,
57
- title: 'Direct Repository Download',
58
- description: 'Download from GitHub URLs or owner/repo shortcuts. Skip the manual git clone dance',
59
- gradient: 'from-purple-500 via-pink-500 to-rose-500',
60
- example: 'git0 facebook/react'
61
- },
62
- {
63
- icon: Package,
64
- title: 'Git Release Package Manager',
65
- description: 'Instantly download latest release binaries for your system or all platforms',
66
- gradient: 'from-green-500 via-emerald-500 to-cyan-500',
67
- example: 'gg user/repo'
68
- },
69
- {
70
- icon: Zap,
71
- title: 'Automatic Dependency Installation',
72
- description: 'Smart detection and installation of dependencies for multiple project types',
73
- gradient: 'from-orange-500 via-red-500 to-pink-500',
74
- example: 'Auto-detects package.json, requirements.txt, Cargo.toml'
75
- },
76
- {
77
- icon: Code,
78
- title: 'Smart IDE Integration',
79
- description: 'Automatically opens projects in Cursor, Windsurf, VS Code, or your preferred editor',
80
- gradient: 'from-indigo-500 via-purple-500 to-blue-500',
81
- example: 'Opens in cursor, windsurf, code, nvim'
82
- },
83
- {
84
- icon: Shield,
85
- title: 'Conflict Resolution',
86
- description: 'Handles directory naming conflicts automatically with smart numbering',
87
- gradient: 'from-yellow-500 via-orange-500 to-red-500',
88
- example: 'react → react-2 → react-3'
89
- }
90
- ], projectTypes: [
91
- {
92
- name: 'Node.js',
93
- file: 'package.json',
94
- install: 'bun install (fallback to npm)',
95
- color: 'text-green-400',
96
- icon: Package
97
- },
98
- {
99
- name: 'Docker',
100
- file: 'Dockerfile, docker-compose.yml',
101
- install: 'docker-compose up -d',
102
- color: 'text-blue-400',
103
- icon: Layers
104
- },
105
- {
106
- name: 'Python',
107
- file: 'requirements.txt, setup.py',
108
- install: 'Virtual env + pip install',
109
- color: 'text-yellow-400',
110
- icon: FileCode
111
- },
112
- {
113
- name: 'Rust',
114
- file: 'Cargo.toml',
115
- install: 'cargo build',
116
- color: 'text-orange-400',
117
- icon: Settings
118
- },
119
- {
120
- name: 'Go',
121
- file: 'go.mod',
122
- install: 'go mod tidy',
123
- color: 'text-cyan-400',
124
- icon: Play
125
- }
126
- ], supportedIDEs: [
127
- { name: 'Cursor', command: 'cursor', color: 'text-blue-400' },
128
- { name: 'Windsurf', command: 'windsurf', color: 'text-purple-400' },
129
- { name: 'VS Code', command: 'code', color: 'text-blue-300' },
130
- { name: 'Code Server', command: 'code-server', color: 'text-green-400' },
131
- { name: 'Neovim', command: 'nvim', color: 'text-orange-400' }
132
- ], featuresList: [
133
- { title: 'Search Repositories', command: 'git0 react starter', desc: 'Find repositories by name with fuzzy matching' },
134
- { title: 'Direct Download', command: 'gg facebook/react', desc: 'Download using owner/repo shorthand' },
135
- { title: 'From GitHub URL', command: 'git0 https://github.com/user/repo', desc: 'Download from any GitHub URL' }
136
- ], workflowSteps: [
137
- { step: '1', title: 'Repository Downloaded', desc: 'To your current directory', icon: Download },
138
- { step: '2', title: 'Project Type Detected', desc: 'Automatically identified', icon: Search },
139
- { step: '3', title: 'Dependencies Installed', desc: 'Based on project type', icon: Package },
140
- { step: '4', title: 'IDE Launched', desc: 'Opens in preferred editor', icon: Code },
141
- { step: '5', title: 'Dev Server Started', desc: 'For Node.js projects', icon: Play }
142
- ],
143
- urlDocs: "https://git0.js.org/functions",
144
- urlSupport: "https://discord.gg/SJdBqBz3tV",
145
- urlGithub: "https://github.com/vtempest/git0",
146
- urlGithubChat: "https://github.com/vtempest/git0/discussions",
147
- urlLogo: "https://i.imgur.com/857meew.png",
148
- name: "git0",
149
- urlAuthor: "https://github.com/vtempest",
150
- author: "vtempest",
151
- copyrightHTML: `&copy; 2025 Get git0. <a href="https://github.com/vtempest/git0">Star this on GitHub</a> so it can grow!`
152
- }
153
-
154
- function App() {
155
- const [copiedCommand, setCopiedCommand] = useState<string | null>(null);
156
- const [isLoaded, setIsLoaded] = useState(false);
157
- const [activeTab, setActiveTab] = useState('bun');
158
- const [mousePosition, setMousePosition] = useState({ x: 0, y: 0 });
159
-
160
- useEffect(() => {
161
- const handleMouseMove = (e: MouseEvent) => {
162
- setMousePosition({ x: e.clientX, y: e.clientY });
163
- };
164
- window.addEventListener('mousemove', handleMouseMove);
165
- return () => window.removeEventListener('mousemove', handleMouseMove);
166
- }, []);
167
-
168
- useEffect(() => {
169
- // Check if Tailwind CDN is already attached
170
- const script = document.createElement('script');
171
- script.id = 'tailwind-cdn';
172
- script.src = "https://cdn.tailwindcss.com";
173
- script.async = true;
174
- script.onload = () => setIsLoaded(true); // Only called when Tailwind is actually loaded
175
- document.head.appendChild(script);
176
-
177
- }, []);
178
-
179
- const copyToClipboard = (text: string, command: string) => {
180
- navigator.clipboard.writeText(text);
181
- setCopiedCommand(command);
182
- setTimeout(() => setCopiedCommand(null), 2000);
183
- };
184
-
185
-
186
- return isLoaded && (<div className="min-h-screen bg-gray-900 text-white overflow-hidden relative">
187
- {/* Enhanced Animated Background */}
188
- <div className="fixed inset-0 bg-gradient-to-br from-gray-900 via-blue-900/30 to-purple-900/30">
189
- {/* Floating Orbs */}
190
- <div className="absolute inset-0">
191
- <div
192
- className="absolute w-96 h-96 bg-blue-500/20 rounded-full blur-3xl animate-pulse"
193
- style={{
194
- left: `${20 + mousePosition.x * 0.02}%`,
195
- top: `${10 + mousePosition.y * 0.01}%`,
196
- transform: 'translate3d(0, 0, 0)',
197
- }}
198
- ></div>
199
- <div
200
- className="absolute w-80 h-80 bg-purple-500/20 rounded-full blur-3xl animate-pulse delay-1000"
201
- style={{
202
- right: `${15 + mousePosition.x * -0.015}%`,
203
- bottom: `${20 + mousePosition.y * -0.01}%`,
204
- transform: 'translate3d(0, 0, 0)',
205
- }}
206
- ></div>
207
- <div
208
- className="absolute w-64 h-64 bg-cyan-500/15 rounded-full blur-3xl animate-pulse delay-2000"
209
- style={{
210
- left: `${60 + mousePosition.x * 0.01}%`,
211
- top: `${60 + mousePosition.y * 0.005}%`,
212
- transform: 'translate3d(0, 0, 0)',
213
- }}
214
- ></div>
215
- </div>
216
-
217
- {/* Grid Pattern */}
218
- <div className="absolute inset-0 bg-[linear-gradient(rgba(56,189,248,0.03)_1px,transparent_1px),linear-gradient(90deg,rgba(56,189,248,0.03)_1px,transparent_1px)] bg-[size:50px_50px]"></div>
219
-
220
- {/* Radial Gradients */}
221
- <div className="absolute inset-0 bg-[radial-gradient(circle_at_25%_25%,rgba(56,189,248,0.15),transparent_50%)]"></div>
222
- <div className="absolute inset-0 bg-[radial-gradient(circle_at_75%_75%,rgba(147,51,234,0.15),transparent_50%)]"></div>
223
- </div>
224
-
225
- {/* Navigation */}
226
- <nav className="relative z-50 flex items-center justify-between p-6 backdrop-blur-xl bg-gray-900/70 border-b border-gray-700/50">
227
- <div className="flex items-center space-x-3">
228
- <div className="w-12 h-12 bg-gradient-to-br from-blue-500 via-cyan-500 to-purple-600 rounded-xl flex items-center justify-center shadow-2xl shadow-blue-500/25 transform hover:scale-110 transition-all duration-300">
229
- <img src={custom.urlLogo} alt="logo" className="w-10 h-10" />
230
- </div>
231
- <span className="text-3xl font-bold bg-gradient-to-r from-blue-400 via-cyan-400 to-purple-400 bg-clip-text text-transparent">
232
- {custom.name}
233
- </span>
234
- </div>
235
- <div className="flex items-center space-x-8">
236
- <a href="#features" className="hover:text-blue-400 transition-all duration-300 hover:scale-105">Features</a>
237
- <a href="#installation" className="hover:text-blue-400 transition-all duration-300 hover:scale-105">Install</a>
238
- <a href="#workflow" className="hover:text-blue-400 transition-all duration-300 hover:scale-105">How It Works</a>
239
- <a href={custom.urlGithub} className="flex items-center space-x-2 bg-gradient-to-r from-blue-600 via-cyan-600 to-purple-600 px-6 py-3 rounded-xl hover:from-blue-500 hover:via-cyan-500 hover:to-purple-500 transition-all duration-300 shadow-2xl shadow-blue-500/25 hover:scale-105 hover:shadow-blue-500/40">
240
- <Github className="w-5 h-5" />
241
- <span className="font-semibold">GitHub</span>
242
- </a>
243
- </div>
244
- </nav>
245
-
246
- {/* Hero Section */}
247
- <section className="relative z-10 pt-6 pb-10 px-6">
248
- <div className="max-w-7xl mx-auto text-center">
249
- <div className="">
250
- <div className="inline-flex items-center space-x-3 bg-gradient-to-r from-blue-500/20 via-cyan-500/20 to-purple-500/20 backdrop-blur-xl border border-blue-500/30 rounded-full px-6 py-3 mb-8 shadow-2xl shadow-blue-500/10 hover:shadow-blue-500/20 transition-all duration-500">
251
- <Sparkles className="w-5 h-5 text-blue-400 animate-pulse" />
252
- <span className="text-blue-300 font-medium">Download Git Repo on Step Zero</span>
253
- <div className="w-2 h-2 bg-green-400 rounded-full animate-pulse"></div>
254
- </div>
255
-
256
- {/* position as grid next to each other */}
257
- <div className="grid grid-cols-2 gap-4">
258
- <img src="https://i.imgur.com/Io3ukRC.gif" alt="Git Preview" className="w-full" />
259
-
260
-
261
- <img src="https://i.imgur.com/6l9esbL.png" alt="Git Preview" className="w-full" />
262
- </div>
263
-
264
- <p className="text-2xl md:text-3xl mt-4 text-gray-300 mb-12 max-w-5xl mx-auto leading-relaxed font-light">
265
- CLI tool to search GitHub repositories, download source & releases, and instantly set up projects with
266
- <span className="bg-gradient-to-r from-blue-400 to-cyan-400 bg-clip-text text-transparent font-semibold"> automatic dependency installation and editor opening</span>
267
- </p>
268
- </div>
269
-
270
- {/* Installation Section */}
271
- <div id="installation">
272
- <div className="flex justify-center mb-8">
273
- <div className="flex bg-gray-800/50 backdrop-blur-xl rounded-2xl p-2 border border-gray-700/50 shadow-2xl">
274
- {Object.keys(custom.installCommands).map((tab) => (
275
- <button
276
- key={tab}
277
- onClick={() => setActiveTab(tab)}
278
- className={`px-6 py-3 rounded-xl transition-all duration-300 font-semibold ${activeTab === tab
279
- ? 'bg-gradient-to-r from-blue-500 via-cyan-500 to-purple-500 text-white shadow-lg transform scale-105'
280
- : 'text-gray-400 hover:text-white hover:bg-gray-700/50'
281
- }`}
282
- >
283
- {tab.toUpperCase()}
284
- </button>
285
- ))}
286
- </div>
287
- </div>
288
-
289
- <div className="max-w-3xl mx-auto">
290
- <div className="bg-gray-800/40 backdrop-blur-xl border border-gray-700/50 rounded-2xl p-8 shadow-2xl hover:shadow-blue-500/10 transition-all duration-500 transform hover:scale-[1.02]">
291
- <div className="flex items-center justify-between mb-4">
292
- <span className="text-gray-400 font-medium">Installation Command</span>
293
- <button
294
- onClick={() => copyToClipboard(custom.installCommands[activeTab as keyof typeof custom.installCommands], activeTab)}
295
- className="flex items-center space-x-2 text-blue-400 hover:text-blue-300 transition-all duration-300 bg-blue-500/10 px-4 py-2 rounded-lg hover:bg-blue-500/20"
296
- >
297
- {copiedCommand === activeTab ? <Check className="w-5 h-5" /> : <Copy className="w-5 h-5" />}
298
- <span className="font-medium">{copiedCommand === activeTab ? 'Copied!' : 'Copy'}</span>
299
- </button>
300
- </div>
301
- <code className="text-xl text-green-400 font-mono bg-gray-900/50 p-4 rounded-lg block">
302
- {custom.installCommands[activeTab as keyof typeof custom.installCommands]}
303
- </code>
304
- </div>
305
- </div>
306
- </div>
307
-
308
- {/* Usage Examples */}
309
- <div className="">
310
- <div className="max-w-6xl mx-auto bg-gray-800/30 backdrop-blur-xl border border-gray-700/50 rounded-2xl p-10 shadow-2xl">
311
- <h3 className="text-3xl font-bold mb-8 text-center bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent">
312
- Usage Examples
313
- </h3>
314
- <div className="grid md:grid-cols-3 gap-6">
315
- {custom.featuresList.map((item, index) => (
316
- <div key={index} className="bg-gray-800/50 rounded-xl p-6 border border-gray-700/50 hover:border-blue-500/50 transition-all duration-300 transform hover:scale-105 hover:shadow-xl">
317
- <div className="text-blue-400 font-bold text-lg mb-2">{item.title}</div>
318
- <code className="text-green-400 text-lg font-mono block mb-3 bg-gray-900/50 p-3 rounded">{item.command}</code>
319
- <p className="text-gray-400 text-sm">{item.desc}</p>
320
- </div>
321
- ))}
322
- </div>
323
- </div>
324
- </div>
325
- </div>
326
- </section>
327
-
328
- {/* Core Features Section */}
329
- <section id="features" className="relative z-10 px-6">
330
- <div className="max-w-7xl mx-auto">
331
-
332
- <div className="grid md:grid-cols-2 lg:grid-cols-3 gap-8 ">
333
- {custom.coreFeatures.map((feature, index) => (
334
- <div
335
- key={index}
336
- className="group relative bg-gray-800/30 backdrop-blur-xl border border-gray-700/50 rounded-2xl p-8 hover:bg-gray-800/50 transition-all duration-500 transform hover:scale-105 hover:shadow-2xl hover:shadow-blue-500/20"
337
- >
338
- <div className={`w-16 h-16 bg-gradient-to-br ${feature.gradient} rounded-2xl flex items-center justify-center mb-6 group-hover:scale-110 transition-all duration-300 shadow-2xl`}>
339
- <feature.icon className="w-8 h-8 text-white" />
340
- </div>
341
- <h3 className="text-xl font-bold mb-4 group-hover:text-blue-400 transition-colors">{feature.title}</h3>
342
- <p className="text-gray-400 leading-relaxed mb-4">{feature.description}</p>
343
- <code className="text-sm text-green-400 bg-gray-900/50 px-3 py-1 rounded font-mono">{feature.example}</code>
344
-
345
- <div className="absolute inset-0 bg-gradient-to-r from-blue-500/5 to-purple-500/5 rounded-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-300"></div>
346
- </div>
347
- ))}
348
- </div>
349
- </div>
350
- </section>
351
-
352
- {/* Supported Project Types */}
353
- <section className="relative z-10 px-6 mt-4 ">
354
- <div className="max-w-7xl mx-auto">
355
- <div className="text-center ">
356
- <h2 className="text-6xl h-full md:text-5xl font-bold mb-6 bg-gradient-to-r pb-4 from-green-400 to-blue-400 bg-clip-text text-transparent">
357
- Supported Project Types
358
- </h2>
359
- </div>
360
-
361
- <div className="grid md:grid-cols-1 lg:grid-cols-1 gap-6 mt-4 ">
362
- {custom.projectTypes.map((type, index) => (
363
- <div key={index} className="bg-gray-800/40 backdrop-blur-xl border border-gray-700/50 rounded-xl p-6 hover:border-blue-500/50 transition-all duration-300 transform hover:scale-[1.02]">
364
- <div className="flex items-center justify-between">
365
- <div className="flex items-center space-x-4">
366
- <type.icon className={`w-8 h-8 ${type.color}`} />
367
- <div>
368
- <h3 className={`text-lg font-bold ${type.color}`}>{type.name}</h3>
369
- <p className="text-gray-400 text-sm">Detection: {type.file}</p>
370
- </div>
371
- </div>
372
- <div className="text-right">
373
- <p className="text-gray-300 font-medium">Installation</p>
374
- <code className="text-green-400 text-sm">{type.install}</code>
375
- </div>
376
- </div>
377
- </div>
378
- ))}
379
- </div>
380
-
381
-
382
- </div>
383
- </section>
384
-
385
- {/* Workflow Section */}
386
- <section id="workflow" className="relative z-10 mt-6 px-6">
387
- <div className="max-w-7xl mx-auto">
388
- <div className="text-center">
389
- <h2 className="text-4xl md:text-5xl font-bold mb-6 mt-10 bg-gradient-to-r from-cyan-400 to-blue-400 bg-clip-text text-transparent">
390
- The Proper Protocol to Download Git Repo
391
- </h2>
392
- <p className="text-xl text-gray-300 max-w-3xl mx-auto mb-10">
393
- Skip the manual "git clone, cd, install" dance.
394
- </p>
395
- </div>
396
-
397
- <div className="grid md:grid-cols-5 gap-8 mt-6">
398
- {custom.workflowSteps.map((step, index) => (
399
- <div key={index} className="text-center group">
400
- <div className="relative mb-6">
401
- <div className="w-16 h-16 bg-gradient-to-br from-blue-500 to-purple-600 rounded-full flex items-center justify-center mx-auto shadow-2xl group-hover:scale-110 transition-all duration-300">
402
- <step.icon className="w-8 h-8 text-white" />
403
- </div>
404
- <div className="absolute -top-2 -right-2 w-8 h-8 bg-gradient-to-r from-cyan-400 to-blue-400 rounded-full flex items-center justify-center text-sm font-bold text-gray-900">
405
- {step.step}
406
- </div>
407
- </div>
408
- <h3 className="text-lg font-bold mb-2 group-hover:text-blue-400 transition-colors">{step.title}</h3>
409
- <p className="text-gray-400 text-sm">{step.desc}</p>
410
- </div>
411
- ))}
412
- </div>
413
-
414
- <div className="mt-8 mb-8 text-center">
415
- <div className="bg-gray-800/40 backdrop-blur-xl border border-gray-700/50 rounded-xl p-6 max-w-2xl mx-auto">
416
- <p className="text-gray-300 mb-4">
417
- <strong className="text-blue-400">Conflict Resolution:</strong> If a directory with the same name exists,
418
- git0 automatically appends a number
419
- </p>
420
- <code className="text-green-400 bg-gray-900/50 px-4 py-2 rounded">
421
- react-app → react-app-2 → react-app-3
422
- </code>
423
- </div>
424
- </div>
425
- </div>
426
- </section>
427
-
428
- {/* Footer */}
429
- <Footer />
430
- </div>
431
- )
432
- }
433
- export default App;
@@ -1 +0,0 @@
1
- git0.js.org
@@ -1,27 +0,0 @@
1
- {
2
- "include": [
3
- "../src/**/*"
4
- ],
5
- "compilerOptions": {
6
- "jsx": "react",
7
-
8
- "target": "ESNext",
9
- "module": "ESNext",
10
- "moduleResolution": "node",
11
- "resolveJsonModule": true,
12
- "allowJs": true,
13
- "checkJs": false,
14
- "noEmitOnError": false,
15
- "strict": false,
16
- "isolatedModules": false,
17
- "skipLibCheck": true,
18
- "allowImportingTsExtensions": true,
19
- "noEmit": true
20
- },
21
-
22
- "exclude": [
23
- "../node_modules",
24
- "../docs",
25
- "pages/**/*"
26
- ]
27
- }