npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

fob-cli

v1.0.3

Published

Fast File Obfuscator (Go version wrapper)

Readme

fob-cli (文件隐身衣)

fob (File Obfuscator) 是一个高性能的命令行工具,用于快速“隐藏”你的文件,防止被相册扫描或他人随意查看。

🚀 Go 语言驱动: 这个 npm 包是原生 Go 二进制文件的包装器。这意味着你既能享受到 npm 安装的便利,又能拥有 Go 语言带来的极致性能(无运行时依赖)。

✨ 特性

  • ⚡ 极速处理: 基于 Go 语言编写,数千个文件秒级处理。
  • 🔒 隐私优先: 文件名会被 Base64URL 编码并重命名,且自动生成 .nomedia 文件防止安卓相册扫描。
  • 💻 全平台支持: 内置了 Windows、macOS 和 Linux 的预编译二进制文件。
  • 📦 零配置: 安装即用,无需配置环境。

📦 安装

通过 npm 全局安装:

npm install -g fob-cli

🚀 使用方法

隐藏文件 (加密/混淆)

将文件夹内的所有文件和子目录重命名为乱码格式(例如 photo.jpg -> .aW1hZ2U.obf),并添加隐藏属性。

fob hide ./my-private-photos

显形文件 (解密/恢复)

恢复原始文件名,并移除 .nomedia 文件,让文件重新可见。

fob show ./my-private-photos

查看版本

查看当前安装的工具版本。

fob -v

🛠 工作原理

  1. 混淆策略:

    • 文件名使用 base64url 编码(无填充),并加上 . 前缀(利用系统特性隐藏文件)。
    • 目录名也会被递归混淆。
    • 每个目录下会自动生成 .nomedia 文件,阻止安卓系统的媒体扫描器索引该目录。
  2. 性能优化:

    • 底层调用原生的 Go 二进制程序。
    • 启动时会进行快速预扫描,并显示实时进度条。

⚠️ 免责声明

本工具提供的是混淆 (Obfuscation),而非加密 (Encryption)。 它只是重命名文件让其难以识别和被扫描,文件内容本身并未修改。懂技术的人可以轻松还原。 对于高敏感数据(如银行卡号、密码等),请务必使用 VeraCrypt 或 7-Zip (AES-256) 等真正的加密工具。

开源协议

MIT