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.2.0.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.2.0-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blnk_chat-0.2.0.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.2.0.tar.gz
Algorithm Hash digest
SHA256 9a43e58628b496e2f7bd49068435a1ec62201fadb4a42dfb2b17107e451b3e26
MD5 c495e858ba7d6e1a3d820a87d0a777f0
BLAKE2b-256 490bf6205c8af373c356209ff1acffd0f95fa69142bcec9a76edb8e9f70b5f30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blnk_chat-0.2.0-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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c38ee4b385b80a60269d21af9155479c8cb5ed344edf242885cde1d7f9bb4ad5
MD5 b1a2b57e2fc2167a17100cb8519f119e
BLAKE2b-256 6949be405f1981552ae7eb364e12bd72a2b74a22562f3d7c4fba2fbf084c603e

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