Skip to main content

GPT powered terminal for Python developers.

Project description

BrixTerm

About

BrixTerm is a simple terminal app that integrates GPT to assist with everyday development tasks.


Features

  • Automatically suggests fixes for failed Unix commands
  • Generates Python code and copies it directly to your clipboard
  • Built-in chatbot accessible inside the terminal

Note: This tool is not fully agentic — developers maintain control by using pre-defined commands.


Available Commands

1. TERMINAL (default)

Type any terminal command. If it fails, the AI will suggest a corrected version.


2. INTERACTIVE SHELL

Use !<command> to run an interactive shell command. Without the !, interactive commands timeout after 10 seconds. Example: !htop


3. CODE GEN

Use c <your request> to generate Python code. The result is automatically copied to your clipboard.


4. CODE GEN + CLIPBOARD

Use ccc <your request> to generate Python code. The content of your clipboard is passed to the AI as context. The result is copied back to your clipboard.


5. ANSWER

Use a <your request> to chat with GPT.


6. EXIT

Use q to exit the application.


Powered by LLMBrix library: https://github.com/matejkvassay/LLMBrix

Usage guide

Install

pip install brix-term

Configure

# Configure OpenAI API access
export OPENAI_API_KEY='<TOKEN>'

# (optional) GPT model to be used, default is `gpt-4o-mini`
export BRIXTERM_MODEL='gpt-4o'

# (ALTERNATIVELY) API access for Azure AI is also supported
export AZURE_OPENAI_API_KEY='<TOKEN>'
export AZURE_OPENAI_API_VERSION='<VERSION>'
export AZURE_OPENAI_ENDPOINT='<ENDPOINT>'

Run

brixterm

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

brix_term-0.1.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

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

brix_term-0.1.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for brix_term-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c865d8d6eabbc18e69abcd5ebdef2601233ae3dc6eb5ecbf1b809929ab9d9250
MD5 4e92d50ea05949dcdf72d687767a8aa5
BLAKE2b-256 476aaa762a42c170df78dec0084ec05dd6da2ec554978c1780bd277e26580d9d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for brix_term-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 760621bc14621f9d695242d9b3f645d9d22e446790e833bfbfb39b1c5bfad36d
MD5 e5833d081eafcb0b0e66d6aa325ee594
BLAKE2b-256 310f381d16217fe97cf77f0c32786cfbec62bd362bceb682ab505b3a9103ddd7

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