Skip to content

Commit 50e34cc

Browse files
committed
added link
1 parent 27bbd3d commit 50e34cc

File tree

4 files changed

+85
-18
lines changed

4 files changed

+85
-18
lines changed

api/index.html

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,11 @@
6262
</head>
6363

6464
<body>
65-
<div class="app-container" style="display: flex;justify-content: center;align-items: center;">
65+
<a href="https://github.com/GitFolderDownloader/GitFolderDownloader.github.io" title="Give a Star" class="icon-btn"
66+
style="position: fixed;top: 5px;left: 5px;z-index: 100;">
67+
<span class="material-icons">star_rate</span>
68+
</a>
69+
<div class="app-container" style="display: flex;justify-content: center;align-items: center;">
6670
<div class="bg-watermark">
6771
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
6872
<path
@@ -99,17 +103,38 @@ <h1 id="status-title">Starting...</h1>
99103
<div class="progress-fill" id="bar"></div>
100104
</div>
101105
</div>
102-
106+
<footer style="width:-webkit-fill-available; text-align:center;">
107+
© 2025 <a href="https://github.com/MicroResearch-Corporation/" title="MicroResearch Corporation GitHub"
108+
style="text-decoration:none; color:var(--accent); ">MicroResearch Corporation®</a>. All Rights
109+
Reserved.<br><br>
110+
Made with ♥ by <a aria-label="Visit M Ramzan Ch" href="https://mramzanch.blogspot.com/"
111+
title="M Ramzan Ch Blog" style="text-decoration:none; color:var(--accent); "> M
112+
Ramzan Ch</a>
113+
</footer>
114+
<a href="https://github.com/MicroResearch-Corporation/" class="github-corner"
115+
aria-label="View source on GitHub">
116+
<svg width="80" height="80" viewBox="0 0 250 250"
117+
style="fill:var(--accent);color:var(--input-bg);border:0;position:absolute;top:5px;right:5px"
118+
aria-hidden="true">
119+
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
120+
<path
121+
d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
122+
fill="currentColor" style="transform-origin:130px 106px" class="octo-arm"></path>
123+
<path
124+
d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
125+
fill="currentColor" class="octo-body"></path>
126+
</svg>
127+
</a>
103128
</div>
104129
<script>
105-
const savedTheme = localStorage.getItem("theme") || "forest";
106-
if (savedTheme !== "light") {
107-
document.body.classList.add(`theme-${savedTheme}`);
108-
}
109-
const savedAccent = localStorage.getItem("accent") || "#4ade80";
110-
document.documentElement.style.setProperty("--accent", savedAccent);
130+
const savedTheme = localStorage.getItem("theme") || "forest";
131+
if (savedTheme !== "light") {
132+
document.body.classList.add(`theme-${savedTheme}`);
133+
}
134+
const savedAccent = localStorage.getItem("accent") || "#4ade80";
135+
document.documentElement.style.setProperty("--accent", savedAccent);
111136

112-
</script>
137+
</script>
113138
<script src="api.js"></script>
114139
</body>
115140

index.html

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
</head>
6666

6767
<body>
68-
6968
<div class="app-container">
7069
<div class="bg-watermark">
7170
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
@@ -95,6 +94,10 @@
9594
<h1>G F <span>D</span></h1>
9695
</div>
9796
<div class="header-controls">
97+
<a href="https://github.com/GitFolderDownloader/GitFolderDownloader.github.io" title="Give a Star"
98+
class="icon-btn" style="position: fixed;top: 5px;left: 5px;z-index: 100;">
99+
<span class="material-icons">star_rate</span>
100+
</a>
98101
<a href="/wiki/" class="icon-btn" title="Help & Wiki">
99102
<span class="material-icons">menu_book</span>
100103
</a>
@@ -209,14 +212,16 @@ <h2>Settings</h2>
209212
<label>Accent Color</label>
210213
<div style="display: flex;flex-direction: row;align-items: center;">
211214
<input type="color" id="accent-color" title="Choose a custom accent color">
212-
<button style="min-width: 50px; max-width: fit-content;" class="primary-btn" id="reset-accent-btn" title="reset accent color">
215+
<button style="min-width: 50px; max-width: fit-content;" class="primary-btn"
216+
id="reset-accent-btn" title="reset accent color">
213217
<span class="material-icons">format_color_reset</span>
214218
</button>
215219
</div>
216220
</div>
217221
</div>
218222
<div class="modal-footer">
219-
<button style="min-width: 50px; max-width: 50px;" id="save-settings-btn" class="primary-btn close-modal" title="Save settings">
223+
<button style="min-width: 50px; max-width: 50px;" id="save-settings-btn"
224+
class="primary-btn close-modal" title="Save settings">
220225
<span class="material-icons">save</span>
221226
</button>
222227
</div>
@@ -231,11 +236,22 @@ <h2>Settings</h2>
231236
title="M Ramzan Ch Blog" style="text-decoration:none; color:var(--accent); "> M
232237
Ramzan Ch</a>
233238
</footer>
234-
239+
<a href="https://github.com/MicroResearch-Corporation/" class="github-corner"
240+
aria-label="View source on GitHub">
241+
<svg width="80" height="80" viewBox="0 0 250 250"
242+
style="fill:var(--accent);color:var(--input-bg);border:0;position:absolute;top:5px;right:5px"
243+
aria-hidden="true">
244+
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
245+
<path
246+
d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
247+
fill="currentColor" style="transform-origin:130px 106px" class="octo-arm"></path>
248+
<path
249+
d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
250+
fill="currentColor" class="octo-body"></path>
251+
</svg>
252+
</a>
235253
<script src="/src/script.js"></script>
236254
<script src="/src/tooltips.js"></script>
237-
238-
239255
</body>
240256

241257
</html>

src/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,4 +1102,10 @@ footer {
11021102
display: flex;
11031103
flex-direction: column;
11041104
align-items: center;
1105+
}
1106+
.github-corner {
1107+
position: fixed;
1108+
z-index: 100;
1109+
top: 0;
1110+
right: 0;
11051111
}

wiki/index.html

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ <h3 style="margin-top:0;">Table of Contents</h3>
6868
fill="var(--accent)" transform="translate(495,393)" />
6969
</svg>
7070
</div>
71+
<a href="https://github.com/GitFolderDownloader/GitFolderDownloader.github.io" title="Give a Star"
72+
class="icon-btn" style="position: fixed;top: 5px;left: 5px;z-index: 100;">
73+
<span class="material-icons">star_rate</span>
74+
</a>
7175
<header class="wiki-header">
7276
<div class="logo" style="justify-content: flex-start;width: -webkit-fill-available;">
7377
<a href="../" class="primary-btn" title="Go back to Home"
@@ -94,7 +98,8 @@ <h3>Copy GitHub URL</h3>
9498
<div class="step-num">2</div>
9599
<div>
96100
<h3>Paste & Download</h3>
97-
<p>Paste the link into Git Folder Downloader. The app automatically detects the branch, recursive path, and
101+
<p>Paste the link into Git Folder Downloader. The app automatically detects the branch, recursive
102+
path, and
98103
file structure. Click <strong>Download</strong> to get a ZIP file.</p>
99104
<p>Use the <strong>Paste</strong> button to automatically paste a GitHub URL from your clipboard.
100105
</p>
@@ -122,7 +127,8 @@ <h3>How it works:</h3>
122127
https://GitFolderDownloader.github.io/<code>?=</code>/user/repo/tree/branch/folder<br /><br />
123128
https://GitFolderDownloader.github.io/<code>?url=</code>/user/repo/tree/branch/folder
124129
</div><br>
125-
<p>When a user opens this link, Git Folder Downloader will <strong>automatically launch</strong>, fetch the files, and
130+
<p>When a user opens this link, Git Folder Downloader will <strong>automatically launch</strong>, fetch the
131+
files, and
126132
prepare the download without any user input.</p>
127133

128134
<h3>Advanced URL Parameters</h3>
@@ -250,7 +256,8 @@ <h2><span class="material-icons">view_week</span>Partial Folder Download (start/
250256
<!-- Preview & Progress -->
251257
<section class="wiki-card">
252258
<h2><span class="material-icons">pending_actions</span>Preview & Progress</h2>
253-
<p>Before downloading, Git Folder Downloader shows a live preview of the first 50 files and a progress bar during the
259+
<p>Before downloading, Git Folder Downloader shows a live preview of the first 50 files and a progress bar
260+
during the
254261
download process. The API/headless page also exposes a simple progress UI (title, numeric status, and a
255262
bar).</p>
256263
</section>
@@ -404,6 +411,19 @@ <h3>Notifications</h3>
404411
Reserved.<br><br>Made with ♥ by <a aria-label="Visit M Ramzan Ch" href="https://mramzanch.blogspot.com/"
405412
title="M Ramzan Ch Blog" style="text-decoration:none; color:var(--accent); ">M Ramzan Ch</a></footer>
406413
</div>
414+
<a href="https://github.com/MicroResearch-Corporation/" class="github-corner" aria-label="View source on GitHub">
415+
<svg width="80" height="80" viewBox="0 0 250 250"
416+
style="fill:var(--accent);color:var(--input-bg);border:0;position:absolute;top:5px;right:5px"
417+
aria-hidden="true">
418+
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
419+
<path
420+
d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
421+
fill="currentColor" style="transform-origin:130px 106px" class="octo-arm"></path>
422+
<path
423+
d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
424+
fill="currentColor" class="octo-body"></path>
425+
</svg>
426+
</a>
407427
</body>
408428

409429
<script src="/src/tooltips.js"></script>

0 commit comments

Comments
 (0)