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

cokacdir

v0.4.1

Published

Norton Commander style dual-panel file manager for terminal with AI-powered natural language commands

Downloads

354

Readme

cokacdir

npm version License: MIT

Dual-panel file manager for terminal with AI-powered natural language commands.

cokacdir screenshot

Features

  • Dual-Panel Interface - Classic / Midnight Commander style
  • AI-Powered Commands - Natural language file operations via Claude AI
  • File Operations - Copy, Move, Delete, Rename, Create directories
  • Built-in Viewer/Editor - View and edit files without leaving the app
  • File Search - Find files by name, size, date with advanced filters
  • Process Manager - View and manage system processes
  • System Info - Display system information and disk usage
  • Keyboard-Driven - Full keyboard navigation for power users

Installation

npm install -g cokacdir

Usage

cokacdir

Keyboard Shortcuts

Navigation

| Key | Action | |-----|--------| | Tab | Switch between panels | | | Navigate files | | Enter | Open directory / Execute file | | Home | Go to first item | | End | Go to last item | | PageUp / PageDown | Scroll page | | Backspace | Go to parent directory |

File Operations

| Key | Action | |-----|--------| | F1 | Help | | F3 | View file | | F4 | Edit file | | F5 | Copy | | F6 | Move | | F7 | Create directory | | F8 | Delete | | F9 | Rename | | F10 | Quit |

Selection & Search

| Key | Action | |-----|--------| | Space | Select/Deselect file | | * | Invert selection | | / | Quick search | | Ctrl+F | Advanced search | | Ctrl+I | File info |

AI Commands

| Key | Action | |-----|--------| | Ctrl+A | Open AI command modal |

Type natural language commands like:

  • "delete all .tmp files"
  • "move images to photos folder"
  • "find files larger than 10MB"

Other

| Key | Action | |-----|--------| | Ctrl+P | Process manager | | Ctrl+R | Refresh panels | | = | Sync panels (same directory) |

Requirements

  • Node.js >= 18.0.0
  • Terminal with Unicode support
  • (Optional) Claude Code for AI features

Configuration

AI Features

To enable AI-powered commands, install Claude CLI:

npm install -g @anthropic-ai/claude-cli
claude login

Screenshots

Dual Panel View

┌─ /home/user ──────────────────┐┌─ /home/user/projects ─────────┐
│ ..                            ││ ..                            │
│ Documents/              <DIR> ││ cokacdir/               <DIR> │
│ Downloads/              <DIR> ││ website/                <DIR> │
│ Pictures/               <DIR> ││ README.md              1.2 KB │
│ config.json            512 B  ││ package.json           2.1 KB │
└───────────────────────────────┘└───────────────────────────────┘
 1Help 2     3View 4Edit 5Copy 6Move 7Mkdir 8Del  9Ren  10Quit

Development

# Clone repository
git clone https://github.com/kstost/cokacdir.git
cd cokacdir

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build
npm run build

# Run tests
npm test

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Disclaimer

THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

IN NO EVENT SHALL THE AUTHORS, COPYRIGHT HOLDERS, OR CONTRIBUTORS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

This includes, without limitation:

  • Data loss or corruption
  • System damage or malfunction
  • Security breaches or vulnerabilities
  • Financial losses
  • Any direct, indirect, incidental, special, exemplary, or consequential damages

The user assumes full responsibility for all consequences arising from the use of this software, regardless of whether such use was intended, authorized, or anticipated.

USE AT YOUR OWN RISK.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

cokac - https://cokacdir.cokac.com

Links