DevIdiot!
Day 20: +69 downloads yesterday
Yesterday's downloads: 10,021 combined, +69 since yesterday.plumber-linter: 3,080 (+14)hexlens: 2,082 (+14)environmental-peek: 1,888 (+8)react-dismiss: 1,609 (+11)@parasraju/plumber-mcp: 1,362 (+22)That's 10,000 crossed β 21 past the goal.What shipped yesterday: nothing. Nov 30 was a study day ahead of today's exam, no publishes.What's shipping today: nothing β exam day. FLAT theory exam, 10amβ1pm. Shipping resumes tomorrow (Wed Dec 2): hexlens at 11am and environmental-peek at 9pm, per the plan
Engineering 60FPS 16-Ball Billiards Physics, Cushion Restitution & 1v1 Sync in HTML5 Canvas (8 Ball Pool Online)
Engineering 60FPS 16-Ball Billiards Physics, Cushion Restitution & 1v1 Sync in HTML5 CanvasBuilding a responsive browser billiards game sounds straightforward until a full-power break shot slams the cue ball into a tightly packed 15-ball triangle. At 60 FPS (16.67ms per frame), a fast cue ball moving 28+ pixels per frame will tunnel straight through neighboring balls, clip into corner pockets, or get wedged in overlapping rack geometry unless your collision solver uses sub-stepping and
I Stopped Asking Callers for `as const`. Const Type Parameters Do It.
A teammate's PR adds a new event to the bus your defineEvents() helper manages. It compiles clean. No red squiggle, no CI failure, no review comment. Three weeks later someone adds a switch over those event names, forgets a case, and TypeScript says nothing about it either β because by the time it reaches that switch, the type isn't 'login' | 'logout' | 'refresh' anymore. It's just string. It's been string since the PR that added the event, and nobody noticed.I'd seen this exact failure before β
How We Built 11 Browser-Only Security Tools Enforced by CSP: default-src 'none' and SHA-256 Script Hashes
Almost every "free online security tool" β JWT debuggers, PDF watermarkers, .env scanners, SSH key generators, QR generators β claims "we don't store your data".That is a privacy policy promise, not a technical guarantee. One third-party analytics script, CDN compromise, or accidental fetch() call can quietly ship your JWT payload, passport photo, or .env secrets off your device.When we built Keyrook's 11 Free Offline Security Tools, we decided the browser itself should enforce the offline guara
Stop Pasting Production JWTs Into Cloud Decoders: Decode Them Locally in 15 Lines of JS
A surprisingly common habit during API debugging is copying a live bearer token out of DevTools and pasting it into the first web JWT decoder from search results. Even if a site claims not to log tokens, sending active session credentials across the network is unnecessary risk. Decoding Base64URL Safely in Pure Browser JSA JWT is just three Base64URL-encoded segments separated by dots (header.payload.signature). You can inspect the header, claims, and exp timestamp locally without any exter
Playing a sound in only the left or right channel with the Web Audio API
A left/right speaker check needs one thing: a sound that comes out of exactly one channel. In the browser, the Web Audio API does this with a StereoPannerNode.const ctx = new AudioContext();function playSide(pan) { // -1 = left, 0 = both, 1 = right const osc = new OscillatorNode(ctx, { frequency: 440 }); const gain = new GainNode(ctx, { gain: 0.2 }); const panner = new StereoPannerNode(ctx, { pan }); osc.connect(gain).connect(panner).connect(ctx.destination); osc.start(); osc.stop
A Forgiving Speed, Distance and Time Calculator in JavaScript (It Reads "1h 25m")
The maths behind a speed, distance and time calculator fits on a sticky note: speed = distance / time. The hard part is the input. People type 1:25:30, 85 min, 1h 25m or 1.5h, and mix kilometres, miles and knots.This post builds a small solver that accepts all of those, converts everything to SI units internally, and gives the missing value back in the units the user chose. The approachNormalise every input to SI units: metres, seconds, metres per second.Solve for whichever of the three val
Web Audio visuals: calculate ring fades from event time, not frame count
A drum visualizer can feel late even when the two hits are on time. In a little Canvas sketch, we kept both sound onsets fixed and changed only how long each ring stayed visible. The result was an exactly predictable 70 ms of overlap, without moving a single audio event.Disclosure: written and coded with AI for Sonari Studio. This is an original synthetic timing example, not a Sonari product test or a claim about a physical display. Give the sound and the canvas one timelineThe example play
You can't keep gulab jamun in stock: modelling made-to-order products in an online store
Most e-commerce tutorials assume a warehouse. You have 40 units, you sell 40 units, you show "Out of stock".I built the online store for Marhaba Sweets & Bakers, a family sweets shop at Railbazar Chowk, Jhang, Pakistan, making mithai since 1960. Almost nothing there fits the warehouse model:Most sweets are made fresh each morning, and the kitchen can only make so many.Gift boxes spike around Eid and weddings.Many customers still pay cash when the box arrives.Staff aren't watching a dashboard
PixKit: a local toolkit for Brazilian Pix BR Code payloads
Pix is Brazil's instant payment system. The string you paste into a bank app β Copia e Cola β is a BR Code, an EMV payload with a CRC at the end. Getting that string wrong is easy: a bad CRC, a merchant name that overflows the 25-character ASCII limit, a city with an accent left in, or a key in the wrong shape.PixKit is a small MIT-licensed toolkit that builds, parses, and validates those payloads on your machine. It ships as a TypeScript library, a CLI, a stdio MCP server for coding agents, and
How to cache prerender-node responses in Redis without caching 500 errors
Your Express app runs prerender-node, and you want Redis to cache the rendered HTML without freezing temporary 500 or 504 errors for crawlers. Add a beforeRender hook that reads body and status with client.hmget, and an afterRender hook that only writes to Redis when prerender_res.statusCode matches 200, 302, or 404. Why a plain Redis string cache breaks status codesBy default, prerender-node intercepts crawler requests on your Node.js website. It calls the external Prerender Service for st
Draw a Route Line on Scroll: Build This Walking Tours Site with AI
This prompt was originally published by Websiteprompts.ai, and it's one of the most complete briefs I've seen for a local business site. It gives you the exact design system, typography, copy, and even the motion behavior for a walking tours company. What makes it stand out is the route line that draws itself on scroll, a clever way to show a walking route without a map. In this tutorial, I'll walk you through how to use this prompt in Bolt, v0, or Lovable to get a polished, production-ready sit
Acid Yellow Skate Shop Website: Build Kerbside with Bolt, v0 & Lovable
This prompt was originally published by Websiteprompts.ai, and it is one of the most complete and distinctive website prompts I have seen for a local business. The Kerbside skate shop brief goes far beyond a generic template. It gives you a full zine design system, exact colour values with contrast ratios, a signature deck wall component, and complete copy for every section. This prompt was originally published by Websiteprompts.ai, and it is one of the most complete and distinctive website prom
Put your Lovable, Bolt or v0 app on a .ng domain (and pay in naira)
An AI builder gets you to a working app fast, and then hands you a folder. Thisguide covers the part after the preview: getting that export onto a real URL youown. First, find out what you actually haveEvery one of these tools exports an ordinary JavaScript project. Openpackage.json and look at the scripts block β that single file decides how theapp deploys.cat package.jsonYou will be looking at one of two shapes.A static build. A Vite or Create React App project: build produces a folderof
I built a small no-server web app: 12 everyday answers become a story about your next 10 years
I'm not a developer. I built this small static app with AI because I wanted a birthday-card kind of toy: something that takes a dozen ordinary answers about your life and gives back a story you could read in two minutes.What it does: you answer 12 quick questions (work, housing, fixed costs, savings habits, spending, sleep, energy, relationships, what's worrying you lately, how you make decisions, personality type, one wish). It turns them into one connected story: how you got here, what this se
Your AI built the app. Here are two free tools to see β and fix β the holes it shipped with.
AI builders β AI Studio, Bolt, Lovable, Cursor β will happily generate a working app on top of Firestore rules that let anyone on the internet read, change, or delete your entire database. The most common one I keep seeing:match /{document=**} { allow read, write: if true; // your whole database, open}That is not a bug in your app. It is the default shape of what these tools produce when you ask for "a working app" and they optimise for "the demo works". I built two free tools so you can find t
Writing in Your Own Handwriting, Entirely in the Browser: How Inkcadence Works
π Technical report: Inkcadence: Browser-Only Personal Handwriting Rendering from Phone Photos with Classical Image Analysis and a Compact Character CNN (Zenodo, DOI 10.5281/zenodo.24689131) Β· Code: github.com/mafzalkalwardev/inkcadenceMost "write in my handwriting" tools send your samples to a server and run a neural network there. I wanted the opposite: a static web page that learns your handwriting from phone photos and never uploads them.That's Inkcadence (MIT). You give it photos of your wri
How I built a prompt injection scanner with Kiro CLI (Kiroween 2026)
I wrote this post as part of the Kiroween 2026 hackathon. The project is InjectGuard, built by Manadger Tech with Kiro. The problemAI agents read emails, web pages, support tickets and files. Attackers can hide instructions inside that content, for example "ignore all previous instructions" in an HTML comment, in zero-width characters, or in a base64 string. This is called indirect prompt injection. The agent reads it as if it were a normal instruction. What InjectGuard doesInjectGuard
I built a self-hosted client portal with React + Supabase. Here's how clients only see their own data
Every freelancer knows this message: "Hey, where are we on the project?"Followed closely by "Can you resend the logo file?" and "Did I already approve that?"I got tired of digging through email threads, so I built Ompaloom: a client portal I host myself. Each client gets a magic-link login and sees only their own projects, files, milestones, and messages. No monthly SaaS fee.The UI was the easy part. The hard part was making sure Client A can never see Client B's stuff. Here are the three pieces
Show DEV: Knock Twice β Open-Source, Self-Hosted Team & Customer Chat (.NET 10 + React)
Managing communication across a business often means juggling fragmented SaaS tools: one app for internal team channels, an expensive third-party platform for website live chat, and extra tools for confidential notes.Thatβs why I built Knock Twiceβan open-source, self-hosted messaging platform designed to bring team collaboration, customer support, and personal messaging together under one roof.Built with ASP.NET Core (.NET 10) on the back end and React on the front end, Knock Twice gives you to