- python 3.x
- OpenAI API key and/or Anthropic API key
-
clone the repository:
git clone https://github.com/hunterirving/chatterbox.git cd chatterbox
-
set up the virtual environment:
python3 -m venv venv source venv/bin/activate
-
install the required packages:
pip install -r requirements.txt
-
configure your OpenAI and/or Anthropic API key(s) and other details:
- rename
config.py.example
toconfig.py
:
mv config.py.example config.py
- add your OpenAI and/or Anthropic API key(s) to
config.py
:
OPEN_AI_API_KEY = "your_openai_api_key" ANTHROPIC_API_KEY = "your_anthropic_api_key_here"
- optionally, set your preferred name or username by modifying the USERNAME string:
USERNAME = "your_name_or_username_here"
- rename
-
run the flask application:
python3 chatterbox.py
-
access the application:
open a web browser and navigate to
http://<ip_address_of_flask_server>:8080
.
feel free to submit issues or pull requests for improvements and bug fixes.
this project is licensed under the GNU General Public License v3.0.
prism.js (a syntax highlighting library) is licensed under the MIT License.