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

filepilot-cli

v0.1.1

Published

Local-first file analysis and organization tool. Everything runs on your machine - no accounts, no cloud, no data leaving your device.

Readme

FilePilot

Alpha software. FilePilot is under active development and is not production-ready. It moves real files on your machine, so please try it on copies of unimportant data first, and keep every sensitive operation in dry-run mode (which is the default) until you are comfortable with the output.

Local-first file analysis and organization for your device.

FilePilot scans, classifies and organizes files with a fast, safe engine and a professional terminal UI. Everything runs on your machine — no accounts, no cloud, no API keys, and no data ever leaves your computer.

What works today

  • Recursive scanning with gitignore-style ignore patterns, symlink-loop protection and cooperative cancellation
  • File classification into 13 categories (images, videos, audio, documents, archives, installers, code, projects, fonts, databases, backups, temporary, other) by extension with magic-byte fallback
  • Duplicate detection (size → fast hash → full hash) without loading files into memory
  • Disk analysis: totals, largest files, largest folders, per-category sizes
  • Safe file organizing (see below)

Safety first

FilePilot treats your files as precious:

  • Dry-run is the default. organize only prints what would happen; it creates, moves and deletes nothing unless you explicitly confirm.
  • Nothing is ever deleted permanently by the organizer.
  • Nothing is ever overwritten. If a destination already exists, the move fails and the source stays untouched.
  • Applying a plan requires an explicit confirmation (--apply --yes).
  • Sources and destinations are re-checked before every move; a single failing file never aborts the rest of the plan.
  • Software projects are detected and never split apart.
  • Symlinks are moved as links; moves that would escape the destination root through a symlink are refused.
  • Every applied move is journaled before the next one starts, so interrupted runs leave a recoverable trail (Undo & History is coming).

Requirements

  • Node.js >= 20.19
  • Windows, Linux or macOS

Installation

npm install -g filepilot-cli

This provides the filepilot command. You can also run it without installing:

npx filepilot-cli --help

Usage

filepilot --help          # general help
filepilot organize <dir>  # dry run: print the organization plan

Example dry run:

$ filepilot organize ~/Downloads

Organization Plan

Archives/
  backup.zip

Documents/
  invoice.pdf

Images/
  photo.png
  screenshot.jpg

Planned: 4 moves
Conflicts: 0
Skipped: 0

/home/me/Downloads/backup.zip → /home/me/Downloads/Archives/backup.zip
/home/me/Downloads/invoice.pdf → /home/me/Downloads/Documents/invoice.pdf
/home/me/Downloads/photo.png → /home/me/Downloads/Images/photo.png
/home/me/Downloads/screenshot.jpg → /home/me/Downloads/Images/screenshot.jpg

Total size to move: 14.2 MB

Dry run: no files were created, moved or deleted.
Re-run with --apply --yes to execute this plan.

Only when you have reviewed the plan and want to execute it:

filepilot organize ~/Downloads --apply --yes

Development

npm install
npm run typecheck   # TypeScript
npm run lint        # ESLint
npm run test        # Vitest
npm run build       # tsup

Author

Created and maintained by Mtrx.

GitHub: @RealMtrx

License

MIT — see LICENSE.