Thing I want to exist but don't want to build: a #mud that does pretty much the same thing as #SillyTavern or #agnaistic, intended for selfhosting. A MUD would be an excellent interface for #AI assisted #roleplay. With #Evennia and #OpenRouter, this honestly wouldn't be that hard. I just hate #Python and don't wanna.
The way to do it would be:
1. Set up a #docker#Evennia environment, to make distribution easy.
2. Add an attribute on Evennia accounts to hold an openrouter API key, and a userflow to get a users key via OAuth: openrouter.ai/docs/use-cases/oauth-pkce3. Use the #OpenAI Python API and hook it up to NPC's to let them chat, generating responses with the user's API key. Figure out function calling and hook it into the various creation functions of Evennia for extra fun. Probably need to store attributes for what models and parameters to use on each NPC, with global defaults probably from the user's account.
4. Dump the room name and desc, the player desc, and chat history into the AI context.
5. Something something MSP/MXP and ElevenLabs for sound effects and music.
6. Something Something MXP for images.
7. Dockerize the thing and upload it to let users run there own muds for AI roleplay for themselves and their friends.
If I either liked Python or was unemployed, I would do this. If only AI coding was good enough to just make the thing based on my design skeleton above.
OAuth PKCE - Secure User Authentication
Implement secure user authentication with OpenRouter using OAuth PKCE. Complete guide to setting up and managing OAuth authentication flows.OpenRouter Documentation