This is the Multilingual chat and the toxic behavior detection solution demo application.
In the online gaming world and coming Metaverse world, this might includes a lot of unwilling behaviors, such as sexual harassment, hate speech, threats of violence, doxing, spamming, flaming, griefing, and intentionally inhibiting the performance of one’s own team. So we want to mitigate this kind of "disruptive behavior" for healthy happy gaming/virtual lives.
This multilingual chat application demo is using Google Cloud AI power to find out "bad behaviors", so as to you can simply detect and ban bad players.
多言語対応チャット + 迷惑行為検出アプリケーションデモのフロントエンドです。 オンラインゲーム、これからくるメタバースの世界には、たくさんの歓迎したくない振舞いが見られるかもしれません。例えば、セクハラやヘイトスピーチ、恐喝、スパミング、煽りなどです。なので、我々の健康的な仮想空間生活を保つためにこれらの迷惑行為を軽減したいです。 こちらの多言語対応チャットのデモは、Google Cloud AI の力で悪意ある振舞いを見つけられますので、管理者は簡単にそういった行為を特定し、自身のサービスから除外することができます。
A few steps to set up this demo.
demo のセットアップ方法について`
This is the frontend application for the demo. You can use this repo for the backend service.
このリポジトリはフロントエンドアプリケーションとなります。バックエンドにはこちらのリポジトリにあるアプリケーションをご利用いただけます。
You need a firebase project for the user authentication. Please refer this website for preparing Firebase Authenticaiton.
ユーザー認証に Firebase Authentication を利用していますので、Firebase project が必要になります。 こちらのウェブサイトをご覧いただき、Firebase project をご準備ください。
You need to create .env
file on the root directory of your local application code directory(the same directory as package.json
)
.env
ファイルを package.json
ファイルと同じディレクトリに作成ください。
# Firebase config
REACT_APP_API_KEY=""
REACT_APP_AUTH_DOMAIN=""
REACT_APP_PROJECT_ID=""
REACT_APP_STORAGE_BUCKET=""
REACT_APP_MESSAGING_SENDER_ID=""
REACT_APP_APP_ID=""
REACT_APP_MEASUREMENT_ID=""
# Backend server address
REACT_APP_SERVER_ADDRESS=""
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Builds the app for production to the build
folder.
Note: this is a one-way operation. Once you eject
, you can’t go back!
You can deploy this application to your favorite services, such as Firebase Hosting, Cloud Run, and App Engine. With this Live Demo, we are hosting the app on Firebase Hosting.
こちらのアプリケーションはお好きなサービス上にデプロイできます。Firebase Hosting、Cloud Run、 App Engine など、お好きなサービスをお使いください。
Enhancement ideas
- isLoading
- Change language within the room
- Using Firestore for its backend service
This project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.
このプロジェクトは、Google 非公式です。Google はこれをサポートしておらず、Google はその品質、商品性、または特定の目的への適合性に関するすべての保証をいたしません。
Apache License, version 2.0
Terms of Service for Firebase Services.