Urgent.News

What's breaking now, across thousands of outlets.

Tech

Sleepy Coder: a local assistant that finds the boring fixes in your code

This is a submission for the Hacktoberfest Open-Source AI Challenge: Slow and Steady . What I Built Sleepy Coder is a local coding assistant for the small, boring problems that pile up in side projects: the duplicate <h1> , the image without alt , the console.log you forgot, the TODO from three weeks ago. You point it at a folder on your computer and it: Finds tasks with rules (no AI, instant,…

This article highlights "Sleepy Coder", an open-source AI tool for finding and fixing small coding issues in side projects. The tool, created for the Hacktoberfest Slow and Steady challenge, identifies problems like duplicate HTML headings, missing alt text on images, forgotten console.log statements, and TODO/FIXME comments. It then provides clear instructions on how to fix each issue, including the exact file, line number, and code suggestions.

Sleepy Coder runs locally on a user's machine using Ollama, an open-source AI platform, and does not upload any code or data to external servers. The tool uses a local AI model, Gemma 3 4B, to analyze files and provide explanations for fixes. While an experimental feature allows the tool to automatically make changes, it is currently off by default due to issues with the AI model's editing capabilities.

Sleepy Coder is built using Astro with React islands and plain CSS, Fastify for a small API, SQLite for data storage, and Vitest for testing. The author emphasizes the importance of open innovation, as Sleepy Coder keeps all code on the user's machine, eliminating the need to share sensitive projects with external servers.

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

I built a Minecraft server panel in Python: here's what broke along the way

I remember years and years ago when I initially got interested in servers, when I tried to set up a Minecraft server, I had to download the official Minecraft server jar file, manually update Java…

  • Author created FalkMC Panel to simplify Minecraft server setup
  • Python chosen for learning and challenging project
  • Fixed issues with server startup, panel freezing, and packaging

How a Web-Based 3D Product Configurator Works: Models, Rules and Pricing

If you've ever wondered what's behind a 3D product configurator, the kind that lets you change a sofa's fabric and see the price update, here's the architecture in plain terms. 1.

  • 3D asset converted to glTF/GLB for web use
  • Option model defines configurable aspects of product
  • Rules prevent impossible combinations during customization

More from Saturday 24 October →