Skip to content

Open-Roleplay-AI/openroleplay.ai

Repository files navigation

Logo

openroleplay.ai

The open-source character.ai alternative.

Discord · Website · Issues

Github Stars License Commits-per-month Pricing


AI characters and roleplay for everyone

Open Roleplay is an open-source alternative to Character.ai. You have full control over your data, model, and characters.

Features

  • Open source models: Choose from a variety of AI models supported by monolyth.ai or bring yours, create your very own AI characters.
  • Customize Characters: Create your own characters, personas and UI unique.
  • Generate Images: Create images with open-source AI models.
  • ElevenLabs Voice: Create characters that can talk to users with a realistic voice.
  • Automatic Translation: Talk with your favorite AI models in your languages. Supported Languages
  • Group Chat (Coming soon): Invite your favorite characters to one chat room and chat together.

Supported Models

Check out here for supported models.

Built With

Apps and Packages

  • web: a Next.js app for the service
  • docs: a Next.js app for developer and user documentation
  • @repo/ui: a stub React component library
  • @repo/eslint-config: eslint configurations (includes eslint-config-next and eslint-config-prettier)
  • @repo/typescript-config: tsconfig.jsons used throughout the monorepo

Build

To build all apps and packages, run the following command:

pnpm build

Run Locally

To develop all apps and packages, run the following command:

# Run frontend server
pnpm install
pnpm dev

# Run backend server
cd apps/web
npx convex dev

Deployment

Convex and Vercel

We use convex for backend as a service and vercel for frontend cloud to ship features faster.

Check out Using Convex with Vercel for detailed guide.

Clerk

Clerk is an authentication platform providing login via passwords, social identity providers, one-time email or SMS access codes, and multi-factor authentication and basic user management.

We use Clerk for simplified and secure user authentication.

Check out Convex Clerk for detailed guide.

Roadmap and Feedback

Let's shape our roadmap together.

Want to build model-agnostic AI app? Check out monolyth.ai

Dozens of new AI models are trained and fine-tuned daily, with the process only accelerating. Your app deserves to remain functional even when an AI model becomes outdated. Build with the best models for each moment.

License

Openroleplay.ai is open-source under the GNU Affero General Public License Version 3 (AGPLv3). You can find it here. The goal of the AGPLv3 license is to:

  • Maximize user freedom and to encourage users to contribute to open source.
  • Prevent corporations from taking the code and using it as part of their closed-source proprietary products
  • Prevent corporations from offering Openroleplay.ai as a service without contributing to the open source project
  • Prevent corporations from confusing people and making them think that the service they sell is in any shape or form approved by the original team