BBS Chat Bot is a Python application that functions as a BBS Teleconference Bot with a MajorMUD mode for sending its responses as Gossips. The application provides a graphical user interface (GUI) built with Tkinter, allowing users to configure connection settings, toggle modes, and manage favorite BBS addresses.
- Connect to a BBS using a specified host and port.
- Toggle between ANSI and RIPscript terminal emulation modes.
- Enable "Mud Mode" to prepend "gos " to messages, useful for games where chatting is referred to as "Gossip".
- Manage favorite BBS addresses with the ability to add and remove favorites.
- Save and load favorite addresses from local storage.
- Use
!search <keyword>
for web searches. - Use
!chat <query>
for ChatGPT requests. - Use
!weather <city or zip>
to fetch weather information. - Use
!yt <query>
for YouTube searches. - Use
!news <topic>
for news searches via newsapi.org.
- Python 3.x
- Tkinter (usually included with Python)
asyncio
for asynchronous operations
-
Clone the repository:
git clone https://github.com/yourusername/bbs-chat-bot.git cd bbs-chat-bot
-
Install the required Python packages:
pip install -r requirements.txt
-
Run the application:
python BBSCHATBOT1.1.py
-
Use the GUI to enter the BBS host and port, then click "Connect" to establish a connection.
-
Toggle between ANSI and RIPscript modes using the "Toggle Mode" button.
-
Enable "Mud Mode" by checking the "Mud Mode" checkbox. This will prepend "gos " to every message sent.
-
Manage your favorite BBS addresses using the "Favorites" button. Add new addresses or remove existing ones.
-
Open the Settings window to configure API keys and other settings required for the various
!triggers
to work:- OpenAI API Key: Required for the
!chat
trigger to interact with ChatGPT. - Weather API Key: Required for the
!weather
trigger to fetch weather information. - YouTube API Key: Required for the
!yt
trigger to perform YouTube searches. - Google CSE API Key: Required for the
!search
trigger to perform Google Custom Searches. - Google CSE ID (cx): Required for the
!search
trigger to perform Google Custom Searches. - News API Key: Required for the
!news
trigger to fetch news headlines.
- OpenAI API Key: Required for the
- BBSCHATBOT1.1.py: Main application script.
- ui.html: HTML file for the GUI.
- ui.js: JavaScript file for handling UI interactions.
- settings.json: VS Code settings for the project.
- favorites.json: JSON file to store favorite BBS addresses.
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.