-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
724 lines (695 loc) · 23 KB
/
Copy pathindex.html
File metadata and controls
724 lines (695 loc) · 23 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
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>petur subev — product engineer</title>
<meta
name="description"
content="Staff-level product engineer, 15 years in startups. Frontend-deep, full-stack current. Sofia, Bulgaria."
/>
<link
rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><rect x=%2210%22 y=%2210%22 width=%2235%22 height=%2235%22 fill=%22%230f6b66%22/><rect x=%2255%22 y=%2210%22 width=%2235%22 height=%2235%22 fill=%22%234cc29a%22/><rect x=%2210%22 y=%2255%22 width=%2235%22 height=%2235%22 fill=%22%238fdcbd%22/><rect x=%2255%22 y=%2255%22 width=%2235%22 height=%2235%22 fill=%22%2312836f%22/></svg>"
/>
<style>
:root {
--ground: #f4f6f5;
--ink: #1a2420;
--muted: #58685f;
--faint: #8a9a90;
--line: #dde4e0;
--card: #ffffff;
--t1: #0b4f46;
--t2: #0f6b66;
--t3: #12836f;
--t4: #23a07f;
--t5: #4cc29a;
--t6: #8fdcbd;
--rain-opacity: 0.1;
--term-shadow: 0 12px 40px rgba(15, 107, 102, 0.08);
--glow: none;
}
html[data-theme="dark"] {
--ground: #0c1210;
--ink: #d7e6de;
--muted: #93a89d;
--faint: #5e7268;
--line: #22322b;
--card: #101915;
--t1: #1a7a68;
--t2: #4cc29a;
--t3: #35b389;
--t4: #3fdc9c;
--t5: #6fe9b6;
--t6: #a5f4d1;
--rain-opacity: 0.16;
--term-shadow: 0 12px 48px rgba(63, 220, 156, 0.07);
--glow: 0 0 8px rgba(63, 220, 156, 0.45);
}
html[data-theme="dark"] body {
color-scheme: dark;
}
html[data-theme="dark"] .term-body .prompt,
html[data-theme="dark"] h2 .prompt,
html[data-theme="dark"] footer .prompt {
text-shadow: var(--glow);
}
html[data-theme="dark"] .cursor {
box-shadow: var(--glow);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: var(--ground);
color: var(--ink);
font-family:
ui-monospace, "SF Mono", Menlo, "Cascadia Code", Consolas, monospace;
line-height: 1.65;
font-size: 15px;
}
a {
color: var(--t2);
}
#rain {
position: fixed;
inset: 0;
z-index: -1;
opacity: var(--rain-opacity);
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 24px;
gap: 8px;
}
nav .left,
nav .right {
display: flex;
gap: 8px;
flex-wrap: wrap;
}
nav a,
nav span.brand {
display: inline-block;
background: var(--card);
border: 1px solid var(--line);
color: var(--muted);
text-decoration: none;
font-size: 13px;
padding: 8px 16px;
letter-spacing: 0.04em;
}
@media (max-width: 620px) {
nav {
flex-direction: column;
align-items: stretch;
padding: 16px;
}
nav .left .brand {
display: block;
text-align: center;
}
nav .right {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
}
nav .right a {
text-align: center;
padding: 8px 4px;
}
}
nav a svg {
vertical-align: -1.5px;
margin-right: 2px;
}
nav a:hover {
color: var(--t2);
border-color: var(--t4);
}
.wrap {
max-width: 720px;
margin: 0 auto;
padding: 0 20px 96px;
}
/* terminal hero */
.term {
margin-top: 56px;
background: var(--card);
border: 1px solid var(--line);
box-shadow: var(--term-shadow);
}
.term-bar {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 14px;
border-bottom: 1px solid var(--line);
}
.term-bar i {
width: 11px;
height: 11px;
border-radius: 50%;
display: block;
}
.term-bar i:nth-child(1) {
background: #f26d5f;
}
.term-bar i:nth-child(2) {
background: #f5bd4f;
}
.term-bar i:nth-child(3) {
background: #59c760;
}
.term-bar .title {
margin-left: 8px;
font-size: 12px;
color: var(--faint);
}
.term-body {
padding: 20px 22px 24px;
font-size: 14px;
min-height: 300px;
}
.term-body .ln {
white-space: pre-wrap;
word-break: break-word;
}
.term-body .prompt {
color: var(--t4);
font-weight: 600;
}
.term-body .cmd {
color: var(--ink);
font-weight: 600;
}
.term-body .out {
color: var(--muted);
}
.term-body .out b,
.term-body .out a {
color: var(--ink);
}
.term-body .out a {
text-decoration-color: var(--t5);
}
.cursor {
display: inline-block;
width: 8px;
height: 16px;
vertical-align: -2px;
background: var(--t4);
animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
50% {
opacity: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.cursor {
animation: none;
}
}
h2 {
font-size: 13px;
font-weight: 400;
letter-spacing: 0.06em;
color: var(--faint);
margin: 64px 0 6px;
}
h2 .prompt {
color: var(--t4);
font-weight: 600;
}
h2 .cmd {
color: var(--ink);
}
.rule {
border: 0;
border-top: 1px solid var(--line);
margin-bottom: 20px;
}
.card {
background: var(--card);
border: 1px solid var(--line);
padding: 22px 24px;
margin-bottom: 12px;
position: relative;
}
.card:hover {
border-color: var(--t5);
}
.card::before {
content: "❯";
position: absolute;
left: 24px;
top: 21px;
color: var(--t4);
font-weight: 700;
}
.card h3 {
font-size: 16px;
font-weight: 600;
padding-left: 22px;
}
.card h3 a {
color: var(--ink);
text-decoration: none;
}
.card h3 a:hover {
color: var(--t2);
}
.card .meta {
font-size: 12.5px;
color: var(--faint);
margin: 1px 0 12px;
padding-left: 22px;
}
.card p {
font-size: 14px;
color: var(--muted);
max-width: 64ch;
}
.card p b {
color: var(--ink);
font-weight: 600;
}
.stack {
margin-top: 14px;
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.stack span {
font-size: 11px;
padding: 3px 9px;
color: var(--t2);
background: var(--ground);
border: 1px solid var(--line);
}
.community {
color: var(--muted);
font-size: 14px;
max-width: 64ch;
}
footer {
margin-top: 72px;
font-size: 13px;
color: var(--faint);
}
footer .prompt {
color: var(--t4);
font-weight: 600;
}
</style>
<script>
(function () {
var saved = localStorage.getItem("theme");
document.documentElement.dataset.theme =
saved === "light" ? "light" : "dark";
})();
</script>
</head>
<body>
<canvas id="rain" aria-hidden="true"></canvas>
<nav>
<div class="left"><span class="brand">~/subev</span></div>
<div class="right">
<a href="cv.pdf">cv</a>
<a href="https://github.com/subev">github</a>
<a href="https://www.linkedin.com/in/subev/">linkedin</a>
<a href="#" class="mailme">email</a>
<a
href="#"
id="themeToggle"
role="button"
aria-label="Toggle color theme"
>☾</a
>
</div>
</nav>
<div class="wrap">
<section class="term" aria-label="About Petur Subev">
<div class="term-bar">
<i></i><i></i><i></i><span class="title">petur@sofia — zsh</span>
</div>
<div class="term-body" id="termBody"></div>
</section>
<h2><span class="prompt">~ $</span> <span class="cmd">ls work/</span></h2>
<hr class="rule" />
<div class="card">
<h3><a href="https://jest.com">jest.com</a></h3>
<div class="meta">senior full-stack engineer · 2025 – present</div>
<p>
A consumer platform for mobile web games. I turn designs into the
living product — everything you see and tap there, plus the backend
behind it: the
<b>real-time chat system</b> (WebSockets, cursor pagination,
presence), <b>unified Stripe checkout</b> on a credit-balance model,
<b>passkey auth</b>, and the PWA layer that makes a web app feel
native. 213 production PRs in the first 8 months, working agent-first
with Claude Code, kept honest with end-to-end types and tests.
</p>
<div class="stack">
<span>react 19</span><span>ssr</span><span>fastify</span
><span>trpc</span><span>postgresql</span><span>posthog</span
><span>stripe</span><span>pwa</span>
</div>
</div>
<div class="card">
<h3><a href="https://powertime.org">powertime.org</a></h3>
<div class="meta">founding product engineer · 2025</div>
<p>
Real-time collaboration and group-governance platform — web app plus
an Electron desktop app for three OSes, built as the
<b>sole frontend engineer</b>. Typed WebSocket layer generated from
OpenAPI schemas; CI boots the real Clojure/Datomic backend on every PR
to typecheck the frontend against the live API contract.
</p>
<div class="stack">
<span>vue 3</span><span>typescript</span><span>pinia</span
><span>electron</span><span>websockets</span><span>openapi</span>
</div>
</div>
<div class="card">
<h3>
<a href="https://www.v7labs.com/">v7 go</a> &
<a href="https://www.v7darwin.com/">v7 darwin</a>
</h3>
<div class="meta">staff frontend engineer, v7 · 2022 – 2024</div>
<p>
On V7 Go, built the heart of the product: a
<b>Google-Sheets-like table where every cell is computed by AI</b> —
kept responsive on huge datasets by forking and customizing a virtual
scroller. Also the Entity View, a markdown editor with mention
autocomplete, and the signup/growth tooling. On Darwin, built the
consensus-review UI for multi-annotator quality control and carried a
large share of the Vue 2 → Vue 3 migration.
</p>
<div class="stack">
<span>vue 3</span><span>typescript</span><span>virtualization</span
><span>tailwind</span><span>playwright</span>
</div>
</div>
<div class="card">
<h3><a href="https://www.leanplum.com/">leanplum</a> (clevertap)</h3>
<div class="meta">staff engineer / frontend lead · 2015 – 2021</div>
<p>
Mobile marketing-automation platform for enterprise customers like
<b>Tinder, Tesco, and Lyft</b>. Joined as the first frontend-focused
engineer and owned the web dashboard for six years: drove two complete
migrations (jQuery/Backbone → Angular → Vue + TSX + TypeScript)
<b>without pausing feature delivery</b>, laid the foundation of the
next-generation dashboard, and crossed the stack to rewrite the
analytics module as a Spring Boot service speaking Protocol Buffers
over custom RPC. Onboarded and mentored engineers as the frontend team
formed around me.
</p>
<div class="stack">
<span>vue + tsx</span><span>angular</span><span>typescript</span
><span>vuex</span><span>spring boot</span><span>protobuf</span>
</div>
</div>
<div class="card">
<h3>earlier: hyperscience · kendo ui</h3>
<div class="meta">2011 – 2015 · 2021 – 2022</div>
<p>
Human-in-the-loop ML annotation tooling at
<a href="https://www.hyperscience.com/">Hyperscience</a> — labeling
rows and cells over scanned documents with live model predictions fed
in. And where it started: building
<a href="https://www.telerik.com/kendo-ui">Kendo UI</a> components
used by thousands of .NET developers — the origin of a 20k-reputation
Stack Overflow profile.
</p>
<div class="stack">
<span>react</span><span>django</span><span>jquery</span
><span>asp.net mvc</span>
</div>
</div>
<h2>
<span class="prompt">~ $</span> <span class="cmd">ls projects/</span>
</h2>
<hr class="rule" />
<div class="card">
<h3><a href="https://github.com/subev/pdf2audio">pdf2audio</a></h3>
<div class="meta">side project · open source · demo videos in the README</div>
<p>
A <b>personal audiobook library you live in</b>, running fully
offline on Apple Silicon. PDFs in → chapter-marked M4B audiobooks
out, via local TTS (Kokoro and friends) with AI chapter detection
and OCR cleanup. Then the fun part: <b>chat with your whole
library</b> — an agentic assistant over hybrid full-text + semantic
search (local embeddings, ask in English, find the Bulgarian
passage) that streams answers with <b>verified citations</b>
linking straight to the page. Per-chapter <b>translations and AI
rewrites</b> (ELI5, summaries, custom prompts) stream in token by
token and get their own audio, and synced EPUBs give you
<b>read-along with sentence-level highlighting</b> on your phone.
</p>
<div class="stack">
<span>typescript</span><span>local llms</span><span>rag</span
><span>pgvector</span><span>kokoro tts</span><span>epub media
overlays</span>
</div>
</div>
<div class="card">
<h3><a href="https://subev.github.io/awesome-stars/">awesome-stars</a></h3>
<div class="meta">side project · live</div>
<p>
Curated awesome lists enriched with <b>live GitHub star counts and
trend history</b> — see which neovim plugins, node libraries, or
macOS apps are actually gaining traction. Fully static: a GitHub
Actions cron refetches thousands of repos weekly, commits the
snapshots to git, and prerenders the whole site onto GitHub Pages —
no server, no database.
</p>
<div class="stack">
<span>react router 7</span><span>static prerender</span
><span>github actions</span><span>github pages</span>
</div>
</div>
<h2>
<span class="prompt">~ $</span> <span class="cmd">ls community/</span>
</h2>
<hr class="rule" />
<p class="community">
<a href="https://stackoverflow.com/users/332124"
>20k+ stack overflow reputation</a
>
(top answerer for kendo ui) ·
<a href="https://www.toptal.com/resume/petur-subev"
>toptal verified expert</a
>
·
<a href="https://www.codementor.io/@subev"
>5.0★ codementor mentor since 2014</a
>
·
<a href="https://github.com/subev/sibling-jump.nvim"
>sibling-jump.nvim</a
>
(tree-sitter navigation for neovim)
</p>
<footer>
<span class="prompt">~ $</span> mail
<a href="#" class="mailme">[click to reveal]</a> · sofia, bulgaria ·
<a href="cv.pdf">cv.pdf</a>
</footer>
</div>
<script>
(function () {
var reduced = window.matchMedia(
"(prefers-reduced-motion: reduce)",
).matches;
/* ---- email (assembled at runtime, absent from static HTML) ---- */
var addr = ["petur", ".", "subev"].join("") + "@" + "gmail" + ".com";
document.querySelectorAll(".mailme").forEach(function (el) {
el.addEventListener("click", function (e) {
e.preventDefault();
el.textContent = addr;
window.location.href = "mailto:" + addr;
});
});
/* ---- theme toggle ---- */
var toggle = document.getElementById("themeToggle");
function syncToggle() {
var dark = document.documentElement.dataset.theme === "dark";
var sun =
'<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg>';
var moon =
'<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"><path d="M21 12.8A9 9 0 1 1 11.2 3 7 7 0 0 0 21 12.8z"/></svg>';
toggle.innerHTML = (dark ? sun : moon) + " theme";
}
toggle.addEventListener("click", function (e) {
e.preventDefault();
var next =
document.documentElement.dataset.theme === "dark"
? "light"
: "dark";
document.documentElement.dataset.theme = next;
localStorage.setItem("theme", next);
syncToggle();
});
syncToggle();
/* ---- terminal session ---- */
var SESSION = [
{
cmd: "whoami",
out: "petur subev — product engineer, frontend-deep, full-stack current",
},
{
cmd: "cat about.txt",
out: "15 years in startups: react, vue, typescript on the front;\nnode, fastify, trpc, postgresql behind. i own features from\nthe db schema to the last css detail — and measure whether\nthey worked.",
},
{
cmd: "cat now.txt",
out: 'turning designs into a living product at <a href="https://jest.com">jest.com</a>\nworking agent-first with claude code, kept honest with\nend-to-end types and tests',
},
{
cmd: "pwd",
out: "/earth/bulgaria/sofia (remote-friendly, utc+2)",
},
];
var body = document.getElementById("termBody");
function promptLine() {
var ln = document.createElement("div");
ln.className = "ln";
ln.innerHTML =
'<span class="prompt">~ $ </span><span class="cmd"></span>';
body.appendChild(ln);
return ln.querySelector(".cmd");
}
function outBlock(html) {
var ln = document.createElement("div");
ln.className = "ln out";
ln.innerHTML = html.replace(/\n/g, "<br>");
body.appendChild(ln);
}
var cursor = document.createElement("span");
cursor.className = "cursor";
if (reduced) {
SESSION.forEach(function (step) {
promptLine().textContent = step.cmd;
outBlock(step.out);
});
var end = document.createElement("div");
end.className = "ln";
end.innerHTML = '<span class="prompt">~ $ </span>';
end.appendChild(cursor);
body.appendChild(end);
} else {
var si = 0;
function nextStep() {
if (si >= SESSION.length) {
var end = document.createElement("div");
end.className = "ln";
end.innerHTML = '<span class="prompt">~ $ </span>';
end.appendChild(cursor);
body.appendChild(end);
return;
}
var step = SESSION[si++];
var cmdEl = promptLine();
cmdEl.appendChild(cursor);
var ci = 0;
(function typeChar() {
if (ci < step.cmd.length) {
cursor.before(document.createTextNode(step.cmd[ci++]));
setTimeout(typeChar, 34 + Math.random() * 46);
} else {
setTimeout(function () {
cursor.remove();
outBlock(step.out);
setTimeout(nextStep, 420);
}, 260);
}
})();
}
setTimeout(nextStep, 500);
}
/* ---- pixel rain ---- */
var canvas = document.getElementById("rain");
var ctx = canvas.getContext("2d");
var SHADES = [
"#0b4f46",
"#0f6b66",
"#12836f",
"#23a07f",
"#4cc29a",
"#8fdcbd",
];
var CELL = 8,
GAP = 4,
STEP = CELL + GAP;
var drops = [];
function resize() {
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
var cols = Math.ceil(canvas.width / STEP);
drops = [];
for (var i = 0; i < cols; i++) {
if (Math.random() < 0.28) drops.push(newDrop(i, true));
}
}
function newDrop(col, anywhere) {
return {
col: col,
y: anywhere ? Math.random() * canvas.height : -Math.random() * 200,
speed: 0.25 + Math.random() * 0.6,
len: 3 + Math.floor(Math.random() * 5),
shade: SHADES[Math.floor(Math.random() * SHADES.length)],
};
}
function frame() {
ctx.clearRect(0, 0, canvas.width, canvas.height);
for (var i = 0; i < drops.length; i++) {
var d = drops[i];
for (var t = 0; t < d.len; t++) {
var cy = d.y - t * STEP;
if (cy < -CELL || cy > canvas.height) continue;
ctx.globalAlpha = 1 - t / d.len;
ctx.fillStyle = d.shade;
ctx.fillRect(
d.col * STEP,
Math.floor(cy / STEP) * STEP,
CELL,
CELL,
);
}
d.y += d.speed;
if (d.y - d.len * STEP > canvas.height)
drops[i] = newDrop(
Math.floor(Math.random() * (canvas.width / STEP)),
false,
);
}
ctx.globalAlpha = 1;
requestAnimationFrame(frame);
}
window.addEventListener("resize", resize);
resize();
if (reduced) {
for (var i = 0; i < drops.length; i++) {
var d = drops[i];
ctx.fillStyle = d.shade;
ctx.fillRect(
d.col * STEP,
Math.floor(d.y / STEP) * STEP,
CELL,
CELL,
);
}
} else {
requestAnimationFrame(frame);
}
})();
</script>
</body>
</html>