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

Uploaded Python 3

File details

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

File metadata

  • Download URL: blnk_chat-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 5e0e7837cca81a64ddf14cc16f3417cc2b28e717728ff1d680ba661813f595f1
MD5 01907a5d52cc9d6eca9bb07366b7ec7c
BLAKE2b-256 38d45cf3aa4f8fa4f2466961d33aaa2f962e827c0a1a16e065e24725bbb8e594

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blnk_chat-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 390d9d75bef5deb9a7363e9d3ea255054bf93adf1661f78717d8c10a92c1f6ef
MD5 41d0ff9399518af3453150d44705456a
BLAKE2b-256 4ac2cf136e679f1e66203e7a4d14b5b303b5401a85a8867472c3487539f30326

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