Skip to main content
Glama
README.md
![Dots by Ocvira AI](docs/images/dots-banner.png)

# Dots

Cloud connects a Dot to Telegram, Slack, Yandex Disk and Twitch through MCP.
It runs as one service and includes an admin panel, service controls and a journal.

## Install Cloud

Use Linux x64 with systemd, Node.js 24.5 or later, npm, tar and unzip. Unpack Dots and run this command from the
unpacked directory:

```sh
sudo bash Cloud/install.sh
```

Choose the installation directory. The installer installs the npm dependencies and downloads the Twitch speech models
and tunnel runtime to `Cloud/runtime`. Twitch viewing uses the same FFmpeg as sticker previews.

To update, unpack the new release and run the same command from that release. The installer prepares the update before
stopping the service and starts Cloud with the existing data. If startup fails, the installer prints the location of
the previous files.

On a fresh installation, the installer starts `dots-cloud.service` and prints the setup code. Point your HTTPS site's
reverse proxy at `127.0.0.1:3291` and open `/panel`. Enter the setup code, the owner's email and the Google OAuth Client
ID and Client
Secret. Copy the redirect URI shown by the panel into the Google OAuth application.
Continue with Google using the owner's account to finish setup. Cloud saves the site address and consumes the setup code
when sign-in succeeds.

The standard installation stores the database at `/var/lib/dots-cloud/cloud.sqlite` and the journal in
`/var/lib/dots-cloud/logs/`. The panel's configuration download contains credentials. Store it privately.

In **Settings**, connect your accounts and choose which Telegram chats to forward to Slack. Configure the Twitch
playback client ID there to enable viewing. The bridge uses the loopback address configured in
`tunnel.MCP_SERVER_URL`, initially `http://127.0.0.1:3292/mcp`.

## Manage Cloud

From the installation directory, run the CLI as a user who can read the database:

```sh
CLOUD_DB=/var/lib/dots-cloud/cloud.sqlite
node Cloud/src/main.cjs status "$CLOUD_DB"
node Cloud/src/main.cjs restart:telegram:listener "$CLOUD_DB"
node Cloud/src/main.cjs restart:tunnel "$CLOUD_DB"
node Cloud/src/main.cjs stop:stream "$CLOUD_DB"
```

Module commands use the running service. Before the first sign-in, `node Cloud/src/main.cjs setup-code "$CLOUD_DB"`
prints the setup code again.
Start Twitch viewing from the panel or with `stream_start` in MCP. Stopping a viewing session leaves its prepared
context available until the next session or Cloud shutdown.

## Home page

Cloud serves a simple `Home page` at `/`. To use your own page, put `index.html` in `content/home/` under the
installation directory. Files in `content/home/assets/` are served under `/assets/`.

## Project status

Dots is an independent project in active development. OpenAI Codex wrote the implementation under the maintainer’s
direction. We’ll keep improving it. The software is provided as is, without warranty, under the [MIT License](LICENSE).