diff --git a/ct/chatto.sh b/ct/chatto.sh deleted file mode 100644 index 0e2294eff6..0000000000 --- a/ct/chatto.sh +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/env bash -_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/DevScripts/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. -_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" -source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") -# Copyright (c) 2021-2026 community-scripts ORG -# Author: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/DevScripts/raw/main/LICENSE -# Source: https://github.com/chattocorp/chatto - -APP="Chatto" -var_tags="${var_tags:-chat;messaging}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-2048}" -var_disk="${var_disk:-8}" -var_os="${var_os:-debian}" -var_version="${var_version:-13}" -var_arm64="${var_arm64:-yes}" -var_unprivileged="${var_unprivileged:-1}" -var_testurl="${var_testurl:-https://github.com/community-scripts/DevScripts/issues/2096}" - -header_info "$APP" -variables -color -catch_errors - -function update_script() { - header_info - check_container_storage - check_container_resources - - if [[ ! -d /opt/chatto ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - if check_for_gh_release "chatto" "chattocorp/chatto"; then - msg_info "Stopping Service" - systemctl stop chatto - msg_ok "Stopped Service" - - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "chatto" "chattocorp/chatto" "prebuild" "latest" "/opt/chatto" "chatto_Linux_$(arch_resolve x86_64 arm64).tar.gz" - chmod +x /opt/chatto/chatto - - msg_info "Starting Service" - systemctl start chatto - msg_ok "Started Service" - msg_ok "Updated successfully!" - fi - exit -} - -start -build_container -description - -msg_ok "Completed Successfully!\n" -echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" -echo -e "${INFO}${YW}Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:4000${CL}" diff --git a/install/chatto-install.sh b/install/chatto-install.sh deleted file mode 100644 index ade92475e9..0000000000 --- a/install/chatto-install.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2026 community-scripts ORG -# Author: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/DevScripts/raw/main/LICENSE -# Source: https://github.com/chattocorp/chatto - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -fetch_and_deploy_gh_release "chatto" "chattocorp/chatto" "prebuild" "latest" "/opt/chatto" "chatto_Linux_$(arch_resolve x86_64 arm64).tar.gz" -chmod +x /opt/chatto/chatto - -msg_info "Configuring Chatto" -mkdir -p /opt/chatto_data -cd /opt/chatto -$STD ./chatto init -mv /opt/chatto/chatto.toml /opt/chatto_data/chatto.toml -sed -i \ - -e "/^\[webserver\]/,/^\[/ s|^url = .*|url = 'http://${LOCAL_IP}:4000'|" \ - -e "/^\[nats.embedded\]/,/^\[/ s|^data_dir = .*|data_dir = '/opt/chatto_data/data'|" \ - -e '/^# \[operator_api\]$/,/^$/ { s|^# \[operator_api\]$|[operator_api]|; s|^# enabled = false$|enabled = true| }' \ - /opt/chatto_data/chatto.toml -msg_ok "Configured Chatto" - -msg_info "Creating Service" -cat </etc/systemd/system/chatto.service -[Unit] -Description=Chatto -After=network-online.target -Wants=network-online.target - -[Service] -Type=simple -User=root -WorkingDirectory=/opt/chatto -ExecStart=/opt/chatto/chatto run -c /opt/chatto_data/chatto.toml -Restart=always -RestartSec=5 - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now chatto -msg_ok "Created Service" - -motd_ssh -customize -cleanup_lxc diff --git a/json/chatto.json b/json/chatto.json deleted file mode 100644 index f389c3dcce..0000000000 --- a/json/chatto.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "Chatto", - "slug": "chatto", - "categories": [ - 22 - ], - "date_created": "2026-07-31", - "type": "ct", - "updateable": true, - "privileged": false, - "architectures": ["amd64", "arm64"], - "interface_port": 4000, - "documentation": "https://docs.chatto.run", - "website": "https://chatto.run", - "repository": "https://github.com/chattocorp/chatto", - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/chatto.webp", - "description": "Chatto is a privacy-first team and group chat app built for self-hosting. It runs as a single binary with an embedded NATS/JetStream store, so it needs no external database, and supports voice and video calls and screensharing through an optional LiveKit server.", - "install_methods": [ - { - "type": "default", - "script": "ct/chatto.sh", - "config_path": "/opt/chatto_data/chatto.toml", - "resources": { - "cpu": 2, - "ram": 2048, - "hdd": 8, - "os": "Debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "Register the first account in the web UI, or run cd /opt/chatto && ./chatto operator user create --login . Logins such as root, admin, op and operator are blocked.", - "type": "info" - }, - { - "text": "Set SMTP credentials and a public webserver.url in /opt/chatto_data/chatto.toml before using Chatto in production.", - "type": "info" - }, - { - "text": "Voice and video calls need a separately deployed LiveKit server, configured in the [livekit] section of chatto.toml.", - "type": "info" - } - ] -}