Urgent.News

What's breaking now, across thousands of outlets.

Tech

I'm Too Lazy to Write Alt Text, So Gemma Does It For Me

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady What I Built Every codebase I've touched has the same line in it: <img src= "/imgs/cookie.png" alt= "" /> It's rarely because we don't care about accessibility. Describing forty images is just the most boring job in front-end, so it gets pushed to "later." So I built a VS Code extension that does it for…

This story details the creation of a VS Code extension that automatically generates alternative text (alt text) for images in HTML, JSX, and TSX files using a locally installed Ollama vision model. The author, Gemma, built the extension because manually describing images can be tedious and easily neglected in codebases. The extension provides a convenient way to generate alt text by hovering over an image, clicking a button, or running a command to fill in all missing alt text at once.

The extension ensures that existing alt text is never overwritten and handles both local image paths and remote URLs. It runs entirely on the user's machine, keeping image content secure and avoiding costs associated with hosted APIs. The extension supports various image formats and allows users to swap in different vision models if desired.

The author emphasizes the benefits of using a local model for privacy, cost-efficiency, and flexibility compared to hosted solutions. In a test, the extension processed 20 images in about 3 minutes, compared to roughly 10 minutes of manual work, with 18 out of 20 descriptions needing no edits.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

cloudline is live. analytics without cookies.

29 days ago i started writing about a tool i was building. today you can install it. i'm om yaduvanshi, 18, an applied ai developer. i built cloudline, a cookieless analytics tool.

  • Cloudline analytics tool launched without cookies
  • One script tag installation, under 2kb size
  • Collects page, referrer, screen size, visit time

How to rate limit FastAPI in 2026

Rate limiting is the simplest defense against abuse. Here's how to add it to a FastAPI app in 2026, step by step. Install pip install drogue[fastapi] Basic rate limiting from fastapi import FastAPI…

  • Install drogue[fastapi] package with pip install drogue[fastapi]
  • Create FastAPI app and initialize DrogueLimiter object with default limits
  • Apply @limiter.limit decorator to specific routes with varying limits

EU Chatbot Runtime Selection: Making Linguistic Nuance Auditable Per Tenant

EU Chatbot Runtime Selection: Making Linguistic Nuance Auditable Per Tenant A runtime choice for an EU chatbot should be made from two ledgers: one for language behavior and one for tenant-level…

  • Runtime selection crucial for EU chatbot linguistic nuance
  • Isolated runtime for tenant-level expenses and easy replacement
  • Test set evaluated by locale, tenant, and cost records

From 1,464 Unrouted Nets to Zero — But I'm Still Not Calling This Board Manufacturable

TL;DR Part 2 of letting an AI agent (Codex, driving KiCad through its CLI) design my Raspberry Pi CM4 Mini-ITX IO board. The board is now fully routed and adopted as the official design : ERC 0, DRC…

  • Raspberry Pi CM4 Mini-ITX IO board formally verified as routeable on October 25
  • Fault simulation leaves -1.35 V on power controller pin, not explained
  • Board labeled as engineering prototype, not to be fabricated

Meta's Crawler Goes Live Oct 30. Your Real Deadline Is Oct 29.

Five days left until Meta's crawl clause kicks in. Actually — four. And if you're planning to touch your robots.txt on the morning of October 30th, you've already missed it.

  • Meta's robots.txt change deadline moves to October 29, 2026
  • Businesses must authorize Meta for website crawling and data use
  • Verify robots.txt changes by checking for outdated files and server disagreements

More from Sunday 25 October →