Like
cowsay, but Trump. Make your terminal great again!
A fun CLI tool that displays quotes from Donald Trump in ASCII art speech bubbles, inspired by the classic cowsay command.
___________________________________
< Make terminals great again! >
-----------------------------------
\
\
\
⠀⠀⠀⡀⠀⡄⣠⢄⡤⣤⠀⣦⣠⡄
⠀⠀⠀⠀⣀⣀⢟⠼⠣⠠⡅⡻⠜⠃⢀⢿⣷⡿⢘⢸⣭⢰⠠⠤
⠀⠀⠀⠁⠉⠉⢀⠒⠜⠸⠶⠶⢐⢛⠳⠶⠶⢒⣾⢘⢰⣴⢸⠇⡧⣌⣠⣔⡀
⠀⠀⠀⠀⠀⣀⡸⣛⣙⣛⣛⣘⣿⡆⡛⣛⣘⣛⣚⣸⣰⡅⢘⣛⢱⠠⢶⡆⠂⠀⡄
⠀⠀⠀⠀⣴⣶⡦⡭⡯⡏⠹⠽⣾⡀⡇⠻⠿⡧⡧⡏⠽⠥⣬⡭⡭⣈⡥⡭⣃⣇⣇
⠀⠀⠀⣀⢸⡟⠣⠬⠭⢵⡆⣾⠿⣃⡀⣩⡥⡦⡦⡆⠈⠩⠌⠩⠥⠬⠍⡇⣿⣿⣿⠇
⠀⠀⣤⠽⢧⡇⠩⡍⠭⢭⣧⣽⠰⢾⡇⣿⠁⣧⣧⡇⢩⡅⣭⠈⣭⣭⡅⠆⠿⠏⠿
⣶⡆⣿⣴⣶⡆⣛⣟⣛⠱⣾⣯⠘⢇⣙⣛⣻⡃⣙⣛⣻⢃⣙⡛⡻⡃⢤⣼⣧⡿⠁
⠙⢃⣉⠾⢹⡇⣿⡿⠽⢨⢹⣽⣤⡬⠉⡍⢡⣥⠉⣭⣭⣬⣭⠄⠥⠰⠆⠀⠶
⠀⣼⣭⢐⡊⡁⣛⡻⠿⢲⣶⣶⣶⠰⠐⢲⣶⣶⡆⠆⢐⣒⠒⢀⡃⣀⠛⠋⣽⠁
⠀⣶⣛⢸⣯⣽⢰⢾⡏⣿⣺⣸⣿⢿⡯⣓⣒⣺⠩⢭⢘⣻⢐⣸⠡⢇⣶⣾⣟
⠀⣸⣿⢨⣝⣿⠘⢢⡗⣗⣶⢱⣷⡎⣷⢑⣾⣾⠘⠛⢘⣛⢘⣛⢶⣾⠛⡾⠿
⠀⣿⢙⣴⣆⣹⢸⣿⣥⢥⡍⣭⢩⣥⣥⢨⣭⣭⢸⣟⢸⣟⢸⣟⢥⣤⣿⡇⣿⣠⡀
⠀⠉⠸⡌⣓⡀⢸⣯⣻⢼⡇⣿⣤⡟⣧⢰⣿⣿⢈⣛⡈⣛⣈⡛⣛⠟⢛⡃⣶⠘⣷⢢⡄
⠀⠀⠀⠀⠻⠿⢆⡤⡟⣼⣤⢻⡋⢡⢳⣶⣟⣛⡆⣻⣁⣿⣟⣁⠟⠒⢰⡆⠀⠈⠁
⠀⠀⠀⠀⠀⠀⠙⢳⢩⢩⣯⠌⡾⣭⢐⣤⣸⣿⡇⣿⣻⣻⣿⡻⠖⣀⢸⡇
⠀⠀⠀⠀⠀⠀⠀⠀⢿⣼⣸⣿⡰⣿⠠⢭⠽⢿⣷⢻⣿⡿⡿⣾⡗⠻⢸⡇⣿⡄
⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣙⣛⢻⣃⢶⣶⡶⢂⡸⣇⣼⠻⢸⡇⡆⠶⠰⢱⢂⢡
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠺⠱⣿⠲⠏⠾⠍⠐⠾⠷⢯⣷⣻⠸⠇⡂⣻⢽⢘⡳⣲⢰
⠀⠀⠀⠀⠀⠀⠀⢶⣷⡟⣷⢹⣼⠘⣿⣶⠐⣿⣶⣘⢶⡎⡆⡆⡆⣿⣿⣝⣗⣾⣾⣂
⠀⠀⠀⠀⠀⠀⢶⣾⠏⡇⠻⢍⣽⠔⠿⠿⢶⠿⠏⣿⢻⢅⣃⡂⣵⣭⣾⣿⣷⣾⣿⣧
⠀⠀⠀⠀⢠⢸⣸⠾⢄⠃⡇⣷⠠⠿⢸⠸⢽⠇⠇⣾⢰⢲⣿⢡⠛⡍⣿⢛⡓⠗⢿⣘⣀
⠀⠀⠀⠀⣬⢰⡾⡶⡜⠏⣹⠍⣒⡈⣛⡁⣛⡁⠴⠇⡎⣬⣭⢨⡇⣚⣹⢘⠃⡼⢖⣬⡍⡆
...
- 🎨 Simple ASCII Art - One Trump character (Braille art)
- 💬 Speech & Thought Bubbles - Say or think mode
- 🌐 API Integration - Fetch real Trump quotes from API
- 📝 Local Quotes - Built-in fallback quotes
- 💾 Caching - Cache API responses for offline use
- 🎯 Customizable - Adjust bubble width
git clone https://github.com/Alilotfi09/trumpsay.git
cd trumpsay
npm install
npm linkDisplay a random quote:
trumpsayDisplay custom text:
trumpsay "Make America Great Again!"Use the quote option:
trumpsay -q "I know words, I have the best words"# Fetch from API (default if no text provided)
trumpsay --api
# Use only local quotes
trumpsay --local# Thought bubble instead of speech
trumpsay --think "Thinking tremendous thoughts..."
# Custom bubble width
trumpsay -w 60 "This is a longer message"# Cache API results
trumpsay --api --cache
# Next call uses cached quote (if available)
trumpsay --cache# Show help
trumpsay --help
# List all local quotes
trumpsay --listUsage: trumpsay [options] [message]
Options:
-q, --quote <text> Display custom quote
-l, --local Use only local quotes
-a, --api Fetch quote from API
-u, --api-url <url> Custom API endpoint
-c, --cache Cache API results
-w, --width <n> Set speech bubble width (default: 50)
-t, --think Thought bubble instead of speech
--list List all local quotes
-h, --help Show help message
fortune | trumpsaycurl wttr.in/NewYork?format=3 | trumpsaycurl -H "Accept: text/plain" https://icanhazdadjoke.com/ | trumpsayAdd to your .bashrc or .zshrc:
trumpsay --api --cachetrumpsay --think "Should I build a wall?"By default, trumpsay uses the What Does Trump Think API:
https://api.whatdoestrumpthink.com/api/v1/quotes/random
Expected API response format:
{
"message": "Quote text here"
}Or:
{
"quote": "Quote text here"
}Or plain text string.
trumpsay includes 8 fallback quotes:
- "I will build a great wall — and nobody builds walls better than me."
- "We will make America great again."
- "Sometimes by losing a battle you find a new way to win the war."
- "The beauty of me is that I'm very rich."
- "My whole life is about winning. I don't lose often."
- "Nobody knows the system better than me."
- "I'm, like, a really smart person."
- "I know words, I have the best words."
View all quotes with trumpsay --list
The Trump ASCII art uses Unicode Braille characters for a detailed portrait that works in modern terminals. It's optimized for readability and humor.
When using --cache, quotes are stored in:
~/.trumpsay_cache.json
Cache format:
{
"last": "Quote text",
"when": "2025-10-13T12:00:00.000Z"
}Contributions are welcome! Here's how you can help:
- Add more local quotes
- Improve ASCII art
- Fix bugs
- Add new features (e.g., color options, more characters)
- Improve documentation
# Clone the repository
git clone https://github.com/alilotfi09/trumpsay.git
cd trumpsay
# Install dependencies
npm install
# Run directly for testing
node trumpsay.js "Test message"
# Link globally for system-wide testing
npm link
# Test the linked version
trumpsay "Test message"- Inspired by the classic
cowsayby Tony Monroe - Trump quotes from What Does Trump Think
- ASCII art created with Unicode Braille characters
- Built with:
- ASCII art requires Unicode support in terminal
- Very narrow terminals (< 60 columns) may display incorrectly
- Some terminal emulators may not render Braille characters properly
- Node.js >= 16.0.0
- Terminal with Unicode support
- Internet connection (for API mode)
If you find this useful or entertaining, please consider giving it a star! ⭐
Made with 💻 and ☕
Disclaimer: This is a parody project for entertainment purposes. All quotes are either from public sources or fictional. Not affiliated with Donald Trump.