[{"data":1,"prerenderedAt":284},["ShallowReactive",2],{"api:\u002Fapi\u002Fconfig:en":3,"api:\u002Fapi\u002Fprofile:":8,"api:\u002Fapi\u002Fcategories:en":19,"api:\u002Fapi\u002Fprojects\u002Fhook-relay:en":177,"api:\u002Fapi\u002Fnotes:en":233},{"email":4,"lang":5,"name":6,"role":7},"djrciv@gmail.com","en","Ewsirdev","Web developer: websites, landing pages and Go services",{"name":6,"handle":6,"contacts":9,"note":18},{"email":10,"github":12,"telegram":15},{"url":11,"label":4},"mailto:djrciv@gmail.com",{"url":13,"label":14},"https:\u002F\u002Fgithub.com\u002Fewsir247","github.com\u002Fewsir247",{"url":16,"label":17},"https:\u002F\u002Ft.me\u002FEwsirdev","@Ewsirdev","Contacts: Telegram, GitHub, email. This file is the single source of contacts for the site, the contact block, JSON-LD sameAs, security.txt and llms.txt.",[20,49,80,108,144],{"slug":21,"title":22,"blurb":23,"variant":24,"palette":25,"layout":26,"count":27,"preview":28,"stack":44},"landings","Landing pages","One page, one job. Hand-written markup where possible, plus one WebGL experiment.","drop","ice","shots",6,[29,34,39],{"slug":30,"title":31,"shot":32,"hue":33},"landing-studio","Halftone: lighting studio","\u002Fshots\u002Flanding-studio-desktop-sm.webp",212,{"slug":35,"title":36,"shot":37,"hue":38},"landing-saas","Kill Switch: subscription tracker","\u002Fshots\u002Flanding-saas-desktop-sm.webp",182,{"slug":40,"title":41,"shot":42,"hue":43},"landing-event","Small Scale: conference","\u002Fshots\u002Flanding-event-desktop-sm.webp",124,[45,46,47,48],"CSS","HTML","GitHub Actions","JS",{"slug":50,"title":51,"blurb":52,"variant":53,"palette":54,"layout":55,"count":56,"langs":57,"preview":61,"stack":77},"sites","Multi-page sites","Sites with their own structure, routing and forms: from a client project to a set of niche pages.","merge","violet","frames",8,[58],{"lang":59,"count":60},"TypeScript",5,[62,67,72],{"slug":63,"title":64,"shot":65,"hue":66},"legal-multipage-site","Multi-page legal services website","\u002Fshots\u002Flegal-multipage-site-desktop-sm.webp",250,{"slug":68,"title":69,"shot":70,"hue":71},"niche-landings","Catalog of 10 niche demo landing pages","\u002Fshots\u002Fniche-landings-desktop-sm.webp",32,{"slug":73,"title":74,"shot":75,"hue":76},"docs-engine","Sverlo: a documentation generator in Node.js","\u002Fshots\u002Fdocs-engine-desktop-sm.webp",25,[47,59,78,79],"Cloudflare Pages","axe",{"slug":81,"title":82,"blurb":83,"variant":84,"palette":85,"layout":86,"count":27,"langs":87,"preview":90,"stack":105},"apps","Web apps","Apps you use: with a server, auth and e-mail, or offline-first PWAs where the data stays in the browser.","torus","mint","phone",[88],{"lang":59,"count":89},4,[91,96,101],{"slug":92,"title":93,"shot":94,"hue":95},"bad-club-booking-app","Bad Club: seat booking for a gaming coworking space","\u002Fshots\u002Fbad-club-booking-app-desktop-sm.webp",150,{"slug":97,"title":98,"shot":99,"hue":100},"typing-lab","typing-lab: a touch-typing trainer","\u002Fshots\u002Ftyping-lab-desktop-sm.webp",45,{"slug":102,"title":103,"shot":104,"hue":100},"budget-split","budget-split: shared expense tracker","\u002Fshots\u002Fbudget-split-desktop-sm.webp",[59,106,79,107],"Vite","vitest",{"slug":109,"title":110,"blurb":111,"variant":112,"palette":113,"layout":114,"count":115,"langs":116,"preview":125,"stack":141},"backend","Backends","Services with an API, a database and tests: in Go, Rust, Python and TypeScript. A language filter sits inside the section.","crystal","steel","list",24,[117,120,122,124],{"lang":118,"count":119},"Go",12,{"lang":121,"count":89},"Python",{"lang":123,"count":89},"Rust",{"lang":59,"count":89},[126,131,136],{"slug":127,"title":128,"shot":129,"hue":130},"kanban-tasks","Amber: kanban board","\u002Fshots\u002Fkanban-tasks-desktop-sm.webp",344,{"slug":132,"title":133,"shot":134,"hue":135},"link-shortener","Short: link shortener","\u002Fshots\u002Flink-shortener-desktop-sm.webp",111,{"slug":137,"title":138,"shot":139,"hue":140},"booking-slots","Appointment booking","\u002Fshots\u002Fbooking-slots-desktop-sm.webp",65,[142,47,143,118],"Docker","SQLite",{"slug":145,"title":146,"blurb":147,"variant":148,"palette":149,"layout":150,"count":27,"langs":151,"preview":158,"stack":174},"cli","CLI tools","Terminal programs: one binary, clear flags, an exit code you can check in a script.","swarm","champagne","terminal",[152,154,156,157],{"lang":118,"count":153},3,{"lang":121,"count":155},1,{"lang":123,"count":155},{"lang":59,"count":155},[159,164,169],{"slug":160,"title":161,"shot":162,"hue":163},"gitpulse","GitPulse: git repository analytics","\u002Fshots\u002Fgitpulse-desktop-sm.webp",7,{"slug":165,"title":166,"shot":167,"hue":168},"logslice","logslice: log analysis with no dependencies","\u002Fshots\u002Flogslice-desktop-sm.webp",160,{"slug":170,"title":171,"shot":172,"hue":173},"envguard","envguard: a linter and a safe for .env files","\u002Fshots\u002Fenvguard-desktop-sm.webp",35,[47,175,142,176],"CLI","stdlib only",{"slug":178,"title":179,"type":109,"category":109,"lang":123,"live_url":180,"stack":181,"description":189,"highlights":190,"run":195,"hue":196,"og":197,"shots":198,"case":206,"case_lang":5,"prev":227,"next":230},"hook-relay","hook-relay: webhook delivery","https:\u002F\u002Fhook-relay.ewsir.space",[123,182,183,143,184,185,186,187,188,142,47],"axum","tokio","HMAC-SHA256","SSRF","proptest","musl","distroless","A webhook delivery service in Rust: it accepts an event, signs it with HMAC-SHA256, sends it to the receiver and does not lose it. On failure it retries with exponential backoff and jitter, after the attempt limit it parks the delivery in a dead-letter state where it can be requeued by hand. The receiver address is checked for SSRF after DNS: every resolved address must be public. Idempotent by Idempotency-Key, state in SQLite.",[191,192,193,194],"SSRF check after DNS resolution: loopback, private, link-local, CGNAT, ULA, IPv4-mapped, NAT64 and 6to4 are blocked","An HMAC signature over \"t.body\" with a secret per receiver; retries with jitter, dead-letter, manual retry","20 tests, including proptest: the signature fails after changing any byte, any private IPv4 is blocked","A 14.4 MB image; 3.5 MiB idle, 5.5 MiB after 200 events with real delivery","cd hook-relay && cargo run --release",28,"\u002Fog\u002Fen\u002Fhook-relay.jpg",{"desktop":199,"desktop_sm":200,"mobile":201,"dw":202,"dh":203,"mw":204,"mh":205},"\u002Fshots\u002Fhook-relay-desktop.webp","\u002Fshots\u002Fhook-relay-desktop-sm.webp","\u002Fshots\u002Fhook-relay-mobile.webp",1280,800,390,844,{"about":207,"features":210,"run":217,"notes":222},[208,209],"The task: deliver webhooks so that an event is not lost, the receiver can verify authenticity, and the service itself cannot be used to reach an internal network.","The solution: Rust (axum + tokio + SQLite). The body is signed with HMAC-SHA256 over the string \"t.body\" using the receiver's secret; on failure delivery retries with exponential backoff and jitter and after the limit goes to dead-letter. The receiver address is resolved through DNS and every resulting address must be public.",[211,212,213,214,215,216],"SSRF: loopback, private, link-local, CGNAT, documentation, ULA, IPv4-mapped, NAT64 and 6to4 with an embedded private address are blocked; checked at registration and on every delivery","Retries: network errors, 5xx, 408 and 429; other 4xx are a final refusal; manual requeue from dead-letter","Idempotency by Idempotency-Key: a repeat returns the earlier delivery and does not send the event again","After a crash restart in-flight deliveries return to the queue; graceful shutdown waits up to 15 s","20 tests; proptest: the signature fails after changing any byte, any private IPv4 and its IPv4-mapped form are blocked","Result: a 14.4 MB image, 3.5 MiB idle and 5.5 MiB after 200 events with real delivery to a receiver",[218,219,220,221],"git clone \u003Crepository on request> hook-relay","cd hook-relay","DATA_DIR=.\u002Fdata cargo run --release","# http:\u002F\u002Flocalhost:8113",[223,224,225,226],"At-least-once delivery: the receiver must be idempotent (X-Relay-Delivery-Id).","Receiver secrets are stored in the database in plain text and never returned in API lists.","The receiver response body is not read or stored.","The project runs on a small VPS with demo data: no redundancy or backups.",{"slug":228,"title":229},"rate-gate","rate-gate: a request rate limiter",{"slug":231,"title":232},"flag-store","flag-store: feature flags with percentage rollout",[234,241,246,251,256,260,264,269,274,279],{"slug":235,"lang":5,"title":236,"date":237,"summary":238,"project":239,"minutes":240},"csp-no-inline-nuxt","CSP without inline scripts: what had to be switched off in Nuxt","2026-10-30","Why a strict script-src self policy breaks static Nuxt, which three steps made the site compatible, and the build check that keeps it so.","landscape-bureau-nuxt",2,{"slug":242,"lang":5,"title":243,"date":237,"summary":244,"project":245,"minutes":240},"hash-chain-tail-truncation","A hash-chained journal: what it catches and what it does not","How ledger-core builds a SHA-256 chain and checks it through \u002Fv1\u002Fverify, why tampering in the middle shows but tail truncation does not.","ledger-core",{"slug":247,"lang":5,"title":248,"date":237,"summary":249,"project":250,"minutes":240},"qr-from-scratch","A QR code from scratch: Reed-Solomon, masks and proving it right","How a zero-dependency QR encoder in TypeScript is built, and four independent ways to check that the matrix is correct.","qr-svg",{"slug":252,"lang":5,"title":253,"date":237,"summary":254,"project":255,"minutes":240},"sm2-day-boundaries","SM-2 and day boundaries: why the schedule is stored as dates","How flashcards-sm2 and habit-tracker avoid shifts from time zones and daylight saving: dates instead of timestamps and a movable day boundary.","flashcards-sm2",{"slug":257,"lang":5,"title":258,"date":237,"summary":259,"project":178,"minutes":240},"ssrf-after-dns","SSRF in webhooks: checking the address after DNS","Why a webhook delivery service checks the addresses after DNS resolution, not the URL string, and how hook-relay connects to the very address it checked.",{"slug":261,"lang":5,"title":262,"date":237,"summary":263,"project":228,"minutes":240},"token-bucket-integers","A token bucket on integers: what property tests check","How rate-gate computes a token bucket without floats, why milli-tokens, and which three properties the proptest property tests prove.",{"slug":265,"lang":5,"title":266,"date":267,"summary":268,"project":137,"minutes":155},"double-booking","Double booking: a transaction plus a partial UNIQUE index","2026-10-20","How booking-slots protects against two clients booking the same time at once, and how that protection is tested.",{"slug":270,"lang":5,"title":271,"date":267,"summary":272,"project":273,"minutes":240},"lease-and-fencing","Lease and fencing: how a queue neither loses a job nor lets a zombie finish it twice","A worker can crash, stall, or wake up after its job was taken by someone else. How the lease and the lease token in job-queue deal with that on SQLite.","job-queue",{"slug":275,"lang":5,"title":276,"date":267,"summary":277,"project":278,"minutes":240},"p95-nearest-rank","p95 in an uptime monitor: the nearest-rank method and what it does not hide","How uptime-monitor computes p50\u002Fp95 latency and uptime, why the nearest-rank method was chosen, and where those numbers can mislead.","uptime-monitor",{"slug":280,"lang":5,"title":281,"date":267,"summary":282,"project":283,"minutes":240},"websocket-from-scratch","WebSocket on the standard library: what really happens under new WebSocket()","Why realtime-rooms has its own RFC 6455 layer, which protocol violations it checks, and why a library is still the better choice for production.","realtime-rooms",1793371810362]