RSSAmplifier

Blog

Konstantin Komelin's Blog

Sharing insights about front-end and full-stack development with TypeScript, Node.js, React, and friends.

komelin.comRSS feed ↗16 posts

Latest posts

Which AI Video Model Is Cheapest? I Tested 18

This time, I ran the same prompt through 18 video generation models from 5 providers to compare cost and generation time.

AI Image Generation Cost Analysis

Picking the wrong image generation model can cost you 100x more and take 15x longer. I ran the same prompt through 33 models from 7 providers to find out.

A Thin API Layer for React Apps on Vercel

Not every React app needs Next.js. A single rewrite rule and Hono give you auth, rate limiting, and AI integration without changing your frontend stack.

Themeable Web Components with Solid.js and CSS lite-dark()

This tutorial demonstrates how to build a custom HTML element with solid-element and theme it with the light-dark() CSS function.

Build Your Own AI-Powered API with Ollama, Hono and Vercel AI SDK

In this post, I'll explain my tech choice and show you three approaches for building AI-powered APIs.

Automating Appointment Checks with Playwright, 2Captcha, and Mailtrap

A simple JS script saved me about 5 hours over 3 months just by checking my place in a queue.

Prompts are Code with dotPrompt and Firebase Genkit

This tutorial is about the dotPrompt standard. I'll show you how to create and turn AI prompt files into executable functions with Genkit.

AI Framework Comparison: Vercel AI SDK, Mastra, Langchain and Genkit

I've created a few code examples to compare Vercel AI SDK, Mastra, Langchain.js and Firebase Genkit, and here are my impressions...

Using Small LLM Models Locally with Ollama

In this post we will go through Ollama server installation, LLM model setup and code integration.

What I Learned While Building My First Web3 Project

Impressions, discoveries and tools after two months building my first Web3 project - a great start for web3 explorers.

Developing a Custom Search Box with React-Select

Turn a React-Select dropdown into a fully-fledged autocomplete search box with remote data and result caching.

Node.js Certification: My Experience and Advice

How I passed the OpenJS Node.js Application Developer (JSNAD) certification and my advice for future test-takers.

Pipe Streams in Node in the Right Way

The stream piping is one of the features of Node.js which I especially like, so I will show you how to safely use it.

Security: Black Box vs. Blacklist vs. Whitelist

Three security modes every developer should know: black box, blacklist, and whitelist.

On React App Security

A security checklist for auditing an inherited React app and making sure the existing code is safe.

A Few Takeaways from Kyle Simpson's Talk at MallorcaJS Meetup

My takeaways from Kyle Simpson's talk on the economy of keystrokes at the MallorcaJS meetup, October 2019.