OpenCharacters  by josephrocca

Web interface for chatting with customizable characters

created 2 years ago
396 stars

Top 74.0% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

OpenCharacters is a client-side web interface for creating and chatting with AI characters, offering deep customization and an open-source alternative to platforms like CharacterAI. It targets users who want to build and interact with personalized AI companions without requiring a backend server, leveraging browser storage and URL-based sharing for portability.

How It Works

The application is a single HTML file, eliminating server-side dependencies. Character data, including personality and conversation history, is stored locally in the browser's IndexedDB and embedded within shareable URLs. A key innovation is its auto-summarization algorithm, which compresses older messages into "memories," effectively extending the character's context window to tens of thousands of entries. This allows for persistent, context-aware interactions.

Quick Start & Requirements

  • Install/Run: Download the OpenCharacters.html file and open it in a modern web browser.
  • Prerequisites: An OpenAI API key or a Hugging Face model endpoint is required for AI interaction.
  • Resources: Minimal; runs entirely client-side.
  • Docs: https://github.com/josephrocca/OpenCharacters

Highlighted Details

  • Single HTML file architecture for zero-server deployment.
  • URL-based character sharing and data embedding.
  • Advanced memory management via auto-summarization for extended context.
  • Extensible with custom JavaScript/Python code for unique character behaviors (internet access, video avatars, game masters, TTS, self-modification).
  • Supports OpenAI and Hugging Face models.

Maintenance & Community

The project is currently in maintenance mode, focusing on bug fixes and minor updates. The developer encourages forks for substantial new features. A Discord server is available for feature ideas and bug reports.

Licensing & Compatibility

The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

As a client-side application, all data is stored locally in the browser, meaning data loss can occur if browser storage is cleared. The project is in maintenance mode, indicating that significant new feature development may not occur in the main repository.

Health Check
Last commit

4 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
3 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.