[{"data":1,"prerenderedAt":279},["ShallowReactive",2],{"api:\u002Fapi\u002Fconfig:en":3,"api:\u002Fapi\u002Fprofile:":8,"api:\u002Fapi\u002Fcategories:en":19,"api:\u002Fapi\u002Fprojects\u002Flockweigh:en":177,"api:\u002Fapi\u002Fnotes:en":226},{"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":145,"category":145,"lang":59,"stack":180,"description":185,"highlights":186,"run":191,"hue":192,"og":193,"shots":194,"case":202,"case_lang":5,"prev":223},"lockweigh","lockweigh: \"weighs\" a lock file",[59,181,182,183,184,107,47],"Node.js","esbuild","Node SEA","YAML parser","A TypeScript CLI with no runtime dependencies: it reads package-lock.json (v2, v3), pnpm-lock.yaml (v9) and yarn.lock (classic v1) and shows how many packages a project has, who pulls duplicate versions, which subtrees are heaviest, where install scripts are and which licences, plus why a package is in the project (why) and what changed between two lock files (diff). The parsers, including a YAML subset, are written from scratch. It works offline and executes nothing.",[187,188,189,190],"npm, pnpm and yarn in one report; on the express fixture: 73 packages, graph depth 7, 2 duplicate versions","The why command (every path from the root) and diff of two lock files; exit codes for CI with thresholds","One esbuild bundle and a single executable through Node SEA","77 vitest tests; no runtime dependencies, so the supply chain is dev tooling only","cd lockweigh && npm ci && npm run build && node dist\u002Flockweigh.cjs --help",340,"\u002Fog\u002Fen\u002Flockweigh.jpg",{"desktop":195,"desktop_sm":196,"mobile":197,"dw":198,"dh":199,"mw":200,"mh":201},"\u002Fshots\u002Flockweigh-desktop.webp","\u002Fshots\u002Flockweigh-desktop-sm.webp","\u002Fshots\u002Flockweigh-mobile.webp",1280,800,390,844,{"about":203,"features":206,"run":213,"notes":218},[204,205],"The task: quickly see what a project's dependency tree really consists of, without running anything from it and without a network.","The solution: TypeScript with no runtime dependencies. Parsers for package-lock.json (v2, v3), pnpm-lock.yaml (v9, with a YAML subset) and yarn.lock (v1) are written from scratch; one esbuild bundle and a single executable through Node SEA.",[207,208,209,210,211,212],"A summary: package count, unique versions and names, direct dependencies, prod\u002Fdev\u002Foptional, graph depth by the shortest path","Duplicate versions with who pulls which; heavy subtrees; install scripts and \"native\" packages (a heuristic, marked as such)","The why command: every path from the root to a package with a step budget; the diff command for two lock files","A real run on the express fixture (npm install express cors morgan): 73 packages, depth 7, 2 duplicate versions (debug 2.6.9 and 4.4.3)","77 vitest tests; exit codes for CI with thresholds on package count, duplicates and install scripts","CI runs npm audit and gitleaks; builds for Windows, Linux and macOS are uploaded as artifacts",[214,215,216,217],"git clone \u003Crepository on request> lockweigh","cd lockweigh","npm ci && npm run build","node dist\u002Flockweigh.cjs package-lock.json --top 5",[219,220,221,222],"Real npm lock files hold almost no package sizes, so the size ranking is usually unavailable and honestly marked.","package-lock v1, pnpm before v9, Yarn Berry and bun.lock are unsupported.","In graphs above 20,000 packages the subtree ranking covers only direct dependencies.","A learning project: not published to npm.",{"slug":224,"title":225},"sqlcsv","sqlcsv: SQL queries over CSV from the command line",[227,234,239,244,249,254,259,264,269,274],{"slug":228,"lang":5,"title":229,"date":230,"summary":231,"project":232,"minutes":233},"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":235,"lang":5,"title":236,"date":230,"summary":237,"project":238,"minutes":233},"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":240,"lang":5,"title":241,"date":230,"summary":242,"project":243,"minutes":233},"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":245,"lang":5,"title":246,"date":230,"summary":247,"project":248,"minutes":233},"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":250,"lang":5,"title":251,"date":230,"summary":252,"project":253,"minutes":233},"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.","hook-relay",{"slug":255,"lang":5,"title":256,"date":230,"summary":257,"project":258,"minutes":233},"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.","rate-gate",{"slug":260,"lang":5,"title":261,"date":262,"summary":263,"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":265,"lang":5,"title":266,"date":262,"summary":267,"project":268,"minutes":233},"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":270,"lang":5,"title":271,"date":262,"summary":272,"project":273,"minutes":233},"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":275,"lang":5,"title":276,"date":262,"summary":277,"project":278,"minutes":233},"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",1793371810478]