@unisphere/genie-core
v1.8.0
Published
The following will enable the avatar in the chat in local machine and nvq2: 1. you can run the avatar in dev mode by using the query param `debugGenieAvatar=dev` (for qa you should use the value qa) 2. you can also use the cmd+k - `>` and then select **En
Downloads
1,242
Readme
Unisphere - {{company-name|human-readable}} {{project-name|human-readable}}
Running The avatar
The following will enable the avatar in the chat in local machine and nvq2:
- you can run the avatar in dev mode by using the query param
debugGenieAvatar=dev(for qa you should use the value qa) - you can also use the cmd+k -
>and then select Enable Avatar Mode
Showing the debug panel for avatars
It is automatically shown in avatar-dev application.
When in NVQ2, you can show the debug panel by using the query param debugAvatarChat=true.
Open avatar automatically when showing the chat
When in NVQ2, you can open the avatar automatically when showing the chat by using the query param debugGenieAutoAvatar=true.
Develop Avatar Locally
Copy the .env file from
/unisphere/applications/avatar-dev/.env-(dev|qa)-templateto/unisphere/applications/avatar-dev/.envand update settings
- run
npm run dev:avatar - open the browser in http://localhost:4002/
You will now use the nvq2 avatar in local development.
If you would like to use the Avatar runtime, override port 8400
Develop Chat Locally
Copy the .env file from
/unisphere/applications/chat-dev/.env-templateto/unisphere/applications/chat-dev/.envand update settings
- run
npm run dev:chat - open the browser in http://localhost:4002/
You will now use the nvq2 chat in local development.
If you would like to use the Chat runtime, override port 8300 If you would like to use the Avatar runtime, override port 8400
Overview
This repository is a Unisphere workspace for an experience named {{project-name|human-readable}}.
It contains everything you need to:
- Create and publish npm / JFrog packages
- Bundle and version runtime artifacts
- Build and deploy applications
- Develop locally and promote changes to production
The Unisphere workspace acts as the single entry point for the entire lifecycle — from local development, through CI/CD, and all the way to production deployment.
To better understand the ideas behind Unisphere and how it works, read more at:
https://unisphere.kaltura.com/
Prerequisites
At the moment, deploying Unisphere experiences is available only to Kaltura employees.
Before doing anything else, make sure your machine is properly configured to access:
- Kaltura GitHub repositories
- Kaltura JFrog Artifactory registries
Follow the setup guide here:
https://unisphere.kaltura.com/docs/create/kaltura-employees/setup-machine
Add the Experience to Kaltura Github Organization
Before you can deploy or activate this experience, it must be registered in Github under Kaltura Organization.
This step connects your Unisphere workspace to the relevant Kaltura infrastructure and enables CI/CD, deployment, and activation flows.
Follow the guide here:
https://unisphere.kaltura.com/docs/create/devops/create-github-repository
Create Artifacts
Unisphere allows you to create and manage different types of artifacts, including:
- Packages
- Runtimes
- Applications
Each artifact type has its own role in the ecosystem, but they all live and evolve together inside this workspace.
Read more about creating artifacts here:
https://unisphere.kaltura.com/docs/create/overview
Deploy
To deploy packages, applications, and runtimes, follow the deployment guide:
https://unisphere.kaltura.com/docs/create/devops/deploy
For applications and runtimes, deployment is only part of the process.
After deployment, they must also be activated to become available in production.
Activation guide:
https://unisphere.kaltura.com/docs/create/devops/activate
Local Development
Unisphere provides a structured local development flow that mirrors production as closely as possible, while still keeping things fast and developer-friendly.
This includes:
- Local builds
- Watching and rebuilding artifacts
- Running applications in isolation or as part of a larger workspace
Read more about local development here:
https://unisphere.kaltura.com/docs/create/local-development
Available Commands
This workspace exposes a small set of opinionated commands to help you explore, validate, and manage the experience.
Start
Lists all available commands for each artifact in the experience, including how to build and serve runtimes, and how to spawn applications.
npm run startInfo
Displays information about the current workspace, including detected artifacts, configuration, and environment details.
npm run infoCheck
Validates the workspace setup and verifies that all required artifacts and configurations are in place.
npm run checkReset
Resets the workspace to a clean state. Useful when experimenting or when local state becomes inconsistent.
npm run resetNext Steps
If this is your first time working with Unisphere, a great next step is to create a runtime with a playground.
Follow the Hello World walkthrough here: https://unisphere.kaltura.com/docs/create/overview
The walkthrough will guide you through:
- Creating your first runtime
- Running it locally with a playground
- Understanding how runtimes, packages, and applications connect together
This will give you a strong foundation for building and evolving the experience over time.
