-
Notifications
You must be signed in to change notification settings - Fork 0
User Guide
Welcome to Forgum, the cross-platform terminal experience for PowerShell. This guide provides an overview of how to use and customize your Forgum installation to enhance your terminal environment.
Forgum integrates three classic terminal utilities into a cohesive, highly-performant module:
-
ASCII Art Engine: A modern implementation of
cowsaywith 107 characters. - Fortune Database: A curated collection of quotes, wisdom, and humorous observations.
- Lolcat Rendering: 24-bit truecolor rainbow colorization for any terminal output.
- Animation Engine: High-framerate terminal animations including bounce, dissolve, and fade effects.
Once installed, the primary way to interact with Forgum is through the Invoke-Forgum command.
# Display a random fortune with a random character in rainbow colors
Invoke-Forgum -LolcatUse Invoke-Cowsay for direct message generation with specific characters.
# Display a custom message using the 'dragon' character
Invoke-Cowsay -Text "System systems operational." -CowFile dragon
# Use the 'kitty' character
Invoke-Cowsay -Text "Observation recorded." -CowFile kittyThe Set-Forgum command is the recommended way to persistently update your preferences.
# Persistently set the default character and animation mode
Set-Forgum -Cow dragon -Animation bounce
# Enable global rainbow colorization and set custom eyes
Set-Forgum -Lolcat $true -Eyes "@@"Explore the full library of 107 characters:
# List all character names
Get-CFCow
# View a random sample of characters
cowgallery -Count 3Modify the visual state of your character using eye presets:
# Stoned mood
Invoke-Cowsay -Text "Processing..." -Eyes **
# Dead mood
Invoke-Cowsay -Text "Critical Error." -Eyes xx
# Paranoia mood
Invoke-Cowsay -Text "Unauthorized access detected." -Eyes @@Toggle global colorization or adjust the frequency:
# Toggle global lolcat state
lolcat-toggle
# Adjust color frequency via configuration
Set-Forgum -RainbowFrequency 0.05"How do I see all available characters?"
Execute Get-CFCow to retrieve the complete inventory of character templates.
"How do I enable startup greetings?"
Startup behavior is managed during initial installation or via Invoke-ForgumSetup. To enable it manually, ensure Import-Module Forgum is present in your $PROFILE.
"Is this compatible with non-PowerShell environments?" Yes. Forgum provides integration samples for Bash, Zsh, Fish, and tmux. Refer to the Sample Configs documentation for details.
Forgum is designed to be a lightweight, secure, and performant addition to your terminal workflow. For detailed technical specifications, refer to the API Reference.