git0 0.2.4 → 0.2.6

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 (95) hide show
  1. package/bun.lock +159 -0
  2. package/docs/404.html +26 -3
  3. package/docs/Footer/index.html +26 -3
  4. package/docs/assets/css/styles.3dd00f8d.css +1 -0
  5. package/docs/assets/js/17896441.79ceefeb.js +1 -0
  6. package/docs/assets/js/1df93b7f.dfdf0ef3.js +2 -0
  7. package/docs/assets/js/1df93b7f.dfdf0ef3.js.LICENSE.txt +6 -0
  8. package/docs/assets/js/22dd74f7.040a4546.js +1 -0
  9. package/docs/assets/js/237.daf7efdf.js +1 -0
  10. package/docs/assets/js/278.1628756c.js +1 -0
  11. package/docs/assets/js/4a829dc8.10d7db0a.js +1 -0
  12. package/docs/assets/js/577.78325c02.js +1 -0
  13. package/docs/assets/js/591.2156b33d.js +2 -0
  14. package/docs/assets/js/591.2156b33d.js.LICENSE.txt +61 -0
  15. package/docs/assets/js/5e95c892.bd6c1093.js +1 -0
  16. package/docs/assets/js/a7456010.3054873b.js +1 -0
  17. package/docs/assets/js/a7bd4aaa.87229397.js +1 -0
  18. package/docs/assets/js/a94703ab.6d39a596.js +1 -0
  19. package/docs/assets/js/aba21aa0.dfebd789.js +1 -0
  20. package/docs/assets/js/ac46717f.32345167.js +2 -0
  21. package/docs/assets/js/ac46717f.32345167.js.LICENSE.txt +6 -0
  22. package/docs/assets/js/c3a618e1.50a89e4d.js +1 -0
  23. package/docs/assets/js/d140250a.62af53aa.js +1 -0
  24. package/docs/assets/js/main.6b27aee7.js +2 -0
  25. package/docs/assets/js/main.6b27aee7.js.LICENSE.txt +68 -0
  26. package/docs/assets/js/runtime~main.5c54c19c.js +1 -0
  27. package/docs/functions/globals/index.html +47 -3
  28. package/docs/functions/index.html +73 -3
  29. package/docs/index.html +26 -3
  30. package/docs/lunr-index-1749612068805.json +1 -0
  31. package/docs/lunr-index.json +1 -1
  32. package/docs/search-doc-1749612068805.json +1 -0
  33. package/docs/search-doc.json +1 -1
  34. package/docs/sitemap.xml +1 -1
  35. package/docs-config/.docusaurus/DONT-EDIT-THIS-FOLDER +5 -0
  36. package/docs-config/.docusaurus/client-manifest.json +247 -0
  37. package/docs-config/.docusaurus/client-modules.js +8 -0
  38. package/docs-config/.docusaurus/codeTranslations.json +1 -0
  39. package/docs-config/.docusaurus/docusaurus-lunr-search/default/__plugin.json +4 -0
  40. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/__mdx-loader-dependency.json +1 -0
  41. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/__plugin.json +4 -0
  42. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/p/index-466.json +1 -0
  43. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-globals-md-4a8.json +19 -0
  44. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-index-md-c3a.json +19 -0
  45. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-index-md-d14.json +21 -0
  46. package/docs-config/.docusaurus/docusaurus-plugin-content-pages/default/__plugin.json +4 -0
  47. package/docs-config/.docusaurus/docusaurus-plugin-google-gtag/default/__plugin.json +4 -0
  48. package/docs-config/.docusaurus/docusaurus.config.mjs +385 -0
  49. package/docs-config/.docusaurus/globalData.json +60 -0
  50. package/docs-config/.docusaurus/i18n.json +17 -0
  51. package/docs-config/.docusaurus/lunr.client.js +5 -0
  52. package/docs-config/.docusaurus/registry.js +14 -0
  53. package/docs-config/.docusaurus/routes.js +55 -0
  54. package/docs-config/.docusaurus/routesChunkNames.json +41 -0
  55. package/docs-config/.docusaurus/site-metadata.json +51 -0
  56. package/docs-config/.docusaurus/site-storage.json +4 -0
  57. package/docs-config/bun.lock +6139 -0
  58. package/docs-config/config/customize-docs.js +3 -4
  59. package/docs-config/docusaurus.config.ts +5 -3
  60. package/docs-config/src/functions/globals.md +25 -79
  61. package/docs-config/src/functions/index.md +25 -25
  62. package/docs-config/src/index.md +26 -25
  63. package/docs-config/src/pages/Footer.tsx +63 -53
  64. package/docs-config/src/pages/index.tsx +139 -7
  65. package/docs-config/tsconfig.json +3 -2
  66. package/package.json +10 -7
  67. package/readme.md +26 -25
  68. package/src/git0.js +380 -0
  69. package/src/github-api.js +473 -0
  70. package/docs/assets/css/styles.36dc19db.css +0 -1
  71. package/docs/assets/js/17896441.859f1a34.js +0 -1
  72. package/docs/assets/js/196.f2323311.js +0 -1
  73. package/docs/assets/js/1df93b7f.b886b8fe.js +0 -1
  74. package/docs/assets/js/22dd74f7.9915da9b.js +0 -1
  75. package/docs/assets/js/294.067938e2.js +0 -101
  76. package/docs/assets/js/4a829dc8.22596b01.js +0 -1
  77. package/docs/assets/js/5e95c892.a050489a.js +0 -1
  78. package/docs/assets/js/61.78a4a5cd.js +0 -1
  79. package/docs/assets/js/66a0d7f4.a57db0e1.js +0 -1
  80. package/docs/assets/js/990.0223f00f.js +0 -1
  81. package/docs/assets/js/a7456010.eaa69c24.js +0 -1
  82. package/docs/assets/js/a7bd4aaa.6bf60595.js +0 -1
  83. package/docs/assets/js/a94703ab.233c731c.js +0 -1
  84. package/docs/assets/js/aba21aa0.3975ceaf.js +0 -1
  85. package/docs/assets/js/ac46717f.20537802.js +0 -1
  86. package/docs/assets/js/c3a618e1.b288e34c.js +0 -1
  87. package/docs/assets/js/d140250a.42194f66.js +0 -1
  88. package/docs/assets/js/main.9107865a.js +0 -38
  89. package/docs/assets/js/runtime~main.d42315b4.js +0 -1
  90. package/docs/customize-home/index.html +0 -4
  91. package/docs/lunr-index-1749598895331.json +0 -1
  92. package/docs/search-doc-1749598895331.json +0 -1
  93. package/docs-config/src/pages/customize-home.tsx +0 -147
  94. package/docs-config/tailwind.config.js +0 -13
  95. package/git0.js +0 -646
@@ -1,11 +1,10 @@
1
1
  export default {
2
2
  name: "git0",
3
3
  domain: "https://git0.js.org",
4
- baseFolder: "./",
5
4
  typedocFolders: [
6
5
  {
7
6
  id: "functions",
8
- entryPoints: ["../git0.js"], // also remember to set in ../tsconfig.json {entryPoints:[...]}
7
+ entryPoints: ["../src/git0.js"], // also remember to set in ../tsconfig.json {entryPoints:[...]}
9
8
  },
10
9
  ],
11
10
  showEditsOnGitHub: true,
@@ -15,10 +14,10 @@ export default {
15
14
  readme: "../readme.md",
16
15
  sanitizeComments: false,
17
16
  logoURL: "/",
17
+ baseFolder: "./",
18
18
  logo: "https://i.imgur.com/857meew.png",
19
19
  favicon: "https://i.imgur.com/857meew.png",
20
- enableFasterBuildV4: true,
21
- enableSidebarOnHome: true,
20
+ enableFasterBuildV4: false,
22
21
  enableReadmeAsHome: true,
23
22
  topbar: [
24
23
  // {
@@ -73,7 +73,8 @@ export default async function createConfig(options: any = {}) {
73
73
  logo = undefined,
74
74
  logoURL = "/",
75
75
  topbar = [],
76
- enableFuture = true,
76
+ enableFasterBuildV4 = false,
77
+ enableReadmeAsHome = true,
77
78
  } = { ...customizeDocs, ...options };
78
79
 
79
80
 
@@ -83,7 +84,7 @@ export default async function createConfig(options: any = {}) {
83
84
  }
84
85
 
85
86
  //copy readme into ./src
86
- if (fs.existsSync(readme)) {
87
+ if (fs.existsSync(readme) && enableReadmeAsHome) {
87
88
 
88
89
 
89
90
  var index_frontmatter = '---\nid: index\ntitle: Overview\n' +
@@ -104,7 +105,7 @@ export default async function createConfig(options: any = {}) {
104
105
  // subdomain like docprojects.user.github.io
105
106
  // sanitizeComments helps avoid errors in markdown like <> {} etc
106
107
  return {
107
- future: enableFuture ? {
108
+ future: enableFasterBuildV4 ? {
108
109
  v4: {
109
110
  removeLegacyPostBuildHeadAttribute: true, // REQUIRED for ssgWorkerThreads
110
111
  },
@@ -159,6 +160,7 @@ export default async function createConfig(options: any = {}) {
159
160
  entryPoints,
160
161
  exclude: [
161
162
  "**/node_modules/**/*",
163
+ "pages/**/*"
162
164
  ],
163
165
  tsconfig,
164
166
  out: baseFolder + "src/" + id,
@@ -1,10 +1,13 @@
1
- ## downloadRepo()
1
+ ## installDependencies()
2
2
 
3
3
  ```ts
4
- function downloadRepo(repo: any): Promise<void>;
4
+ function installDependencies(targetDir: string): Promise<void>;
5
5
  ```
6
6
 
7
- Defined in: [git0.js:506](https://github.com/vtempest/git0/blob/5ad15f56050b5bcd90d629bc617422361c7db421/git0.js#L506)
7
+ Defined in: git0.js:208
8
+
9
+ Automatically detects project type and installs dependencies
10
+ Supports Node.js, Docker, Python, Rust, and Go projects
8
11
 
9
12
  ### Parameters
10
13
 
@@ -13,57 +16,24 @@ Defined in: [git0.js:506](https://github.com/vtempest/git0/blob/5ad15f56050b5bcd
13
16
  <tr>
14
17
  <th>Parameter</th>
15
18
  <th>Type</th>
19
+ <th>Description</th>
16
20
  </tr>
17
21
  </thead>
18
22
  <tbody>
19
23
  <tr>
20
24
  <td>
21
25
 
22
- `repo`
26
+ `targetDir`
23
27
 
24
28
  </td>
25
29
  <td>
26
30
 
27
- `any`
28
-
29
- </td>
30
- </tr>
31
- </tbody>
32
- </table>
33
-
34
- ### Returns
35
-
36
- `Promise`&lt;`void`&gt;
37
-
38
- ***
39
-
40
- ## installDependencies()
41
-
42
- ```ts
43
- function installDependencies(targetDir: any): Promise<void>;
44
- ```
45
-
46
- Defined in: [git0.js:397](https://github.com/vtempest/git0/blob/5ad15f56050b5bcd90d629bc617422361c7db421/git0.js#L397)
47
-
48
- ### Parameters
49
-
50
- <table>
51
- <thead>
52
- <tr>
53
- <th>Parameter</th>
54
- <th>Type</th>
55
- </tr>
56
- </thead>
57
- <tbody>
58
- <tr>
59
- <td>
60
-
61
- `targetDir`
31
+ `string`
62
32
 
63
33
  </td>
64
34
  <td>
65
35
 
66
- `any`
36
+ Path to the project directory
67
37
 
68
38
  </td>
69
39
  </tr>
@@ -74,15 +44,22 @@ Defined in: [git0.js:397](https://github.com/vtempest/git0/blob/5ad15f56050b5bcd
74
44
 
75
45
  `Promise`&lt;`void`&gt;
76
46
 
47
+ ### Export
48
+
49
+ ### Async
50
+
77
51
  ***
78
52
 
79
53
  ## openInIDE()
80
54
 
81
55
  ```ts
82
- function openInIDE(targetDir: any): void;
56
+ function openInIDE(targetDir: string): void;
83
57
  ```
84
58
 
85
- Defined in: [git0.js:354](https://github.com/vtempest/git0/blob/5ad15f56050b5bcd90d629bc617422361c7db421/git0.js#L354)
59
+ Defined in: git0.js:158
60
+
61
+ Opens a directory in the first available IDE/editor
62
+ Also attempts to open a README or package.json file after 3 seconds
86
63
 
87
64
  ### Parameters
88
65
 
@@ -91,6 +68,7 @@ Defined in: [git0.js:354](https://github.com/vtempest/git0/blob/5ad15f56050b5bcd
91
68
  <tr>
92
69
  <th>Parameter</th>
93
70
  <th>Type</th>
71
+ <th>Description</th>
94
72
  </tr>
95
73
  </thead>
96
74
  <tbody>
@@ -102,46 +80,12 @@ Defined in: [git0.js:354](https://github.com/vtempest/git0/blob/5ad15f56050b5bcd
102
80
  </td>
103
81
  <td>
104
82
 
105
- `any`
106
-
107
- </td>
108
- </tr>
109
- </tbody>
110
- </table>
111
-
112
- ### Returns
113
-
114
- `void`
115
-
116
- ***
117
-
118
- ## searchRepositories()
119
-
120
- ```ts
121
- function searchRepositories(query: any): Promise<any>;
122
- ```
123
-
124
- Defined in: [git0.js:467](https://github.com/vtempest/git0/blob/5ad15f56050b5bcd90d629bc617422361c7db421/git0.js#L467)
125
-
126
- ### Parameters
127
-
128
- <table>
129
- <thead>
130
- <tr>
131
- <th>Parameter</th>
132
- <th>Type</th>
133
- </tr>
134
- </thead>
135
- <tbody>
136
- <tr>
137
- <td>
138
-
139
- `query`
83
+ `string`
140
84
 
141
85
  </td>
142
86
  <td>
143
87
 
144
- `any`
88
+ Path to the directory to open
145
89
 
146
90
  </td>
147
91
  </tr>
@@ -150,4 +94,6 @@ Defined in: [git0.js:467](https://github.com/vtempest/git0/blob/5ad15f56050b5bcd
150
94
 
151
95
  ### Returns
152
96
 
153
- `Promise`&lt;`any`&gt;
97
+ `void`
98
+
99
+ ### Export
@@ -6,21 +6,21 @@
6
6
  <img src="https://img.shields.io/discord/1110227955554209923.svg?label=Chat&logo=Discord&colorB=7289da&style=flat"
7
7
  alt="Join Discord" />
8
8
  </a>
9
- <a href="https://github.com/vtempest/gg/discussions">
10
- <img alt="GitHub Stars" src="https://img.shields.io/github/stars/vtempest/gg" /></a>
11
- <a href="https://github.com/vtempest/gg/discussions">
9
+ <a href="https://github.com/vtempest/git0/discussions">
10
+ <img alt="GitHub Stars" src="https://img.shields.io/github/stars/vtempest/git0" /></a>
11
+ <a href="https://github.com/vtempest/git0/discussions">
12
12
  <img alt="GitHub Discussions"
13
- src="https://img.shields.io/github/discussions/vtempest/gg" />
13
+ src="https://img.shields.io/github/discussions/vtempest/git0" />
14
14
  </a>
15
- <a href="https://github.com/vtempest/gg/pulse" alt="Activity">
16
- <img src="https://img.shields.io/github/commit-activity/m/vtempest/gg" />
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
17
  </a>
18
- <img src="https://img.shields.io/github/last-commit/vtempest/gg.svg?style=flat-square" alt="GitHub last commit" />
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
21
  <img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square"
22
22
  alt="PRs Welcome" />
23
- <a href="https://codespaces.new/vtempest/gg">
23
+ <a href="https://codespaces.new/vtempest/git0">
24
24
  <img src="https://github.com/codespaces/badge.svg" width="150" height="20" />
25
25
  </a>
26
26
  </p>
@@ -53,25 +53,25 @@ bun install -g git0
53
53
 
54
54
  ## 🎯 Usage
55
55
 
56
- ### Search and Download
57
56
  ```bash
58
57
  # Search for repositories by name
59
58
  gg react starter
60
59
 
61
60
  # Direct download from GitHub URL
61
+ ## gg and git0 both work
62
62
  gg https://github.com/facebook/react
63
63
 
64
64
  # Download using owner/repo shorthand
65
- ## gg and git0 both work
66
- git0 facebook/react
65
+ git0 react starter
67
66
 
68
- ## Use without installing
69
- npx git0 react starter
67
+ ## Use git0 without installing, (only node needed)
68
+ # (copy into your project's readme for quick setup)
69
+ npx git0 facebook/react
70
70
  ```
71
71
 
72
72
  ### Supported Project Types
73
73
 
74
- GG automatically detects and sets up the following project types:
74
+ git0 automatically detects and sets up the following project types:
75
75
 
76
76
  | Project Type | Detection | Installation |
77
77
  |-------------|-----------|-------------|
@@ -83,7 +83,7 @@ GG automatically detects and sets up the following project types:
83
83
 
84
84
  ### Supported IDEs
85
85
 
86
- GG automatically detects and opens projects in your preferred IDE:
86
+ git0 automatically detects and opens projects in your preferred IDE:
87
87
 
88
88
  - **Cursor** (`cursor`)
89
89
  - **Windsurf** (`windsurf`)
@@ -93,6 +93,16 @@ GG automatically detects and opens projects in your preferred IDE:
93
93
 
94
94
  ## 🔧 Configuration
95
95
 
96
+ ### What Happens After Download
97
+
98
+ 1. **Repository is downloaded** to your current directory
99
+ 2. **Project type is detected** automatically
100
+ 3. **Dependencies are installed** based on project type
101
+ 4. **IDE is launched** automatically (if available)
102
+ 5. **Development server starts** (for Node.js projects)
103
+
104
+ If a directory with the same name exists, git0 automatically appends a number (e.g., `react-2`, `react-3`).
105
+
96
106
  ### GitHub Token (Optional)
97
107
 
98
108
  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):
@@ -102,13 +112,3 @@ export GITHUB_TOKEN=your_github_token_here
102
112
  ```
103
113
 
104
114
  Without a token, you're limited to 60 requests per hour. With a token, you get 5,000 requests per hour.
105
-
106
- ### What Happens After Download
107
-
108
- 1. **Repository is downloaded** to your current directory
109
- 2. **Project type is detected** automatically
110
- 3. **Dependencies are installed** based on project type
111
- 4. **IDE is launched** automatically (if available)
112
- 5. **Development server starts** (for Node.js projects)
113
-
114
- If a directory with the same name exists, GG automatically appends a number (e.g., `react-2`, `react-3`).
@@ -13,21 +13,21 @@ displayed_sidebar: default
13
13
  <img src="https://img.shields.io/discord/1110227955554209923.svg?label=Chat&logo=Discord&colorB=7289da&style=flat"
14
14
  alt="Join Discord" />
15
15
  </a>
16
- <a href="https://github.com/vtempest/gg/discussions">
17
- <img alt="GitHub Stars" src="https://img.shields.io/github/stars/vtempest/gg" /></a>
18
- <a href="https://github.com/vtempest/gg/discussions">
16
+ <a href="https://github.com/vtempest/git0/discussions">
17
+ <img alt="GitHub Stars" src="https://img.shields.io/github/stars/vtempest/git0" /></a>
18
+ <a href="https://github.com/vtempest/git0/discussions">
19
19
  <img alt="GitHub Discussions"
20
- src="https://img.shields.io/github/discussions/vtempest/gg" />
20
+ src="https://img.shields.io/github/discussions/vtempest/git0" />
21
21
  </a>
22
- <a href="https://github.com/vtempest/gg/pulse" alt="Activity">
23
- <img src="https://img.shields.io/github/commit-activity/m/vtempest/gg" />
22
+ <a href="https://github.com/vtempest/git0/pulse" alt="Activity">
23
+ <img src="https://img.shields.io/github/commit-activity/m/vtempest/git0" />
24
24
  </a>
25
- <img src="https://img.shields.io/github/last-commit/vtempest/gg.svg?style=flat-square" alt="GitHub last commit" />
25
+ <img src="https://img.shields.io/github/last-commit/vtempest/git0.svg?style=flat-square" alt="GitHub last commit" />
26
26
  </p>
27
27
  <p align="center">
28
28
  <img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square"
29
29
  alt="PRs Welcome" />
30
- <a href="https://codespaces.new/vtempest/gg">
30
+ <a href="https://codespaces.new/vtempest/git0">
31
31
  <img src="https://github.com/codespaces/badge.svg" width="150" height="20" />
32
32
  </a>
33
33
  </p>
@@ -64,26 +64,25 @@ bun install -g git0
64
64
 
65
65
  ## 🎯 Usage
66
66
 
67
-
68
- ### Search and Download
69
67
  ```bash
70
68
  # Search for repositories by name
71
69
  gg react starter
72
70
 
73
71
  # Direct download from GitHub URL
72
+ ## gg and git0 both work
74
73
  gg https://github.com/facebook/react
75
74
 
76
75
  # Download using owner/repo shorthand
77
- ## gg and git0 both work
78
- git0 facebook/react
76
+ git0 react starter
79
77
 
80
- ## Use without installing
81
- npx git0 react starter
78
+ ## Use git0 without installing, (only node needed)
79
+ # (copy into your project's readme for quick setup)
80
+ npx git0 facebook/react
82
81
  ```
83
82
 
84
83
  ### Supported Project Types
85
84
 
86
- GG automatically detects and sets up the following project types:
85
+ git0 automatically detects and sets up the following project types:
87
86
 
88
87
  | Project Type | Detection | Installation |
89
88
  |-------------|-----------|-------------|
@@ -95,7 +94,7 @@ GG automatically detects and sets up the following project types:
95
94
 
96
95
  ### Supported IDEs
97
96
 
98
- GG automatically detects and opens projects in your preferred IDE:
97
+ git0 automatically detects and opens projects in your preferred IDE:
99
98
 
100
99
  - **Cursor** (`cursor`)
101
100
  - **Windsurf** (`windsurf`)
@@ -105,15 +104,7 @@ GG automatically detects and opens projects in your preferred IDE:
105
104
 
106
105
  ## 🔧 Configuration
107
106
 
108
- ### GitHub Token (Optional)
109
-
110
- 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):
111
-
112
- ```bash
113
- export GITHUB_TOKEN=your_github_token_here
114
- ```
115
107
 
116
- Without a token, you're limited to 60 requests per hour. With a token, you get 5,000 requests per hour.
117
108
 
118
109
  ### What Happens After Download
119
110
 
@@ -123,4 +114,14 @@ Without a token, you're limited to 60 requests per hour. With a token, you get 5
123
114
  4. **IDE is launched** automatically (if available)
124
115
  5. **Development server starts** (for Node.js projects)
125
116
 
126
- If a directory with the same name exists, GG automatically appends a number (e.g., `react-2`, `react-3`).
117
+ If a directory with the same name exists, git0 automatically appends a number (e.g., `react-2`, `react-3`).
118
+
119
+ ### GitHub Token (Optional)
120
+
121
+ For higher API rate limits, set [your GitHub token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token):
122
+
123
+ ```bash
124
+ export GITHUB_TOKEN=your_github_token_here
125
+ ```
126
+
127
+ Without a token, you're limited to 60 requests per hour. With a token, you get 5,000 requests per hour.
@@ -1,57 +1,67 @@
1
1
  import React, { useState, useEffect } from 'react';
2
2
 
3
- import * as custom from './customize-home.tsx'
4
-
5
- import {
6
- Github,
7
- BookOpen,
8
- GitBranch,
9
- Users,
10
- } from 'lucide-react';
11
-
12
- export default function (){
13
-
14
- return (
15
- <footer className="relative z-10 border-t border-gray-800/50 py-16 px-6 bg-gray-900/50 backdrop-blur-xl">
16
- <div className="max-w-7xl mx-auto">
17
- <div className="flex flex-col md:flex-row items-center justify-between ">
18
- <div className="flex items-center space-x-4 mb-6 md:mb-0">
19
- <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">
20
- <img src={custom.urlLogo} alt="logo" className="w-10 h-10" />
21
- </div>
22
- <span className="text-2xl font-bold bg-gradient-to-r from-blue-400 to-purple-400 bg-clip-text text-transparent">{custom.name}</span>
23
- </div>
24
- <div className="flex items-center space-x-8">
25
-
26
- <a href={custom.urlDocs} className="flex items-center space-x-2 text-gray-400 hover:text-white transition-all duration-300 hover:scale-105">
27
- <BookOpen className="w-5 h-5" />
28
- <span>Docs</span>
29
- </a>
30
-
31
- <a href={custom.urlSupport} className="flex items-center space-x-2 text-gray-400 hover:text-white transition-all duration-300 hover:scale-105">
32
- <Users className="w-5 h-5" />
33
- <span>Discord</span>
34
- </a>
35
- <a href={custom.urlGithub} className="flex items-center space-x-2 text-gray-400 hover:text-white transition-all duration-300 hover:scale-105">
36
- <Github className="w-5 h-5" />
37
- <span>GitHub</span>
38
- </a>
39
- <a href={custom.urlGithubChat} className="flex items-center space-x-2 text-gray-400 hover:text-white transition-all duration-300 hover:scale-105">
40
- <GitBranch className="w-5 h-5" />
41
- <span>Discussions</span>
42
- </a>
43
- </div>
44
- </div>
45
- <div className="pt-8 border-t border-gray-800/50 text-center">
46
- <p className="text-gray-400 mb-4" dangerouslySetInnerHTML={{ __html: custom.copyrightHTML }}>
47
-
48
- </p>
49
- <div className="flex justify-center space-x-4 text-sm text-gray-500">
50
- <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>
51
- </div>
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" />
52
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>
53
62
  </div>
54
- </footer>
55
- )
56
- }
57
-
63
+ </div>
64
+ </div>
65
+ </footer>
66
+ )
67
+ }