Inspiration

Most Linux distributions come pre-installed with a web browser, IRC client and certainly TelNet. However, some Linux distributions have an outdated browser, or outdated certificates, or no browser, or no GUI. This project eliminates the digital divide between old/weaker Linux machines and the advancement of AI by allowing IRC and TelNet clients to connect and interact with AI chatbots as seamlessly as the browser.

I have worked with IRC as a user and casual botter in the past and I have long backend experience in Java. I thought that if I mixed the topic of AI with my very old fashioned toolset, I could perhaps create a useful link between the two.

What it does

The software hosts a low spec IRCd server and a Talknet server in which communication to them allows to interact with OpenRouter chatbots. For example, in the IRCd server, every channel is a separate chatbot instance with its own memory, and persists for users upon server restart, user rejoin, etc.

How we built it

Java backend from scratch using essential libraries like SimpleJSON and DotEnv-Java. The AI API used is OpenRouter.

Challenges we ran into

Persistence with SQL was a challenge due to having to thread pool multiple SQL connections while trying to be thread safe.

Accomplishments that we're proud of

Accomplished good practice with thread safety especially with SQL connections. First time use of an AI API with decent use. Proud to have been able to link such old fashioned software like IRC & Java with the current technology's AI.

What we learned

Thread safety with SQL connections, using AI APIs responsibility, Hackathons in general

What's next for LegacyAIDaemon

Implementing more API keys for each user by pooling API keys, supporting sshd

Built With

Share this project:

Updates