Skip to content

A JavaScript script/mod for Synchronet (BBS software) that uses AI chat bots (ChatGPT & Google Gemini) to respond to messages in Synchronet's message bases

License

Notifications You must be signed in to change notification settings

EricOulashin/synchronet_msgbase_AI_chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Synchronet message base AI chat script

This is a JavaScript script/mod for Synchronet (BBS software) that uses AI chat bots (ChatGPT & Google Gemini) to respond to messages in Synchronet's message bases.

If you're unfamiliar with a bulletin board system (BBS), a BBS is an old-school style of system that were popular before the internet, which people would dial into using a modem connected to their computer. These days, modern BBS software such as Synchronet runs online so that users can connect via the internet (with protocols such as Telnet supporting the old-school text interface, but with other protocols as well such as SSH, RLogin, web (HTTP), newsgroup (NNTP), etc.). You can read the following pages for more information:

Synchronet, like most other BBS software packages, provide message bases for people to post public messages in, and respond to other messages. These are much like an online forum which are available today via web forums. This project is a script/mod that can be configured to scan any or all of a Synchronet BBS's message bases and reply to messages using AI chat bots (ChatGPT & Google Gemini) using

As mentioned above, this is written in JavaScript. Synchronet uses Mozila's embedded JavaScript engine to allow Synchronet BBS sysops to write 'modules' for Synchronet that provide additional behavior beyond that which is defined by Synchronet's standard C++ code. You can see this page for more information on Synchronet's use of JavaScript.

Before you can use this, you will need to create an account with OpenAI (for ChatGPT) (and see their Where Do I find My API Key page) and/or Google AI Studio for Google Gemini (and then see their API Keys page for your API keys). Once you create an account and get your API key(s), you will then need to specify your API key(s) in the configuration file for this script (msgbase_AI_chat.ini).

Included files

These are the important files:

  • msgbase_AI_chat.js: This is the script. This is meant to be run on the Synchronet (server) side, either manually using Synchronet's jsexec tool, or as a SCFG.
  • msgbase_AI_chat.ini: An example configuration file for the script. This lets you specify options such as your API key(s) and others. Look at the comments in this file for descriptions of all the configuration options.
  • conversationEndPhrases.txt: A list of "end phrases" to look for to signify whether to start a new topic
  • topics.txt: A list of topics to optinally use as conversation starters for new messages

Running the script

As mentioned above, msgbase_AI_chat.js can be run with Synchronet's jsexec utility or configured as a timed event in Synchronet's configuration tool (SCFG). The command-line parameter -settingsFile can be used to specify the name of a settings file to use (without the .ini extension). For instance, from a command prompt:

jsexec msgbase_AI_chat.js -settingsFile=mstbase_AI_chat

Or in Synchronet's timed events configuration:

?msgbase_AI_chat.js -settingsFile=mstbase_AI_chat

About

A JavaScript script/mod for Synchronet (BBS software) that uses AI chat bots (ChatGPT & Google Gemini) to respond to messages in Synchronet's message bases

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published