Tiny Cloak.Nvim banner
jellydn jellydn

Tiny Cloak.Nvim

Data community

Description

A lightweight Neovim plugin that masks sensitive data (API keys, secrets, tokens) in .env, JSON, and YAML files

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

tiny-cloak.nvim

tiny-cloak logo

[![License](https://img.shields.io/github/license/jellydn/tiny-cloak.nvim?style=for-the-badge&logo=starship&color=ee999f&logoColor=D9E0EE&labelColor=302D41)](https://github.com/jellydn/tiny-cloak.nvim/blob/main/LICENSE) [![Stars](https://img.shields.io/github/stars/jellydn/tiny-cloak.nvim?style=for-the-badge&logo=starship&color=c69ff5&logoColor=D9E0EE&labelColor=302D41)](https://github.com/jellydn/tiny-cloak.nvim/stargazers) [![Issues](https://img.shields.io/github/issues/jellydn/tiny-cloak.nvim?style=for-the-badge&logo=bilibili&color=F5E0DC&logoColor=D9E0EE&labelColor=302D41)](https://github.com/jellydn/tiny-cloak.nvim/issues)

A lightweight Neovim plugin that masks sensitive data (API keys, secrets, tokens) in `.env`, JSON, and YAML files. Prevents accidental exposure of credentials during screen sharing, demos, or pair programming.

[![Demo](https://i.gyazo.com/0e0f1c253ad07f932b8f48deda54a7f0.gif)](https://gyazo.com/0e0f1c253ad07f932b8f48deda54a7f0)

âœĻ Features

  • 🔒 Automatically cloak sensitive values in .env, .json, .yaml, and .yml files
  • ðŸŽŊ Masks common patterns: API_KEY, SECRET, PASSWORD, TOKEN, CREDENTIAL, AUTH
  • ⚡ Zero configuration required for common use cases
  • ðŸŠķ Minimal footprint with no external dependencies
  • 👁ïļ Toggle commands to temporarily reveal values

⚡ïļ Requirements

  • Neovim >= 0.11.0

ðŸ“Ķ Installation

[lazy.nvim](https://github.com/folke/lazy.nvim)

{
  "jellydn/tiny-cloak.nvim",
  event = { "BufReadPre", "BufNewFile" },
  opts = {},
}

[packer.nvim](https://github.com/wbthomason/packer.nvim)

use {
  "jellydn/tiny-cloak.nvim",
  config = function()
    require("tiny-cloak").setup()
  end,
}

🚀 Usage

The plugin works automatically once installed. Open any `.env`, `.json`, `.yaml`, or `.yml` file and sensitive values will be masked:

# Before