# Aryan Singh — Full Technical Documentation > Software Engineering Student at the University of the South Pacific (Suva, Fiji • UTC+12) focusing on AI/ML systems, DevOps engineering, and modern web architectures. - Email: aryanzsingh444@gmail.com - Website: https://aryan10.dev - GitHub: https://github.com/aryann-7 - LinkedIn: https://www.linkedin.com/in/aryansingh444/ - Summary Index: https://aryan10.dev/llms.txt - Profile JSON: https://aryan10.dev/profile.json ## Complete Technical Stack - **Core Languages**: TypeScript, Python, Java, C++, C, JavaScript, Kotlin, SQL, Go, R - **Back-End, APIs & Storage**: Node.js, Express, JWT Auth, RESTful APIs, CORS & Middleware, WebSockets, PostgreSQL, IndexedDB, gRPC & RMI, .NET / ASP.NET, MongoDB, Firebase, Oracle DB - **Front-End & UI Libraries**: React, Next.js, Astro, Svelte, TailwindCSS, Chart.js, Marked.js, HTML5 & CSS3 - **DevOps, CI/CD & Infrastructure**: Docker, GitHub Actions, Git & GitHub, NPM / Yarn, Nginx, Vercel & Netlify, Linux & Ubuntu, Azure & OCI, VirtualBox - **Geospatial, Data, AI & Algorithms**: Leaflet & OSRM, Google Maps API, TSP & Heuristics, Algorithms & DSA, Data Mining, Local LLMs & AI - **Testing, QA, Networking & Design**: JUnit & JaCoCo, Playwright / Selenium, Postman / Thunder, Wireshark, Figma & Canva, Eraser (eraser.io), WordPress / CRM --- # Engineering Case Studies ## Time-Series Forecasting App - URL: https://aryan10.dev/projects/signal-forge - Role: Full-Stack Architecture, ML & AI Engineering - Stack: TypeScript, Next.js 15, Node.js 22, Go, Gemma 4, Gemini 4, PostgreSQL, WebSockets, Docker - Source: https://github.com/aryann-7/Signal-Forge-ML - Live Demo: https://signal-forge-ml-3kni.vercel.app/ ### Overview A workbench-first time-series forecasting, temporal data mining, and Gemma 4 / Gemini 4 AI platform. Built to benchmark how classical and ensemble ML algorithms learn temporal patterns across four synthetic regimes (Periodic, Noisy, Trending, and Irregular), user-uploaded datasets (CSV/JSON/ARFF/PDF), and live Open-Meteo city telemetry, it pairs 3D phase-space attractor visualization and residual error plots with side-by-side run comparison and an Ask AI drawer. ### Problem Statement Real-world temporal signals frequently exhibit non-stationarity, stochastic noise, and abrupt structural shocks that violate naive autoregressive continuity assumptions. Decomposing an empirical signal into its constituent temporal drivers: Standard machine learning pipelines often suffer from catastrophic data leakage when random shuffling corrupts chronological causality, or choke under the latency demands of real-time streaming feature extraction. Building a dependable forecasting workbench requires sub-50ms concurrent feature extraction, strict out-of-sample chronological evaluation, and multi-model uncertainty estimation combining classical algorithms with generative AI reasoning. ### Architecture The platform employs a decoupled, multi-runtime architecture: Next.js 15 App Router renders the reactive client workbench and 3D phase-space canvas, a Node.js 22 server manages persistent WebSocket telemetry streaming and PostgreSQL storage with automatic zero-config fallback, and a concurrent Go engine executes high-throughput feature extraction and bootstrap confidence calculations. ### Deep Dives #### Concurrent Go ML Engine & Bootstrap Uncertainty Bounds - Engineered a dedicated Go microservice (`go-signal-engine`) that transforms raw time series into normalized feature matrices using concurrent goroutines. - Extracts multi-step lag variables (`lag_1` through `lag_10`), rolling statistics (mean, variance, min, max, EWMA `α = 0.3`), momentum, and temporal autocorrelation spectra. - Trains four distinct forecasters: Naive Baseline (`ŷt = yt−1`), L2 Ridge Linear Regression, Random Forest (25 bootstrapped decision trees with feature subsampling), and Gradient Boosting (35 additive stagewise trees). - Computes 200-iteration residual bootstrap distributions to establish non-parametric 95% confidence intervals, providing realistic uncertainty intervals without assuming Gaussian error normality. #### Strict Chronological Splitting & Zero Data Leakage - Enforces rigorous temporal partitioning: the earliest 70% of observations form the Training set, the subsequent 15% serve as Validation, and the final 15% are held out as the unseen Out-of-Sample Test set. - Fit-transform isolation: `StandardScaler` parameters (`μ, σ`) are calculated strictly on the training partition and applied forward to validation and test partitions, preventing future lookahead leakage. - Evaluates models using Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE) against pure out-of-sample observations. #### Real-Time WebSocket Telemetry & 3D Phase-Space Attractors - Maintains a persistent full-duplex WebSocket gateway (`/ws/signals`) streaming 1.2-second live signal ticks, step predictions, and anomaly alerts. - Implements delay coordinate embedding in three dimensions (`t, yt−1, yt`) using an interactive Canvas/WebGL viewer to reveal hidden limit cycles, chaotic strange attractors, and noise-induced orbital degradation. - Detects structural shocks and transient spikes using dynamic Z-score thresholds (`|Z| > 2.35σ`) and stationarity variance-ratio tests. #### Gemma 4 & Gemini 4 AI Co-Pilot, Live Feeds & Run Diffing - Integrates Google DeepMind `gemma-4-31b-it` and `gemini-4-argon` via the official `@google/genai` SDK Interactions API (`client.interactions.create`), leveraging strict JSON schema formatting with explicit Live API vs. Fallback status indicators. - Powers an interactive **Ask AI** slide-over drawer alongside regime classification, model trade-off justifications, and 5-step-ahead forecasts with 95% confidence bounds. - Includes a zero-key **Open-Meteo** live telemetry connector (7 days of hourly temperature, solar irradiance, wind speed, and humidity), residual error subplots, side-by-side **Run History & Diff** comparison, and CSV/JSON export. - Dual-engine execution: Includes a deterministic TypeScript parity engine alongside the Go worker, enabling zero-config instant startup and CI test runs without requiring local Docker or Go installations. ### Results - **Sub-50ms Latency:** Go compute engine executes signal synthesis, feature extraction, 4 model fits, and 200 bootstrap iterations in under 45ms. - **Zero Leakage Guarantee:** Strict chronological partitioning ensures genuine out-of-sample validation across all evaluation metrics. - **Resilient Dual Engine:** Zero-configuration fallback to in-memory PostgreSQL (pg-mem) and TypeScript engine allows complete local development without external service dependencies. --- ## System Design Roadmap - URL: https://aryan10.dev/projects/system-design-roadmap - Role: Frontend Architecture, Interactive Visualization & Auth Engineering - Stack: JavaScript, Vite, HTML5, CSS3, SVG, Canvas API, Vercel - Live Demo: https://system-design-roadmap-nine.vercel.app/ ### Overview System Design Roadmap is an interactive system design course where every core distributed-systems concept is taught through an animated, step-by-step architectural diagram. Covering load balancing, caching, sharding, consensus (Raft/Paxos), message queues, CDNs, rate limiting, and end-to-end system designs, it walks learners from a single server up to architectures serving millions of users. ### Problem Statement Traditional system design study materials rely on dense prose and static box-and-arrow diagrams that obscure how traffic, failures, replication lag, and backpressure evolve over time. Learners often memorize buzzwords without building an intuitive mental model of request lifecycles, bottlenecks, and failure modes. Creating an effective visual learning platform requires synchronized step-by-step diagram animations, zero-flash theme and responsive layout detection before first paint, multi-language support, and lightweight authentication with guest preview access. ### Architecture The application is built as a fast Vite-bundled client-side SPA with pre-paint theme and viewport layout bootstrapping, an interactive SVG/Canvas animation engine for stepped architecture walkthroughs, and a modular auth gate supporting guest previews, email verification, Google Sign-In, and TOTP MFA. ### Deep Dives #### Stepped Interactive Architecture Visualizations - Models distributed systems topics—including request lifecycles, napkin math, load balancing, consistent hashing, caching, database sharding, consensus, and message queues—as deterministic, step-through visual states. - Animates packet flow, cache hits/misses, and failover transitions using crisp SVG and Canvas primitives so learners can scrub forward and backward at their own pace. #### Zero-Flash First Paint & Responsive Breakpoint Adaptation - Executes a minimal inline bootstrap script in `<head>` to restore saved theme preferences (`sdt:theme`) and assign `desktop`, `tablet`, or `stack` layout modes before the browser paints. - Eliminates light-mode flash and layout shifts across desktop monitors, tablets, and mobile viewports. #### Progressive Auth Gate & Guest Preview Flow - Allows immediate frictionless access to foundational lessons (`request-lifecycle`, `latency-throughput`, and `napkin-math`) in guest mode. - Supports full account registration, email verification, Google Sign-In, and TOTP multi-factor authentication with backup codes in a decoupled `auth-gate.js` module. ### Results - **Zero-Flash Rendering:** Pre-paint theme and responsive layout detection prevent dark-mode flicker and initial layout shifts. - **Interactive Curriculum:** Transforms core distributed-systems concepts into hands-on, step-by-step animated diagrams. - **Global Edge Delivery:** Deployed on Vercel with hashed static assets, PWA manifest, and instant guest onboarding. --- ## Route Optimizer App - URL: https://aryan10.dev/projects/route-optimizer - Role: Full-Stack & Algorithm Engineering - Stack: JavaScript, Node.js, Leaflet, OSRM API, TailwindCSS - Source: https://github.com/aryann-7/route-optimizer - Live Demo: https://route-optimizer-nine-mu.vercel.app ### Overview The Route Optimizer is a delivery routing and Traveling Salesperson Problem (TSP) web application. Designed for urban couriers and multi-stop delivery workflows, the application computes fast, turn-by-turn road routes across complex geographic waypoints using interactive map interfaces and local search heuristics. ### Problem Statement Multi-stop delivery routing is a classic instance of the NP-hard Traveling Salesperson Problem. For an *n*-stop route, the search space of possible permutations is: A naive sequence of just 12 stops yields nearly 20 million possible permutations, leading to exponential computational bottlenecks and inefficient fuel consumption if ordered arbitrarily. Standard commercial routing APIs charge prohibitive per-waypoint fees and often lack lightweight, interactive stop reordering and local computational heuristics. ### Architecture The application separates real-world road network matrix computation from client-side heuristic optimization. ### Deep Dives #### Algorithmic Optimization (2-opt & Or-opt Heuristics) - Rather than executing an exact brute-force search (`O(n!)`), the application implements 2-opt and Or-opt approximation algorithms. - **2-opt Loop:** Evaluates edge pairs (A, B) and (C, D). If reversing the sub-sequence between B and C yields a shorter total distance (`dist(A,C) + dist(B,D) < dist(A,B) + dist(C,D)`), the sub-tour is inverted. - **Or-opt Relocation:** Consecutive segments of 1, 2, or 3 stops are excised and re-inserted elsewhere in the sequence if it shortens total circuit cost, escaping local 2-opt minimums without the complexity of simulated annealing. #### Geospatial Engine & OSRM Integration - Road network geometry is retrieved through the Open Source Routing Machine (OSRM) Table Service, which returns an N × N duration/distance matrix rather than simple Euclidean (Haversine) lines. - Polyline paths are decoded client-side and dynamically bound to Leaflet layers, ensuring route curvature follows actual physical streets, one-way systems, and highway ramps. #### Asynchronous Compute & Main-Thread Protection - To ensure smooth map interactions during heuristic computation on larger routes (N ≥ 30), the search loop is broken into asynchronous execution batches using `requestAnimationFrame`, preventing browser tab freezing during permutation evaluation. ### Results - **Distance Reduction:** Consistently produces 20% to 35% shorter total circuit distances compared to raw input ordering. - **Sub-Second Execution:** Runs 2-opt convergence in under 120ms for routes with up to 40 stops on standard consumer hardware. - **Real-World Usability:** Zero API subscription overhead by coupling public OSRM endpoints with custom client-side optimization logic. --- ## Task Manager App - URL: https://aryan10.dev/projects/task-manager - Role: Full-Stack Architecture, Firebase Sync & Workspace UX - Stack: React 18, Vite 5, TailwindCSS, Firebase Auth, Cloud Firestore, Canvas API - Source: https://github.com/aryann-7/task-manager-app - Live Demo: https://aryan-task-manager-five.vercel.app/ ### Overview A minimalist, Linear-inspired full-stack Kanban and workspace management application built with React 18, Vite 5, Tailwind CSS, Firebase Authentication, and Cloud Firestore. It combines a translucent liquid-glass 60fps 2D canvas login screen, multi-board workspaces, four interactive views (Board, List, Calendar, Analytics), natural-language smart task syntax, a Spotlight Command Palette, a 25-minute Pomodoro Focus Timer, and real-time multi-tab + cloud synchronization. ### Problem Statement Traditional Kanban tools often force heavy SDK bundles, sluggish reloads, or single-view rigidity that breaks down once teams juggle multiple boards, due-date schedules, and analytics. Delivering a fast, Linear-caliber workspace requires instant optimistic interactions, isolated guest previewing, strict multi-tenant security rules, and seamless cross-tab plus cloud state sync. ### Architecture AppContext orchestrates multi-board workspace state, undo history, and BroadcastChannel multi-tab sync locally, while a zero-bloat Firebase Identity Toolkit & Cloud Firestore REST v1 client handles authenticated cloud persistence, automatic ID token refresh, and shared Workspace Sync IDs. ### Deep Dives #### Firebase Auth, Cloud Firestore REST Client & Hardened Rules - Built a lightweight Firebase Identity Toolkit and Cloud Firestore REST v1 client (`src/lib/firebase.js`) with automatic ID token refresh, per-user scoped persistence (`taskflow_v4_{uid}`), and shared team Workspace Sync IDs. - Authored production `firestore.rules` enforcing authentication, strict `hasOnly` schema validation, field size bounds, immutable `uid`/`ownerId` ownership, and workspace access checks. - Paired cloud persistence with `BroadcastChannel` multi-tab sync and an isolated in-memory Guest Preview mode that never overwrites signed-in user data. #### 4 Interactive Views, Multi-Board Workspaces & Smart Syntax - Supports instant keyboard-driven switching (`V`) across **Board** (drag-and-drop columns with custom colors, inline rename, and sorting), **List** (sortable table), **Calendar** (monthly due-date grid), and **Analytics** (KPI & workload charts). - Implemented a natural-language task parser (`smartParser.js`) that extracts `!urgent`/`!high` priorities, `#tags`, and `@today`/`@tomorrow`/`@YYYY-MM-DD` due dates directly from quick-add inputs and the `Ctrl/Cmd + K` Spotlight Command Palette. #### 60fps 2D Canvas Engine, Focus Timer & Team Audit Log - Engineered a full-screen 60fps HTML5 2D `<canvas>` aurora flow field with parallax tiles and click shockwave ripples behind a frosted liquid-glass login card, plus a 2D canvas confetti burst on task completion. - Added a docked 25-minute Pomodoro Focus Timer, card-face interactive subtasks, timestamped discussion comments, 1-click Undo toasts, CSV/JSON workspace export, and a persistent Team Activity Audit Log. ### Results - **4-in-1 Workspace:** Unified Kanban Board, sortable List, monthly Calendar, and Analytics KPIs under a single keyboard-first Linear aesthetic. - **Hardened Cloud Sync:** Secured per-user and shared workspace documents with production Firestore security rules and instant BroadcastChannel multi-tab sync. - **60fps Visual Polish:** Liquid-glass login canvas and task completion confetti run smoothly at 60fps with zero third-party graphics libraries. --- ## Notes App - URL: https://aryan10.dev/projects/markdown-note-app - Role: Frontend, PKM Engine & Offline-First Engineering - Stack: Svelte 5, Vite 6, IndexedDB, Marked.js, KaTeX, Highlight.js, DOMPurify - Source: https://github.com/aryann-7/markdown-note-app - Live Demo: https://markdown-note-app-sigma-teal.vercel.app/ ### Overview An offline-first, Obsidian-class Markdown and Personal Knowledge Management (PKM) vault built with Svelte 5 Runes, Vite 6, Marked.js, KaTeX, and IndexedDB. It pairs bi-directional [[WikiLinks]], backlinks, unlinked mentions, and an interactive force-directed Knowledge Graph with a Right Inspector sidebar, slash commands, Obsidian callouts, YAML frontmatter pills, multi-tabs, and a resizable scroll-synced split view. ### Problem Statement Browser-based Markdown tools rarely bridge the gap between lightweight note pads and full PKM vaults like Obsidian. Supporting bi-directional linking, live math rendering, multi-tab editing, and graph visualization offline—without XSS vulnerabilities, async race conditions, or main-thread typing lag—requires fine-grained reactivity and hardened local persistence. ### Architecture Svelte 5 Runes drive fine-grained reactive state across open tabs, the editor, and the Right Inspector. Keystrokes feed a sanitized Marked.js + KaTeX + Highlight.js + DOMPurify rendering pipeline while debounced transactions persist notes, version history, and disk sync into IndexedDB. ### Deep Dives #### Svelte 5 Runes, Bi-Directional WikiLinks & Knowledge Graph - Upgraded the reactive core to **Svelte 5 Runes**, indexing `[[Note Title]]` and aliased links across the vault to power incoming **Backlinks**, **Unlinked Mentions** (with 1-click auto-link), note embeds, and instant creation of unresolved notes. - Built an interactive pan/zoom force-directed SVG **Knowledge Graph** (`Ctrl+G`) visualizing note clusters and hub connections alongside a collapsible **Right Inspector** (live H1–H6 Outline, Links, and Folder/Tag Properties). #### Obsidian Authoring, KaTeX Math & Hardened Sanitization - Added `[[` WikiLink autocomplete, a `/` Slash Command menu, smart list continuation with native Undo/Redo preservation, clipboard image paste, interactive preview task checkboxes, and 1-click **Daily Notes**. - Supports **KaTeX** math equations, styled & collapsible Obsidian callouts (`> [!NOTE]`, `> [!FAQ]-`), YAML frontmatter property pills, and theme-adaptive Highlight.js code blocks—all sanitized through **DOMPurify** with XSS and race-condition fixes. #### Multi-Tab Synced Split View, 4 Themes & Offline Persistence - Engineered a multi-tab bar with a draggable split-pane divider (25%–75%) and proportional scroll synchronization between Editor and Preview, plus dedicated print styles and 4 palettes (Dark Obsidian, Clean Light, Pure OLED Black, Warm Sepia). - Persists notes, version history, and disk sync asynchronously in **IndexedDB** with safe single-note `.md`/`.html` export and full-vault `.json` merge backup. ### Results - **Obsidian-Class PKM:** Delivers WikiLinks, backlinks, unlinked mentions, Knowledge Graph, KaTeX math, callouts, and Right Inspector 100% offline in the browser. - **Hardened & Fast:** Eliminated XSS and async race loopholes while maintaining sub-15ms live preview compilation with Svelte 5 Runes. - **Workspace Ergonomics:** Multi-tabs, resizable scroll-synced split view, slash/WikiLink autocomplete, and 4 adaptive themes with zero cloud lock-in. --- ## Weather Dashboard - URL: https://aryan10.dev/projects/weather-dashboard - Role: Full-Stack Web Development & Data Visualization - Stack: TypeScript, Next.js, Chart.js, OpenWeather REST API, TailwindCSS - Source: https://github.com/aryann-7/Weather-Dashboard-Webapp - Live Demo: https://aryanweather.netlify.app ### Overview An interactive meteorological analytics dashboard rendering multi-day forecasts, atmospheric variations, and historical trends. Built with Next.js and TypeScript, the application features responsive temporal visualization charts, location auto-complete, and caching strategies. ### Problem Statement Consolidating meteorological data from third-party APIs often results in slow load times, unhandled upstream rate limits, and fragile client code susceptible to unexpected null values or schema modifications. A reliable weather dashboard must cache queries, handle intermittent network failures gracefully, and transform complex tabular data into digestible visualizations. ### Architecture Requests are routed through a Next.js API proxy backed by a 15-minute TTL cache. Cache hits return immediately; misses fetch from the upstream API, then every payload is validated and normalized before reaching the charts. ### Deep Dives #### Intelligent Server-Side Caching - Designed a proxy API route that enforces a 15-minute Time-To-Live (TTL) cache key based on normalized city and coordinate hashes. - Mitigated upstream provider rate limits (e.g., 60 calls/minute caps) while maintaining acceptable forecast accuracy for end users. #### Temporal Data Visualization (Chart.js) - Parsed 3-hour forecast vectors into multi-axis line and bar charts tracking temperature, humidity, and barometric pressure over 7-day windows. - Implemented canvas resize observers to prevent chart re-draw layout shifts across mobile, tablet, and desktop viewports. #### End-to-End Type Safety - Created strict TypeScript interfaces matching the OpenWeather response schema (`Coordinates`, `WeatherMetric`, `HourlyForecast`). - Implemented validation fallbacks so missing secondary metrics (e.g., wind gust or UV index) render graceful empty states rather than throwing uncaught `undefined` runtime exceptions. ### Results - **API Call Reduction:** Slashed redundant upstream API queries by ~60% through route-level caching. - **Sub-Second TTFB:** Cached queries deliver a Time to First Byte (TTFB) under 90ms. - **Resilient UI:** Zero uncaught runtime errors during simulated API timeout or rate-limit test scenarios. --- ## Navigation App - URL: https://aryan10.dev/projects/navigation-app - Role: Geospatial UI & Frontend Engineering - Stack: JavaScript, Google Maps JavaScript API, HTML5, CSS3 - Source: https://github.com/aryann-7/navigation-app - Live Demo: https://navigation-app-dusky.vercel.app/ ### Overview A specialized campus wayfinding web application designed for university grounds (FNU Lautoka Campus). The application overlays customized campus architectural boundaries, lecture theatre coordinates, and facility metadata on top of Google Maps to guide students, visitors, and faculty. ### Problem Statement Commercial mapping services like Google Maps and Apple Maps optimize for vehicular roads and broad public landmarks, frequently leaving university campus paths, departmental building wings, and internal lecture rooms unmapped. New students and visitors struggle to locate specific academic departments, labs, and administration offices using general map tools. ### Architecture A pre-compiled GeoJSON registry of campus points of interest feeds a thin wrapper around the Google Maps SDK, which drives two parallel layers (custom polygon overlays and a client-side search index) that converge in the interactive viewport. ### Deep Dives #### Custom Geospatial Boundaries & Markers - Mapped campus perimeters and specific buildings using custom GeoJSON polygons, styling individual departments with brand-coded fills and boundary strokes. - Configured custom interactive map pins that display building codes, operating hours, and floor directories upon user selection. #### Real-Time POI Filtering & Search - Developed an in-memory client search engine that filters points of interest (lecture theatres, administrative offices, computer labs, cafeterias) by name or course code. - Selecting a search result triggers programmatic camera pan-and-zoom actions, smoothly focusing the viewport onto the destination coordinates. #### Mobile Optimization - Configured viewport constraints to restrict map bounds to the campus vicinity, preventing users from accidentally panning far outside the relevant grounds. - Designed touch-friendly bottom sheets for building information cards, ensuring one-handed usability on mobile screens. ### Results - **Navigation Efficiency:** Reduced campus facility search friction for first-year students and visitors navigating non-public walkways. - **Zero Server Overhead:** Runs entirely as a static client application that retrieves pre-compiled campus coordinate indices without dedicated backend servers. --- ## Barcode & QR Generator App - URL: https://aryan10.dev/projects/barcode-generator - Role: Frontend Utility Engineering - Stack: JavaScript, HTML5 Canvas API, HTML5, CSS3 - Source: https://github.com/aryann-7/barcode-generator - Live Demo: https://barcode-generator-inky-beta.vercel.app/ ### Overview A client-side matrix barcode and QR code synthesis application. It enables instant creation of customized 2D QR codes and 1D barcodes with adjustable error correction, schema-specific payload formatting, and high-resolution multi-format asset exports. ### Problem Statement Many online QR code generators route user inputs through remote servers to log scan parameters, inject advertisement redirects, or impose subscriptions for basic vector downloads. Users and developers need a fast, private, client-side utility that generates production-ready codes directly in the browser without tracking or telemetry. ### Architecture Raw input is shaped by schema-specific formatters, encoded into a module matrix, then split into two render targets (a rasterized canvas and a mathematically generated SVG), each with its own export path. ### Deep Dives #### Standardized Schema Payload Structuring - **Wi-Fi:** `WIFI:T:WPA;S:NetworkName;P:Password;;` - **vCard 3.0:** Formatted contact cards containing name, email, telephone, and address keys. - **Direct URI / Text:** Encoded URL strings and plain-text blocks. #### Canvas Matrix Rendering & Error Correction - Rendered matrices directly to an HTML5 `<canvas>` context using configurable Reed-Solomon error correction levels (Low 7%, Medium 15%, Quartile 25%, High 30%), keeping codes readable even if partially damaged or obscured by logos. - Added dynamic padding, quiet-zone enforcement, and foreground/background contrast verification to guarantee camera decode compliance. #### Lossless Vector & Raster Export Pipeline - Raster downloads (PNG, JPEG at 1×, 2×, 4× pixel densities) via `canvas.toDataURL()`. - Mathematical vector exports (SVG) constructed by looping over active matrix modules and generating discrete `<rect>` elements. ### Results - **Privacy-First:** 100% of encoding occurs in-browser; zero bytes of user data leave the client. - **Instant Generation:** Synthesizes codes with sub-10ms render latency. - **Export Flexibility:** Delivers both web-ready raster assets and print-ready lossless SVG vectors. --- ## Personal Website - URL: https://aryan10.dev/projects/personal-website - Role: Design, Frontend Architecture & DevOps - Stack: Astro, TypeScript, CSS3, GitHub Actions ### Overview I built this site as a central place to share my projects, document how they work under the hood, and make it easy to get in touch. Using Astro lets every page compile down to plain HTML and CSS at build time, keeping page loads fast and client-side JavaScript to a minimum. ### Problem Statement A lot of developer portfolios ship large JavaScript bundles and heavy animation libraries just to render static content, which slows down initial loads on mobile. I wanted my site to stay fast and straightforward: clean typography, accessible markup, minimal runtime scripts, and automated deployments whenever I push updates. ### Architecture Astro components and content are compiled into static HTML and CSS, then shipped through a GitHub Actions pipeline to an edge CDN. ### Deep Dives #### Zero-JS Island Architecture - Built with Astro’s island architecture, rendering static HTML and CSS by default. - Client-side JavaScript is loaded only for specific interactive components (such as the contact modal or theme toggle), reducing the initial page bundle to near-zero runtime script overhead. #### Asset & Typography Optimization - Loads typography with `font-display: swap` to avoid invisible text during font loading. - Optimized raster images using modern formats (`.webp`), responsive `srcset` definitions, and explicit aspect-ratio declarations to eliminate Cumulative Layout Shift (CLS). #### CI/CD & Edge Deployment - Engineered a GitHub Actions workflow that automatically executes build validation, checks semantic markdown linting, and deploys on pushes to `main`. - Implemented OpenGraph and Twitter card metadata for rich link previews across Discord, LinkedIn, and Twitter. ### Results - **Google Lighthouse:** Achieved a perfect 100/100 across all core categories: Performance, Accessibility, Best Practices, and SEO (alongside 2/2 in Agentic Browsing audits). - **Page Weight:** Total initial payload under 50KB compressed. - **Load Times:** First Contentful Paint (FCP) and Largest Contentful Paint (LCP) consistently under 300ms on broadband networks.