Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
431 lines (413 loc) · 30.4 KB
/
Copy pathindex.html
File metadata and controls
431 lines (413 loc) · 30.4 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
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<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=Silkscreen:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css?v=__VERSION__">
<!-- Basics -->
<title>Dawid Zbiński // Developer by default</title>
<meta name="description"
content="Portfolio of Dawid Zbinski, Frontend Engineering Lead. Built as an interactive game menu experience.">
<!-- Twitter Card data -->
<meta name="twitter:title" content="Dawid Zbiński // Developer by default">
<meta name="twitter:description"
content="Portfolio of Dawid Zbinski, Frontend Engineering Lead. Built as an interactive game menu experience.">
<!-- Open Graph data -->
<meta property="og:title" content="Dawid Zbiński // Developer by default">
<meta property="og:type" content="website">
<meta property="og:url" content="https://zbinski.dev/">
<meta property="og:description"
content="Portfolio of Dawid Zbinski, Frontend Engineering Lead. Built as an interactive game menu experience.">
<meta property="og:site_name" content="Dawid Zbiński // Developer by default">
<meta property="fb:admins" content="100000585915135">
<meta property="og:image" content="https://zbinski.dev/assets/images/og-image.jpg">
<!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png">
<!-- Google Consent Mode v2 — defaults BEFORE GTM -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('consent', 'default', {
'analytics_storage': 'denied',
'ad_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied',
'wait_for_update': 500,
'region': ['AT','BE','BG','CY','CZ','DE','DK','EE','ES','FI',
'FR','GR','HR','HU','IE','IT','LT','LU','LV','MT',
'NL','PL','PT','RO','SE','SI','SK','IS','LI','NO']
});
gtag('consent', 'default', {
'analytics_storage': 'granted',
'ad_storage': 'granted',
'ad_user_data': 'granted',
'ad_personalization': 'granted'
});
</script>
<!-- Google Tag Manager -->
<script>(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({
'gtm.start':
new Date().getTime(), event: 'gtm.js'
});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-MCQ3DZZ8');</script>
<!-- End Google Tag Manager -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MCQ3DZZ8"
height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
<canvas id="particles" aria-hidden="true"></canvas>
<div id="noise" aria-hidden="true"></div>
<div class="settings" role="toolbar" aria-label="Settings">
<button id="btn-theme" type="button" aria-label="Toggle light/dark theme" title="Toggle theme">
<svg class="icon-sun" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="5"/>
<line x1="12" y1="1" x2="12" y2="3"/>
<line x1="12" y1="21" x2="12" y2="23"/>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/>
<line x1="1" y1="12" x2="3" y2="12"/>
<line x1="21" y1="12" x2="23" y2="12"/>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/>
</svg>
<svg class="icon-moon" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/>
</svg>
</button>
<button id="btn-sound" type="button" aria-label="Toggle sound effects" title="Toggle sound">
<svg class="icon-sound-on" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"/>
<path d="M19.07 4.93a10 10 0 0 1 0 14.14"/>
<path d="M15.54 8.46a5 5 0 0 1 0 7.07"/>
</svg>
<svg class="icon-sound-off" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"/>
<line x1="23" y1="9" x2="17" y2="15"/>
<line x1="17" y1="9" x2="23" y2="15"/>
</svg>
</button>
</div>
<div id="page-wrap">
<!-- MAIN MENU -->
<section id="screen-main" class="screen active" aria-label="Main menu">
<div class="screen-inner main-layout">
<header class="main-header">
<h1 class="title">Dawid Zbinski</h1>
<p class="subtitle">Frontend Engineering Lead</p>
<div class="contact-links">
<a href="mailto:dawid@zbinski.dev" aria-label="Email dawid@zbinski.dev">dawid@zbinski.dev</a>
<a href="https://github.com/flyrell" target="_blank" rel="noopener noreferrer"
aria-label="GitHub profile">GitHub</a>
<a href="https://www.linkedin.com/in/dawidzbinski/" target="_blank" rel="noopener noreferrer"
aria-label="LinkedIn profile">LinkedIn</a>
<a href="https://x.com/davezbinski" target="_blank" rel="noopener noreferrer"
aria-label="X profile">X</a>
<a href="https://buymeacoffee.com/dawidzbinski" target="_blank" rel="noopener noreferrer"
aria-label="Buy me a Coffee">Buy me a Coffee</a>
</div>
</header>
<nav class="menu" role="menu" aria-label="Main navigation">
<button class="menu-item focused" role="menuitem" data-screen="screen-singleplayer">
<span class="cursor" aria-hidden="true">▶</span>
<span class="label">Singleplayer <span class="menu-hint">(Freelance)</span></span>
<span class="menu-item-desc">Freelance quests and side projects I've shipped solo.</span>
</button>
<button class="menu-item" role="menuitem" data-screen="screen-multiplayer">
<span class="cursor" aria-hidden="true">▶</span>
<span class="label">Multiplayer <span class="menu-hint">(Career)</span></span>
<span class="menu-item-desc">The career timeline — every team I've been part of.</span>
</button>
<button class="menu-item" role="menuitem" data-screen="screen-credits">
<span class="cursor" aria-hidden="true">▶</span>
<span class="label">Credits <span class="menu-hint">(Open Source)</span></span>
<span class="menu-item-desc">Open source contributions and community achievements.</span>
</button>
<button class="menu-item" role="menuitem" data-screen="screen-upcoming">
<span class="cursor" aria-hidden="true">▶</span>
<span class="label">Upcoming</span>
<span class="menu-item-desc">Projects currently in development — stay tuned.</span>
</button>
<button class="menu-item" role="menuitem" data-screen="screen-blog">
<span class="cursor" aria-hidden="true">▶</span>
<span class="label">Blog</span>
<span class="menu-item-desc">Random no filter dev thoughts & news.</span>
</button>
<button class="menu-item" role="menuitem" data-action="cv">
<span class="cursor" aria-hidden="true">▶</span>
<span class="label">Player Stats <span class="menu-hint">(CV)</span></span>
<span class="menu-item-desc">My stats, skills, and achievements — in PDF form.</span>
</button>
<button class="menu-item" role="menuitem" data-action="exit">
<span class="cursor" aria-hidden="true">▶</span>
<span class="label">Exit Game</span>
<span class="menu-item-desc">Shut it all down. CRT style.</span>
</button>
</nav>
<footer class="keyboard-hints">
<span><kbd>↑</kbd><kbd>↓</kbd> Navigate</span>
<span><kbd>Enter</kbd> Select</span>
<span><kbd>Esc</kbd> Back</span>
</footer>
</div>
</section>
<!-- SINGLEPLAYER (Freelance) -->
<section id="screen-singleplayer" class="screen" aria-label="Singleplayer — Freelance projects">
<div class="screen-inner">
<button class="back-btn" type="button" aria-label="Back to main menu">
<span aria-hidden="true">◀</span> Back
</button>
<h2 class="screen-title">Singleplayer</h2>
<p class="screen-subtitle">Freelance quests completed solo</p>
<div class="quest-grid">
<article class="quest-card">
<h3>3D Configurators</h3>
<p>Proprietary Three.js software for interactive product configuration. Custom model loading
pipeline with real-time hot-swapping, material editing, and dynamic camera controls.</p>
<span class="quest-tag">Three.js</span>
<span class="quest-tag">WebGL</span>
</article>
<article class="quest-card">
<h3>360° Virtual Showrooms</h3>
<p>Modern Marzipano wrapper delivering immersive 360° environments with VR support, spatial
audio, interactive hotspots, and seamless transitions between scenes.</p>
<span class="quest-tag">Marzipano</span>
<span class="quest-tag">WebVR</span>
</article>
<article class="quest-card">
<h3>Image-processing 3D Model Illusion</h3>
<p>Transforms standard photographs into convincing 3D-like visuals using depth maps, parallax
layering, and GPU-accelerated image processing in the browser.</p>
<span class="quest-tag">Canvas</span>
<span class="quest-tag">WebGL</span>
</article>
<article class="quest-card">
<h3>Maffia</h3>
<p>The party game of Mafia with no game master. One room, one phone each — the app deals the
roles in secret and every phone speaks the same narration at once, so nothing gives you away.
Peer-to-peer over WebRTC with a Go signaling server and a React Native client, live on the App
Store and Google Play.</p>
<span class="quest-tag">Golang</span>
<span class="quest-tag">React Native</span>
<span class="quest-tag">WebRTC</span>
<a href="https://maffia.app" target="_blank" rel="noopener noreferrer" class="quest-link">Visit
maffia.app →</a>
</article>
</div>
</div>
</section>
<!-- MULTIPLAYER (Career) -->
<section id="screen-multiplayer" class="screen" aria-label="Multiplayer — Career timeline">
<div class="screen-inner">
<button class="back-btn" type="button" aria-label="Back to main menu">
<span aria-hidden="true">◀</span> Back
</button>
<h2 class="screen-title">Multiplayer</h2>
<p class="screen-subtitle">Career co-op timeline</p>
<div class="timeline">
<article class="timeline-entry">
<span class="timeline-date">April 2025 — Present</span>
<h3>Frontend Engineering Lead</h3>
<p class="timeline-company">Aristone</p>
<p>Leading a team of fullstack engineers building visually polished, highly functional mobile and
web school & learning management systems. Working closely with business and designers to set
new standards and deliver solutions that create meaningful change in the education industry.</p>
<span class="quest-tag">React Native</span>
<span class="quest-tag">Tailwind</span>
<span class="quest-tag">React</span>
<span class="quest-tag">Node.js</span>
<span class="quest-tag">Nest.js</span>
<span class="quest-tag">Golang</span>
<span class="quest-tag">AWS</span>
</article>
<article class="timeline-entry">
<span class="timeline-date">April 2024 — March 2025</span>
<h3>Senior Software Engineer</h3>
<p class="timeline-company">IP Fabric</p>
<p>Contributed to the backend development of IP Fabric's network assurance platform, focusing on
core functionality and the public API. Designed and implemented scalable, high-quality solutions
using Node.js, ensuring seamless integration with client systems and supporting the platform's
mission to redefine network automation in enterprise environments.</p>
<span class="quest-tag">Node.js</span>
<span class="quest-tag">Express</span>
<span class="quest-tag">React</span>
<span class="quest-tag">WebSockets</span>
</article>
<article class="timeline-entry">
<span class="timeline-date">September 2021 — March 2024</span>
<h3>Senior Software Engineer</h3>
<p class="timeline-company">Betsys</p>
<p>Delivered a high-quality backoffice application with strong test coverage, e2e tests, strict code
standards, and minimal technical debt. After the company's restructuring, took on
security-critical work including document verification logic and a new Login API spread across
the entire ecosystem with improved security standards and better scaling.</p>
<span class="quest-tag">Node.js</span>
<span class="quest-tag">Nest.js</span>
<span class="quest-tag">Angular</span>
<span class="quest-tag">PostgreSQL</span>
<span class="quest-tag">WebSockets</span>
<span class="quest-tag">SSE</span>
</article>
<article class="timeline-entry">
<span class="timeline-date">October 2019 — July 2021</span>
<h3>Senior Software Engineer</h3>
<p class="timeline-company">Drivvn</p>
<p>Created and maintained core applications for automotive projects running on Drivvn software. Our
biggest client, the PSA Group, was expanding e-commerce services to Italy, France, Spain, and
the UK — creating major challenges in software architecture and scalability.</p>
<span class="quest-tag">PHP</span>
<span class="quest-tag">Symfony</span>
<span class="quest-tag">React</span>
</article>
<article class="timeline-entry">
<span class="timeline-date">January 2017 — July 2019</span>
<h3>Web Developer</h3>
<p class="timeline-company">Bistro.sk</p>
<p>Reworked most frontend and backend services, migrating from a legacy proprietary framework to a
standard REST API built on Symfony. Led the frontend transition to Vue.js — achieved gradually
using Web Components — and set up CI/CD pipelines and Docker across the project.</p>
<span class="quest-tag">PHP</span>
<span class="quest-tag">Symfony</span>
<span class="quest-tag">Vue.js</span>
<span class="quest-tag">Docker</span>
</article>
</div>
</div>
</section>
<!-- CREDITS (Open Source) -->
<section id="screen-credits" class="screen" aria-label="Credits — Open source">
<div class="screen-inner">
<button class="back-btn" type="button" aria-label="Back to main menu">
<span aria-hidden="true">◀</span> Back
</button>
<h2 class="screen-title">Credits</h2>
<p class="screen-subtitle">Open source achievements unlocked</p>
<div class="credits-grid">
<article class="credit-card">
<h3>shortr</h3>
<p>Self-hosted URL shortener and QR code generator in one ~15 MB container. No accounts, no
tracking, no ads — every link expires. Memory, file or Redis storage behind a single
adapter interface. Go + a plain TypeScript client.</p>
<a href="https://github.com/Flyrell/shortr" target="_blank" rel="noopener noreferrer"
class="credit-link">View on GitHub →</a>
</article>
<article class="credit-card">
<h3>hourgit</h3>
<p>Git-integrated time tracking for developers. Automatic work-hour attribution from branch checkouts and reflog analysis — no timers, no manual input. Just code.</p>
<a href="https://github.com/Flyrell/hourgit" target="_blank" rel="noopener noreferrer"
class="credit-link">View on GitHub →</a>
</article>
<article class="credit-card">
<h3>axios-auth-refresh</h3>
<p>Automatic token-refresh plugin for Axios. Intercepts 401 responses, queues failed requests,
refreshes OAuth tokens, and retries them seamlessly.</p>
<a href="https://github.com/Flyrell/axios-auth-refresh" target="_blank" rel="noopener noreferrer"
class="credit-link">View on GitHub →</a>
</article>
<article class="credit-card">
<h3>html-attribute-folder</h3>
<p>IntelliJ IDE plugin for collapsing verbose HTML attributes. Reduces visual clutter in
template-heavy files with one-click folding.</p>
<a href="https://github.com/flyrell/html-attribute-folder" target="_blank"
rel="noopener noreferrer" class="credit-link">View on GitHub →</a>
</article>
<article class="credit-card">
<h3>Image Processing in JS</h3>
<p>Tech talks and companion libraries exploring real-time image manipulation in the browser using
Canvas and WebGL.</p>
<a href="https://www.youtube.com/watch?v=NZsi5E_uhTY" target="_blank" rel="noopener noreferrer" class="credit-link">View
on YouTube →</a>
</article>
</div>
</div>
</section>
<!-- UPCOMING -->
<section id="screen-upcoming" class="screen" aria-label="Upcoming — In development">
<div class="screen-inner">
<button class="back-btn" type="button" aria-label="Back to main menu">
<span aria-hidden="true">◀</span> Back
</button>
<h2 class="screen-title">Upcoming</h2>
<p class="screen-subtitle">Currently in development</p>
<div class="upcoming-grid">
<article class="upcoming-card">
<h3>Layiso</h3>
<p>macOS screen recording with multi-stream support. Capture individual windows, audio sources, and
camera feeds as separate layers, then composite in post. Built with Swift and AVFoundation.</p>
<div class="loading-bar" aria-label="Development progress">
<div class="loading-fill" style="--progress: 65%"></div>
</div>
<span class="loading-label">Almost Beta — 65%</span>
</article>
</div>
</div>
</section>
<!-- BLOG -->
<section id="screen-blog" class="screen" aria-label="Blog">
<div class="screen-inner">
<button class="back-btn" type="button" aria-label="Back to main menu">
<span aria-hidden="true">◀</span> Back
</button>
<h2 class="screen-title">Blog</h2>
<article class="blog-post">
<h3 class="blog-post-title">Building shortr: Short Links Without the Tracking, Ads, or Sign-up</h3>
<time class="blog-date" datetime="2026-09-09">September 9, 2026</time>
<div class="blog-body">
<p>It started with a hiking route. I wanted to send a friend a trail on Skye and the link was well over a hundred characters of <code>?ref=</code>, <code>t_s=referral</code> and <code>t_cid=route_share</code> glued to the end of it. Every link I share these days looks like that. Someone else's marketing department riding along in my message. So I did what everyone does and pasted it into a URL shortener. Sign up first. Then a dashboard. Then click analytics I never asked for, an interstitial with an ad, and a short domain I don't control that will happily die or start redirecting somewhere else the day the company pivots. I got mad enough to build my own.</p>
<p>The requirements were short. One URL in, one short link out, a QR code for the same link, and absolutely nothing else. No accounts, no cookies, no analytics, no ads. Links expire on their own so there is never anything to prune. And it has to run anywhere with one command, because the whole point is that you host it, not me.</p>
<p>shortr is a Go 1.27 API on Fiber v3 that serves the JSON endpoints, the redirects and a plain TypeScript client bundled by esbuild. One binary, one image. The image is distroless, around 15 MB, built for amd64, arm64 and armv7, so it runs on a VPS as well as on the Raspberry Pi in the drawer. <code>docker run -d -p 8080:8080 dawidzbinski/shortr:latest</code> and you're done. The client is one page with two tabs, Shorten URL and QR code. It remembers which one you used last, the result is copied to your clipboard the moment it appears (the QR as a PNG), and the whole thing works from the keyboard.</p>
<p>Privacy is the reason it exists, so it's the part I spent the most time on. Codes are 12 characters from <code>crypto/rand</code>, drawn without modulo bias, roughly 71 bits, so nobody can enumerate your links. Every response carries <code>noindex, nofollow, noarchive</code>, robots.txt disallows everything, and known crawlers get a 403 on the client and the API. Strict CSP, no inline scripts, no external requests at runtime, fonts self-hosted. The API is rate limited per client IP; the redirects never are, because a link that stops working under load is worse than no link at all.</p>
<p>Storage sits behind one interface with four methods: <code>SaveURL</code>, <code>FindURL</code>, <code>Ping</code>, <code>Close</code>. Each adapter validates its own environment variables, so the core config knows nothing but the adapter's name, and adding a new backend is one file plus one case in a switch. Three ship today. <code>memory</code> is the default and keeps links in the process, perfect for trying it out and for a container you don't mind restarting. <code>redis</code> writes <code>url:<code></code> with <code>SET NX EX</code> and lets Redis own the expiry, which is what you want when running more than one replica. And <code>file</code>, which is the one with a story.</p>
<p>I deployed the memory adapter to my own server, shortened a handful of links, and then redeployed. The links were gone, obviously. My first instinct was to snapshot memory to a mounted file every few seconds, a backup for the in-memory map. Then I asked myself why the links had to live in RAM at all. I briefly considered SQLite, since it's basically the same problem and I didn't want to reinvent a database. But the popular driver needs cgo, which kills the static distroless build, and the pure Go port adds several megabytes to a binary that is currently tiny, all for a query language I would use on a single-key lookup. bbolt won. It's a pure Go B+tree in a single file, a lookup reads exactly one key without touching the rest of the file, every shorten is one transaction that is durable the moment it returns, and the database is opened under an exclusive lock so a second process fails fast instead of corrupting it. Mount a volume on <code>/data</code>, set <code>URL_PERSISTER=file</code>, and your links now survive restarts without a Redis next to them. While I was at it I replaced the raw JSON 404 for expired links with a proper page, because the first thing people see from your shortener should not be an error blob.</p>
<p>Releases are boring on purpose. Every commit that lands on main and passes CI gets tagged, released and pushed to Docker Hub as a multi-arch image. The version comes from the commit subjects since the last tag: <code>feat</code> bumps minor, <code>breaking</code> bumps major, everything else is a patch. I never push an image by hand.</p>
<p>What's next: a Postgres adapter is the obvious candidate, and the interface makes it a small job. Otherwise the plan is to keep it small. A URL shortener that grows features is how you end up with the thing I was running away from.</p>
<p>It's free for noncommercial use under the PolyForm Noncommercial license. Check it out on <a href="https://github.com/Flyrell/shortr" target="_blank" rel="noopener noreferrer">GitHub</a>, read the docs at <a href="https://flyrell.github.io/shortr/" target="_blank" rel="noopener noreferrer">flyrell.github.io/shortr</a>, or grab the image from <a href="https://hub.docker.com/r/dawidzbinski/shortr" target="_blank" rel="noopener noreferrer">Docker Hub</a>.</p>
</div>
</article>
<article class="blog-post">
<h3 class="blog-post-title">Building hourgit: From Post-checkout Hooks to Reflog Parsing</h3>
<time class="blog-date" datetime="2026-03-03">March 3, 2026</time>
<div class="blog-body">
<p>Like many devs, I forget to log daily activities. End of the month comes and I'm scratching my head trying to remember what I worked on three Tuesdays ago. It started as a simple branch-tracking tool — just to remember what I was doing each day. Then I realized: why not keep all hours logged locally in a git-like format and export them at the end of each month?</p>
<p>My first approach was post-checkout hooks with custom commits. Every time you switched branches, a hook would fire and create a tracking commit. Seemed clever until I learned post-checkout hooks are unreliable — they don't fire on all checkouts, can be skipped entirely, and conflict with other hooks people already have set up. Dead end.</p>
<p>Then it hit me: git reflog already records every checkout. Every single one. The data was always there — I just needed to parse it. The pivot to reflog parsing changed everything. More reliable, zero setup friction, no hook conflicts. You install hourgit, and it works with your existing repos immediately.</p>
<p>The current trade-off is memory. I haven't found the optimal fs reading approach yet, so all entries load into memory. But I benchmarked it and ~10,000 entries come out to roughly 200KB with the fs read taking about 0.3–0.5s. Good enough for now. I'll optimize when it actually becomes a problem.</p>
<p>What it can do today: automatic time attribution from checkouts, manual logging for meetings and standups, interactive reports with inline editing (vim-like hjkl navigation), multi-project support with per-project schedules (including rrules), PDF export, shell completions, and full cross-platform support.</p>
<p>What's next: rounding logged time to configurable intervals, using commits between checkouts as time block descriptions for better context, and export integrations to Jira, Tempo, and Clockify.</p>
<p>It's free, GPLv3. Check it out on <a href="https://github.com/Flyrell/hourgit" target="_blank" rel="noopener noreferrer">GitHub</a> or visit <a href="https://hourgit.com" target="_blank" rel="noopener noreferrer">hourgit.com</a>.</p>
</div>
</article>
</div>
</section>
</div>
<div id="crt-overlay" aria-hidden="true">
<p class="crt-message">Thanks for playing.</p>
</div>
<div id="consent-banner" class="consent-banner" role="dialog" aria-label="Cookie consent">
<p class="consent-text">I want to know that you were here and what you did here. Do you consent with that?</p>
<div class="consent-actions">
<button id="consent-no" type="button">No</button>
<button id="consent-yes" type="button">Yes</button>
</div>
</div>
<script src="script.js?v=__VERSION__"></script>
</body>
</html>