Crates.io | batcave |
lib.rs | batcave |
version | 0.7.4 |
source | src |
created_at | 2024-10-04 16:51:10.883163 |
updated_at | 2024-10-28 06:13:25.561886 |
description | the Batcave Terminal, a mysterious and powerful command-line interface inspired by the Dark Knight's lair. |
homepage | https://github.com/ThembinkosiThemba/batcave |
repository | https://github.com/ThembinkosiThemba/batcave |
max_upload_size | |
id | 1396792 |
size | 76,217 |
Welcome to the Batcave Terminal. This Rust-based terminal emulator provides a unique, Batman-themed experience while offering essential file system navigation and manipulation capabilities. If you are looking for something different and refreshing, this is the right terminal for you.
.batcaverc
To install and activate the Terminal on your computer, follow these steps:
You can install it from cargo
by running:
cargo install batcave
Or clone the repository:
git clone https://github.com/ThembinkosiThemba/batcave.git
cd batcave
cargo build --release
cargo run --release
Once you've launched the Batcave Terminal, you'll be greeted with a bat-tastic ASCII art and a prompt that would make Commissioner Gordon jealous. Here are the available commands to fight crime (or just manage your files):
sys on
: Enable system information display at startupsys off
: Disable system information displaysys status
: Check current system information display settingsinfo
: Display system information on demandcd [directory]
: Swoop into a new directorypwd
: Reveal your current Bat-locationls [directory]
: Shine the Bat-light on directory contentsmkdir [directory_name]
: Construct a new Bat-cave (directory)rm [file_or_directory]
: Dispatch a file or directory to Arkham Asylumtouch [file_name]
: Leave your Bat-mark on a new fileecho [message]
: Broadcast a message to all of Gotham (or just your terminal)exit
: Hang up the cape and cowl (exit the Batcave Terminal)pushd [directory]
: Store your current location and move to a new directory (like setting a waypoint)popd
: Return to your previously stored location (tactical retreat)jobs
: Monitor your active processes (keep tabs on Gotham's activity)history
: Review your past commands (because Batman always learns from experience)alias
: Create command shortcuts (because even Batman needs efficiency)The Batcave Terminal comes with a powerful configuration system, managed through the .batcaverc
file in your home directory. This file is automatically created during first launch with sensible defaults, but you can customize it to your heart's content.
Example .batcaverc
configuration:
# Batcave Shell Configuration
# Default aliases for quick crime-fighting
alias ll="ls -la"
alias cls="clear"
alias gst="git status"
alias gco="git checkout"
alias gaa="git add ."
# Environment variables
export PATH="$HOME/.cargo/bin:$PATH"
export EDITOR="vim"
export TERM="xterm-256color"
# Custom prompt settings
export PS1="🦇 \w> "
# System information display preference
export SHOW_SYSTEM_INFO="true"
The Batcave Terminal includes advanced shell management capabilities that would make even Lucius Fox proud:
pushd
and popd
to maintain a stack of directories, perfect for quick navigation between multiple locations in your crime-fighting duties.history
command.export
commands, all persistently stored in your .batcaverc
.The Batcave Terminal can display detailed system information at startup, providing you with crucial intelligence about your computer:
Control this feature with:
sys on # Enable system information display
sys off # Disable system information display
sys status # Check current setting
Feel free to modify the ASCII art, colors, or add new commands to make the Batcave Terminal your own. The main logic is contained in src/main.rs
. Remember, Batman works alone, but he's not opposed to a little help from his friends.
Contributions to the Batcave Terminal are welcome! Simple open a PR and those change will be implemented.
This project is licensed under the "Wayne Enterprises Open Source Initiative" License - see the LICENSE file for details. (It's actually just the MIT License, but I think this name sounds cooler.)
Remember, it's not who you are underneath, it's what you type on the command line that defines you. Use the Batcave Terminal wisely, and may it serve you well in your coding adventures!
"Why do we fall? So we can learn to pick ourselves up." - Alfred Pennyworth (and also applicable to debugging)