This project is a TUI (Text User Interface) chat client for the Bluesky social network. It allows users to connect to Bluesky, view incoming messages, and send posts directly from the terminal.
- Python 3.7+
- pip (Python package manager)
-
Clone this repository:
git clone https://github.com/yourusername/bluesky-terminal-chat.git cd bluesky-terminal-chat
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS and Linux:
source venv/bin/activate
- On Windows:
-
Install the required dependencies:
pip install -r requirements.txt
-
When you're done using the application, you can deactivate the virtual environment:
deactivate
This entire project was created by prompting Anthropic's Claude 3.5 Sonnet.
Before running the client, you need to set up your Bluesky credentials. Open main.py
and locate the following lines at the bottom of the file and populate them with your Bluesky handle and app password:
username = "" # your bluesky handle
password = "" # your bluesky app password (not your login password)
# See https://bsky.app/settings/app-passwords
client = ChatClient(websocket_url, username, password)
client.run()