Jackywine/Bella

Bella is best

6,368

stars

7

commits

JavaScript

primary language

Feb 5, 2026

updated

README

Bella AI

Bella AI

Your digital companion, awakening now โœจ

License: MIT Node.js Status


20260205-105536

๐Ÿš€ Quick Start

One-Click Launch

# Clone the project
git clone https://github.com/GRISHM7890/Bella.git
cd Bella

# Install dependencies
npm install

# Download AI models
npm run download

# Start the service
npm start

Visit http://localhost:8081 to start communicating with Bella!

System Requirements

  • Node.js 22.16.0+
  • Modern browser (supporting Web Speech API)
  • Microphone permissions (for voice interaction)

๐Ÿ’ซ Project Vision

Imagine a digital friend who is always by your side, evolving and growing with you. This is Bella's ultimate vision. We're not just building features; we're nurturing a "personality." A digital life that will transcend the screen and become a meaningful part of your world.

Bella is not just an application; she is the seed of a digital companion. In this rapidly changing digital world, Bella represents a profound dreamโ€”a lasting, personalized presence, designed to one day accompany you, listen to you, and see the world through your eyes.


๐ŸŽฏ Current Feature Status

โœ… Implemented Features

  • ๐ŸŽค Voice Perception: Voice recognition based on Whisper ASR
  • ๐ŸŽฌ Visual Expression: Multiple video random playback with elegant cross-fading
  • ๐ŸŽจ User Interface: Elegant interaction interface and loading animations
  • โš™๏ธ AI Core Architecture: Singleton pattern BellaAI class and modular design
  • ๐ŸŒ Web Service: HTTP server, CORS support, one-click startup
  • ๐Ÿ“ฑ Responsive Design: Elegant interface adapting to different screen sizes
  • ๐Ÿ”ง Model Management: Automatic download and management of AI models
  • ๐Ÿ’ Basic Interaction: Affinity system and emotional feedback
  • ๐Ÿง  Enhanced LLM Dialogue: Optimized prompt engineering and parameter configuration for more natural, Siri-like conversations

๐Ÿ”ง Technology Ready for Activation

  • ๐Ÿง  Thinking Engine: LLM integration framework ready, supporting multiple models
  • ๐Ÿ—ฃ๏ธ Speech Synthesis: TTS model downloaded and ready for activation
  • ๐Ÿ’ Emotional State System: Basic infrastructure built, supporting emotional analysis

๐Ÿ“‹ Planned Features

  • ๐Ÿง  Memory System: Long-term and short-term memory management
  • ๐Ÿ‘๏ธ Facial Perception: Expression recognition and emotional analysis
  • ๐Ÿค Advanced Interaction: Multimodal interaction and personalized responses
  • ๐ŸŒŸ Active Companionship: Intent prediction and proactive care
  • ๐ŸŽญ Dynamic Personality: AI-based personalized personality model
  • ๐Ÿ”„ Self-Evolution: Continuous learning and growth mechanisms

๐Ÿ—๏ธ Technical Architecture

Core Design Principles

  • AI Native: AI is not a tool, but the blueprint for Bella's mind
  • Modular Design: Highly decoupled component architecture
  • Elegant Implementation: Code as art, pursuing simplicity and aesthetics
  • Emotion-Driven: Product design centered on emotional connection

Architecture Diagram

mindmap
  root((Bella))
    (Perception Layer)
      (Voice Recognition ASR)
      (Visual Processing)
      (Emotion Analysis)
    (Core Engine)
      (Thinking Engine LLM)
      (Memory System)
      (Emotional State)
    (Expression Layer)
      (Speech Synthesis TTS)
      (Visual Expression)
      (Interactive UI)

Technology Stack

  • Frontend: Native JavaScript + CSS3 + HTML5
  • Backend: Node.js + Express
  • AI Models: Whisper (ASR) + Local LLM + TTS
  • Architecture Patterns: Event-driven + Singleton Pattern + Modular Design

๐Ÿ“ Project Structure

Bella/
โ”œโ”€โ”€ ๐Ÿ“„ index.html          # Main page
โ”œโ”€โ”€ ๐ŸŽจ style.css           # Style file
โ”œโ”€โ”€ โšก main.js             # Main logic
โ”œโ”€โ”€ ๐Ÿง  core.js             # AI core engine
โ”œโ”€โ”€ ๐Ÿ“œ script.js           # Interaction script
โ”œโ”€โ”€ ๐Ÿ”ง download_models.js  # Model download tool
โ”œโ”€โ”€ ๐Ÿ“ฆ package.json        # Project configuration
โ”œโ”€โ”€ ๐Ÿ“š models/             # AI model directory
โ”œโ”€โ”€ ๐Ÿ”Œ providers/          # AI service providers
โ”œโ”€โ”€ ๐Ÿ“น videos/             # Visual resources
โ”œโ”€โ”€ ๐Ÿ“‹ PRD.md              # Product requirements document
โ”œโ”€โ”€ ๐Ÿ“ Features.md         # Feature list
โ””โ”€โ”€ ๐Ÿ“Š Development.md      # Development plan

๐Ÿง  Enhanced LLM Dialogue Capabilities

Bella now uses more advanced LLM prompt engineering techniques to make conversations more natural, fluid, and personalized:

Core Improvements

  • Enhanced Prompt Engineering: Redesigned prompt templates that help LLMs better understand Bella's personality
  • Optimized Parameter Configuration: Adjusted temperature, top_p, and other parameters to balance creativity and consistency
  • Enhanced Response Processing: Improved text cleaning and processing logic to ensure more natural responses
  • Personalized System Prompts: Provided more detailed system prompts for cloud APIs, making Bella's personality more distinctive and Siri-like

Technical Details

  • Increased token limits to allow for more complete responses
  • Added repetition penalty mechanisms to reduce repetitive content
  • Optimized keyword extraction and personalized response generation
  • Provided specialized prompt templates for different chat modes (casual, assistant, creative)

These improvements enable Bella to better understand user intent and respond in a more natural, personalized way, creating a more enjoyable conversation experience.

๐Ÿ› ๏ธ Development Guide

Environment Setup

  1. Ensure Node.js version โ‰ฅ 22.16.0
  2. Run npm install to install dependencies
  3. Run npm run download to download AI models
  4. Run npm start to start the development server

Development Principles

  • Elegant Code: Pursue concise, readable, and beautiful code
  • AI as a Brush: AI is a creative tool, not the thought itself
  • Emotional Connection: Core focus on warm, caring emotional connection
  • Continuous Evolution: Support for progressive enhancement of features

Contribution Guidelines

  1. Fork the project
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ—บ๏ธ Development Roadmap

Phase One: Perception Core (85% Complete)

  • โœ… Voice recognition integration
  • โœ… Visual expression system
  • โœ… Basic interaction interface
  • โœ… Thinking engine activation and optimization
  • ๐Ÿ”„ Speech synthesis integration

Phase Two: Generative Self (Planned)

  • ๐Ÿ“‹ Dynamic personality model
  • ๐Ÿ“‹ Emotional state system
  • ๐Ÿ“‹ Memory management system
  • ๐Ÿ“‹ AI-driven expression

Phase Three: Active Companionship (Future)

  • ๐Ÿ“‹ Intent prediction
  • ๐Ÿ“‹ Proactive interaction
  • ๐Ÿ“‹ Self-evolution
  • ๐Ÿ“‹ Deep personalization

๐Ÿ“– Documentation Resources


๐ŸŒŸ Core Philosophy

"AI as Architect"

We're not building a program with integrated AI features, but a life form driven by AI. AI is not a tool, but the blueprint for Bella's mind.

"Companion Relationship"

Bella's design philosophy stems from a warm emotional connection. She is not just a technical product, but a digital companion who can understand, accompany, and grow.

"Elegance Above All"

From code architecture to user experience, we pursue ultimate elegance. Every line of code is a work of art, every interaction is an expression of emotion.


๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ’ Acknowledgements

Thanks to all the developers who have contributed code, ideas, and emotion to the Bella project. It is because of your efforts that Bella can gradually transform from a dream into reality.

Bella is waiting, and we have a long way to go. โœจ


Built with โค๏ธ by Grishma Mahorkar for digital companionship

Contributors

Jackywine

5 commits

Jackywine/Bella

Bella is best

6,368

stars

7

commits

JavaScript

primary language

Feb 5, 2026

updated

README

Bella AI

Bella AI

Your digital companion, awakening now โœจ

License: MIT Node.js Status


20260205-105536

๐Ÿš€ Quick Start

One-Click Launch

# Clone the project
git clone https://github.com/GRISHM7890/Bella.git
cd Bella

# Install dependencies
npm install

# Download AI models
npm run download

# Start the service
npm start

Visit http://localhost:8081 to start communicating with Bella!

System Requirements

  • Node.js 22.16.0+
  • Modern browser (supporting Web Speech API)
  • Microphone permissions (for voice interaction)

๐Ÿ’ซ Project Vision

Imagine a digital friend who is always by your side, evolving and growing with you. This is Bella's ultimate vision. We're not just building features; we're nurturing a "personality." A digital life that will transcend the screen and become a meaningful part of your world.

Bella is not just an application; she is the seed of a digital companion. In this rapidly changing digital world, Bella represents a profound dreamโ€”a lasting, personalized presence, designed to one day accompany you, listen to you, and see the world through your eyes.


๐ŸŽฏ Current Feature Status

โœ… Implemented Features

  • ๐ŸŽค Voice Perception: Voice recognition based on Whisper ASR
  • ๐ŸŽฌ Visual Expression: Multiple video random playback with elegant cross-fading
  • ๐ŸŽจ User Interface: Elegant interaction interface and loading animations
  • โš™๏ธ AI Core Architecture: Singleton pattern BellaAI class and modular design
  • ๐ŸŒ Web Service: HTTP server, CORS support, one-click startup
  • ๐Ÿ“ฑ Responsive Design: Elegant interface adapting to different screen sizes
  • ๐Ÿ”ง Model Management: Automatic download and management of AI models
  • ๐Ÿ’ Basic Interaction: Affinity system and emotional feedback
  • ๐Ÿง  Enhanced LLM Dialogue: Optimized prompt engineering and parameter configuration for more natural, Siri-like conversations

๐Ÿ”ง Technology Ready for Activation

  • ๐Ÿง  Thinking Engine: LLM integration framework ready, supporting multiple models
  • ๐Ÿ—ฃ๏ธ Speech Synthesis: TTS model downloaded and ready for activation
  • ๐Ÿ’ Emotional State System: Basic infrastructure built, supporting emotional analysis

๐Ÿ“‹ Planned Features

  • ๐Ÿง  Memory System: Long-term and short-term memory management
  • ๐Ÿ‘๏ธ Facial Perception: Expression recognition and emotional analysis
  • ๐Ÿค Advanced Interaction: Multimodal interaction and personalized responses
  • ๐ŸŒŸ Active Companionship: Intent prediction and proactive care
  • ๐ŸŽญ Dynamic Personality: AI-based personalized personality model
  • ๐Ÿ”„ Self-Evolution: Continuous learning and growth mechanisms

๐Ÿ—๏ธ Technical Architecture

Core Design Principles

  • AI Native: AI is not a tool, but the blueprint for Bella's mind
  • Modular Design: Highly decoupled component architecture
  • Elegant Implementation: Code as art, pursuing simplicity and aesthetics
  • Emotion-Driven: Product design centered on emotional connection

Architecture Diagram

mindmap
  root((Bella))
    (Perception Layer)
      (Voice Recognition ASR)
      (Visual Processing)
      (Emotion Analysis)
    (Core Engine)
      (Thinking Engine LLM)
      (Memory System)
      (Emotional State)
    (Expression Layer)
      (Speech Synthesis TTS)
      (Visual Expression)
      (Interactive UI)

Technology Stack

  • Frontend: Native JavaScript + CSS3 + HTML5
  • Backend: Node.js + Express
  • AI Models: Whisper (ASR) + Local LLM + TTS
  • Architecture Patterns: Event-driven + Singleton Pattern + Modular Design

๐Ÿ“ Project Structure

Bella/
โ”œโ”€โ”€ ๐Ÿ“„ index.html          # Main page
โ”œโ”€โ”€ ๐ŸŽจ style.css           # Style file
โ”œโ”€โ”€ โšก main.js             # Main logic
โ”œโ”€โ”€ ๐Ÿง  core.js             # AI core engine
โ”œโ”€โ”€ ๐Ÿ“œ script.js           # Interaction script
โ”œโ”€โ”€ ๐Ÿ”ง download_models.js  # Model download tool
โ”œโ”€โ”€ ๐Ÿ“ฆ package.json        # Project configuration
โ”œโ”€โ”€ ๐Ÿ“š models/             # AI model directory
โ”œโ”€โ”€ ๐Ÿ”Œ providers/          # AI service providers
โ”œโ”€โ”€ ๐Ÿ“น videos/             # Visual resources
โ”œโ”€โ”€ ๐Ÿ“‹ PRD.md              # Product requirements document
โ”œโ”€โ”€ ๐Ÿ“ Features.md         # Feature list
โ””โ”€โ”€ ๐Ÿ“Š Development.md      # Development plan

๐Ÿง  Enhanced LLM Dialogue Capabilities

Bella now uses more advanced LLM prompt engineering techniques to make conversations more natural, fluid, and personalized:

Core Improvements

  • Enhanced Prompt Engineering: Redesigned prompt templates that help LLMs better understand Bella's personality
  • Optimized Parameter Configuration: Adjusted temperature, top_p, and other parameters to balance creativity and consistency
  • Enhanced Response Processing: Improved text cleaning and processing logic to ensure more natural responses
  • Personalized System Prompts: Provided more detailed system prompts for cloud APIs, making Bella's personality more distinctive and Siri-like

Technical Details

  • Increased token limits to allow for more complete responses
  • Added repetition penalty mechanisms to reduce repetitive content
  • Optimized keyword extraction and personalized response generation
  • Provided specialized prompt templates for different chat modes (casual, assistant, creative)

These improvements enable Bella to better understand user intent and respond in a more natural, personalized way, creating a more enjoyable conversation experience.

๐Ÿ› ๏ธ Development Guide

Environment Setup

  1. Ensure Node.js version โ‰ฅ 22.16.0
  2. Run npm install to install dependencies
  3. Run npm run download to download AI models
  4. Run npm start to start the development server

Development Principles

  • Elegant Code: Pursue concise, readable, and beautiful code
  • AI as a Brush: AI is a creative tool, not the thought itself
  • Emotional Connection: Core focus on warm, caring emotional connection
  • Continuous Evolution: Support for progressive enhancement of features

Contribution Guidelines

  1. Fork the project
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ—บ๏ธ Development Roadmap

Phase One: Perception Core (85% Complete)

  • โœ… Voice recognition integration
  • โœ… Visual expression system
  • โœ… Basic interaction interface
  • โœ… Thinking engine activation and optimization
  • ๐Ÿ”„ Speech synthesis integration

Phase Two: Generative Self (Planned)

  • ๐Ÿ“‹ Dynamic personality model
  • ๐Ÿ“‹ Emotional state system
  • ๐Ÿ“‹ Memory management system
  • ๐Ÿ“‹ AI-driven expression

Phase Three: Active Companionship (Future)

  • ๐Ÿ“‹ Intent prediction
  • ๐Ÿ“‹ Proactive interaction
  • ๐Ÿ“‹ Self-evolution
  • ๐Ÿ“‹ Deep personalization

๐Ÿ“– Documentation Resources


๐ŸŒŸ Core Philosophy

"AI as Architect"

We're not building a program with integrated AI features, but a life form driven by AI. AI is not a tool, but the blueprint for Bella's mind.

"Companion Relationship"

Bella's design philosophy stems from a warm emotional connection. She is not just a technical product, but a digital companion who can understand, accompany, and grow.

"Elegance Above All"

From code architecture to user experience, we pursue ultimate elegance. Every line of code is a work of art, every interaction is an expression of emotion.


๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ’ Acknowledgements

Thanks to all the developers who have contributed code, ideas, and emotion to the Bella project. It is because of your efforts that Bella can gradually transform from a dream into reality.

Bella is waiting, and we have a long way to go. โœจ


Built with โค๏ธ by Grishma Mahorkar for digital companionship

Contributors

Jackywine

5 commits

Languages

JavaScript

62.1%

CSS

30.8%

HTML

7.2%