The portfolio of Jay Pokale, written as a competitive-programming problem and its editorial.
A competitive-programming problem comes with a statement, a few observations and an editorial that walks to the solution. This site borrows that structure: the hero is the problem statement, the stats are the observations, the work is the solution in parts, and the footer is the judge's verdict. Every entry pairs a plain fact with a punchline, and the punchline is set louder.
flowchart TD
P["<b>Problem J.</b><br/>the statement"] -- "the judges demanded proof" --> O["<b>§1 Observations</b><br/>ratings, members, theses"]
O -- "so he started shipping his own" --> S["<b>§2 Open source</b><br/>Chisle with live stars, repos, upstream PRs"]
S -- "some things never call home" --> R["<b>§3 Personal projects</b><br/>private and production work"]
R -- "IIT Hyderabad funds the grudge" --> L["<b>§4 The lab</b><br/>three theses"]
L -- "every villain has an origin story" --> G["<b>§5 Origin</b><br/>Dare2Solve and the toolbox"]
G --> W["<b>§6 Appendix</b><br/>articles"]
W -- "spoiler: it's green" --> V(["<b>Verdict: Accepted</b>"])
classDef accepted fill:#12833d,stroke:#3ecf6a,color:#ffffff
class V accepted
The page is prerendered to static HTML at build time. Only the interactive pieces hydrate in the browser.
flowchart LR
subgraph build ["next build"]
direction TB
data["src/data.ts<br/>copy, links, stats"] --> sections["Section components"]
apis[("GitHub, LeetCode and<br/>Codeforces APIs")] -- "stars and ratings<br/>revalidated hourly" --> sections
md["content/writing<br/>Markdown articles"] --> articles["Article pages<br/>and RSS feed"]
sections --> html["Static HTML<br/>sitemap.xml, robots.txt, llms.txt"]
articles --> html
end
html -- "Vercel, jaypokale.me" --> islands
subgraph browser ["Browser"]
direction TB
islands["Client components"] --> motion["Motion<br/>reveals, counters, stamp"]
islands --> portrait["three.js<br/>particle portrait"]
islands --> theme["Theme picker<br/>paper and ink"]
theme -- "jp-theme event" --> portrait
end
- Static and fast. Every page is prerendered. Chisle's star count and the LeetCode and Codeforces ratings are fetched at build time and refreshed hourly (ISR), falling back to the last known values if an API is down. Fonts are self-hosted.
- Search- and LLM-friendly. A JSON-LD
ProfilePagegraph (the person, their awards, affiliation and every profile), per-page canonical URLs, Open Graph cards with a preview image,sitemap.xml,robots.txtand anllms.txtsummary. - Writing. Markdown articles with
BlogPostingstructured data, an RSS feed and git-ignored drafts; see Writing. - Particle portrait.
Jay.pngis sampled into roughly 12,000 squares drawn by a custom shader; the cursor scatters them, and a grayscale source is tinted automatically. - Themes. Dark or light "paper" with any accent "ink" — six presets or a colour picker.
The choice persists in
localStorageand is applied before first paint, so nothing flashes. - Responsive and calm. Works down to 320px wide; the film grain and the portrait hold
still under
prefers-reduced-motion. - No trackers, no cookies, no contact form. Email works. The form never did.
| Layer | Choice |
|---|---|
| Framework | Next.js 16 (App Router, static prerendering), React 19 |
| Language | TypeScript, strict mode |
| Styling | Tailwind CSS 4 on CSS design tokens |
| Animation | Motion |
| Graphics | three.js with custom GLSL shaders |
| Hosting | Vercel |
| CI | GitHub Actions — type-check and build on every push and pull request |
content/
├── writing/ published articles (Markdown)
└── drafts/ unpublished articles, git-ignored
src/
├── app/
│ ├── layout.tsx shared metadata, fonts, theme bootstrap
│ ├── page.tsx homepage: section order, profile JSON-LD
│ ├── writing/ article index, article pages, rss.xml
│ ├── globals.css design tokens, type styles, grain overlay
│ ├── robots.ts
│ └── sitemap.ts
├── components/ one file per section, plus shared pieces
│ ├── Problem.tsx hero: statement, profile links, portrait
│ ├── ParticlePortrait.tsx
│ ├── OpenSource.tsx fetches Chisle's live star count
│ └── …
├── lib/ live stats, structured data, the article loader
└── data.ts every word of copy, every link and stat
public/ portrait, favicons, llms.txt
Requires Node.js 20 or newer; .nvmrc pins the version CI uses.
npm ci
npm run dev # http://localhost:3000| Script | What it does 711C th> |
|---|---|
npm run dev |
Development server with hot reload |
npm run build |
Type-checks and builds the production site |
npm start |
Serves the production build |
npm run typecheck |
Generates Next's route types, then runs tsc |
npm run diagrams |
Renders the articles' Mermaid diagrams to themed SVG (and PNG for feeds) |
npm run indexnow |
Announces every sitemap URL to IndexNow (Bing and friends) after a deploy |
All copy lives in src/data.ts; components only decide layout. Entries pair a
fact, set small, with a quip, set loudest. To add a project, append it to projects; to
add an open-source repo, append it to ownRepos or upstream.
Articles are Markdown files with front matter:
---
title: "The title, as it should appear in search results"
description: "One or two sentences for the snippet and link previews."
date: 2026-09-27
---Drafts go in content/drafts/: git-ignored, visible only under npm run dev. Moving a file
to content/writing/ publishes it at /writing/<file-name> with its own canonical URL,
BlogPosting structured data, a sitemap entry and an RSS item, and adds the "Writing" link
and homepage appendix. Fenced ```mermaid blocks become diagrams: run npm run diagrams after adding or editing one, which pre-renders them to SVG that follows the site's light and dark themes, plus PNG copies for RSS. After it deploys, npm run indexnow tells Bing. To syndicate to dev.to or Hashnode, import
/writing/rss.xml there with the canonical URL
pointing back here.
Every push to main deploys to Vercel. The site is served at
jaypokale.me; jaypokale.vercel.app redirects there.
© Jay Pokale. All rights reserved.