The next-generation command-line tool that supercharges your workflow
Features β’ Installation β’ Quick Start β’ Documentation
Genesis is a blazingly fast, intelligent, and versatile CLI tool built with Rust that brings together powerful features for modern developers and power users:
- β‘ Lightspeed Search: Find files in milliseconds with typo-tolerant fuzzy matching
- π§ Universal Package Management: One interface for all package managers (apt, pacman, brew, chocolatey, and more)
- π System Intelligence: Monitor health, manage resources, and optimize performance
- π Developer Tools: Project scaffolding, git integration, and automation
- π¨ Beautiful UI: Colorful, intuitive terminal interface with interactive menus
Revolutionary file search that's faster than anything you've used before:
# Index your filesystem once
genesis index
# Search with lightning speed (<1ms!)
genesis search myfile
# Typo-tolerant! Finds "monitor.rs" even when you type:
genesis search monitr
# Substring search - finds "Bauhaus" when searching for "Haus"
genesis search configHow it works:
- π§ N-gram indexing for O(k) substring search (independent of file count!)
- π Parallel fuzzy matching with SIMD acceleration across CPU cores
- π― SymSpell algorithm for ultra-fast approximate matching
- π Sub-millisecond search times - typically 0.5-1ms
Stop memorizing different package manager commands! Genesis supports them all:
# Works on ANY platform - detects your package manager automatically
genesis install python3 nodejs rust
# Update everything at once
genesis update
# Search across all available package managers
genesis search docker
# Remove packages
genesis remove package-nameSupported package managers:
- Linux:
apt,pacman,yay,paru,dnf,zypper,apk,xbps,emerge - macOS:
brew,nix - Windows:
chocolatey,winget,scoop - Universal:
flatpak,snap,cargo,npm,pip,pipx,gem
Keep your system healthy and optimized:
# Kill resource-hungry processes
genesis hero
# Check system health
genesis health
# View system information
genesis info
# Monitor disk usage
genesis storage
# Real-time system monitoring
genesis monitorAccelerate your development workflow:
# Create new projects with templates
genesis new myproject --template rust
# Organize files intelligently with AI
genesis sort ./downloads
# Quick calculations
genesis calc "2^16 * 3"
# Manage environment variables
genesis env
# View system logs
genesis logs
# Network diagnostics
genesis networkGenesis now features 7 intelligent sorting modes with optional Gemini AI integration:
# Sort files in current directory
genesis sort .
# Available modes:
# 1. Manual Learning - You categorize, system learns silently
# 2. Assisted Learning - System suggests, you correct
# 3. Smart - Uses your learned patterns automatically
# 4. Deep - Content-based analysis with AI/heuristics π
# 5. AI-Assisted Learning - System suggests, AI corrects/validates π€
# 6. AI Learning - AI suggests, you teach β‘
# 7. AI Sorting - Fully automatic AI categorization πAI Features:
- π― Intelligent categorization using Gemini 2.0 Flash
- πΈ Automatic screenshot detection
- π§ Learns from your corrections and AI validations
- π¬ AI explains corrections when disagreeing with system
- π Switch from AI Learning to smart mode mid-session
- π AI validates system suggestions in AI-Assisted Learning
Deep Sorting Mode:
- π Analyzes file contents to understand what they are
- π Detects code patterns, documentation structure, and data formats
- π€ Uses AI (when available) for enhanced content analysis
- π― Falls back to heuristic analysis when AI is not configured
Custom Destinations:
- π Configure where files go based on category
- π Support for absolute paths (e.g.,
/home/user/Documents) and home directory expansion (~/Documents) - βοΈ Configure in
~/.config/genesis/config.tomlunder[sort.custom_destinations]
Example configuration:
[sort]
enable_deep_sorting = false
[sort.custom_destinations]
Documents = "~/Documents/sorted"
Images = "~/Pictures"
Code = "~/Projects"Built-in tools for daily tasks:
# Quick notes
genesis notes
# Todo management
genesis todo
# Timer and stopwatch
genesis timer
# System benchmark
genesis benchmark# Clone the repository
git clone https://github.com/Raindancer118/genesis.git
cd genesis
# Build and install
cargo build --release
sudo cp target/release/genesis /usr/local/bin/
# Or use the install script
./install.shcurl -sSf https://raw.githubusercontent.com/Raindancer118/genesis/main/install.sh | shConfigure Genesis interactively:
genesis setupThis opens an interactive menu where you can configure:
- Package manager preferences
- Search settings (Lightspeed mode, fuzzy threshold)
- Project defaults
- System behavior
- Gemini API key for AI-assisted sorting β‘
To enable AI-assisted file sorting:
-
Get your API key:
- Visit: https://makersuite.google.com/app/apikey
- Sign in with your Google account
- Click 'Create API Key'
- Copy the generated key
-
Configure the key:
# Add to your shell profile (~/.bashrc, ~/.zshrc, etc.) export GEMINI_API_KEY='your-api-key-here' # Then reload your profile source ~/.bashrc
-
Verify it works:
genesis sort . # You should now see AI-powered sorting options
Enable lightning-fast file search:
# Index current directory
genesis index
# Index specific paths
genesis index --paths ~/Documents ~/Projects
# View index information
genesis index --info# Basic search
genesis search config
# Works with typos!
genesis search cnfig
# Substring matching
genesis search .rs# Install packages (auto-detects your package manager)
genesis install vim neovim
# Update all packages
genesis update --yes
# Search for packages
genesis search package firefox# Check system health
genesis health
# Kill resource hogs
genesis hero
# View disk usage
genesis storageFine-tune Lightspeed search in ~/.config/genesis/config.toml:
[search]
lightspeed_mode = true # Enable Lightspeed (default: true)
fuzzy_threshold = 2 # Edit distance for fuzzy matching (0-3)
max_depth = 10 # Directory traversal depth
max_results = 50 # Maximum results to display
show_details = false # Show file size and modification time
exclude_hidden = true # Skip hidden files/directories
# Paths to index by default
default_paths = ["/home/user/Documents"]
# Patterns to ignore during indexing
ignore_patterns = [
"node_modules",
".git",
"target",
".cache",
"__pycache__"
]| Command | Description |
|---|---|
genesis index |
Build search index |
genesis search <query> |
Search files with Lightspeed |
genesis install <pkg> |
Install package(s) |
genesis update |
Update all packages |
genesis hero |
Kill resource-intensive processes |
genesis health |
System health check |
genesis new <name> |
Create new project |
genesis sort <path> |
Organize files with 7 intelligent modes |
genesis setup |
Interactive configuration (includes Gemini API) |
Genesis provides 7 intelligent sorting modes:
| Mode | Description | Learning | AI Required |
|---|---|---|---|
| Manual Learning | You categorize each file manually | β System learns | β No |
| Assisted Learning | System suggests based on rules, you correct | β System learns | β No |
| Smart | Automatically uses your learned patterns | Uses learned data | β No |
| Deep | Content-based analysis (AI + heuristics) | Analyzes content | πΆ Optional |
| AI-Assisted Learning | System suggests, AI validates/corrects | β AI corrects | β Yes |
| AI Learning | AI suggests, you teach and correct | β Both learn | β Yes |
| AI Sorting | Fully automatic AI categorization | AI categorizes | β Yes |
Additional features:
- πΈ Automatic screenshot detection (detects 16:9, 16:10, 21:9 aspect ratios)
- π Switch from AI Learning to smart mode mid-session
- π¬ AI explains corrections when disagreeing with system
- π€ AI validates system suggestions in AI-Assisted Learning mode
- π§ Persistent learning across sessions
- β©οΈ Undo last operation within 5 minutes
- π Deep mode analyzes file contents for better categorization
- π Custom destinations for each category (configure in config.toml)
See genesis --help for the complete command list.
β‘ Lightspeed search for 'config'...
3 results found in 0.54ms:
1. ./src/config.rs [βββ]
Size: 5.1 KB | Modified: 2025-12-16 01:17:07 | Score: 95
2. ./legacy_python/commands/config.py [ββ]
Size: 3.9 KB | Modified: 2025-12-16 01:13:09 | Score: 72
Index last updated: 2025-12-16 01:36:34 | Search time: 0.54ms
π οΈ Genesis Configuration
? Main Menu:
> General Settings
System Settings
Project Settings
Search Settings β‘
Save & Exit
Discard & Exit
Genesis is built with performance in mind:
| Operation | Time |
|---|---|
| Search query | <1ms |
| Index 1000 files | ~100ms |
| Package install | System-dependent |
| System health check | ~50ms |
Search Performance Comparison:
- Traditional
find: 100-1000ms locate: 10-50ms- Genesis Lightspeed: 0.5-1ms β‘
Genesis leverages cutting-edge technologies:
- Rust: Memory-safe, blazingly fast systems language
- Rayon: Data parallelism for multi-core performance
- SIMD: CPU vector instructions for accelerated fuzzy matching
- N-gram indexing: Advanced data structures for O(k) search
- SymSpell: Dictionary-based fuzzy search algorithm
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see LICENSE for details
- Built with β€οΈ using Rust
- Inspired by modern CLI tools like
ripgrep,fd, andexa - Search algorithms based on academic research in information retrieval
Made with β‘ by the Genesis Team
β Star us on GitHub | π Report Bug | π‘ Request Feature