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encoder | Developer Portfolio</title>
|
| 7 |
+
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
| 8 |
+
<link rel="stylesheet" href="style.css">
|
| 9 |
+
</head>
|
| 10 |
+
<body>
|
| 11 |
+
<div class="mesh-bg"></div>
|
| 12 |
+
<div class="grid-bg"></div>
|
| 13 |
+
|
| 14 |
+
<!-- SVG SPRITES -->
|
| 15 |
+
<svg xmlns="http://www.w3.org/2000/svg" style="display:none">
|
| 16 |
+
<symbol id="i-terminal" viewBox="0 0 24 24"><polyline points="4 17 10 11 4 5"/><line x1="12" y1="19" x2="20" y2="19"/></symbol>
|
| 17 |
+
<symbol id="i-menu" viewBox="0 0 24 24"><line x1="4" y1="12" x2="20" y2="12"/><line x1="4" y1="6" x2="20" y2="6"/><line x1="4" y1="18" x2="20" y2="18"/></symbol>
|
| 18 |
+
<symbol id="i-smile" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><path d="M8 14s1.5 2 4 2 4-2 4-2"/><line x1="9" y1="9" x2="9.01" y2="9"/><line x1="15" y1="9" x2="15.01" y2="9"/></symbol>
|
| 19 |
+
<symbol id="i-github" viewBox="0 0 24 24"><path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"/><path d="M9 18c-4.51 2-5-2-7-2"/></symbol>
|
| 20 |
+
<symbol id="i-up-right" viewBox="0 0 24 24"><line x1="7" y1="17" x2="17" y2="7"/><polyline points="7 7 17 7 17 17"/></symbol>
|
| 21 |
+
<symbol id="i-right" viewBox="0 0 24 24"><line x1="5" y1="12" x2="19" y2="12"/><polyline points="12 5 19 12 12 19"/></symbol>
|
| 22 |
+
<symbol id="i-cpu" viewBox="0 0 24 24"><rect x="4" y="4" width="16" height="16" rx="2"/><rect x="9" y="9" width="6" height="6"/><path d="M15 2v2M15 20v2M2 15h2M2 9h2M20 15h2M20 9h2M9 2v2M9 20v2"/></symbol>
|
| 23 |
+
<symbol id="i-branch" viewBox="0 0 24 24"><line x1="6" y1="3" x2="6" y2="15"/><circle cx="18" cy="6" r="3"/><circle cx="6" cy="18" r="3"/><path d="M18 9a9 9 0 0 1-9 9"/></symbol>
|
| 24 |
+
<symbol id="i-code" viewBox="0 0 24 24"><polyline points="16 18 22 12 16 6"/><polyline points="8 6 2 12 8 18"/></symbol>
|
| 25 |
+
<symbol id="i-heart" viewBox="0 0 24 24"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"/></symbol>
|
| 26 |
+
<symbol id="i-star" viewBox="0 0 24 24"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></symbol>
|
| 27 |
+
<symbol id="i-book" viewBox="0 0 24 24"><path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20"/></symbol>
|
| 28 |
+
<symbol id="i-pin" viewBox="0 0 24 24"><path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"/><circle cx="12" cy="10" r="3"/></symbol>
|
| 29 |
+
<symbol id="i-link" viewBox="0 0 24 24"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></symbol>
|
| 30 |
+
<symbol id="i-alert" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></symbol>
|
| 31 |
+
<symbol id="i-brain" viewBox="0 0 24 24"><path d="M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z"/><path d="M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z"/><path d="M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4"/></symbol>
|
| 32 |
+
<symbol id="i-db" viewBox="0 0 24 24"><ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M3 5V19A9 3 0 0 0 21 19V5"/><path d="M3 12A9 3 0 0 0 21 12"/></symbol>
|
| 33 |
+
<symbol id="i-layout" viewBox="0 0 24 24"><rect width="18" height="18" x="3" y="3" rx="2"/><line x1="3" y1="9" x2="21" y2="9"/><line x1="9" y1="21" x2="9" y2="9"/></symbol>
|
| 34 |
+
<symbol id="i-file" viewBox="0 0 24 24"><path d="M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z"/><polyline points="14 2 14 8 20 8"/><path d="m10 13-2 2 2 2"/><path d="m14 17 2-2-2-2"/></symbol>
|
| 35 |
+
<symbol id="i-flame" viewBox="0 0 24 24"><path d="M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z"/></symbol>
|
| 36 |
+
<symbol id="i-box" viewBox="0 0 24 24"><rect width="20" height="14" x="2" y="5" rx="2"/><path d="M2 10h20"/></symbol>
|
| 37 |
+
<symbol id="i-cloud" viewBox="0 0 24 24"><path d="M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z"/></symbol>
|
| 38 |
+
<symbol id="i-download" viewBox="0 0 24 24"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></symbol>
|
| 39 |
+
<symbol id="i-users" viewBox="0 0 24 24"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/></symbol>
|
| 40 |
+
</svg>
|
| 41 |
+
|
| 42 |
+
<!-- NAV -->
|
| 43 |
+
<nav class="nav">
|
| 44 |
+
<div class="container flex items-center justify-between nav-inner">
|
| 45 |
+
<a href="#home" class="flex items-center gap-1">
|
| 46 |
+
<svg class="icon icon-md" style="color:#c084fc"><use href="#i-terminal"/></svg>
|
| 47 |
+
<span class="mono gradient-text" style="font-weight:700;font-size:1.1rem">AIencoder</span>
|
| 48 |
+
</a>
|
| 49 |
+
<div class="flex items-center gap-1 md-hide" id="nav-links">
|
| 50 |
+
<a href="#home" class="nav-link">Home</a>
|
| 51 |
+
<a href="#huggingface" class="nav-link">Hugging Face</a>
|
| 52 |
+
<a href="#github" class="nav-link">GitHub</a>
|
| 53 |
+
<a href="#contact" class="nav-link">Contact</a>
|
| 54 |
+
</div>
|
| 55 |
+
<button id="menu-btn" class="md-show" style="display:none;padding:.5rem">
|
| 56 |
+
<svg class="icon icon-md"><use href="#i-menu"/></svg>
|
| 57 |
+
</button>
|
| 58 |
+
</div>
|
| 59 |
+
<div id="mobile-menu" class="mobile-menu hidden glass">
|
| 60 |
+
<a href="#home">Home</a>
|
| 61 |
+
<a href="#huggingface">Hugging Face</a>
|
| 62 |
+
<a href="#github">GitHub</a>
|
| 63 |
+
<a href="#contact">Contact</a>
|
| 64 |
+
</div>
|
| 65 |
+
</nav>
|
| 66 |
+
|
| 67 |
+
<!-- HERO -->
|
| 68 |
+
<section id="home" style="min-height:100vh;display:flex;align-items:center;justify-content:center;padding-top:80px">
|
| 69 |
+
<div class="container text-center">
|
| 70 |
+
<div class="fade-up" style="animation-delay:.1s">
|
| 71 |
+
<span style="display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:9999px;border:1px solid rgba(74,222,128,.2);font-size:.875rem;color:#d1d5db;background:rgba(255,255,255,.03);margin-bottom:2rem">
|
| 72 |
+
<span class="pulse" style="width:8px;height:8px;background:#4ade80;border-radius:50%;display:inline-block"></span>
|
| 73 |
+
Available for Collaboration
|
| 74 |
+
</span>
|
| 75 |
+
</div>
|
| 76 |
+
<h1 class="fade-up" style="animation-delay:.2s">
|
| 77 |
+
<span class="hero-title" style="display:block;font-size:clamp(2.5rem,8vw,5rem);font-weight:800;color:#e5e5e5;letter-spacing:-.02em">Hello, I'm</span>
|
| 78 |
+
<span class="hero-sub mono cursor gradient-text" id="typewriter" style="display:block;font-size:clamp(2rem,6vw,4rem);font-weight:700;margin-top:.25rem"></span>
|
| 79 |
+
</h1>
|
| 80 |
+
<p class="fade-up" style="animation-delay:.35s;font-size:clamp(1rem,2vw,1.25rem);color:#6b7280;max-width:600px;margin:2rem auto 3rem;line-height:1.7">
|
| 81 |
+
Building the future with AI and code. Passionate about machine learning, open-source, and creating impactful solutions.
|
| 82 |
+
</p>
|
| 83 |
+
<div class="flex flex-wrap justify-center gap-3 fade-up" style="animation-delay:.5s">
|
| 84 |
+
<a href="https://huggingface.co/AIencoder" target="_blank" rel="noopener noreferrer" class="btn btn-amber">
|
| 85 |
+
<svg class="icon"><use href="#i-smile"/></svg> Hugging Face
|
| 86 |
+
</a>
|
| 87 |
+
<a href="https://github.com/Ary5272" target="_blank" rel="noopener noreferrer" class="btn btn-ghost">
|
| 88 |
+
<svg class="icon"><use href="#i-github"/></svg> GitHub
|
| 89 |
+
</a>
|
| 90 |
+
</div>
|
| 91 |
+
|
| 92 |
+
<div class="grid grid-4 gap-3 fade-up" style="animation-delay:.65s;max-width:700px;margin:5rem auto 0">
|
| 93 |
+
<div class="card glow-card stat">
|
| 94 |
+
<div class="stat-icon" style="color:#c084fc"><svg class="icon icon-lg"><use href="#i-cpu"/></svg></div>
|
| 95 |
+
<div class="stat-num">15+</div>
|
| 96 |
+
<div class="stat-label">AI Models</div>
|
| 97 |
+
</div>
|
| 98 |
+
<div class="card glow-card stat">
|
| 99 |
+
<div class="stat-icon" style="color:#60a5fa"><svg class="icon icon-lg"><use href="#i-branch"/></svg></div>
|
| 100 |
+
<div class="stat-num" id="s-repos">5+</div>
|
| 101 |
+
<div class="stat-label">Repositories</div>
|
| 102 |
+
</div>
|
| 103 |
+
<div class="card glow-card stat">
|
| 104 |
+
<div class="stat-icon" style="color:#34d399"><svg class="icon icon-lg"><use href="#i-code"/></svg></div>
|
| 105 |
+
<div class="stat-num">10K+</div>
|
| 106 |
+
<div class="stat-label">Lines of Code</div>
|
| 107 |
+
</div>
|
| 108 |
+
<div class="card glow-card stat">
|
| 109 |
+
<div class="stat-icon" style="color:#f472b6"><svg class="icon icon-lg"><use href="#i-heart"/></svg></div>
|
| 110 |
+
<div class="stat-num">500+</div>
|
| 111 |
+
<div class="stat-label">Contributions</div>
|
| 112 |
+
</div>
|
| 113 |
+
</div>
|
| 114 |
+
</div>
|
| 115 |
+
</section>
|
| 116 |
+
|
| 117 |
+
<!-- CODE SHOWCASE -->
|
| 118 |
+
<section class="section">
|
| 119 |
+
<div class="container-sm">
|
| 120 |
+
<div class="code-win" style="box-shadow:0 24px 48px rgba(168,85,247,.05)">
|
| 121 |
+
<div class="code-head">
|
| 122 |
+
<div class="code-dot" style="background:rgba(239,68,68,.8)"></div>
|
| 123 |
+
<div class="code-dot" style="background:rgba(234,179,8,.8)"></div>
|
| 124 |
+
<div class="code-dot" style="background:rgba(34,197,94,.8)"></div>
|
| 125 |
+
<span class="mono" style="margin-left:1rem;color:#6b7280;font-size:.75rem">developer_profile.py</span>
|
| 126 |
+
</div>
|
| 127 |
+
<div class="code-body">
|
| 128 |
+
<div class="c-gray2"># Define the developer profile</div>
|
| 129 |
+
<div><span class="c-purple">class</span> <span class="c-amber">Developer</span><span class="c-gray">:</span></div>
|
| 130 |
+
<div style="padding-left:1.5rem"><span class="c-purple">def</span> <span class="c-blue">__init__</span><span class="c-gray">(</span><span class="c-orange">self</span><span class="c-gray">):</span></div>
|
| 131 |
+
<div style="padding-left:2.5rem"><span class="c-orange">self</span><span class="c-gray">.</span>name <span class="c-gray">=</span> <span class="c-green">"AIencoder"</span></div>
|
| 132 |
+
<div style="padding-left:2.5rem"><span class="c-orange">self</span><span class="c-gray">.</span>role <span class="c-gray">=</span> <span class="c-green">"AI/ML Engineer & Developer"</span></div>
|
| 133 |
+
<div style="padding-left:2.5rem"><span class="c-orange">self</span><span class="c-gray">.</span>platforms <span class="c-gray">=</span> <span class="c-gray">{</span></div>
|
| 134 |
+
<div style="padding-left:3.5rem"><span class="c-green">"huggingface"</span><span class="c-gray">:</span> <span class="c-green">"huggingface.co/AIencoder"</span><span class="c-gray">,</span></div>
|
| 135 |
+
<div style="padding-left:3.5rem"><span class="c-green">"github"</span><span class="c-gray">:</span> <span class="c-green">"github.com/Ary5272"</span></div>
|
| 136 |
+
<div style="padding-left:2.5rem"><span class="c-gray">}</span></div>
|
| 137 |
+
<div style="padding-left:1.5rem;margin-top:.75rem"><span class="c-purple">def</span> <span class="c-blue">create_impact</span><span class="c-gray">(</span><span class="c-orange">self</span><span class="c-gray">):</span></div>
|
| 138 |
+
<div style="padding-left:2.5rem"><span class="c-purple">return</span> <span class="c-green">"Transforming ideas into reality"</span></div>
|
| 139 |
+
<div style="margin-top:1rem" class="c-gray2"># Initialize and run</div>
|
| 140 |
+
<div><span class="c-white">dev</span> <span class="c-gray">=</span> <span class="c-amber">Developer</span><span class="c-gray">()</span></div>
|
| 141 |
+
<div><span class="c-white">dev</span><span class="c-gray">.</span><span class="c-blue">create_impact</span><span class="c-gray">()</span></div>
|
| 142 |
+
<div style="margin-top:.5rem"><span class="c-gray">>>> </span><span class="c-green">"Transforming ideas into reality"</span></div>
|
| 143 |
+
</div>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
</section>
|
| 147 |
+
|
| 148 |
+
<!-- HUGGING FACE -->
|
| 149 |
+
<section id="huggingface" class="section">
|
| 150 |
+
<div class="container">
|
| 151 |
+
<div class="flex items-center justify-between" style="margin-bottom:3rem">
|
| 152 |
+
<div class="flex items-center gap-3">
|
| 153 |
+
<div class="section-icon" style="background:rgba(245,158,11,.1);color:#f59e0b">
|
| 154 |
+
<svg class="icon icon-md"><use href="#i-smile"/></svg>
|
| 155 |
+
</div>
|
| 156 |
+
<div>
|
| 157 |
+
<h2 class="section-title">Hugging Face</h2>
|
| 158 |
+
<p style="color:#6b7280;font-size:.875rem;margin-top:.25rem">AI models, spaces, and datasets for the community</p>
|
| 159 |
+
</div>
|
| 160 |
+
</div>
|
| 161 |
+
<a href="https://huggingface.co/AIencoder" target="_blank" rel="noopener noreferrer" class="flex items-center gap-1 md-hide" style="color:#f59e0b;font-size:.875rem;font-weight:500">
|
| 162 |
+
View Profile <svg class="icon icon-sm"><use href="#i-up-right"/></svg>
|
| 163 |
+
</a>
|
| 164 |
+
</div>
|
| 165 |
+
|
| 166 |
+
<!-- HF Profile Card -->
|
| 167 |
+
<div class="card glow-card card-amber" style="padding:2rem;margin-bottom:2.5rem">
|
| 168 |
+
<div class="flex gap-5 profile-wrap" style="align-items:center">
|
| 169 |
+
<img id="hf-avatar" src="https://huggingface.co/avatars/46a0d6090e169c088fc1a64d4b8d993c.svg" alt="" class="profile-avatar profile-avatar-hf" onerror="this.outerHTML='<div class=\'profile-avatar profile-avatar-hf profile-avatar-fallback hf\'>A</div>'">
|
| 170 |
+
<div style="flex:1;min-width:200px">
|
| 171 |
+
<h3 style="font-size:1.25rem;font-weight:700" id="hf-name">Aryan Nukala</h3>
|
| 172 |
+
<p style="color:#6b7280;font-size:.875rem">@AIencoder</p>
|
| 173 |
+
<p style="color:#9ca3af;font-size:.875rem;margin-top:.5rem">AI/ML Engineer building intelligent systems</p>
|
| 174 |
+
</div>
|
| 175 |
+
<div class="flex gap-2 flex-wrap profile-stats">
|
| 176 |
+
<div class="profile-stat amber"><div class="profile-stat-num" style="color:#f59e0b" id="hf-n-models">7</div><div class="profile-stat-label">Models</div></div>
|
| 177 |
+
<div class="profile-stat amber"><div class="profile-stat-num" style="color:#f59e0b" id="hf-n-spaces">7</div><div class="profile-stat-label">Spaces</div></div>
|
| 178 |
+
<div class="profile-stat amber"><div class="profile-stat-num" style="color:#f59e0b" id="hf-n-datasets">1</div><div class="profile-stat-label">Dataset</div></div>
|
| 179 |
+
<div class="profile-stat amber"><div class="profile-stat-num" style="color:#f59e0b" id="hf-n-followers">2</div><div class="profile-stat-label">Followers</div></div>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
|
| 184 |
+
<!-- Models -->
|
| 185 |
+
<h3 class="flex items-center gap-2 section-subtitle" style="color:#f59e0b">
|
| 186 |
+
<svg class="icon icon-sm"><use href="#i-brain"/></svg> Models
|
| 187 |
+
</h3>
|
| 188 |
+
<div class="grid grid-3 gap-4" style="margin-bottom:2.5rem" id="hf-models"></div>
|
| 189 |
+
|
| 190 |
+
<!-- Spaces -->
|
| 191 |
+
<h3 class="flex items-center gap-2 section-subtitle" style="color:#c084fc">
|
| 192 |
+
<svg class="icon icon-sm"><use href="#i-layout"/></svg> Spaces
|
| 193 |
+
</h3>
|
| 194 |
+
<div class="grid grid-3 gap-4" style="margin-bottom:2.5rem" id="hf-spaces"></div>
|
| 195 |
+
|
| 196 |
+
<!-- Datasets -->
|
| 197 |
+
<h3 class="flex items-center gap-2 section-subtitle" style="color:#34d399">
|
| 198 |
+
<svg class="icon icon-sm"><use href="#i-db"/></svg> Datasets
|
| 199 |
+
</h3>
|
| 200 |
+
<div class="grid grid-3 gap-4" id="hf-datasets"></div>
|
| 201 |
+
</div>
|
| 202 |
+
</section>
|
| 203 |
+
|
| 204 |
+
<!-- GITHUB -->
|
| 205 |
+
<section id="github" class="section" style="background:rgba(255,255,255,.01)">
|
| 206 |
+
<div class="container">
|
| 207 |
+
<div class="flex items-center justify-between" style="margin-bottom:3rem">
|
| 208 |
+
<div class="flex items-center gap-3">
|
| 209 |
+
<div class="section-icon" style="background:rgba(255,255,255,.05);color:#fff">
|
| 210 |
+
<svg class="icon icon-md"><use href="#i-github"/></svg>
|
| 211 |
+
</div>
|
| 212 |
+
<div>
|
| 213 |
+
<h2 class="section-title">GitHub</h2>
|
| 214 |
+
<p style="color:#6b7280;font-size:.875rem;margin-top:.25rem">Open source projects and contributions</p>
|
| 215 |
+
</div>
|
| 216 |
+
</div>
|
| 217 |
+
<a href="https://github.com/Ary5272" target="_blank" rel="noopener noreferrer" class="flex items-center gap-1 md-hide" style="color:#9ca3af;font-size:.875rem;font-weight:500">
|
| 218 |
+
View Profile <svg class="icon icon-sm"><use href="#i-up-right"/></svg>
|
| 219 |
+
</a>
|
| 220 |
+
</div>
|
| 221 |
+
|
| 222 |
+
<!-- Profile Card -->
|
| 223 |
+
<div class="card glow-card" style="padding:2rem;margin-bottom:2rem">
|
| 224 |
+
<div class="flex gap-5 profile-wrap" style="align-items:center">
|
| 225 |
+
<img id="gh-avatar" src="https://avatars.githubusercontent.com/u/215576213?v=4" alt="" class="profile-avatar profile-avatar-gh" onerror="this.outerHTML='<div class=\'profile-avatar profile-avatar-gh profile-avatar-fallback gh\'>A</div>'">
|
| 226 |
+
<div style="flex:1;min-width:200px">
|
| 227 |
+
<h3 style="font-size:1.25rem;font-weight:700" id="gh-name">Aryan Nukala</h3>
|
| 228 |
+
<p style="color:#6b7280;font-size:.875rem" id="gh-user">@Ary5272</p>
|
| 229 |
+
<p style="color:#9ca3af;font-size:.875rem;margin-top:.5rem" id="gh-bio">AI/ML Developer</p>
|
| 230 |
+
<div class="flex flex-wrap gap-4" style="margin-top:.5rem;font-size:.75rem;color:#6b7280">
|
| 231 |
+
<span class="flex items-center gap-1"><svg class="icon icon-sm"><use href="#i-pin"/></svg><span id="gh-loc">Remote</span></span>
|
| 232 |
+
</div>
|
| 233 |
+
</div>
|
| 234 |
+
<div class="flex gap-2 profile-stats">
|
| 235 |
+
<div class="profile-stat"><div class="profile-stat-num" style="color:#c084fc" id="gh-repos-n">5</div><div class="profile-stat-label">Repos</div></div>
|
| 236 |
+
<div class="profile-stat"><div class="profile-stat-num" style="color:#60a5fa" id="gh-followers-n">0</div><div class="profile-stat-label">Followers</div></div>
|
| 237 |
+
</div>
|
| 238 |
+
</div>
|
| 239 |
+
</div>
|
| 240 |
+
|
| 241 |
+
<!-- Repos -->
|
| 242 |
+
<h3 class="flex items-center gap-2 section-subtitle" style="color:#9ca3af">
|
| 243 |
+
<svg class="icon icon-sm"><use href="#i-book"/></svg> Latest Repositories
|
| 244 |
+
</h3>
|
| 245 |
+
<div class="grid grid-3 gap-4" id="gh-grid"></div>
|
| 246 |
+
</div>
|
| 247 |
+
</section>
|
| 248 |
+
|
| 249 |
+
<!-- TECH STACK -->
|
| 250 |
+
<section class="section">
|
| 251 |
+
<div class="container-sm text-center">
|
| 252 |
+
<h2 class="section-title" style="margin-bottom:.75rem">Tech Stack</h2>
|
| 253 |
+
<p style="color:#6b7280;margin-bottom:3rem">Technologies I work with</p>
|
| 254 |
+
<div class="flex flex-wrap justify-center gap-2" id="tech-pills"></div>
|
| 255 |
+
</div>
|
| 256 |
+
</section>
|
| 257 |
+
|
| 258 |
+
<!-- CONTACT -->
|
| 259 |
+
<section id="contact" class="section" style="background:rgba(255,255,255,.01)">
|
| 260 |
+
<div class="container-xs text-center">
|
| 261 |
+
<h2 class="section-title" style="margin-bottom:.75rem">Let's Connect</h2>
|
| 262 |
+
<p style="color:#6b7280;margin-bottom:3rem">Interested in collaborating or have a question? Let's chat!</p>
|
| 263 |
+
<div class="grid grid-2 gap-4" style="max-width:420px;margin:0 auto">
|
| 264 |
+
<a href="https://huggingface.co/AIencoder" target="_blank" rel="noopener noreferrer" class="card glow-card card-amber text-center" style="padding:1.5rem">
|
| 265 |
+
<div style="width:48px;height:48px;background:rgba(245,158,11,.1);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto .75rem;color:#f59e0b;font-size:1.5rem">
|
| 266 |
+
<svg class="icon icon-lg"><use href="#i-smile"/></svg>
|
| 267 |
+
</div>
|
| 268 |
+
<h3 style="font-weight:600;margin-bottom:.25rem">Hugging Face</h3>
|
| 269 |
+
<p style="color:#6b7280;font-size:.875rem">@AIencoder</p>
|
| 270 |
+
</a>
|
| 271 |
+
<a href="https://github.com/Ary5272" target="_blank" rel="noopener noreferrer" class="card glow-card text-center" style="padding:1.5rem">
|
| 272 |
+
<div style="width:48px;height:48px;background:rgba(255,255,255,.05);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto .75rem;font-size:1.5rem">
|
| 273 |
+
<svg class="icon icon-lg"><use href="#i-github"/></svg>
|
| 274 |
+
</div>
|
| 275 |
+
<h3 style="font-weight:600;margin-bottom:.25rem">GitHub</h3>
|
| 276 |
+
<p style="color:#6b7280;font-size:.875rem">@Ary5272</p>
|
| 277 |
+
</a>
|
| 278 |
+
</div>
|
| 279 |
+
</div>
|
| 280 |
+
</section>
|
| 281 |
+
|
| 282 |
+
<!-- FOOTER -->
|
| 283 |
+
<footer style="padding:2rem 0;border-top:1px solid rgba(255,255,255,.04)">
|
| 284 |
+
<div class="container flex items-center justify-between" style="flex-wrap:wrap;gap:1rem">
|
| 285 |
+
<div class="flex items-center gap-1">
|
| 286 |
+
<svg class="icon" style="color:#c084fc"><use href="#i-terminal"/></svg>
|
| 287 |
+
<span class="mono gradient-text" style="font-weight:700;font-size:.875rem">AIencoder</span>
|
| 288 |
+
</div>
|
| 289 |
+
<p style="color:#4b5563;font-size:.75rem">Built with passion and code</p>
|
| 290 |
+
<div class="flex gap-1">
|
| 291 |
+
<a href="https://huggingface.co/AIencoder" target="_blank" rel="noopener noreferrer" style="color:#4b5563;padding:.5rem;transition:color .2s" onmouseover="this.style.color='#f59e0b'" onmouseout="this.style.color='#4b5563'">
|
| 292 |
+
<svg class="icon"><use href="#i-smile"/></svg>
|
| 293 |
+
</a>
|
| 294 |
+
<a href="https://github.com/Ary5272" target="_blank" rel="noopener noreferrer" style="color:#4b5563;padding:.5rem;transition:color .2s" onmouseover="this.style.color='#fff'" onmouseout="this.style.color='#4b5563'">
|
| 295 |
+
<svg class="icon"><use href="#i-github"/></svg>
|
| 296 |
+
</a>
|
| 297 |
+
</div>
|
| 298 |
+
</div>
|
| 299 |
+
</footer>
|
| 300 |
+
|
| 301 |
+
<script>
|
| 302 |
+
// ===== TYPEWRITER =====
|
| 303 |
+
const words=['AIencoder','A Developer','An ML Engineer','A Builder'];
|
| 304 |
+
let wi=0,ci=0,del=false;
|
| 305 |
+
const tw=document.getElementById('typewriter');
|
| 306 |
+
function type(){
|
| 307 |
+
const w=words[wi];
|
| 308 |
+
tw.textContent=del?w.substring(0,--ci):w.substring(0,++ci);
|
| 309 |
+
let s=del?40:80;
|
| 310 |
+
if(!del&&ci===w.length){s=2500;del=true}
|
| 311 |
+
else if(del&&ci===0){del=false;wi=(wi+1)%words.length;s=400}
|
| 312 |
+
setTimeout(type,s);
|
| 313 |
+
}
|
| 314 |
+
type();
|
| 315 |
+
|
| 316 |
+
// ===== HARDCODED FALLBACK DATA =====
|
| 317 |
+
const FALLBACK_HF_MODELS=[
|
| 318 |
+
{id:'AIencoder/Logic-Coder-7B',downloads:95,likes:1},
|
| 319 |
+
{id:'AIencoder/Hermes-2-Pro-Mistral-7B-GodCoder',downloads:15,likes:1},
|
| 320 |
+
{id:'AIencoder/Logic-Coder-7B-Q4_K_M-GGUF',downloads:52,likes:0},
|
| 321 |
+
{id:'AIencoder/HermesMath-7B-TIES',downloads:17,likes:1},
|
| 322 |
+
{id:'AIencoder/Llama3-CodeInstruct-8B',downloads:11,likes:0},
|
| 323 |
+
{id:'AIencoder/Axon26-Coder',downloads:23,likes:0},
|
| 324 |
+
];
|
| 325 |
+
const FALLBACK_HF_SPACES=[
|
| 326 |
+
{id:'AIencoder/AXON-TRINITY',sdk:'Gradio',likes:0},
|
| 327 |
+
{id:'AIencoder/Axon',sdk:'Docker',likes:3},
|
| 328 |
+
{id:'AIencoder/llama-wheel-factory',sdk:'Docker',likes:0},
|
| 329 |
+
{id:'AIencoder/merge-config-generator',sdk:'Gradio',likes:0},
|
| 330 |
+
{id:'AIencoder/Prompt-Template-Tester',sdk:'Gradio',likes:0},
|
| 331 |
+
{id:'AIencoder/Axon-Llama-GUI',sdk:'Docker',likes:0},
|
| 332 |
+
];
|
| 333 |
+
const FALLBACK_HF_DATASETS=[
|
| 334 |
+
{id:'AIencoder/llama-cpp-wheels',downloads:153,likes:1},
|
| 335 |
+
];
|
| 336 |
+
const FALLBACK_GH_REPOS=[
|
| 337 |
+
{name:'llama-cpp-python',desc:'Python bindings for llama.cpp',lang:'Python',stars:0,url:'https://github.com/Ary5272/llama-cpp-python',date:'Jan 25'},
|
| 338 |
+
{name:'llama.cpp',desc:'LLM inference in C/C++',lang:'C++',stars:0,url:'https://github.com/Ary5272/llama.cpp',date:'Jan 25'},
|
| 339 |
+
{name:'llama.cpp-Dockerfile',desc:'Dockerfile for llama.cpp',lang:'Dockerfile',stars:0,url:'https://github.com/Ary5272/llama.cpp-Dockerfile',date:'Jan 25'},
|
| 340 |
+
{name:'Ary5272',desc:'Config files for my GitHub profile.',lang:'',stars:1,url:'https://github.com/Ary5272/Ary5272',date:'Jan 24'},
|
| 341 |
+
{name:'tutor-app-final',desc:'Tutor application',lang:'HTML',stars:1,url:'https://github.com/Ary5272/tutor-app-final',date:'Jan 21'},
|
| 342 |
+
];
|
| 343 |
+
|
| 344 |
+
// ===== RENDER FUNCTIONS =====
|
| 345 |
+
const LANG_COLORS={Python:'#3572A5','C++':'#f34b7d',Dockerfile:'#384d54',HTML:'#e34c26',JavaScript:'#f1e05a'};
|
| 346 |
+
|
| 347 |
+
function renderHfCards(items,containerId,type,icon,color){
|
| 348 |
+
const grid=document.getElementById(containerId);
|
| 349 |
+
const base=type==='model'?'https://huggingface.co/':type==='space'?'https://huggingface.co/spaces/':'https://huggingface.co/datasets/';
|
| 350 |
+
items.forEach(m=>{
|
| 351 |
+
const name=m.id.split('/')[1];
|
| 352 |
+
const el=document.createElement('a');
|
| 353 |
+
el.href=base+m.id;el.target='_blank';el.rel='noopener noreferrer';
|
| 354 |
+
el.className='card glow-card card-amber';
|
| 355 |
+
el.innerHTML=`
|
| 356 |
+
<div class="flex items-center justify-between" style="margin-bottom:.75rem">
|
| 357 |
+
<div style="width:40px;height:40px;background:${color}15;border-radius:12px;display:flex;align-items:center;justify-content:center;color:${color};font-size:1.25rem">
|
| 358 |
+
<svg class="icon icon-md"><use href="#i-${icon}"/></svg>
|
| 359 |
+
</div>
|
| 360 |
+
<div class="flex items-center gap-3" style="font-size:.75rem;color:#6b7280">
|
| 361 |
+
${m.downloads!==undefined?`<span class="flex items-center gap-1"><svg class="icon icon-sm"><use href="#i-download"/></svg> ${m.downloads}</span>`:''}
|
| 362 |
+
${m.sdk?`<span style="background:rgba(255,255,255,.05);padding:.125rem .5rem;border-radius:9999px;font-size:.625rem">${m.sdk}</span>`:''}
|
| 363 |
+
<span class="flex items-center gap-1"><svg class="icon icon-sm"><use href="#i-heart"/></svg> ${m.likes}</span>
|
| 364 |
+
</div>
|
| 365 |
+
</div>
|
| 366 |
+
<h4 style="font-weight:600;font-size:.875rem;margin-bottom:.25rem" class="truncate">${name}</h4>
|
| 367 |
+
<div style="margin-top:.75rem;display:flex;align-items:center;gap:.375rem;color:${color};font-size:.75rem;font-weight:500">
|
| 368 |
+
Explore <svg class="icon icon-sm"><use href="#i-right"/></svg>
|
| 369 |
+
</div>`;
|
| 370 |
+
grid.appendChild(el);
|
| 371 |
+
});
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
function renderGhRepos(repos){
|
| 375 |
+
const grid=document.getElementById('gh-grid');
|
| 376 |
+
grid.innerHTML='';
|
| 377 |
+
repos.forEach(r=>{
|
| 378 |
+
const el=document.createElement('a');
|
| 379 |
+
el.href=r.url;el.target='_blank';el.rel='noopener noreferrer';
|
| 380 |
+
el.className='card glow-card card-purple';
|
| 381 |
+
const lc=LANG_COLORS[r.lang]||'#8b8b8b';
|
| 382 |
+
el.innerHTML=`
|
| 383 |
+
<div class="flex items-center justify-between" style="margin-bottom:.75rem">
|
| 384 |
+
<div class="flex items-center gap-2" style="min-width:0">
|
| 385 |
+
<svg class="icon icon-sm" style="color:#6b7280;flex-shrink:0"><use href="#i-book"/></svg>
|
| 386 |
+
<h4 style="font-weight:600;font-size:.875rem" class="truncate">${r.name}</h4>
|
| 387 |
+
</div>
|
| 388 |
+
<svg class="icon icon-sm" style="color:#4b5563;flex-shrink:0"><use href="#i-up-right"/></svg>
|
| 389 |
+
</div>
|
| 390 |
+
<p class="repo-desc">${r.desc||'No description'}</p>
|
| 391 |
+
<div class="flex items-center justify-between" style="font-size:.75rem">
|
| 392 |
+
<div class="flex items-center gap-3">
|
| 393 |
+
${r.lang?`<span class="flex items-center gap-1"><span class="lang-dot" style="background:${lc}"></span><span style="color:#9ca3af">${r.lang}</span></span>`:''}
|
| 394 |
+
<span class="flex items-center gap-1" style="color:#6b7280"><svg class="icon icon-sm"><use href="#i-star"/></svg> ${r.stars}</span>
|
| 395 |
+
</div>
|
| 396 |
+
<span style="color:#4b5563">${r.date}</span>
|
| 397 |
+
</div>`;
|
| 398 |
+
grid.appendChild(el);
|
| 399 |
+
});
|
| 400 |
+
}
|
| 401 |
+
|
| 402 |
+
// ===== TECH STACK =====
|
| 403 |
+
const techs=[
|
| 404 |
+
{name:'Machine Learning',icon:'brain',color:'#f59e0b'},
|
| 405 |
+
{name:'Python',icon:'file',color:'#60a5fa'},
|
| 406 |
+
{name:'PyTorch',icon:'flame',color:'#f97316'},
|
| 407 |
+
{name:'TensorFlow',icon:'layout',color:'#34d399'},
|
| 408 |
+
{name:'HF Transformers',icon:'db',color:'#c084fc'},
|
| 409 |
+
{name:'Git',icon:'branch',color:'#22d3ee'},
|
| 410 |
+
{name:'Docker',icon:'box',color:'#f472b6'},
|
| 411 |
+
{name:'Cloud Services',icon:'cloud',color:'#818cf8'},
|
| 412 |
+
];
|
| 413 |
+
const tp=document.getElementById('tech-pills');
|
| 414 |
+
techs.forEach(t=>{
|
| 415 |
+
const el=document.createElement('div');
|
| 416 |
+
el.className='pill';
|
| 417 |
+
el.onmouseover=function(){this.style.borderColor=t.color+'50'};
|
| 418 |
+
el.onmouseout=function(){this.style.borderColor='rgba(255,255,255,.06)'};
|
| 419 |
+
el.innerHTML=`<svg class="icon" style="color:${t.color}"><use href="#i-${t.icon}"/></svg><span>${t.name}</span>`;
|
| 420 |
+
tp.appendChild(el);
|
| 421 |
+
});
|
| 422 |
+
|
| 423 |
+
// ===== RENDER HARDCODED DATA FIRST (instant) =====
|
| 424 |
+
renderHfCards(FALLBACK_HF_MODELS,'hf-models','model','brain','#f59e0b');
|
| 425 |
+
renderHfCards(FALLBACK_HF_SPACES,'hf-spaces','space','layout','#c084fc');
|
| 426 |
+
renderHfCards(FALLBACK_HF_DATASETS,'hf-datasets','dataset','db','#34d399');
|
| 427 |
+
renderGhRepos(FALLBACK_GH_REPOS);
|
| 428 |
+
|
| 429 |
+
// ===== LIVE FETCH UPGRADES (when hosted on HF Space, these will work) =====
|
| 430 |
+
(async()=>{
|
| 431 |
+
try{
|
| 432 |
+
const r=await fetch('https://api.github.com/users/Ary5272');
|
| 433 |
+
if(!r.ok)return;
|
| 434 |
+
const u=await r.json();
|
| 435 |
+
if(u.name)document.getElementById('gh-name').textContent=u.name;
|
| 436 |
+
if(u.bio)document.getElementById('gh-bio').textContent=u.bio;
|
| 437 |
+
if(u.location)document.getElementById('gh-loc').textContent=u.location;
|
| 438 |
+
if(u.public_repos){document.getElementById('gh-repos-n').textContent=u.public_repos;document.getElementById('s-repos').textContent=u.public_repos+'+';}
|
| 439 |
+
if(u.followers)document.getElementById('gh-followers-n').textContent=u.followers;
|
| 440 |
+
if(u.avatar_url){const img=document.getElementById('gh-avatar');if(img)img.src=u.avatar_url;}
|
| 441 |
+
}catch(e){}
|
| 442 |
+
try{
|
| 443 |
+
const r=await fetch('https://api.github.com/users/Ary5272/repos?sort=updated&per_page=6');
|
| 444 |
+
if(!r.ok)return;
|
| 445 |
+
const repos=await r.json();
|
| 446 |
+
renderGhRepos(repos.map(r=>({name:r.name,desc:r.description||'',lang:r.language||'',stars:r.stargazers_count,url:r.html_url,date:new Date(r.updated_at).toLocaleDateString('en-US',{month:'short',day:'numeric'})})));
|
| 447 |
+
}catch(e){}
|
| 448 |
+
try{
|
| 449 |
+
const r=await fetch('https://huggingface.co/api/users/AIencoder/overview');
|
| 450 |
+
if(!r.ok)return;
|
| 451 |
+
const u=await r.json();
|
| 452 |
+
if(u.fullname)document.getElementById('hf-name').textContent=u.fullname;
|
| 453 |
+
if(u.numModels)document.getElementById('hf-n-models').textContent=u.numModels;
|
| 454 |
+
if(u.numSpaces)document.getElementById('hf-n-spaces').textContent=u.numSpaces;
|
| 455 |
+
if(u.numDatasets)document.getElementById('hf-n-datasets').textContent=u.numDatasets;
|
| 456 |
+
if(u.numFollowers)document.getElementById('hf-n-followers').textContent=u.numFollowers;
|
| 457 |
+
if(u.avatarUrl){const img=document.getElementById('hf-avatar');if(img)img.src='https://huggingface.co'+u.avatarUrl;}
|
| 458 |
+
}catch(e){}
|
| 459 |
+
})();
|
| 460 |
+
|
| 461 |
+
// ===== MOBILE MENU =====
|
| 462 |
+
document.getElementById('menu-btn').addEventListener('click',()=>document.getElementById('mobile-menu').classList.toggle('hidden'));
|
| 463 |
+
|
| 464 |
+
// ===== SMOOTH SCROLL =====
|
| 465 |
+
document.querySelectorAll('a[href^="#"]').forEach(a=>a.addEventListener('click',function(e){
|
| 466 |
+
e.preventDefault();
|
| 467 |
+
const t=document.querySelector(this.getAttribute('href'));
|
| 468 |
+
if(t){t.scrollIntoView({behavior:'smooth',block:'start'});document.getElementById('mobile-menu').classList.add('hidden')}
|
| 469 |
+
}));
|
| 470 |
+
|
| 471 |
+
// ===== RESPONSIVE NAV =====
|
| 472 |
+
function checkNav(){
|
| 473 |
+
const w=window.innerWidth;
|
| 474 |
+
document.getElementById('nav-links').style.display=w>=768?'flex':'none';
|
| 475 |
+
document.getElementById('menu-btn').style.display=w<768?'block':'none';
|
| 476 |
+
if(w>=768)document.getElementById('mobile-menu').classList.add('hidden');
|
| 477 |
+
}
|
| 478 |
+
window.addEventListener('resize',checkNav);checkNav();
|
| 479 |
+
</script>
|
| 480 |
+
</body>
|
| 481 |
+
</html>
|