DEV Community

freerave
freerave

Posted on

I might have gone overboard. I built a custom LLM for my .env extension... and now I just shipped a massive UI overhaul for it.

Hey everyone,





So, I have this project, dotenvy.

It started as a simple tool because I was tired of manually swapping .env files and terrified of accidentally committing a secret. The first version (1.0.0) was fine—it had a switcher, a diff view, and some basic pre-commit hooks.

...But then I got obsessed with the secret-detection part.

I felt like the standard regex/entropy checks just weren't good enough. So... I kind of lost my mind. I decided to build my own custom Large Language Model (LLM) for it. From scratch.

It's a 4-layer transformer model built in Python, served via FastAPI, with 14-dimensional feature extraction. It gives sub-100ms, real-time AI secret detection that's way more accurate than just checking for "high entropy."

The problem? The tool became insanely powerful, but the UI was a complete mess. It was just a long, confusing list of features.

So, today, I'm shipping v1.1.0. This update is 100% focused on making all that power actually usable.

🎨 All-New Tabbed Interface: I threw out the old UI. It’s now organized into clean tabs: Overview, Environments, History, & Settings.

🌳 History Tree View: You can now see all your environment changes in a clean, collapsible tree. (This is the first step to a full Git-like rollback system).

🏷️ Smart Groups: It now intelligently groups your .env files (local, dev, staging, prod) instead of just dumping them in a flat list.

I'm a solo dev building this entire thing (the TypeScript extension, the Python AI backend, the ML model) all by myself, and it's all open-source.

I would honestly just love to know what you think. Is the new UI actually better? Is the custom LLM feature total overkill, or is it something you'd actually use?

You can grab it here:

Marketplace:
https://marketplace.visualstudio.com/items?itemName=FreeRave.dotenvy

GitHub (and the LLM code):
https://github.com/kareem2099/dotenvy

P.S. I've got GitHub Sponsors enabled on the repo. I'm pouring thousands of hours into these tools (this, DotCommand, Break Bully...) trying to make it a real living. If this tool saves your company from one secret leak, maybe throw me a coffee? 😉

Thanks for checking it out!

Top comments (0)