This repository is archived.
This project was originally released as BetterBoxx, a Node.js chatbot designed to integrate with KakaoTalk messaging clients. It has since been renamed to boxxcat-community and is no longer under active development.
We are keeping this repository available for historical reference and self-hosting enthusiasts, but it will not receive further updates.
While this repository remains open-source, development has moved to a new platform with significantly improved architecture, performance, and features.
You can use the new generation of this chatbot at:
The new platform includes:
- A modernized architecture
- Continuous updates and improvements
- Extended proprietary plugins
- A hosted chatbot platform that removes the need for manual setup
Users and organizations who want a fully managed chatbot service can sign up directly on the platform.
This repository contains the self-hostable version of the original BetterBoxx chatbot.
Features include:
- Node.js based chatbot server
- KakaoTalk integration using
@remote-kakao/core - Basic OpenAI integration
- A plugin system located in
/pluginsfor extending functionality - Client/server structure for running the chatbot from Android devices
This repository hosts both server and client code.
The documentation below describes configuring the server component.
Pasting reference/client.js into
Messenger Bot R
should make the client work out of the box.
Clone the repository:
git clone https://github.com/BoxxCatLabs/boxxcat-community.gitNavigate to the directory and install dependencies:
cd boxxcat-community
npm installNode.js 18 or higher is required.
Before running the chatbot, configure environment variables.
Rename .env.example to .env and set your OpenAI API key.
OPENAI_API="Bearer YOUR_OPENAI_API_KEY"
PORT="3000" # optional
Room authentication can be enabled using:
USE_AUTH=true
AUTH_ROOM="ROOM_ID_1,ROOM_ID_2,ROOM_ID_3"
For additional security, it is recommended to rename room identifiers with random strings when configuring the client.
Start the chatbot:
npm startTo keep the process running:
forever start index.jsThe server will listen on the port defined in .env (default: 3000).
Commands are triggered by specific prefixes.
Features include:
Ping!→ replies withPong!- Messages prefixed with
>>are forwarded to the OpenAI API and return AI-generated responses.
Plugins can extend the chatbot with additional functionality.
Bundled plugin:
openai-gpt– Forwards messages prefixed with>>to OpenAI'sgpt-4o-minimodel and replies with the AI response.
You can write your own plugins.
KKS wrote a guide for running this system on Android using Termux.
Guide: https://iris-kilometer-f84.notion.site/readme-43ed9bb956ae44e4824105087c83a1f5
Archived copy: https://web.archive.org/web/20240319035753/https://iris-kilometer-f84.notion.site/readme-43ed9bb956ae44e4824105087c83a1f5
To build your own plugin:
- Create a new folder inside
plugins - Add a JavaScript file with the plugin name
- Implement plugin metadata and handlers such as:
nameversiononLoadonMessage
The openai-gpt plugin included in this repository can be used as a reference implementation.
This project uses code from https://github.com/remote-kakao
Special thanks to the developers who contributed to the ecosystem around KakaoTalk automation.
This repository is licensed under the MIT License.
You are free to use, modify, and distribute the code.
This project represents an early generation of the BetterBoxx chatbot ecosystem.
For the actively maintained version, improved infrastructure, and hosted services, visit: