DEV Community

Camilo
Camilo

Posted on

MSN Messenger Chatbot with Elixir

This was a fun experiment.

ChatGPT in MSN Messenger

GitHub logo ElixirCL / msn-chatbot

😊 A MSN Messenger ChatGPT integration (Using MSNPlus for WLM 8.5)

Msn Chatbot

Connect MSN Messenger (AKA. Windows Live Messenger) 8.5 to ChatGPT for your own nostalgia shot.

This chatbot is configured to act as a cibercafe administrator in the year 2007 in Chile.

Installation

  • Install MSNChatbot.plsc to Messenger Plus scripts.

  • Set OPENAI_API_KEY env.

  • Install deps mix deps.get

  • Run iex -S mix run --no-halt

  • Create an account in https://escargot.chat/ and use a patched MSN Messenger client to use.

  • Configure lib/prelude.ex with your own settings.

How?

This bot uses the Messenger Plus 4.83 scripts to trigger events. Calls localhost:3000 with the params and the server calls OpenAI for the response.

This is a limited approach, a better approach would be creating a whole client using some libs like https://github.com/RayTF/MSNPSharp but since this was just a fun experiment I will leave that job to others.

Why?

Because is fun to see old technology working again, and with some powerups like ChatGPT.

Credits

A…

Top comments (0)