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.2.tar.gz (46.8 kB view details)

Uploaded Source

Built Distribution

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

blnk_chat-0.1.2-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blnk_chat-0.1.2.tar.gz
  • Upload date:
  • Size: 46.8 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.2.tar.gz
Algorithm Hash digest
SHA256 7fa2473ecb69a92148c97f51d5840da4d65a75b8f0edfc7e449b61c2352d6de7
MD5 2d0839a8b8ba5e5db7dc2257b89f3260
BLAKE2b-256 7c6f85e06a633f40de10cc6e622a51e15a6e94b74f50721133999d99b1f89aee

See more details on using hashes here.

File details

Details for the file blnk_chat-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: blnk_chat-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for blnk_chat-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1e7d6ef435822f5a930a5a185b82b87f4a353dac70b46de7b220be9fb5ebbaf4
MD5 c967175a3b67b9e0c547388f78bda484
BLAKE2b-256 21b2ffc1892d16180cccd74004be10306c94ddd291c22330166175410d63fea4

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