Skip to content

wimpywarlord/naval-cli

Repository files navigation

naval-cli

A beautiful command-line tool that displays Naval Ravikant's wisdom with ASCII art portrait.

Version Go License

✨ Features

  • 🎨 ASCII Art Portrait: Beautiful ASCII representation of Naval Ravikant
  • 💬 50+ Curated Quotes: Inspiring quotes on wealth, happiness, and life
  • 🎯 Simple & Fast: Instant wisdom in your terminal
  • 🌈 Colored Output: Beautiful colored display (can be disabled)
  • 📦 Zero Dependencies: Single binary, works everywhere

📦 Installation

Quick Install (Unix/Linux/macOS)

curl -sSL https://raw.githubusercontent.com/wimpywarlord/naval-cli/main/scripts/install.sh | bash

Homebrew (macOS/Linux)

brew tap wimpywarlord/naval-cli
brew install naval-cli

Go Install

go install github.com/wimpywarlord/naval-cli@latest

Download Binary

Download the latest binary for your platform from the releases page.

Platform-specific instructions:

macOS:

# Download (Intel Mac)
curl -L https://github.com/wimpywarlord/naval-cli/releases/latest/download/naval-cli-darwin-amd64 -o naval-cli

# Download (Apple Silicon)
curl -L https://github.com/wimpywarlord/naval-cli/releases/latest/download/naval-cli-darwin-arm64 -o naval-cli

# Make executable
chmod +x naval-cli

# Move to PATH (optional)
sudo mv naval-cli /usr/local/bin/

Linux:

# Download
curl -L https://github.com/wimpywarlord/naval-cli/releases/latest/download/naval-cli-linux-amd64 -o naval-cli

# Make executable
chmod +x naval-cli

# Move to PATH (optional)
sudo mv naval-cli /usr/local/bin/

Windows:

# Download the .exe from releases page

Build from Source

# Clone the repository
git clone https://github.com/wimpywarlord/naval-cli.git
cd naval-cli

# Build using Makefile (recommended)
make build

# Or build manually
go build -o naval-cli ./cmd/naval-cli

# Install globally (optional)
make install
# Or: go install ./cmd/naval-cli

🚀 Usage

Basic Commands

# Display a random quote with ASCII art
naval-cli

# Display quote without ASCII art
naval-cli --no-ascii

# Display multiple quotes
naval-cli --count 3

# Disable colors
naval-cli --no-color

# Show help
naval-cli --help

# Show version
naval-cli --version

Example Output

⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⠁⠀⠀⠀⠀⠈⠀⠀⠉⠀⠀⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⡀⠀⠀⠙⢿⣿⣿⣿⣿⣿⣿⣿
⠛⠿⠿⢿⣿⣿⣿⣿⣿⣿⠁⠀⠀⠀⠀⣀⣄⣤⣤⣤⣤⣴⣷⣿⣆⠀⢄⠈⣿⣿⣿⣿⣿⣿⣿
⠀⠀⠀⢸⣿⣿⣿⣿⣿⡿⠀⠀⠀⠀⣼⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⢠⣴⣿⣿⣿⣿⣿⣿⣿
⣇⠀⠀⢸⣿⣿⣿⣿⣿⠃⠀⠀⠀⠐⠻⠿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡀⢿⣿⣿⣿⣿⣿⣿⣿
⣿⣷⠀⠘⣿⣿⡿⠿⠿⠃⠀⠀⠀⠐⠛⠛⡓⢦⣹⣿⡟⢛⣉⣹⣿⣿⣇⢢⣿⣿⣿⣿⣿⣿⣿
⠈⠁⠀⠀⣿⣿⣿⣶⣶⣇⢀⣰⣿⣦⣤⣞⣽⣶⣿⣿⣿⡥⣌⣩⡙⣯⢶⣿⣿⣿⣿⣿⣿⣿⣿
⢀⣀⡀⠀⠈⠛⠛⠋⢹⣿⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣿⣿⣿⣾⣿⣿⣿⣿⣿⣿⣿⣿     "Seek wealth, not money or status.
⣿⣿⣿⣦⠀⢠⡤⠀⠀⠉⢹⣏⣿⢋⢾⣿⣧⣤⡙⣛⣻⣿⡿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿     Wealth is having assets that earn
⣿⣿⣿⣿⣷⠈⠁⠀⠠⠦⠈⠻⢻⣿⣶⣤⣬⣭⣛⣛⡛⠻⣷⣽⣿⡿⠛⠋⢻⣿⣿⣿⣿⣿⣿     while you sleep."
⣿⠿⠻⠟⠛⠀⠀⠀⢀⠀⠀⠀⠀⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡀⠀⠀⢰⣿⣿⣿⣿⣿⡟                      - Naval Ravikant
⠀⠀⠀⠀⠀⠀⠀⠀⢸⠀⣀⠀⠀⠈⠉⣩⣥⣬⣍⣉⣛⣿⣿⣿⣿⣷⣤⡀⠘⣿⣿⣿⣿⣿⠃
⠀⠀⠀⠀⠀⠀⠀⠀⠸⡀⣿⣧⠀⠀⠀⠰⠻⠿⠻⠿⠿⣿⣿⣿⣿⣿⣿⣷⣄⣿⣿⣿⣿⡟⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⢿⣿⣷⠀⠀⢀⣴⣾⠿⠿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡛⢿⡇⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠑⠿⡇⠀⠀⠀⠀⠐⢠⡶⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠁⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢧⣀⠀⢀⡄⠀⠀⠀⠀⠈⠉⠛⠿⣿⣿⣿⡿⠿⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⣿⡶⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
\                  

⚙️ Command-Line Options

Flag Description Default
--no-ascii Display quote without ASCII art false
--count <n> Number of quotes to display 1
--no-color Disable colored output false
--help Show help message -
--version Show version information -

🎯 Use Cases

# Morning motivation
naval-cli

# Share wisdom with your team
naval-cli --count 5 --no-color > team-wisdom.txt

# Add to your shell startup (.bashrc, .zshrc)
echo "naval-cli" >> ~/.zshrc

# Use in scripts
wisdom=$(naval-cli --no-ascii --no-color)
echo "Today's wisdom: $wisdom"

🤝 Contributing

Contributions are welcome! Feel free to:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📝 License

MIT License - see LICENSE file for details.

🙏 Acknowledgments

  • Naval Ravikant for his profound wisdom and insights
  • The Go community for excellent tools and libraries
  • ASCII art created with custom algorithms

📊 Stats

GitHub stars GitHub forks


Made with ❤️ by wimpywarlord

⭐ Star this repo if you find it useful!

About

a CLI tool which gives you random naval tweet

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •