Live Chat Widget built with Firebase and Angular4 for customer support .
50K+
Chat21-web-widget is a Free Live Chat Widget built on Firebase with Angular5 that lets you support and chat with visitors and customers on your website. More information about web widget here : http://www.tiledesk.com
With Chat21-web-widget you can:
npm install -g @angular/cli. More info here https://github.com/angular/angular-cli#installationhttps://firebase.google.comhttps://github.com/chat21/chat21-cloud-functionsDo you want to install all the Tiledesk components on your server with just one click? Use Docker Compose Tiledesk installation guide
git clone https://github.com/chat21/chat21-web-widget <YOUR_PATH>cd <YOUR_PATH>npm installConfigure the environment.ts file in src/environments/.
Use the Firebase configuration file from your Firebase project to correctly configure the 'firebase' section.
export const environment = {
production: true,
version: require('../../package.json').version,
remoteConfig: false, // for performance don't load settings from remote
chatEngine: 'mqtt' //or custom engine
firebaseConfig: {
apiKey: 'CHANGEIT',
authDomain: 'CHANGEIT',
databaseURL: 'CHANGEIT',
projectId: 'CHANGEIT',
storageBucket: 'CHANGEIT',
messagingSenderId: 'CHANGEIT'
},
chat21Config: {
appId: 'CHANGEIT',
MQTTendpoint: 'CHANGEIT',
APIendpoint: 'CHANGEIT',
loginServiceEndpoint: 'CHANGEIT'
},
apiUrl: 'https://<YOUR_TILEDESK_SERVER>/',
baseImageUrl: 'https://<YOUR_TILEDESK_SERVER>/',
tenant: 'tilechat',
defaultLang : 'en',
shemaVersion : '1'
};
Run the app with ng serve
For production installation, configure the environment.prod.ts file in src/environments/.
export const environment = {
production: true,
...
};
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.
Build for production with : ng build --prod --base-href --output-hashing none
Copy the content of the dist folder to your Web Server (for example Apache or Nginx)
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
You can see a configuration of this widget in action on 'https://www.tiledesk.com'
Copy the content of the dist folder to your Web Server (for example Apache or Nginx)
Run : aws s3 sync . s3://tiledesk-widget
Or With a different AWS Profile:
Run : aws --profile f21 s3 sync . s3://tiledesk-widget
If you use AWS Cloud Front enable gzip compression.
To run Chat21-ionic on port 8080 run:
curl https://raw.githubusercontent.com/chat21/chat21-web-widget/master/env.sample --output .env
nano .env #configure .env file properly
docker run -p 4200:80 --env-file .env chat21/chat21-web-widget
Content type
Image
Digest
sha256:7c7f35591…
Size
13.6 MB
Last updated
24 days ago
docker pull chat21/chat21-web-widget