Skip to main content

A simple and friendly command-line chat interface with colorful output

Project description

🎉 chatty

A simple and friendly command-line chat interface with colorful output!

chatty is a delightful CLI tool that provides an interactive chat-like experience with beautiful colors, emojis, and a friendly bot companion.

✨ Features

  • 🤖 Friendly AI-like responses - Chat with a cheerful bot
  • 🌈 Beautiful colors - Rich, colorful terminal output
  • 😊 Emoji support - Fun emojis throughout the interface
  • 📜 Conversation history - Keep track of your chat
  • Time queries - Ask for the current time
  • 😄 Jokes - Request jokes for entertainment
  • 🎨 Rich formatting - Tables, panels, and beautiful layouts
  • 🚀 Fast and lightweight - Minimal dependencies

🚀 Installation

Install chatty directly from PyPI:

pip install chatty

Or install with uv:

uv add chatty

💬 Usage

Basic Usage

Simply run chatty to start an interactive chat session:

chatty

With Options

# Start with your name for a personalized experience
chatty --name "Alice"

# Start in quiet mode (no welcome message)
chatty --quiet

# Get help
chatty --help

Example Conversation

🎉 Welcome to chatty! 🎉

💬 Type anything to chat with me!
🚪 Type 'bye', 'exit', or 'quit' to leave
📜 Type 'history' to see our conversation
❓ Type 'help' for more commands

You: Hello!
chatty: Hey! Great to see you! 😊

You: What time is it?
chatty: The current time is 14:30:25! ⏰

You: Tell me a joke
chatty: Why don't scientists trust atoms? Because they make up everything! 😄

You: bye
chatty: Goodbye! It was great chatting! 👋

🎮 Commands

  • General chat: Just type anything to chat!
  • Time: Ask "what time is it?" to get the current time
  • Jokes: Say "tell me a joke" for a random joke
  • History: Type "history" to see conversation history
  • Help: Type "help" for command information
  • Exit: Type "bye", "exit", or "quit" to leave

🛠️ Development

Requirements

  • Python 3.8+
  • rich >= 13.0.0
  • click >= 8.0.0

Local Development

  1. Clone the repository:
git clone https://github.com/zokrezyl/chatty.git
cd chatty
  1. Install with uv:
uv sync
  1. Run in development mode:
uv run chatty

Building

Build the package:

uv build

📝 License

MIT License - see LICENSE file for details.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

🐛 Issues

Found a bug or have a feature request? Please open an issue on GitHub.

🌟 Why chatty?

chatty was created to bring a bit of joy and color to the command line. Sometimes you just want to have a friendly conversation with your terminal!

Whether you're taking a break from coding, testing terminal colors, or just want to chat with a friendly bot, chatty is here to brighten your day! ✨


Made with ❤️ by zokrezyl

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ychatty-0.1.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ychatty-0.1.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file ychatty-0.1.0.tar.gz.

File metadata

  • Download URL: ychatty-0.1.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for ychatty-0.1.0.tar.gz
Algorithm Hash digest
SHA256 241da7b67010c1fdcbfb681f2854878f4f41076ddecc7921622aae7ec9bdb92c
MD5 2a555c7a5053984181d17ab94edaad25
BLAKE2b-256 8378419b414cd6435dc16f741506f6ba48b21585914703a89cad1407bd69a51c

See more details on using hashes here.

File details

Details for the file ychatty-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ychatty-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for ychatty-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 524a0f60ac520cda9b5d2829d953f34e1007d193d37689121d27dd869eb6a359
MD5 88e0504859dbdc5e9a22c2b56a7c501f
BLAKE2b-256 4b1e1a7ce482a676bc1c4d5e7e1c7d48399b30c655b9b1abcb3b6c9a7476f7d9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page