Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unity-Lab-AI/Voice-Control-2

Repository files navigation

Unity Chat

Main Build Status Main Tests Status

Unity Chat is a static Pollinations AI workspace with configurable models, voices, and visual themes. The interface is built for GitHub Pages deployment and includes automated workflows for validation, testing, and publishing.

Theme support

The application dynamically loads every theme in the themes/ directory. The interface stores the selected theme in local storage and keeps the dropdown in sync with the active choice, ensuring a consistent experience across reloads.

Automated workflows

Two GitHub Actions workflows keep the project healthy:

  • Pull Request Quality Checks – runs the Pollinations text generation smoke test for every pull request and records the outcome in the job summary.
  • Main Branch Pipeline – builds the static site, runs the smoke test against the /tests suite, reports build and test status summaries, and deploys the latest build to GitHub Pages.

The badges above surface the live build and test status from the main branch pipeline.

Local development

Install dependencies once:

npm ci

Run the bundled validation checks:

npm test

Execute the Pollinations text smoke tests:

# Run the /test suite (matches pull request checks)
npm run test:pollinations:pr

# Run the /tests suite (matches the main pipeline)
npm run test:pollinations

Build the static site locally:

npm run build

Project structure

  • script.js – main application logic, including Pollinations API integration, state management, and theme handling.
  • themes/ – CSS variable overrides for all interface themes.
  • tests/ & test/ – lightweight smoke tests that exercise the Pollinations text endpoint using Node's built-in test runner.
  • .github/workflows/ – GitHub Actions workflows for pull request checks and main branch deployments.

About

Voice control 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •