No description
  • JavaScript 52.1%
  • Python 23.7%
  • CSS 20.2%
  • HTML 4%
Find a file
G-Fourteen d8b1c59a68
Some checks failed
Main Branch Delivery / Build and Upload Artifacts (push) Has been cancelled
Main Branch Delivery / Report Build Status (push) Has been cancelled
Main Branch Delivery / Run Tests (push) Has been cancelled
Main Branch Delivery / Report Tests Statuses (push) Has been cancelled
Main Branch Delivery / Deploy to Pages (push) Has been cancelled
Update instructions for response formatting
2025-10-31 19:27:39 -06:00
.github/workflows Inline assets in GitHub Pages build 2025-10-31 18:34:19 -06:00
scripts Inline assets in GitHub Pages build 2025-10-31 18:34:19 -06:00
tests Ensure Pollinations requests include Unity referrer 2025-10-31 17:38:14 -06:00
.gitignore Ignore build outputs and drop ci_reports placeholder 2025-10-31 18:56:32 -06:00
ai-instruct.txt Update instructions for response formatting 2025-10-31 19:27:39 -06:00
app.js Fix DOM bootstrap for static bundle 2025-10-31 19:18:23 -06:00
index.html Improve voice circle feedback and prompt diagnostics 2025-10-31 19:04:00 -06:00
README.md Inline assets in GitHub Pages build 2025-10-31 18:34:19 -06:00
requirements.txt Revamp voice UI and add CI workflows 2025-10-31 17:03:20 -06:00
style.css Improve mute toggle UX and voice activity visuals 2025-10-31 19:09:13 -06:00

Unity Voice Chat Preview

Pull Request Workflow Status Main Branch Workflow Status Main Branch Tests

A responsive, speech-driven art experience powered by the Pollinations Unity model. The interface now features dedicated activity monitors for Unity (left) and the user microphone (right) so it is clear who is speaking at all times. The microphone toggle stays anchored to the bottom of the screen for easy access on both mobile and desktop.

Features

  • Dual voice monitors modern circular visualizers spaced using the rule of thirds, highlighting Unity (left) and the user (right) with independent activity states.
  • Bottom-aligned mute control a persistent, centered control that guides users through granting microphone permissions and starting conversations.
  • Graceful voice handling contextual ARIA labels, explicit error feedback, and automatic re-listening when the browser allows continuous recognition.
  • Dynamic imagery every prompt swaps the blurred cinematic background using the selected Pollinations image model (flux, turbo, or kontext).

Continuous Integration

Two separate GitHub Actions workflows keep deployments fast and informative:

  • Pull Request Checks (.github/workflows/pull-request.yml)

    • Runs on every pull request update.
    • Executes each script under tests/ via tests/run_tests.py.
    • Publishes a markdown summary of individual test results.
  • Main Branch Delivery (.github/workflows/main-branch.yml)

    • Triggers on pushes to main and manual dispatches.
    • Runs scripts/build_static.py, which inlines the CSS and JavaScript so the GitHub Pages artifact is a self-contained index.html (eliminating missing asset issues on the published site).
    • Uploads the bundle artifact and records a machine-readable build summary.
    • Executes the same test suite and reports results without blocking deploys.
    • Deploys successful builds to GitHub Pages.

Badges at the top of this document surface the latest workflow and main-branch test status directly from GitHub Actions.

Local Development

Install the lightweight test dependency and run the suite:

python -m pip install --upgrade pip
pip install -r requirements.txt
python tests/run_tests.py

The runner writes a structured report to ci_reports/test_results.json that the workflows reuse when generating their summaries.