Skip to main content

A powerful terminal-based chat application for seamless interaction with multiple AI providers

Project description

blnk

A powerful terminal-based chat application for seamless interaction with multiple AI providers.

PyPI version License: MIT

Features

  • Multi-provider support (OpenAI, Anthropic, Google Gemini)
  • Rich CLI interface with markdown formatting
  • Dynamic model switching and API selection
  • MCP integration for advanced reasoning
  • Streaming responses with progress indicators
  • Command system with help documentation
  • Configurable setup with environment management

Installation

pip install blnk-chat

Requires Python 3.13 or higher.

Quick Start

  1. Install blnk:
pip install blnk-chat
  1. Run the setup command:
blnk
/setup
  1. Configure your API providers and settings following the prompts.

Usage

Start blnk:

blnk

Available Commands

  • /help - Show help message
  • /apis - List available AI providers
  • /use <api> - Switch to specified AI provider
  • /model-list - Show available models for current/all providers
  • /switch-model - Switch to a different model for current provider
  • /tools - List available MCP tools
  • /exit - Exit the application

Examples

/use anthropic                               # Switch to Anthropic provider
/switch-model claude-3-5-sonnet-20241022     # Switch to Claude 3 model
/tools                                       # Show available tools

Configuration

blnk-chat uses environment variables for API keys. Create a .env file in your project directory:

OPENAI_API_KEY=your_openai_key
ANTHROPIC_API_KEY=your_anthropic_key
GOOGLE_API_KEY=your_google_key

Contributing

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

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

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Author

frgmt0 - frgmt_@frgmt.xyz

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

blnk_chat-0.1.0.tar.gz (45.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: blnk_chat-0.1.0.tar.gz
  • Upload date:
  • Size: 45.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for blnk_chat-0.1.0.tar.gz
Algorithm Hash digest
SHA256 04dbdedbb3750907e618d48ed23946e1f1dbc257a1ddf35999e540ddf7384e71
MD5 a410d50007a4b7bf2dbecba7f842fd1e
BLAKE2b-256 b938581422acd1b4fb5656a49c7299d23435c03970bdf3681c04a85089629d70

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