# Dotenv Mask Editor: No more embarrassing screen leaks of yo…

Hi HN, I built this because I often work in coworking spaces or do screen sharing, and I've always had this fear of accidentally flashing my .env file with production secrets to the whole room (or recording). It’s a simple VS Code extension that opens .env files in a custom grid editor. It automati…

- **Page:** https://magpie.gallery/i/dotenv-mask-editor-no-more-embarrassing-screen-lea-4wdx
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Runs on:** extension
- **Tags:** env, secrets, vs-code, masking, security

## Source

Web · xinbenlv: Dotenv Mask Editor: No more embarrassing screen leaks of your .env

- **Original:** https://news.ycombinator.com/item?id=46713473

> Hi HN, I built this because I often work in coworking spaces or do screen sharing, and I've always had this fear of accidentally flashing my .env file with production secrets to the whole room (or recording). It’s a simple VS Code extension that opens .env files in a custom grid editor. It automatically masks any value longer than 6 characters so I can safely open the file to check keys without exposing the actual secrets. It runs 100% locally with zero dependencies (I know how sensitive these files are). It just reads the file, renders the grid, and saves it back as standard text. It's open source (MIT) and I'd love any feedback on the masking logic or other features that would make it safer to use. Marketplace: https://marketplace.visualstudio.com/items?itemName=xinbenlv... Github https://github.com/xinbenlv/dotenv-mask-editor https://marketplace.visualstudio.com/items?itemName=xinbenlv.dotenv-mask-editor

## GitHub projects

- https://github.com/xinbenlv/dotenv-mask-editor

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
