No description
  • JavaScript 60.3%
  • CSS 34.3%
  • HTML 5.4%
Find a file
G-Fourteen aef7b65908
Some checks failed
Main Branch Pipeline / Build and Upload Artifacts (push) Has been cancelled
Main Branch Pipeline / Report Build Status (push) Has been cancelled
Main Branch Pipeline / Run Tests (push) Has been cancelled
Main Branch Pipeline / Report Tests Statuses (push) Has been cancelled
Main Branch Pipeline / Deploy to Pages (push) Has been cancelled
Merge pull request #68 from Unity-Lab-AI/codex/remove-fallback-models-from-application
Remove pollinations model fallback
2025-09-16 15:35:53 -06:00
.github/workflows Add theme fallbacks, smoke tests, and split workflows 2025-09-16 14:34:56 -06:00
data Add dynamic themes and build-time model catalog 2025-09-16 12:42:37 -06:00
scripts Remove pollinations model fallback 2025-09-16 15:35:14 -06:00
test Add theme fallbacks, smoke tests, and split workflows 2025-09-16 14:34:56 -06:00
tests Add theme fallbacks, smoke tests, and split workflows 2025-09-16 14:34:56 -06:00
themes Integrate theme folder CSS 2025-09-16 14:08:20 -06:00
.gitignore Refactor model loading and expand CI checks 2025-09-16 10:34:11 -06:00
AGENTS.md Update AGENTS.md 2025-09-16 09:10:34 -06:00
ai-instruct.txt Update ai-instruct.txt 2025-09-16 09:17:39 -06:00
APIDOCS.md Create APIDOCS.md 2025-09-11 03:43:13 -07:00
index.html Integrate theme folder CSS 2025-09-16 14:08:20 -06:00
package-lock.json Revamp Unity Chat branding and workflow 2025-09-16 11:19:12 -06:00
package.json Add theme fallbacks, smoke tests, and split workflows 2025-09-16 14:34:56 -06:00
README.md Add theme fallbacks, smoke tests, and split workflows 2025-09-16 14:34:56 -06:00
script.js Remove pollinations model fallback 2025-09-16 15:35:14 -06:00
styles.css Integrate theme folder CSS 2025-09-16 14:08:20 -06:00

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.