DevIdiot!
Building PROTON: An All-in-One AI Workspace & Digital Hub with React, TypeScript, and Gemini
Hello DEV Community! 👋I’m excited to share PROTON, a personal AI workspace and digital hub I’ve been building from Georgia using React, TypeScript, and Google Gemini.https://proton-core-final.vercel.app/dashboard What is PROTON?Instead of jumping between dozens of separate tabs for translation, image generation, copywriting, and daily planning, I wanted to create a single, unified environment that brings all core AI tools together in one clean interface. Key Modules Inside:Creative Stu
How to Evaluate, Structure, and Customize Next.js Templates
Starting a new project with a Next.js template can save dozens of hours of initial setup. A solid starter provides pre-configured routing, styling conventions, build tooling, and common UI layouts out of the box. However, choosing the wrong boilerplate often introduces architectural debt that takes longer to untangle than building from scratch.Whether you are building a SaaS dashboard, marketing site, or portfolio, here is a practical guide on evaluating template architecture, establishing serve
Fixing a 6-second LCP caused by a hero fade-in animation
My portfolio's hero paragraph was the page's Largest Contentful Paint element, and it sat at opacity: 0 until React hydrated, then waited out a one-second animation delay. On a throttled phone that meant LCP of about 6 seconds for a static page. I moved the entrance into CSS, animated only transform, and got it to 1.3 seconds. My first attempt, a CSS fade, saved less than half a second, and it failed because of which paints Chrome counts toward LCP. How slow was it on a phone?On my fast lap
I built a swinging lanyard badge in React with no physics library. Here is the whole method
I wanted an ID badge that hangs from a strap, swings when you grab it and flies when you throw it. Every example I found pulled in a physics engine and a 3D renderer for it. That is a lot of code to ship for one card.It turns out the whole thing is a rope, a weight and one spring. Here is how it works. You can try the finished badge here first: grab it and throw it. 1. The strap is 14 linksA rope is a chain of points that are not allowed to drift apart. I store each point with its current a
Why You Should Never Paste Production JWTs Into Server-Side Decoders (and How Web Crypto Solves It)
Every time you copy an Authorization: Bearer eyJ... header out of Chrome DevTools or Postman to debug a 401 Unauthorized response, that token is live credential material.Until its exp Unix timestamp expires, anyone who captures it—via reverse-proxy logs, APM crash traces, or unvetted third-party web tools—can replay that session. Worse, pasting an HS256 signing secret into a remote server lets an attacker mint valid admin tokens indefinitely until keys are rotated across every microservice.Becau
Mastering CSS scroll‑state() in React & Tailwind
What Is scroll‑state() and Why It MattersCSS scroll‑state() is a media query‑like feature that lets you apply styles based on the current scrolling activity of an element or the viewport. Unlike the traditional :hover or :focus pseudo‑classes, scroll‑state() can detect whether the user is actively scrolling, has stopped, or has scrolled to the top or bottom. This opens up new UI possibilities such as:Showing a “Back to top” button only after the user has scrolled past a threshold.Changing
Validating EAN and UPC barcodes in JavaScript, and catching what Excel does to them
If you build anything that handles product data, like an inventory app, a store import or a label printer, you will get barcode numbers from spreadsheets. Some of them will be broken, and nothing will tell you.This post covers two things:How the GS1 check digit works (EAN-13, UPC-A, EAN-8, GTIN-14) and a short JavaScript function to validate it.Five ways spreadsheets corrupt barcode numbers, and how to catch each one before you print 500 wrong labels.All code is plain JavaScript with no dependen
Fuel consumption from fill-up records: full-to-full intervals and exact unit conversion
If you have ever built a fuel log, you probably divided litres on a receipt by kilometres since the last receipt. That gives a number every time, and it is wrong most of the time. Here is the model that gives a number only when it can be right. Rule 1: consumption exists only between two full fillsA tank you filled to the top is a known state. A partial fill is not. So an interval is:start: a confirmed full fill (odometer reading A)end: the next confirmed full fill (odometer reading B)fuel
Break-even in integer cents: ceiling division, and why 1,333 units is the wrong answer
Break-even looks like one division: fixed costs divided by what each sale leaves (price minus unit cost). The bugs are in the details around it: floats, rounding direction, and a percentage that is really a ratio of two money amounts. Keep money in integer centsconst fixed = 960000n; // $9,600.00const price = 1200n; // $12.00const unitCost = 480n; // $4.80const contribution = price - unitCost; // 720n = $7.20BigInt (or plain integers below 2^53) means $12.00 - $4.80 is exactly $7.20
I built 67 file tools that never upload your files. Here's how the browser does it all
Disclosure: I'm the founder of Capy Files. This post is about how it works, including the parts that were hard.Most "free online PDF tools" work the same way: you upload your file to their server, they process it, you download the result. That's fine for a meme. It's less fine for a payslip, a contract, a medical letter or a client's tax return.So I wanted to see how far a browser can go on its own. The answer turned out to be: almost all the way. Capy Files does PDF editing, redaction, compress
Shrink an image to exactly 100 KB in your browser — no upload
Every form has an image size limit. A passport photo, a university application, a job portal: "JPG under 100 KB." So you open an online compressor, upload your photo to a stranger's server, and hope the result lands under the limit. There is a better way to do the same job, and it never uploads anything.The trap: 100 KB is not 100,000 bytesMost compressors count 1 KB as 1,024 bytes. A 100 KB target therefore allows up to 102,400 bytes — and a portal with a 100,000-byte limit rejects it. If the f
I Audited apify.com 14 Times in 25 Days. The H1 Changed Six Times, the Score Never Moved
I run a visa agency in Bali, and the rest of my week goes into Apify Actors. One of them is an on-page SEO checker: you give it page URLs (or one domain to crawl) and it returns one row per page with the status code, an on-page score from 0 to 100, every issue it found written as a sentence with a priority, and the raw facts behind it: title, meta description, H1, canonical, meta robots, page size, load time, links, broken links, images without alt text, schema.org types.The default input is two
How to build a meeting bot in 2026 — the three ways, with working code
First published on meetful.com.Every "meeting bot" you have ever seen in a Zoom, Google Meet or Teams call — Otter, Fireflies, Read, Fathom, the one your sales team runs — is the same object underneath: a web browser, running in a container on somebody's cluster, that opened the meeting link and clicked Join. There is no generally available bot API in Zoom, Meet or Teams that hands a program the audio. (Google's Meet Media API will, one day — as of September 2026 it is a Developer Preview in whi
Hello DEV Community! I'm Sam Perez, Founder of Point Zero đź‘‹
Hi everyone! I'm Sam Perez, founder of Point Zero, a web development company based in Spring, Texas.I’m passionate about building modern, user-friendly websites that help businesses establish a strong online presence. At Point Zero, we focus on custom web development, responsive web design, eCommerce solutions, WordPress, Shopify, and web applications.My goal is to help businesses turn their ideas into effective digital experiences through creative design and practical technology.I'm excited to
Building frame-accurate browser video review without forcing clients to sign up
Every freelance video editor I know has lived through the same painful loop. You export a rough cut, upload it to Google Drive, send the link over WhatsApp, and get back a text like:"Around 1:32 can you move the text slightly left and brighten the shot?"Then you spend 20 minutes scrubbing back and forth across your timeline trying to guess which exact frame they meant.Existing review tools solve this well, but most charge $15 to $25 per seat every month and push clients through invite emails or
React.js ~ Removing Effect Dependencies~
Removing Effect Dependencies — SummarySource: https://react.dev/learn/removing-effect-dependencies#to-change-the-dependencies-change-the-code Key points of "To change the dependencies, change the code"The dependency array isn't something you choose. It is determined by the Effect's code. If you want different dependencies, change the code, not the array.The process has three steps:Change the Effect's code, or the way its values are declared.Follow the linter and update the dependency
I built a price comparison site for tech shops in Bangladesh (22 retailers, 17k products)
If you've ever bought a phone or laptop in Bangladesh, you know the routine: open Star Tech, Ryans, Pickaboo, Apple Gadgets and a few Facebook-page shops in separate tabs, then compare prices by hand. The same model can differ by several thousand taka between shops, and prices change every week.I got tired of that, so I built KomKoto.bd (কম কত — "how much less?"). It shows the listed price of one product across Bangladeshi retailers on a single page. What it doesCompares prices across 22 sh
Designing for AI: How Generative UI is Changing the Landscape of Modern Web Experiences
For decades, web design has operated under a single, fundamental constraint: anticipation. As designers and developers, we spend months mapping user flows, wireframing edge cases, and building responsive grids. We try to anticipate every possible action, device size, and user intent. The result is a web of templates—polished, functional, but ultimately rigid.Enter Generative UI.Generative UI is a paradigm shift that turns this model on its head. Instead of forcing users to navigate pre-built lay
I built a cartoon talk show where 6 AIs roast each other about money. Here's the pipeline.
Every week, Claude, Grok, Codex, DeepSeek and Alisa stand at podiums in a fake late-night TV studio and argue about real tech news. I'm the host. I get banned in most episodes.Episode 3 is about Nvidia investing in the companies that buy its chips. Claude calls it an investment cycle. DeepSeek says in China they'd summon you for questioning over a scheme like that. Grok says in America they elect you president.Here is the channel trailer: The castEvery character gets one trait and never
ka-table 13: a fully free React data grid with keyboard navigation and virtual columns
I’m Alexander, the maintainer of ka-table, an MIT-licensed data grid for React. I’ve just released version 13.The project has one simple rule: there is no paid edition. Sorting, filtering, grouping with summaries, tree data, editing, selection, fixed columns, virtualization and customization are all in the same MIT package.Version 13 is a major overhaul focused on accessibility, rendering performance, TypeScript and styling. Here is what changed and where ka-table might fit into your project.