Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiledesk/tiledesk-server
Tiledesk Server is the main API component of the Tiledesk platform ๐ Tiledesk is an open-source alternative to Voiceflow, allowing you to build advanced LLM chatbots with easy handover to human agents when necessary.
https://github.com/tiledesk/tiledesk-server
api bot chat customer-service customer-support firebase firestore javascript live-chat livechat livechat-integration mongodb nodejs open-source opensource rest rest-api
Last synced: 4 days ago
JSON representation
Tiledesk Server is the main API component of the Tiledesk platform ๐ Tiledesk is an open-source alternative to Voiceflow, allowing you to build advanced LLM chatbots with easy handover to human agents when necessary.
- Host: GitHub
- URL: https://github.com/tiledesk/tiledesk-server
- Owner: Tiledesk
- License: mit
- Created: 2018-04-27T08:03:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-23T15:24:12.000Z (29 days ago)
- Last Synced: 2024-12-31T21:35:49.056Z (21 days ago)
- Topics: api, bot, chat, customer-service, customer-support, firebase, firestore, javascript, live-chat, livechat, livechat-integration, mongodb, nodejs, open-source, opensource, rest, rest-api
- Language: JavaScript
- Homepage: http://www.tiledesk.com
- Size: 27.1 MB
- Stars: 311
- Watchers: 12
- Forks: 107
- Open Issues: 54
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Publiccode: publiccode.yml
Awesome Lists containing this project
README
[![npm version](https://badge.fury.io/js/%40tiledesk%2Ftiledesk-server.svg)](https://badge.fury.io/js/%40tiledesk%2Ftiledesk-server)
[![CircleCI](https://circleci.com/gh/Tiledesk/tiledesk-server.svg?style=svg)](https://circleci.com/gh/Tiledesk/tiledesk-server)
> ***๐ Do you want to install Tiledesk on your server with just one click?***
>
> ***Use [Docker Compose Tiledesk installation](https://github.com/Tiledesk/tiledesk-deployment/blob/master/docker-compose/README.md) guide***# Introduction
Tiledesk-server is the server engine of Tiledesk. Tiledesk is an Open Source Live Chat platform with integrated Chatbots written in NodeJs and Express. Build your own customer support with a multi-channel platform for Web, Android and iOS.
Designed to be open source since the beginning, we actively worked on it to create a totally new, first class customer service platform based on instant messaging.
What is Tiledesk today? It became the open source โconversational app developmentโ platform that everyone needs ๐
You can use Tiledesk to increase sales for your website or for post-sales customer service. Every conversation can be automated using our first class native chatbot technology.
You can also connect your own applications using our APIs or Webhooks.
Moreover you can deploy entire visual applications inside a conversation. And your applications can converse with your chatbots or your end-users! We know this is cool ๐Tiledesk is multichannel in a totally new way. You can write your chatbot scripts with images, buttons and other cool elements that your channels support. But you will configureyour chatbot replies only once. They will run on every channel, auto-adapting the responses to the target channel whatever it is, Whatsapp, Facebook Messenger, Telegram etc.
More info on Tiledesk website: https://www.tiledesk.com.
You can find technical documentation here: https://developer.tiledesk.com
# Prerequisites for Installation
* [Nodejs](https://www.npmjs.com/) and npm installed. Suggested versions are NodeJS 12.20.2 and NPM 6.14.11
* [MongoDb](https://www.mongodb.com) installed# Run Tiledesk with Docker Compose
Do you want to install all the Tiledesk components on your server with just one click?
Use [Docker Compose Tiledesk installation guide](https://github.com/Tiledesk/tiledesk-deployment/blob/master/docker-compose/README.md)# Running Tiledesk Server
## Using Docker
### Configure .env file
```
curl https://raw.githubusercontent.com/Tiledesk/tiledesk-server/master/.env.sample --output .env
nano .env #configure .env file properly
```### Running
If you want to run tiledesk and mongo with docker run :```
docker run --name tiledesk-mongo -d mongo
docker run -p 3000:3000 --env DATABASE_URI="mongodb://mongo/tiledesk-server" --env-file .env --link tiledesk-mongo:mongo tiledesk/tiledesk-server
```Otherwise if you want to run tiledesk only with docker run :
```
docker run -p 3000:3000 --env DATABASE_URI="mongodb://YOUR_MONGO_INSTALLATION_ENDPOINT/tiledesk-server" --env-file .env tiledesk/tiledesk-server
```## Run locally with npm
Steps to run with npm:
```
npm install -g @tiledesk/tiledesk-server mongodb-runner
mongodb-runner start
curl https://raw.githubusercontent.com/Tiledesk/tiledesk-server/master/.env.sample --output .env
nano .env #configure .env file properly
tiledesk-server
```If you want to load .env file from another path: `DOTENV_PATH=/MY/ABSOLUTE/PATH/.env tiledesk-server`
Note: If installation with -g fails due to permission problems (npm ERR! code 'EACCES'), please refer to this [link](https://docs.npmjs.com/getting-started/fixing-npm-permissions).
## Install from source code
* Clone this repo
* Install dependencies with `npm install`
* Configure the tiledesk .env file. You can see an example in the file .env.sample under the root folder. Rename it from .env.sample to .env and configure it properly.
* Run the app with the command `npm start`.## Deploy on Heroku
Deploy with button:
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Tiledesk/tiledesk-server)
# Community? Questions? Support ?
If you need help or just want to hang out, come, say hi on our [ Discord](https://discord.gg/Q5A6Ewadmz) server.# REST API
See the Tiledesk REST API [here](https://developer.tiledesk.com/apis/rest-api/introduction)
# Upgrading
To see how to upgrade tiledesk-server see [here](./docs/upgrading.md)# Testing
Run unit test with `npm test` and integration test with `npm run test:int`