-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
330 lines (303 loc) · 18.2 KB
/
Copy pathindex.html
File metadata and controls
330 lines (303 loc) · 18.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>30 Practical Python Projects By AP</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=JetBrains+Mono:wght@400;600&display=swap" rel="stylesheet" />
<style>
:root {
--bg: #0a0e14;
--bg-soft: #111827;
--card: #131a24;
--card-hover: #1a2433;
--border: #1f2a3a;
--cyan: #22d3ee;
--cyan-soft: #67e8f9;
--text: #e2e8f0;
--muted: #94a3b8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
font-family: 'Inter', system-ui, sans-serif;
background: var(--bg);
color: var(--text);
margin: 0;
-webkit-font-smoothing: antialiased;
}
.mono { font-family: 'JetBrains Mono', monospace; }
/* Animated gradient background blobs */
.blob {
position: absolute;
border-radius: 50%;
filter: blur(90px);
opacity: 0.35;
pointer-events: none;
z-index: 0;
}
.blob-1 { width: 480px; height: 480px; background: #0891b2; top: -120px; left: -120px; animation: float1 18s ease-in-out infinite; }
.blob-2 { width: 420px; height: 420px; background: #155e75; top: 40%; right: -140px; animation: float2 22s ease-in-out infinite; }
.blob-3 { width: 360px; height: 360px; background: #0e7490; bottom: -120px; left: 30%; animation: float3 20s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(60px, 40px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-50px, 30px); } }
@keyframes float3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, -50px); } }
.grid-bg {
background-image: linear-gradient(rgba(34,211,238,0.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(34,211,238,0.04) 1px, transparent 1px);
background-size: 44px 44px;
}
.card {
background: var(--card);
border: 1px solid var(--border);
border-radius: 16px;
transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
position: relative;
overflow: hidden;
}
.card::before {
content: "";
position: absolute; inset: 0;
background: linear-gradient(135deg, rgba(34,211,238,0.08), transparent 60%);
opacity: 0;
transition: opacity .25s ease;
}
.card:hover {
transform: translateY(-6px);
border-color: rgba(34,211,238,0.5);
background: var(--card-hover);
box-shadow: 0 12px 40px -12px rgba(34,211,238,0.25);
}
.card:hover::before { opacity: 1; }
.diff-badge { font-size: 11px; font-weight: 600; letter-spacing: .03em; }
.filter-btn {
transition: all .2s ease;
border: 1px solid var(--border);
background: transparent;
color: var(--muted);
}
.filter-btn:hover { border-color: var(--cyan); color: var(--cyan-soft); }
.filter-btn.active {
background: rgba(34,211,238,0.12);
border-color: var(--cyan);
color: var(--cyan-soft);
}
.search-input:focus {
outline: none;
border-color: var(--cyan);
box-shadow: 0 0 0 3px rgba(34,211,238,0.15);
}
.btn-view {
background: linear-gradient(135deg, #06b6d4, #0891b2);
transition: all .2s ease;
}
.btn-view:hover { box-shadow: 0 6px 20px -6px rgba(34,211,238,0.6); transform: translateY(-1px); }
.fade-in { animation: fadeIn .5s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
::selection { background: rgba(34,211,238,0.3); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }
</style>
</head>
<body class="relative overflow-x-hidden">
<!-- Background blobs -->
<div class="blob blob-1"></div>
<div class="blob blob-2"></div>
<div class="blob blob-3"></div>
<!-- Header / Nav -->
<header class="relative z-10 border-b border-[var(--border)] backdrop-blur-sm bg-[var(--bg)]/70 sticky top-0">
<nav class="max-w-7xl mx-auto px-6 py-4 flex items-center justify-between">
<div class="flex items-center gap-2">
<div class="w-9 h-9 rounded-lg bg-gradient-to-br from-cyan-400 to-cyan-700 flex items-center justify-center font-extrabold text-[var(--bg)] mono">Py</div>
<span class="font-semibold text-lg">Micro Projects</span>
</div>
<div class="hidden sm:flex items-center gap-6 text-sm text-[var(--muted)]">
<a href="#projects" class="hover:text-cyan-300 transition">Projects</a>
<a href="#about" class="hover:text-cyan-300 transition">About</a>
<span class="mono text-cyan-400">30</span>
</div>
</nav>
</header>
<!-- Hero -->
<section class="relative z-10 grid-bg">
<div class="max-w-5xl mx-auto px-6 py-24 text-center">
<div class="inline-flex items-center gap-2 px-4 py-1.5 rounded-full border border-[var(--border)] bg-[var(--bg-soft)]/60 text-cyan-300 text-xs font-semibold mb-6 mono">
<span class="w-2 h-2 rounded-full bg-cyan-400 animate-pulse"></span>
30 PROJECTS · BEGINNER FRIENDLY · PYTHON 3
</div>
<h1 class="text-5xl sm:text-7xl font-extrabold tracking-tight leading-tight">
Python <span class="bg-gradient-to-r from-cyan-300 to-cyan-500 bg-clip-text text-transparent">Micro Projects</span>
</h1>
<p class="mt-6 text-xl sm:text-2xl text-[var(--muted)] font-light">
30 Practical Python Projects
</p>
<p class="mt-3 text-[var(--muted)] max-w-2xl mx-auto">
A curated collection of small, focused Python applications — from games and utilities to automation tools. Clean, well-commented, and ready to run.
</p>
<div class="mt-10 flex flex-col sm:flex-row gap-4 justify-center">
<a href="#projects" class="btn-view px-8 py-3 rounded-xl font-semibold text-white">Explore Projects</a>
<a href="#about" class="px-8 py-3 rounded-xl font-semibold border border-[var(--border)] hover:border-cyan-400 hover:text-cyan-300 transition">Learn More</a>
</div>
<div class="mt-16 grid grid-cols-3 gap-6 max-w-lg mx-auto">
<div><div class="text-3xl font-extrabold text-cyan-300 mono">30</div><div class="text-xs text-[var(--muted)] mt-1">Projects</div></div>
<div><div class="text-3xl font-extrabold text-cyan-300 mono">6</div><div class="text-xs text-[var(--muted)] mt-1">Categories</div></div>
<div><div class="text-3xl font-extrabold text-cyan-300 mono">100%</div><div class="text-xs text-[var(--muted)] mt-1">Open Source</div></div>
</div>
</div>
</section>
<!-- Search + Filters -->
<section id="projects" class="relative z-10 max-w-7xl mx-auto px-6 py-12">
<div class="max-w-xl mx-auto mb-8">
<div class="relative">
<svg class="absolute left-4 top-1/2 -translate-y-1/2 w-5 h-5 text-[var(--muted)]" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-4.35-4.35M11 19a8 8 0 100-16 8 8 0 000 16z"/></svg>
<input id="search" type="text" placeholder="Search projects..." class="search-input w-full pl-12 pr-4 py-3 rounded-xl bg-[var(--bg-soft)] border border-[var(--border)] text-[var(--text)] placeholder-[var(--muted)] transition" />
</div>
</div>
<div id="filters" class="flex flex-wrap justify-center gap-3 mb-10">
<button class="filter-btn active px-4 py-2 rounded-lg text-sm font-medium" data-filter="all">All</button>
<button class="filter-btn px-4 py-2 rounded-lg text-sm font-medium" data-filter="Games">Games</button>
<button class="filter-btn px-4 py-2 rounded-lg text-sm font-medium" data-filter="Utilities">Utilities</button>
<button class="filter-btn px-4 py-2 rounded-lg text-sm font-medium" data-filter="Automation">Automation</button>
<button class="filter-btn px-4 py-2 rounded-lg text-sm font-medium" data-filter="Web & API">Web & API</button>
<button class="filter-btn px-4 py-2 rounded-lg text-sm font-medium" data-filter="Media">Media</button>
<button class="filter-btn px-4 py-2 rounded-lg text-sm font-medium" data-filter="Productivity">Productivity</button>
</div>
<!-- Grid -->
<div id="grid" class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6"></div>
<p id="no-results" class="hidden text-center text-[var(--muted)] py-20">No projects match your search.</p>
</section>
<!-- About -->
<section id="about" class="relative z-10 max-w-4xl mx-auto px-6 py-20 text-center">
<h2 class="text-3xl font-extrabold mb-4">About This Collection</h2>
<p class="text-[var(--muted)] leading-relaxed">
Each project lives in its own folder with a <span class="mono text-cyan-300">main.py</span> and a <span class="mono text-cyan-300">README.md</span>.
Projects that need third-party packages include a <span class="mono text-cyan-300">requirements.txt</span>.
GUI projects use Tkinter. The code is clean, well-commented, and beginner-friendly with proper error handling.
</p>
</section>
<!-- Footer -->
<div class="max-w-7xl mx-auto px-6 py-8 text-center text-[var(--muted)] text-sm">
© 2026. All rights reserved by
<a
href="https://devculture4you.com/"
target="_blank"
rel="noopener noreferrer"
class="text-cyan-400 hover:text-cyan-300 transition-colors"
>
Dev Culture
</a>
· Developed by
<a
href="https://ashutoshpalhare.github.io/"
target="_blank"
rel="noopener noreferrer"
class="mono text-cyan-400 hover:text-cyan-300 transition-colors"
>
Ashutosh Palhare
</a>
</div>
</footer>
<script>
const projects = [
{ name: "Age-CalC", folder: "Age-CalC", desc: "Calculate exact age in years, months and days.", category: "Utilities", difficulty: "Beginner", icon: "🎂" },
{ name: "Alarm-Clock", folder: "Alarm-Clock", desc: "Functional alarm clock with sound notification.", category: "Utilities", difficulty: "Beginner", icon: "⏰" },
{ name: "Assistant", folder: "Assistant", desc: "Mini virtual assistant with voice commands.", category: "Utilities", difficulty: "Intermediate", icon: "🤖" },
{ name: "Audio-Player", folder: "Audio-Player", desc: "Simple desktop audio player with playlist.", category: "Media", difficulty: "Intermediate", icon: "🎵" },
{ name: "ChatBot", folder: "ChatBot", desc: "Intelligent rule-based chatbot.", category: "Utilities", difficulty: "Beginner", icon: "💬" },
{ name: "Currency-Convert", folder: "Currency-Convert", desc: "Real-time currency converter using API.", category: "Web & API", difficulty: "Beginner", icon: "💱" },
{ name: "Dice-Roller", folder: "Dice-Roller", desc: "Animated dice roller game.", category: "Games", difficulty: "Beginner", icon: "🎲" },
{ name: "Marathi-Calc", folder: "Marathi-Calc", desc: "Calculator with Marathi language support.", category: "Utilities", difficulty: "Beginner", icon: "🧮" },
{ name: "Pass-Gen", folder: "Pass-Gen", desc: "Advanced strong password generator.", category: "Utilities", difficulty: "Beginner", icon: "🔑" },
{ name: "Resizer", folder: "Resizer", desc: "Bulk image resizer tool.", category: "Media", difficulty: "Beginner", icon: "🖼️" },
{ name: "TG-Wiki", folder: "TG-Wiki", desc: "Telegram Wikipedia bot.", category: "Web & API", difficulty: "Intermediate", icon: "📡" },
{ name: "To-Do-App", folder: "To-Do-App", desc: "Feature rich To-Do List application.", category: "Productivity", difficulty: "Beginner", icon: "📝" },
{ name: "Web-Scrapper", folder: "Web-Scrapper", desc: "Powerful web scraping tool.", category: "Automation", difficulty: "Intermediate", icon: "🕸️" },
{ name: "Number-Guessing-Game", folder: "Number-Guessing-Game", desc: "Interactive number guessing game with scoring system.", category: "Games", difficulty: "Beginner", icon: "🎯" },
{ name: "QR-Code-Generator", folder: "QR-Code-Generator", desc: "Generate and save QR codes instantly.", category: "Utilities", difficulty: "Beginner", icon: "📱" },
{ name: "Weather-App", folder: "Weather-App", desc: "Real-time weather app using OpenWeatherMap API.", category: "Web & API", difficulty: "Beginner", icon: "🌤️" },
{ name: "File-Organizer", folder: "File-Organizer", desc: "Automatically organize files by type and date.", category: "Automation", difficulty: "Beginner", icon: "📁" },
{ name: "Password-Manager", folder: "Password-Manager", desc: "Secure password manager with encryption.", category: "Utilities", difficulty: "Intermediate", icon: "🔐" },
{ name: "YouTube-Video-Downloader", folder: "YouTube-Video-Downloader", desc: "Download YouTube videos in different qualities.", category: "Media", difficulty: "Intermediate", icon: "▶️" },
{ name: "Image-to-PDF", folder: "Image-to-PDF", desc: "Convert multiple images into a single PDF file.", category: "Media", difficulty: "Beginner", icon: "🖼️" },
{ name: "BMI-Calculator", folder: "BMI-Calculator", desc: "Body Mass Index calculator with GUI and health suggestions.", category: "Productivity", difficulty: "Beginner", icon: "⚖️" },
{ name: "Expense-Tracker", folder: "Expense-Tracker", desc: "Personal expense tracker with data visualization.", category: "Productivity", difficulty: "Intermediate", icon: "💰" },
{ name: "Contact-Book", folder: "Contact-Book", desc: "Digital contact book with search and export.", category: "Productivity", difficulty: "Beginner", icon: "📇" },
{ name: "Tic-Tac-Toe", folder: "Tic-Tac-Toe", desc: "GUI Tic-Tac-Toe game with AI opponent.", category: "Games", difficulty: "Intermediate", icon: "❌" },
{ name: "Rock-Paper-Scissors", folder: "Rock-Paper-Scissors", desc: "Classic game with score tracking.", category: "Games", difficulty: "Beginner", icon: "✊" },
{ name: "URL-Shortener", folder: "URL-Shortener", desc: "URL shortener using public API.", category: "Web & API", difficulty: "Beginner", icon: "🔗" },
{ name: "PDF-Merger", folder: "PDF-Merger", desc: "Merge multiple PDF files into one.", category: "Media", difficulty: "Beginner", icon: "📄" },
{ name: "Bulk-Rename-Tool", folder: "Bulk-Rename-Tool", desc: "Rename multiple files with custom patterns.", category: "Automation", difficulty: "Beginner", icon: "✏️" },
{ name: "Internet-Speed-Test", folder: "Internet-Speed-Test", desc: "Check internet speed using Python.", category: "Utilities", difficulty: "Beginner", icon: "⚡" },
{ name: "Voice-Assistant", folder: "Voice-Assistant", desc: "Mini voice assistant with basic commands.", category: "Utilities", difficulty: "Intermediate", icon: "🎙️" },
];
const diffColors = {
"Beginner": { bg: "rgba(34,197,94,0.15)", text: "#4ade80", border: "rgba(34,197,94,0.3)" },
"Intermediate": { bg: "rgba(245,158,11,0.15)", text: "#fbbf24", border: "rgba(245,158,11,0.3)" },
"Advanced": { bg: "rgba(239,68,68,0.15)", text: "#f87171", border: "rgba(239,68,68,0.3)" },
};
const grid = document.getElementById("grid");
const noResults = document.getElementById("no-results");
let currentFilter = "all";
let currentSearch = "";
function render() {
const filtered = projects.filter(p => {
const matchCat = currentFilter === "all" || p.category === currentFilter;
const q = currentSearch.toLowerCase();
const matchSearch = !q || p.name.toLowerCase().includes(q) || p.desc.toLowerCase().includes(q) || p.category.toLowerCase().includes(q);
return matchCat && matchSearch;
});
grid.innerHTML = "";
if (filtered.length === 0) {
noResults.classList.remove("hidden");
return;
}
noResults.classList.add("hidden");
filtered.forEach((p, i) => {
const dc = diffColors[p.difficulty];
const card = document.createElement("a");
card.href = `https://github.com/ashutoshpalhare/Python-Micro-Projects/tree/main/${p.folder}`;
card.target = "_blank";
card.rel = "noopener noreferrer";
card.className = "card fade-in p-6 flex flex-col group";
card.style.animationDelay = `${i * 0.04}s`;
card.innerHTML = `
<div class="flex items-start justify-between mb-4">
<div class="w-12 h-12 rounded-xl bg-[var(--bg-soft)] border border-[var(--border)] flex items-center justify-center text-2xl">${p.icon}</div>
<span class="diff-badge px-2.5 py-1 rounded-full" style="background:${dc.bg};color:${dc.text};border:1px solid ${dc.border}">${p.difficulty}</span>
</div>
<h3 class="text-lg font-semibold mb-2 group-hover:text-cyan-300 transition">${p.name}</h3>
<p class="text-sm text-[var(--muted)] leading-relaxed flex-grow">${p.desc}</p>
<div class="mt-5 flex items-center justify-between">
<span class="text-xs mono text-[var(--muted)] px-2 py-1 rounded bg-[var(--bg-soft)] border border-[var(--border)]">${p.category}</span>
<span class="btn-view text-white text-sm font-semibold px-4 py-2 rounded-lg inline-flex items-center gap-1.5">
View Project
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 5l7 7m0 0l-7 7m7-7H3"/></svg>
</span>
</div>
`;
grid.appendChild(card);
});
}
// Search
document.getElementById("search").addEventListener("input", (e) => {
currentSearch = e.target.value;
render();
});
// Filters
document.querySelectorAll(".filter-btn").forEach(btn => {
btn.addEventListener("click", () => {
document.querySelectorAll(".filter-btn").forEach(b => b.classList.remove("active"));
btn.classList.add("active");
currentFilter = btn.dataset.filter;
render();
});
});
render();
</script>
</body>
</html>