npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

azureopenailive2dchatbot-develop

v1.0.0

Published

This is a sample implementation of an application that displays models output by Live2D Cubism 4 Editor from Cubism Web Samples with Azure OpenAI and Azure Text to Speech.

Downloads

4

Readme

Live2D Virtual Assistant

This is a sample implementation of an application that displays models output by Live2D Cubism 4 Editor from Cubism Web Samples with Azure OpenAI and Azure Text to Speech.

It is used in conjunction with the Cubism Web Framework and Live2D Cubism Core.

Live2D Azure OpenAI Chatbot Overview

Demo

For English

Talking with Azure OpenAI Live2D Virtual Assistant with Azure Speech Services

For Cantonese

廣東話互動對答Azure OpenAI 加 Azure語音服務Live2D虛擬助理示範

License

Please check the license before using this SDK.

Notices

Please check the notices before using this SDK.

Directory structure

.
├─ .vscode          # Project settings directory for Visual Studio Code
├─ Core             # Directory containing Live2D Cubism Core
├─ Framework        # Directory containing source code such as rendering and animation functions
└─ Samples
   ├─ Resources     # Directory containing resources such as model files and images
   └─ TypeScript    # Directory containing TypeScript sample projects

Live2D Cubism Core for Web

A library for loading the model.

This repository does not manage Cubism Core. Download the Cubism SDK for Web from here and copy the files in the Core directory.

Development environment construction

  1. Install [Node.js] and [Visual Studio Code]
  2. Open the top directory of this SDK in Visual Studio Code and install the recommended extensions
    • In addition to pop-up notifications, you can check the others by typing @recommended from the Extensions tab

Operation check of sample demo

Enter >Tasks: Run Task in the command palette (View > Command Palette...) to display the task list.

  1. Select npm: install - Samples/TypeScript/Demo from the task list to download the dependent packages
  2. Select npm: build - Samples/TypeScript/Demo from the task list to build the sample demo
  3. Select npm: serve - Samples/TypeScript/Demo from the task list to start the simple server for operation check
  4. Enter http://localhost:5000/Samples/TypeScript/Demo/ in the URL field of your browser to access it
  5. Enter >Tasks: Terminate Task from the command palette and select npm: serve to terminate the simple server

For other tasks, see README.md of the sample project.

NOTE: Settings for debugging are described in .vscode/tasks.json.

Azure OpenAI and Azure Speech service

You have to create enable those 2 services yourself and collect the following 4 parameters:

  1. OpenAI Endpoint
  2. OpenAI Key
  3. Speech service Region
  4. Speech service Key

Project debugging

Open the top directory of this SDK in Visual Studio Code and enter the F5 key to start Debugger for Chrome.

You can place breakpoints in Visual Studio Code to debug in conjunction with the Chrome browser.

NOTE: Settings for debugging are described in .vscode/launch.json.

SDK manual

Cubism SDK Manual

Changelog

Please refer to CHANGELOG.md for the changelog of this repository.

Development environment

Node.js

  • 18.8.0
  • 16.17.0
  • 14.20.0

Operation environment

| Platform | Browser | Version | | --- | --- | --- | | Android | Google Chrome | 104.0.5112.97 | | Android | Microsoft Edge | 104.0.1293.63 | | Android | Mozilla Firefox | 104.1.0 | | iOS / iPadOS | Google Chrome | 104.0.5112.99 | | iOS / iPadOS | Microsoft Edge | 104.0.1293.63 | | iOS / iPadOS | Mozilla Firefox | 104.0 | | iOS / iPadOS | Safari | 15.6.1 | | macOS | Google Chrome | 104.0.5112.101 | | macOS | Microsoft Edge | 104.0.1293.70 | | macOS | Mozilla Firefox | 104.0 | | macOS | Safari | 15.6.1 | | Windows | Google Chrome | 104.0.5112.102 | | Windows | Microsoft Edge | 104.0.1293.70 | | Windows | Mozilla Firefox | 104.0 |

Note: You can start the server for operation check by running the serve script of ./Samples/TypeScript/Demo/package.json.

Contributing

There are many ways to contribute to the project: logging bugs, submitting pull requests on this GitHub, and reporting issues and making suggestions in Live2D Community.

Forking And Pull Requests

We very much appreciate your pull requests, whether they bring fixes, improvements, or even new features. Note, however, that the wrapper is designed to be as lightweight and shallow as possible and should therefore only be subject to bug fixes and memory/performance improvements. To keep the main repository as clean as possible, create a personal fork and feature branches there as needed.

Bugs

We are regularly checking issue-reports and feature requests at Live2D Community. Before filing a bug report, please do a search in Live2D Community to see if the issue-report or feature request has already been posted. If you find your issue already exists, make relevant comments and add your reaction.

Suggestions

We're also interested in your feedback for the future of the SDK. You can submit a suggestion or feature request at Live2D Community. To make this process more effective, we're asking that you include more information to help define them more clearly.

Community

If you want to suggest or ask questions about how to use the Cubism SDK between users, please use the community.