/openroleplay.ai

openroleplay.ai is an open source character.ai alternative.

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

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 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.

Support This Project

This project is entirely bootstrapped and was initiated out of personal passion and effort. Your contributions are invaluable and will ensure the continued vitality of this project.

Any contributions you make are greatly appreciated. There are many ways to contribute, from improving the documentation, submitting bug reports and feature requests or writing code which can be incorporated into Openroleplay.ai itself.

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

When you'd like to commercialize your own version of Openroleplay.ai

  • You need to open-source your modifications.
  • After your users registration, you should provide a prominent mention and link to the original project (https://openroleplay.ai). You should clearly mention that you provide a modified version of the official project, Typebot. It would be also a good place to explain your version advantages comparing to the original project.
  • You need to provide a link to your forked repository somewhere in the landing page or the app. This way, interested users can easily access and review the modifications you’ve made.