Skip to main content

a CLI tool for accessing ChatGPT + other useful features

Project description

BashBot

Work In Progress

BashBot brings the power of OpenAI's gpt-3.5-turbo to your command-line, plus gives you the additional ability to work in the console while talking to ChatGPT, autosaving code that ChatGPT generates, and giving you the ability to quickly save, run, and view that generated code.

Installation and Config

// installing
$: pip install bashbot

// setting up
$:  bashbot config

Usage

// starting BashBot session with autosave = on and language = JS
$: bashbot -S js

Flags

  • -S [lang]: Autosave generated code in specified language (either js, py, c, or jsx)
  • -N [name]: Name of autosaved code (default: bashbot_code)
  • -P [relative path]: Path where code will be autosaved (default: directory from which bashbot was called)
  • -L: Enable logging

Special Keywords:

These words, if entered by themselves during a BashBot session, will trigger different things locally but will not be sent as a prompt to ChatGPT:

  • console: opens the system console, use exit_console to return to the BashBot session
  • run: run the last saved code
  • open: open the last saved code in vim in the terminal
  • exit: terminate the BashBot session

Languages:

Through the -S flag, code generated in these languages will be saved, and can be executed without leaving the BashBot session.

  • Python
  • JavaScript
  • JSX (React)
  • C

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

bashbot-0.0.2.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

bashbot-0.0.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file bashbot-0.0.2.tar.gz.

File metadata

  • Download URL: bashbot-0.0.2.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for bashbot-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a4a8bf487e76412cfcfde48693bc761b60aba2afbea3970cefaaad4c39185bd6
MD5 cffc6fb39a37af92380d541a423f871d
BLAKE2b-256 f2e768f05a9545e24440d91aa80b0a8d94197c8b52b1b7114b9e97b743dca298

See more details on using hashes here.

File details

Details for the file bashbot-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: bashbot-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for bashbot-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d2ea1785fa9f0d39ac8edca27919884a9ad07f7b5d0deaf577a39f7c424cb2c3
MD5 63484012c9c0cce1f088024e6b4de6ab
BLAKE2b-256 2cb0b670e5b03846a8bcf232a709e9d258ab8769c9e36de9bd1d3df5a7224569

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