Skip to main content

A modern, intuitive alternative to ls command with smart directory prediction

Project description

scout-cli

A modern, beautiful alternative to the traditional ls and cd commands, with smart AI-powered directory prediction.

Features

  • 🎨 Beautiful, colorful output
  • 📊 Modern table-based layout
  • 🔄 Multiple sorting options
  • 👁 Show/hide hidden files
  • 📌 Directory bookmarks
  • 🧠 Smart AI-powered navigation
  • 🔍 Fuzzy directory matching
  • 💻 Cross-platform support

Installation

Option 1: Using pip (recommended)

# Install globally on your system
pip install scout-cli

# Or if you don't have root access
pip install --user scout-cli

Option 2: From source

# Clone the repository
git clone <repository-url>
cd scout-cli

# Install
make install

Usage

List Files (replaces ls)

# Basic usage
scout

# Show all files (including hidden)
scout -a

# Sort by different criteria
scout --sort size      # Sort by file size
scout --sort modified  # Sort by modification time
scout --sort name      # Sort by name (default)

# List specific directory
scout /path/to/directory

Smart Directory Navigation (replaces cd)

# Basic usage - just type part of the directory name!
scout jump projects    # Will find and suggest matching directories
scout jump docs       # Will match Documents, docs, etc.
scout jump down      # Will match Downloads, etc.

# No need to type the exact path - scout will find it for you!
scout jump src    # Matches any 'src' directory in current or parent dirs
scout jump web    # Matches 'website', 'webproject', etc.

# Traditional navigation still works
scout jump ../parent/dir
scout jump ~/Documents

# Go back to previous directory
scout jump -

# Create directory if it doesn't exist
scout jump --create new_directory

# Bookmark management
scout jump --save --name work  # Save current directory as 'work'
scout jump --save              # Save with directory name
scout jump --bookmarks        # List all bookmarks
scout jump work              # Jump to bookmarked 'work' directory

Smart Directory Matching

Scout makes directory navigation easier with:

  • 🧠 AI-powered suggestions: Learns from your navigation patterns
  • 🕒 Time-aware predictions: Suggests directories based on your daily routine
  • 📊 Usage-based ranking: Frequently used directories are prioritized
  • 🔍 Fuzzy matching: Type approximate names
  • 📈 Smart ranking: Best matches shown first
  • 🎯 Common directory search: Automatically checks Documents, Downloads, etc.
  • 💡 Interactive selection: Choose from matching directories
  • ⭐️ Favorites indication: Frequently used directories are marked with a star
  • ↩️ Easy backtracking: Use scout jump - to go back

AI Features

Scout includes a lightweight machine learning system that:

  • 📚 Learns from your navigation patterns
  • 🕒 Considers time of day and day of week
  • 🎯 Adapts to your common destinations
  • 💾 Stores data locally for privacy
  • 🚀 Uses minimal resources
  • 🔄 Continuously improves as you use it

The AI system helps by:

  1. Ranking directories based on your usage patterns
  2. Prioritizing directories you use at specific times
  3. Marking frequently used directories with a star (★)
  4. Adapting suggestions to your daily routine

Tips for VPS Usage

  1. Global Installation: If you have root access, install globally:

    sudo pip install scout-cli
    
  2. User Installation: If you don't have root access:

    pip install --user scout-cli
    

    Make sure ~/.local/bin is in your PATH:

    echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
    source ~/.bashrc
    
  3. Alias Setup (optional): Add to your .bashrc or .zshrc:

    alias ls='scout'
    alias cd='scout jump'
    

Development

  1. Clone the repository

  2. Install development dependencies:

    make install
    
  3. Run tests:

    make test
    
  4. Build the package:

    make build
    

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scout_cli-0.9.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scout_cli-0.9.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file scout_cli-0.9.0.tar.gz.

File metadata

  • Download URL: scout_cli-0.9.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for scout_cli-0.9.0.tar.gz
Algorithm Hash digest
SHA256 7cc217440ac57126d5af6c12ddd074b2dd2e459bc2cd468a28075077fedcb70b
MD5 d03fb932b048fafebe9acbeb733c9142
BLAKE2b-256 ca286194ef044e33e6a6db3d6b1dd410bd5f70bc3a8121e4cadb4fd4fa1190e4

See more details on using hashes here.

File details

Details for the file scout_cli-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: scout_cli-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for scout_cli-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c5b4c6ad9b94e8476a9c667ac48acbeab75cd648b779e5a729bae1fa268af63
MD5 3a5029037abb849952d0158759d96df3
BLAKE2b-256 d2e9cbb88cf663f73bb2fd3d9b4dc9e5ae0ecec333643fb4717a21f6663d0bac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page