Skip to content
/ ShellX Public

ShellX is a programmable command environment where commands are structured, composable, and context-aware.

License

Notifications You must be signed in to change notification settings

dinexh/ShellX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShellX Terminal

A modern, modular terminal with custom commands, layered architecture, multi-modal output, and intelligent presentation.

Architecture

                    ShellX Terminal Architecture
    
    +----------------------------------------------------------+
    |                      User Input                           |
    +----------------------------------------------------------+
                              |
                              v
    +----------------------------------------------------------+
    |                   Command Pipeline                        |
    |  +----------+  +----------+  +--------+  +---------+     |
    |  |  Intent  |->| Validate |->|  Plan  |->| Execute |     |
    |  +----------+  +----------+  +--------+  +---------+     |
    +----------------------------------------------------------+
                              |
                              v
    +----------------------------------------------------------+
    |                 Multi-Modal Output                        |
    |   Text | Table | List | Tree | KeyValue | Progress       |
    |   Success | Error | Warning | Info | Diff | Composite    |
    +----------------------------------------------------------+
                              |
                              v
    +----------------------------------------------------------+
    |                 Presentation Layer                        |
    |     default | compact | detailed | json | minimal        |
    +----------------------------------------------------------+

Features

  • Custom Commands: Fully customizable commands with parameters, flags, validation
  • Layer Architecture: 5-stage pipeline (Intent, Validate, Plan, Execute, Present)
  • Multi-Modal Output: 12+ output types (tables, trees, lists, progress, etc.)
  • Smart Presentation: 5 display modes with automatic formatting
  • Composable: Chain commands and build workflows
  • Self-Documenting: Auto-generated help from command definitions

Setup

Terminal CLI

# Clone the repository
git clone https://github.com/user/shellx-terminal
cd shellx-terminal

# Install dependencies
bun install

# Run the terminal
bun run start

Web Documentation

# Navigate to web folder
cd web

# Install dependencies
npm install

# Start development server
npm start

Commands

Basic

  • hi - Say hello
  • help - Show help
  • clear - Clear screen
  • pwd - Current directory

Enhanced

  • lsx [path] [--tree] [--long] - Rich directory listing
  • info <path> - File information
  • search <pattern> [-r] - Search files
  • du [path] - Disk usage
  • env [--all] - Environment info

Files

  • ls - List files
  • cd <dir> - Change directory
  • mkdir <name> - Create directory
  • touch <file> - Create file
  • rm <file> / rm -rf <dir> - Remove
  • mv <src> <dst> - Move/rename
  • cat <file> - View file

System

  • git <command> - Git commands
  • exit - Exit terminal
  • :mode <mode> - Switch presentation mode

Presentation Modes

Switch modes at runtime with :mode <name>:

  • default - Standard formatting with colors
  • compact - Reduced whitespace
  • detailed - Full details with timing
  • json - Raw JSON output
  • minimal - Essential only

License

MIT

About

ShellX is a programmable command environment where commands are structured, composable, and context-aware.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published