Skip to content

SHMAX v0.1.0

Choose a tag to compare

@viacheslav-fomenko viacheslav-fomenko released this 10 Oct 13:26
· 33 commits to main since this release

SHMAX v0.1.0

Первый выпуск SHMAX — шлюза между MAX и Telegram для собственного сервера.
SHMAX связывает выбранные чаты MAX с темами приватной Telegram-группы и
предоставляет веб-интерфейс для настройки подключений, маршрутов и прав доступа.

Возможности выпуска

  • Обмен текстом, фото, документами и поддерживаемым видео в обе стороны.
  • Сопоставление ответов, подписи отправителей и маршрутизация по темам.
  • Одобрение участников, роли, блокировки и необязательная синхронизация пользователей.
  • Прямое подключение к Telegram, SOCKS5, HTTP-прокси и управляемый Xray.
  • Автоматическое восстановление сохранённого Telegram-транспорта.
  • Мастер первоначальной настройки, отдельные настройки интеграций и мобильный интерфейс.
  • Локальные резервные копии и зашифрованный экспорт .shmax для переноса данных.
  • Обновление из проверенного production-архива с резервной копией,
    контролем работоспособности и автоматическим откатом.
  • Запуск контейнера без root и корректные права файлов приложения.

Установка и обновление

Однострочный bootstrap: install.sh в официальном репозитории. Проверка подписи
RSA-3072/SHA-256 и контрольных сумм выполняется до запуска кода релиза.
Ручная установка из полного production-архива также поддерживается.
sudo shmax update получает последний подписанный стабильный выпуск;
sudo shmax update /path/to/release.tar.gz сохраняет сценарий локального обновления.
При отказе кандидата откат восстанавливает прежний образ и проверенную холодную копию данных.

Установка одной командой

curl -fsSL https://raw.githubusercontent.com/SHMAX-Project/SHMAX/main/install.sh | sudo bash

Docker Engine, Compose v2 и зависимости устанавливаются автоматически.

Требования и ручная установка

Debian 13 amd64, Docker Engine, Compose v2 и systemd. Для установки нужны права
администратора сервера, собственный аккаунт MAX, Telegram-бот и приватная группа
с включёнными темами.

Скачайте shmax-v0.1.0.tar.gz, SHA256SUMS и SHA256SUMS.sig, проверьте подпись и контрольную сумму по инструкции,
распакуйте архив и из каталога shmax-v0.1.0 выполните:

sudo bash deploy/installer/install.sh --mode install

Установка ·
Первоначальная настройка.

Данные и безопасность

Конфигурация, база данных и авторизация сохраняются при обновлении.
Для переноса используйте зашифрованный экспорт и остановите исходный шлюз
перед запуском восстановленного экземпляра. Обычные локальные копии содержат
материал авторизации и требуют защищённого хранения.

Резервные копии · Восстановление ·
Политика безопасности.

Комплект выпуска

Production-архив, исходный архив, bootstrap-инструмент обновления shmax,
контрольные суммы, manifest, сведения о сборке и результаты проверок.
Подробности обработки вложений: медиа.

Проект распространяется под AGPL-3.0-or-later.
SHMAX — независимый проект, не связанный с компаниями, управляющими MAX или Telegram.


SHMAX v0.1.0

The first release of SHMAX, a self-hosted gateway between MAX and Telegram.
SHMAX connects selected MAX chats to topics in a private Telegram group and
provides a web interface for connections, routing and access management.

Release features

  • Bidirectional text, photos, documents and supported video.
  • Reply mapping, sender attribution and topic routing.
  • Participant approval, roles, blocking and optional member synchronization.
  • Direct Telegram connections, SOCKS5, HTTP proxies and managed Xray transport.
  • Automatic recovery of saved Telegram transport.
  • Initial setup wizard, separate integration settings and a mobile interface.
  • Local backups and encrypted .shmax exports for data migration.
  • Verified production-archive updates with backups, application health checks
    and automatic rollback.
  • Non-root container execution and correct application file permissions.

Installation and updates

The official install.sh bootstrap verifies RSA-3072/SHA-256 signatures and
checksums before executing release code. Manual production-archive installation
remains supported. sudo shmax update downloads the latest signed stable release;
sudo shmax update /path/to/release.tar.gz retains local-archive updates.
Rejected candidates restore the previous image and verified cold data backup.

One-line installation

curl -fsSL https://raw.githubusercontent.com/SHMAX-Project/SHMAX/main/install.sh | sudo bash

Docker Engine, Compose v2 and dependencies are installed automatically.

Requirements and manual installation

Debian 13 amd64, Docker Engine, Compose v2 and systemd. Installation requires
server administrator access, your own MAX account, a Telegram bot and a private
group with topics enabled.

Download shmax-v0.1.0.tar.gz, SHA256SUMS and SHA256SUMS.sig, verify the signature and checksum as documented, and extract
the archive. From the shmax-v0.1.0 directory, run:

sudo bash deploy/installer/install.sh --mode install

Installation · Initial setup.

Data and security

Configuration, the database and credentials persist through updates.
Use an encrypted export for migration and stop the source gateway before
starting the restored instance. Ordinary local backups contain authorization
material and require secure storage.

Backups · Restore ·
Security policy.

Release files

Production archive, source archive, the shmax update bootstrap tool, checksums,
manifest, build information and validation results.
See media documentation for attachment handling.

SHMAX is licensed under AGPL-3.0-or-later.
It is an independent project and is not affiliated with the companies operating MAX or Telegram.

Проверки / Validation

CI: 957 backend tests passed, 8 skipped; 46 frontend tests passed. Debian 13 amd64 VM acceptance: clean install with Docker/Compose, systemd readiness, existing-install update preserving settings, secret/session fixtures and SQLite, and forced-failure cold-data/image rollback passed. The signed candidate was supplied locally before publication; no live messenger credentials were used. Final application and installer code match the tested candidate.

Release integrity: verify SHA256SUMS.sig with the committed RSA-3072 public key before checking SHA256SUMS. Full-history and archive secret scans passed; repeated local archives matched byte for byte. validation.json records provenance and limits; ARTIFACT_SHA256SUMS covers every attached file.

Post-publication verification: the production installer downloader successfully retrieved public stable v0.1.0 and verified the pinned signature and package checksum.