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:
- Ranking directories based on your usage patterns
- Prioritizing directories you use at specific times
- Marking frequently used directories with a star (★)
- Adapting suggestions to your daily routine
Tips for VPS Usage
-
Global Installation: If you have root access, install globally:
sudo pip install scout-cli
-
User Installation: If you don't have root access:
pip install --user scout-cli
Make sure
~/.local/binis in your PATH:echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc source ~/.bashrc
-
Alias Setup (optional): Add to your
.bashrcor.zshrc:alias ls='scout' alias cd='scout jump'
Development
-
Clone the repository
-
Install development dependencies:
make install -
Run tests:
make test
-
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scout_cli-0.2.0.tar.gz.
File metadata
- Download URL: scout_cli-0.2.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17a3bbe8f9b0ce7e89c105ff7da900c082b25d5088c1fe06839ec51bf2b07e67
|
|
| MD5 |
32027835919007fbadcc572a6f5d145b
|
|
| BLAKE2b-256 |
7c92c877a0acc5c5083931c290759e6cbe2b35ff32ecdb49b483305980cc3353
|
File details
Details for the file scout_cli-0.2.0-py3-none-any.whl.
File metadata
- Download URL: scout_cli-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
badd0ca2598b6a2525227bfc6e9ee254b5a27a698dfcc035ce91c4e0575ecf84
|
|
| MD5 |
69181d1c54a3d6e20e3a8c8208218e2d
|
|
| BLAKE2b-256 |
c15e7e056f4ba2c763642192e828a36565a806452d9a15b532550af1fec8d386
|