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 🙏

© 2025 – Pkg Stats / Ryan Hefner

aifs-commander-tui

v1.0.3

Published

Terminal User Interface for AIFS Commander - A cross-cloud file manager

Readme

AIFS Commander TUI

A powerful Terminal User Interface for AIFS Commander - a cross-cloud file manager that supports local filesystems, AWS S3, Google Cloud Storage, Azure Blob Storage, and AIFS (AI-centric File System).

Features

  • Dual-pane file browser - Norton Commander-style interface
  • Cross-cloud support - Local, S3, GCS, Azure, and AIFS storage
  • File operations - Copy, move, delete, create directories
  • Provider configuration - Easy setup for cloud storage providers
  • State persistence - Remembers your last directories and selections
  • Keyboard shortcuts - Efficient navigation and operations
  • Progress tracking - Real-time status updates for operations

Installation

Global Installation

npm install -g aifs-commander-tui

Local Installation

npm install aifs-commander-tui

Usage

Command Line Interface

# Start the TUI
aifs-tui

# Show help
aifs-tui --help

# Use custom configuration
aifs-tui --config ./my-config.json

# Show version
aifs-tui --version

Programmatic Usage

import { TuiApplication } from 'aifs-commander-tui';

const app = new TuiApplication({
  configPath: './config.json'
});

app.start().catch(console.error);

Configuration

The TUI can be configured through a JSON file or environment variables:

{
  "providers": {
    "aws": {
      "enabled": true,
      "region": "us-west-2"
    },
    "gcp": {
      "enabled": true,
      "projectId": "my-project"
    },
    "azure": {
      "enabled": true,
      "accountName": "mystorageaccount"
    },
    "aifs": {
      "enabled": true,
      "endpoint": "localhost:50052"
    }
  },
  "ui": {
    "theme": "dark",
    "showHiddenFiles": false
  }
}

Keyboard Shortcuts

Navigation

  • Tab - Switch between panes
  • ↑/↓ - Navigate files
  • Enter - Open file/directory
  • Backspace - Go to parent directory

File Operations

  • F5 - Copy selected files
  • F6 - Move selected files
  • F8 - Delete selected files
  • F7 - Create new directory
  • Insert - Select/deselect files

Configuration

  • F9 - Open configuration menu
  • Ctrl+Q - Quit application

Provider Setup

AWS S3

  1. Configure AWS credentials via AWS CLI or environment variables
  2. Enable S3 provider in configuration
  3. Select S3 bucket in the file browser

Google Cloud Storage

  1. Configure GCP credentials via gcloud auth application-default login
  2. Enable GCS provider in configuration
  3. Select GCS bucket in the file browser

Azure Blob Storage

  1. Configure Azure credentials via Azure CLI
  2. Enable Azure provider in configuration
  3. Select Azure container in the file browser

AIFS

  1. Set AIFS endpoint in configuration
  2. Provide authentication token if required
  3. Connect to AIFS namespace in the file browser

Development

Building from Source

git clone https://github.com/aifs-ngclient/aifs-commander.git
cd aifs-commander-tui
npm install
npm run build

Running in Development

npm run dev

API Reference

TuiApplication

Main application class for the TUI.

class TuiApplication {
  constructor(options?: {
    configPath?: string;
    theme?: 'light' | 'dark';
    showHiddenFiles?: boolean;
  });
  
  start(): Promise<void>;
  stop(): Promise<void>;
  getState(): ApplicationState;
  setState(state: ApplicationState): void;
}

Configuration

interface TuiConfig {
  providers: {
    aws?: AwsConfig;
    gcp?: GcpConfig;
    azure?: AzureConfig;
    aifs?: AifsConfig;
  };
  ui: {
    theme: 'light' | 'dark';
    showHiddenFiles: boolean;
  };
}

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests
  5. Submit a pull request

License

MIT License - see LICENSE file for details.

Support

  • GitHub Issues: https://github.com/aifs-ngclient/aifs-commander/issues
  • Documentation: https://github.com/aifs-ngclient/aifs-commander#readme
  • Email: [email protected]