
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
chat-ionic-v4
Advanced tools
Chat21 is the core of the open source live chat platform Tiledesk.com.
With Chat21-ionic you can:
Visit https://web.chat21.org/ to see a live demo of chat21-ionic.
In progress git
https://nodejs.org/en/download/npm install -g ionicnpm install -g cordova@7.0.1https://firebase.google.comhttps://github.com/chat21/chat21-cloud-functionsgit clone https://github.com/frontiere21/chat21-ionic.git --branch <LATEST-RELEASE-VERSION>cd chat21-ionicnpm installConfigure the file environment.ts in src/environments folder:
export const environment = {
supportMode: false,
production: false,
remoteConfig: true,
remoteConfigUrl: '/chat-config.json',
chatEngine: "mqtt", // OR YOUR CUSTOM CHAT ENGINE
updloaEngine: "native", // OR YOUR CUSTOM UPLOAD ENGINE
pushEngine:"none", // OR YOUR CUSTOM PUSH ENGINE
tenant:"tilechat",
fileUploadAccept:"*/*",
logLevel":"<YOUR-PREFERRED-LOG-LEVEL-NUMBER>",
firebaseConfig: {
apiKey: '123ABC..',
authDomain: 'XYZ.firebaseapp.com',
databaseURL: 'https://XYZ.firebaseio.com',
projectId: 'XYZ',
storageBucket: 'XYZ.appspot.com',
messagingSenderId: '123456',
appId: 'CHANGEIT',
chat21ApiUrl: '<YOUR_CHAT21_CLOUD_FUNCTION_FIREBASE_ENDPOINT>'
},
chat21Config: {
"appId": "tilechat",
"MQTTendpoint": "mqtt://<YOUR-MQTT-ENPOINT>",
"APIendpoint": "http://<YOUR-MQTT-API-ENPOINT>"
},
"apiUrl": "https://<YOUR-TILEDESK-API-URL>",
"baseImageUrl": "https://<YOUR-BASE-IMAGE-URL>",
"dashboardUrl": "https://<YOUR-DASHBOARD-URL>"
}
};
logLevel: The Chat21-ionic supports 4 log levels. The order is as follows:
Error = 0 < Warn = 1 < Info = 2 < Debug = 3
fileUploadAccept: The Chat21-ionic allows you to manage the type of files that can be uploaded. By default, all file types are accepted.
/src/firebase-messaging-sw.js and replace messagingSenderId: with < your messagingSenderId >
More info here : https://angularfirebase.com/lessons/send-push-notifications-in-angular-with-firebase-cloud-messaging/"gcm_sender_id": "103953800507"ionic serve in the terminal.cordova platform add browser@latestionic cordova build browserCopy the content of the directory platforms/browser/www to your WebServer public dir.
npm install -g firebase-toolsfirebase login
(these steps can be avoided if you have already done before)cd platforms/browser) and run: firebase init
firebase deployionic cordova run androidionic cordova run android --deviceionic cordova run iosionic cordova run ios --deviceTo run Chat21-ionic on port 8080 run:
curl https://raw.githubusercontent.com/chat21/chat21-ionic/master/env.sample --output .env
nano .env #configure .env file properly
docker run -p 8080:80 --env-file .env chat21/chat21-ionic
If you want to customize logos and assets you can mount a docker volume and attach it to the assets folder. After that you can override the assets files into the docker volume.
Example:
docker run -p 8080:80 --env-file .env --mount source=chat21-ionic-assets-vol,destination=/usr/share/nginx/html/assets chat21/chat21-ionic
To auto login pass the JWT token as a query parameter of your Chat url as in the following example:
"http://localhost:8100/#/conversation-detail?jwt=<JWT_TOKEN>"
FAQs
An Ionic project
The npm package chat-ionic-v4 receives a total of 4 weekly downloads. As such, chat-ionic-v4 popularity was classified as not popular.
We found that chat-ionic-v4 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.