Journal

Blog

Tested guides by Waseem Anjum on AI automation, AI agents, MCP servers, NestJS, Next.js, TypeScript and self-hosting, with real code and measured results.

Code card showing a ComfyUI custom node pack: WEB_DIRECTORY in __init__.py, a V3 io.ComfyNode class and app.registerExtension in JavaScript

AI Engineering

How to Build a ComfyUI Custom Node with a JavaScript UI

Build a ComfyUI custom node with its own JavaScript UI: INPUT_TYPES and the V3 schema, WEB_DIRECTORY, passing UI picks into node outputs, routes, saving state and publishing to the Comfy Registry. Tested on ComfyUI 0.42.1.

9 min read5 views

Cover for A secure NestJS + Prisma API starter, showing the Prisma error filter switch statement in a code editor

Backend & APIs

A secure NestJS + Prisma API starter, piece by piece

A walkthrough of the security layer in my NestJS 11 + Prisma 7 starter: Helmet headers, a CORS allow-list, three-window rate limiting, opt-in CSRF, header-free Pino logs and a Prisma error filter, with the real code and the gaps still to close.

7 min read5 views