A better shopping experience
Goodtok helps businesses enhance their customer service right from their website. The video application lets customers connect with your staff in real-time. You can integrate this simple and easy-to-use application into any website.
[!WARNING] This project is just starting and is not ready for production use yet.
It would mean a lot to us if you could give this project a star. It helps us identify if we are doing a good job and attract potential contributors, users, and investors. Thanks
We aim to make this as easy to install as possible. For now, follow the following instructions to get started.
First, create a new directory called goodtok and change to that directory:
mkdir goodtok
cd goodtokNext, create a .env file with the following content:
…Finally, run the following command to start the application:
curl -o ./compose.yaml https://raw.githubusercontent.com/fonoster/goodtok/main/compose.yaml
docker compose up -dThe previous command will start all the services, including the Front Office. You can then open the application at http://localhost:8080 and access the dashboard.
Goodtok's one-click interactive deployment will familiarize you with the server in development mode.
In the website where you want to integrate Goodtok, you will need to add the following script tag:
The key is a base64 encoded value containing the account gtid and server of your Goodtok instance. You can generate this value by running the following command:
# The gtid corresponds to the workspace id in the Goodtok dashboard
echo -n '{"gtid":"g-7b7c46fb05","server":"http://localhost:6789/v1"}' | base64The client will default to https://api.goodtok.io/v1 if no server is specified.
A customer token is a JSON Web Token with necessary claims to authenticate the user and connect to the signaling server. Here is an example of the claims for a customer token:
{
"ref": "iypok",
"customerId": "iypok",
"workspaceId": "g-7b7c46fb05",
"calendarUrl": "https://cal.com/placeholder",
"signalingHost": "peerjs.goodtok.io",
"signalingPort": 443,
"iceServers": {...}
"metadata": {
"name": "Peter",
"email": "[email protected]",
"message": "Test message"
},
"iat": 1701740245,
"exp": 1701826645
}When no customer token is provided, the video widget will show a form requesting the user to enter their name, email, and a message. The video widget will then request an anonymous token from the server. We recommend providing a customer token to the video widget to avoid the form.
To learn more about customer tokens, see the customer tokens section in the documentation.
Goodtok uses a combination of open-source tools to provide a video application that can be integrated into any website. If the tool exists and is well maintained, we will use and support it. If the tool doesn't exist, we build and open-source it ourselves.
Goodtok is a hosted platform. You can sign up and start using Goodtok without installing anything. You can also self-host and develop locally.
Meet our sales team for any commercial inquiries.
For bugs or feature requests, please create an issue here. For questions, take a look at the Discussions section.
When running Goodtok without a TLS certificate, you must add the following to your browser to allow the camera to work: chrome://flags/#unsafely-treat-insecure-origin-as-secure or an equivalent for your browser. The camera will not work on an insecure origin.
For contributing, please see the following links:
Pedro Sanders
Obruche Wilfred OghenechohwoThis project is licensed under the MIT License - see the LICENSE file for details.
No open issues yet, or sync has not completed.